/* NextEquity Partners — public website */

:root {
  --ink: #003a5c;
  --ink-deep: #002b44;
  --ink-soft: #0e5a87;
  --blue: #66badb;
  --blue-bright: #a9d8ea;
  --paper: #f7fbfc;
  --paper-deep: #e8f2f6;
  --white: #ffffff;
  --text: #163746;
  --muted: #5a6f79;
  --line: rgba(0, 58, 92, 0.15);
  --line-light: rgba(255, 255, 255, 0.18);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --measure: 1440px;
  --gutter: clamp(22px, 5vw, 76px);
  --section-y: clamp(76px, 10vw, 144px);
  --ease: cubic-bezier(.2,.75,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-family: var(--serif); font-size: clamp(3.4rem, 8.4vw, 8.2rem); font-weight: 400; }
h2 { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 5.25rem); font-weight: 400; }
h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); letter-spacing: -.025em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.eyebrow { margin: 0 0 1.35rem; color: var(--ink-soft); font-size: .69rem; line-height: 1.3; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow--light { color: var(--blue-bright); }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.28rem); line-height: 1.58; }
.lede--light { color: rgba(255,255,255,.72); }
.display-line { display: block; }
.display-line--accent { color: var(--blue-bright); font-style: italic; }
.text-link { display: inline-flex; gap: .65rem; align-items: center; color: var(--ink); text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.text-link::after { content: "↗"; font-size: 1rem; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translate(3px,-3px); }
.section--ink .text-link, .section--deep .text-link { color: var(--blue-bright); }
.section--ink .text-link:hover, .section--deep .text-link:hover { color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,251,252,.94); border-bottom: 1px solid rgba(0,58,92,.12); box-shadow: 0 5px 24px rgba(0,43,68,.055); backdrop-filter: blur(18px) saturate(135%); }
.site-header__inner { height: 88px; width: min(100%, var(--measure)); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
/* Logo art is trimmed to its ink, so height here is the wordmark's true cap height. */
.wordmark img { height: 39px; width: auto; }
.site-header .wordmark img { content: url("../brand/nextequity-logo.png"); filter: none; }
.nav { display: flex; align-items: center; gap: clamp(1.15rem,2.6vw,2.7rem); }
.nav a { position: relative; isolation: isolate; color: rgba(0,58,92,.68); text-decoration: none; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.nav a:not(.nav__login)::before { content: ""; position: absolute; z-index: -1; inset: -.62em -.78em; background: url("../brand/nav-circle.svg") center / 100% 100% no-repeat; opacity: 0; transform: rotate(-7deg) scale(.78); transition: opacity .18s ease, transform .34s cubic-bezier(.2,.75,.2,1); pointer-events: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--blue); transition: right .25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { right: 0; }
.nav a:not(.nav__login):hover::before, .nav a:not(.nav__login):focus-visible::before { opacity: 1; transform: rotate(-2deg) scale(1); }
.nav a:not(.nav__login):hover::after, .nav a:not(.nav__login):focus-visible::after { right: 100%; }
.nav .nav__login { padding: .72rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); white-space: nowrap; transition: transform .25s var(--ease), background .2s ease, border-color .2s ease; }
.nav .nav__login::after { display: none; }
.nav .nav__login:hover { transform: translateY(-1px); border-color: var(--ink-soft); background: var(--ink-soft); color: var(--white); }
.nav-toggle { display: none; padding: .55rem .8rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .nav a:not(.nav__login)::before { transition: none; }
}
@media (max-width: 980px) {
  .site-header__inner { height: 72px; }
  .wordmark img { height: 33px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; z-index: 60; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px); display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 2rem var(--gutter); background: var(--paper); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 1.2rem 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; letter-spacing: -.03em; text-transform: none; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav__login)::before { display: none; }
  .nav a::after { display: none; }
  .nav .nav__login { width: auto; margin-top: 1.6rem; padding: .85rem 1.15rem; border-bottom: 0; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  body.nav-open main, body.nav-open .site-footer { visibility: hidden; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(145deg,#12678f 0%,var(--ink) 74%); color: var(--white); }
.hero::before { content: ""; position: absolute; width: min(52vw,720px); aspect-ratio: 1; right: -10%; top: -28%; border: 1px solid rgba(137,217,245,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(137,217,245,.035), 0 0 0 140px rgba(137,217,245,.025); }
.hero--home { min-height: min(820px, calc(100vh - 88px)); display: flex; align-items: stretch; background: var(--ink); }
/* Full-bleed so the film can run off the right edge, but the text is padded back to
   the site container — otherwise the headline sits ~200px left of the logo. */
.hero__grid { position: relative; z-index: 1; width: 100%; padding-left: max(var(--gutter), calc((100% - var(--measure)) / 2 + var(--gutter))); display: grid; grid-template-columns: minmax(0,.88fr) minmax(500px,1.12fr); gap: clamp(1rem,2.5vw,2.8rem); align-items: center; padding-top: clamp(54px,7vw,94px); padding-bottom: clamp(54px,7vw,94px); }
.hero--home .hero__grid { display: flex; min-height: min(820px,calc(100vh - 88px)); align-items: center; padding-top: clamp(80px,9vw,126px); padding-bottom: clamp(80px,9vw,126px); }
.hero h1, .hero h2, .hero h3 { color: white; }
.hero h1 { max-width: 11ch; }
.hero--home h1 { display: table; max-width: none; padding: 0; background: transparent; color: var(--white); font-size: clamp(2.85rem,5.2vw,5.25rem); line-height: .96; text-shadow: 0 3px 24px rgba(0,31,49,.48); mix-blend-mode: normal; }
.hero--home .display-line--accent { color: var(--blue-bright); }
.hero__intro { max-width: 65ch; }
.hero--home .hero__intro { position: relative; z-index: 3; max-width: 830px; }
.hero--home .hero__intro .lede { max-width: 56ch; color: rgba(255,255,255,.96); font-size: clamp(1.05rem,1.5vw,1.24rem); line-height: 1.55; text-shadow: 0 2px 16px rgba(0,31,49,.7); }
.hero__intro .lede { margin-top: clamp(1.8rem,3vw,3rem); }
.hero-video { position: relative; margin: 0 calc(var(--gutter) * -1) 0 0; width: calc(100% + var(--gutter)); aspect-ratio: 16 / 9; max-height: 590px; overflow: hidden; background: var(--ink-deep); }
.hero-video::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,var(--ink-deep) 0,rgba(0,43,68,.84) 8%,rgba(0,43,68,.16) 30%,transparent 50%); pointer-events: none; }
.hero-video::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,var(--ink-deep) 0,rgba(0,43,68,.06) 17%,rgba(0,43,68,.06) 78%,var(--ink-deep) 100%); pointer-events: none; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.025); }
.hero-video__clip { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1s var(--ease); }
.hero-video__clip.is-active { opacity: 1; }
.hero--home .hero-video { position: absolute; z-index: 0; inset: 0 auto 0 50%; width: 100vw; height: 100%; max-height: none; margin: 0; aspect-ratio: auto; transform: translateX(-50%); }
.hero--home .hero-video::before { background: linear-gradient(90deg,rgba(0,43,68,.78) 0%,rgba(0,58,92,.56) 48%,rgba(0,58,92,.15) 100%); }
.hero--home .hero-video::after { background: linear-gradient(180deg,rgba(0,43,68,.12) 0%,transparent 45%,rgba(0,43,68,.42) 100%); }
.hero--home .hero-video video { filter: saturate(.86) contrast(1.02); }
.hero-video figcaption { position: absolute; z-index: 2; left: 12%; right: 1.4rem; bottom: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; color: white; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-video figcaption small { color: rgba(255,255,255,.56); font-size: inherit; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.3rem; }
.hero--page { padding: clamp(88px,12vw,166px) 0 clamp(72px,9vw,120px); }
.hero--page .hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: clamp(2rem,7vw,8rem); align-items: end; }
.hero--page h1 { font-size: clamp(3.2rem,7vw,7rem); max-width: 12ch; }
.hero--page .lede { align-self: end; padding-bottom: .55rem; }
@media (max-width: 800px) {
  .hero--home { min-height: min(780px,calc(100svh - 72px)); }
  .hero__grid, .hero--page .hero__inner { grid-template-columns: 1fr; }
  .hero__grid { padding-top: 76px; }
  .hero-video { margin: 0; width: 100%; aspect-ratio: 16 / 9; max-height: none; }
  .hero-video::before { background: linear-gradient(180deg,rgba(3,37,56,.18),transparent 35%); }
  .hero-video figcaption { left: 1rem; }
  .hero--home .hero__grid { min-height: min(780px,calc(100svh - 72px)); padding-top: 72px; padding-bottom: 72px; }
  .hero--home .hero-video { position: absolute; inset: 0 auto 0 50%; width: 100vw; height: 100%; margin: 0; }
  .hero--home .hero-video::before { background: linear-gradient(180deg,rgba(0,43,68,.2) 0%,rgba(0,43,68,.38) 42%,rgba(0,43,68,.76) 100%); }
  .hero--home h1 { font-size: clamp(2.65rem,12vw,4.25rem); }
  .hero--home .hero__intro { align-self: end; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .82rem 1.35rem; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: var(--ink-deep); text-decoration: none; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transition: transform .25s var(--ease), background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); background: white; border-color: white; }
.btn--ghost { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { color: var(--ink-deep); }
.section:not(.section--ink) .btn--ghost { color: var(--ink); border-color: var(--line); }

/* Core sections */
.section { position: relative; padding: var(--section-y) 0; }
/* Two tones only: paper for light sections, ink for dark. Alternating them is
   what gives the page its rhythm — gradients and extra shades only muddied it. */
.section--paper, .section--white { background: var(--paper); }
/* --ink-deep matches the header, the hero gradient's end, and the footer, so dark
   sections butt against the hero with no seam. Tiles sit on it in --ink. */
.section--ink { background: linear-gradient(145deg,#0c668f 0%,#03496e 100%); color: rgba(255,255,255,.84); }
.section--deep { background: linear-gradient(145deg,#095b83 0%,#003a5c 100%); color: rgba(255,255,255,.84); }
.section--ink h2, .section--ink h3, .section--deep h2, .section--deep h3 { color: white; }
.section__head { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.55fr); gap: clamp(2rem,7vw,8rem); align-items: end; margin-bottom: clamp(3rem,6vw,5.5rem); }
.section__head--stack { display: block; max-width: 850px; }
.section__head--stack .lede { margin-top: 1.6rem; }
.section__head--simple h2 { font-size: clamp(2.15rem,4vw,3.8rem); }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; } }

/* Interior pages favor direct information over campaign-style pacing. */
.compact-page .hero--page { padding: clamp(42px,5vw,68px) 0; }
.compact-page .hero--page h1 { max-width: none; font-size: clamp(2.9rem,5vw,4.7rem); }
.compact-page .section { padding: clamp(42px,5vw,68px) 0; }
.compact-page .section__head { margin-bottom: clamp(1.6rem,3vw,2.5rem); }
.compact-page .feature { padding: clamp(1.35rem,2.3vw,2rem); }
.compact-page .feature h3 { margin-top: .6rem; font-size: clamp(1.35rem,2vw,1.9rem); }
.compact-page .feature p { margin-top: .65rem; }
.compact-page .criterion { min-height: 165px; padding: clamp(1.25rem,2.2vw,1.8rem); }
.compact-page .criterion__t { font-size: 1.4rem; }
.compact-page .era { padding: 1.15rem 0; }
.compact-page .site-footer { padding-top: clamp(42px,5vw,62px); }
.compact-page .footer__grid { padding-bottom: 2.3rem; }

.hero--team { padding: clamp(48px,6vw,80px) 0; }
.hero--team .hero__inner { grid-template-columns: minmax(0,.82fr) minmax(500px,1.18fr); gap: clamp(1rem,2.5vw,2.8rem); align-items: center; }
.hero--team h1 { max-width: none; font-size: clamp(3rem,5vw,5.2rem); }
.hero--team .lede { margin-top: 1.4rem; }
.team-hero-photo { position: relative; margin: 0 calc(var(--gutter) * -1) 0 0; width: calc(100% + var(--gutter)); aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-deep); }
.team-hero-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,var(--ink-deep) 0,rgba(0,43,68,.82) 8%,rgba(0,43,68,.15) 29%,transparent 49%); pointer-events: none; }
.team-hero-photo::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,var(--ink-deep) 0,rgba(0,43,68,.04) 17%,rgba(0,43,68,.04) 79%,var(--ink-deep) 100%); pointer-events: none; }
.team-hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.02); }
.team-hero-photo figcaption { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .85rem; color: rgba(255,255,255,.68); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-page .section--white { padding: clamp(36px,4vw,56px) 0; }
.team-page .section__head--compact { margin-bottom: clamp(2.2rem,4vw,3.4rem); }
.team-page .person__photo { aspect-ratio: 4 / 3; margin-bottom: .9rem; }
.team-page .person h3 { font-size: 1.35rem; }
.team-page .people { gap: clamp(1.7rem,3vw,2.8rem) clamp(1rem,2vw,1.8rem); }
.team-cta { padding: 1.5rem 0; background: var(--blue); color: var(--ink-deep); }
.team-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.team-cta span { font-family: var(--serif); font-size: clamp(1rem,2vw,1.35rem); }
@media (max-width: 800px) {
  .hero--team .hero__inner { grid-template-columns: 1fr; }
  .team-hero-photo { margin: .5rem 0 0; width: 100%; }
  .team-hero-photo::before { background: linear-gradient(180deg,rgba(3,37,56,.18),transparent 35%); }
}
@media (max-width: 560px) { .hero-video figcaption, .team-cta .wrap { align-items: flex-start; flex-direction: column; } }
@media (max-width: 520px) {
  .team-page .people { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem .75rem; }
  .team-page .person h3 { font-size: 1.05rem; }
  .team-page .person__role { font-size: .54rem; letter-spacing: .1em; }
  .team-page .person__photo::after { padding: .7rem; font-size: .52rem; }
}

/* Home signal band */
.signal-band { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal { padding: clamp(1.6rem,3vw,2.6rem); border-right: 1px solid var(--line); }
.signal:last-child { border-right: 0; }
.signal__num { color: var(--ink); font-family: var(--serif); font-size: clamp(2.1rem,4.2vw,4rem); line-height: 1; letter-spacing: -.05em; }
.signal__label { margin-top: .75rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
@media (max-width: 640px) { .signal-band { grid-template-columns: 1fr; } .signal { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; } .signal:last-child { border-bottom: 0; } }

/* Point of view / cards */
.point-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-light); }
.point { position: relative; min-height: 360px; padding: clamp(2rem,3.5vw,3.25rem); border-right: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; }
.point:last-child { border-right: 0; }
.point__index { color: var(--blue-bright); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.point h3 { max-width: 13ch; font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 400; }
.point p { margin-top: 1.2rem; color: rgba(255,255,255,.62); font-size: .93rem; }
@media (max-width: 850px) { .point-grid { grid-template-columns: 1fr; } .point { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line-light); } }

.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--white); padding: clamp(2rem,4vw,3.75rem); }
.feature__kicker { color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.feature h3 { margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.7rem,2.8vw,2.55rem); font-weight: 400; }
.feature p { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }

/* Logo wall */
.portfolio-controls { display: grid; gap: 1.25rem; margin-bottom: 2.2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line-light); }
.portfolio-controls--hero { align-self: center; gap: .75rem; margin: 0; padding: 0; border: 0; }
.portfolio-controls--hero .filter-set { grid-template-columns: 58px minmax(0,1fr); gap: .7rem; }
.portfolio-controls--hero .filter-set__label { color: var(--blue-bright); }
.portfolio-controls--hero .filters { gap: .4rem; }
.portfolio-controls--hero .filter { padding: .48rem .72rem; font-size: .58rem; }
.portfolio-page .section--ink { padding-top: clamp(26px,3vw,42px); }
.filter-set { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 1rem; align-items: start; }
.filter-set__label { padding-top: .67rem; color: var(--blue-bright); font-size: .59rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.portfolio-controls .filters { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter { padding: .62rem 1rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: transparent; color: rgba(255,255,255,.68); cursor: pointer; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: .2s ease; }
.filter:hover { border-color: var(--blue-bright); color: white; }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--ink-deep); }
.wall { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.portfolio-page .wall { grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); }
.wall--featured { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tile { position: relative; min-height: 190px; padding: 1.5rem; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ink); color: white; text-decoration: none; transition: background .25s ease; }
.portfolio-page .tile { min-height: 150px; padding: 1.2rem; }
.tile[hidden] { display: none; }
.tile:hover { background: var(--ink-soft); }
/* max-height is the baseline the per-logo `scale` values in portfolio.js are
   calibrated against — change it and every scaled logo needs re-tuning. */
.tile img { position: relative; z-index: 1; max-width: 76%; max-height: 48px; width: auto; object-fit: contain; opacity: .96; filter: brightness(0) saturate(100%) invert(76%) sepia(28%) saturate(950%) hue-rotate(158deg) brightness(91%) contrast(88%); transform: scale(var(--logo-scale,1)); transform-origin: center; transition: transform .3s var(--ease), opacity .25s ease; }
.tile:hover img, .tile:focus-visible img { opacity: .72; transform: translateY(-24px) scale(var(--logo-scale,1)); }
.tile__mark { position: relative; z-index: 1; color: var(--blue-bright); font-size: 1.05rem; font-weight: 650; text-align: center; transition: transform .3s var(--ease), opacity .25s ease; }
.tile:hover .tile__mark, .tile:focus-visible .tile__mark { opacity: .72; transform: translateY(-24px); }
.tile__meta { position: absolute; z-index: 2; inset: auto 0 0; display: flex; flex-direction: column; gap: .22rem; width: 100%; padding: 3.2rem 1.4rem 1.25rem; background: linear-gradient(to bottom, transparent, rgba(0,36,58,.96) 44%); opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .3s var(--ease); pointer-events: none; }
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { opacity: 1; transform: none; }
.tile__name { color: white; font-size: .82rem; font-weight: 700; letter-spacing: -.01em; }
.tile__sector { color: var(--blue-bright); font-size: .61rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tile__blurb { margin-top: .22rem; color: rgba(255,255,255,.7); font-size: .75rem; line-height: 1.4; }
.tile__status { position: absolute; z-index: 3; bottom: .75rem; right: .9rem; color: var(--blue-bright); font-size: .55rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.tile:has(.tile__status) .tile__meta { padding-bottom: 2.5rem; }
@media (prefers-reduced-motion: reduce) { .tile img, .tile__mark, .tile__meta, .tile__status { transition: none; } }
.wall__note { margin-top: 1.4rem; color: rgba(255,255,255,.5); font-size: .78rem; }
.wall__note a { color: var(--blue-bright); }
@media (max-width: 900px) { .wall--featured { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .wall--featured { grid-template-columns: 1fr; } .filter-set { grid-template-columns: 1fr; gap: .45rem; } .filter-set__label { padding-top: 0; } }

/* Team */
.people { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.6rem,3vw,2.7rem) clamp(1rem,2vw,1.8rem); }
.person { min-width: 0; }
.person__link { display: block; text-decoration: none; }
.person__photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 1.2rem; overflow: hidden; background: var(--paper-deep); }
.person__photo::after { content: "View profile ↗"; position: absolute; inset: auto 0 0; padding: 1rem; color: var(--ink-deep); background: var(--blue-bright); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transform: translateY(100%); transition: transform .28s var(--ease); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.02); transition: filter .4s ease, transform .55s var(--ease); }
.person__link:hover .person__photo::after { transform: none; }
.person__link:hover .person__photo img { filter: none; transform: scale(1.02); }
.person h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.person__role { margin-top: .35rem; color: var(--ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

.team-mosaic { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: clamp(180px,19vw,280px); gap: 10px; }
.team-mosaic__portrait { position: relative; overflow: hidden; background: var(--ink); text-decoration: none; }
.team-mosaic__portrait--wide { grid-column: span 2; }
.team-mosaic__portrait--tall { grid-row: span 2; }
.team-mosaic__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); transition: filter .45s ease, transform .6s var(--ease); }
.team-mosaic__portrait--rachit img { object-position: center 28%; }
.team-mosaic__portrait:hover img { filter: none; transform: scale(1.025); }
@media (max-width: 800px) { .team-mosaic { grid-template-columns: repeat(2,1fr); grid-auto-rows: clamp(190px,42vw,310px); } }
@media (max-width: 500px) { .team-mosaic__portrait--wide { grid-column: span 2; } .team-mosaic__portrait--tall { grid-row: span 1; } }

/* Timeline / approach */
.timeline { border-top: 1px solid var(--line); }
.era { display: grid; grid-template-columns: 120px minmax(180px,.55fr) minmax(260px,1fr); gap: clamp(1rem,4vw,4rem); padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.era__years { color: var(--ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.era h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.era p { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .era { grid-template-columns: 1fr; gap: .45rem; } }

.criteria { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.criterion { min-height: 250px; padding: clamp(1.5rem,3vw,2.5rem); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; }
.criterion__t { color: white; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.criterion__d { color: rgba(255,255,255,.62); font-size: .88rem; }
@media (max-width: 850px) { .criteria { grid-template-columns: 1fr; } .criterion { min-height: 200px; } }

/* News — no full hero here; the list is the page, so the header is just a slim band. */
.news-head { padding: clamp(30px,4vw,46px) 0; background: var(--ink-deep); color: white; }
.news-head .eyebrow { margin-bottom: .5rem; }
.news-head h1 { color: white; font-size: clamp(2.9rem,5vw,4.7rem); }
.news-head__line { margin: 0; max-width: 54ch; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: clamp(1.25rem,2.4vw,1.85rem); line-height: 1.25; letter-spacing: -.02em; }
.news-head h1 + .news-head__line { margin-top: .7rem; }
.section--tight { padding-top: clamp(28px,3.5vw,44px); }

.news-list { border-top: 1px solid var(--line); }
.news-year { padding: 2.2rem 0 .9rem; }
.news-year span { color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.4rem); letter-spacing: -.03em; }
/* The text column is capped rather than 1fr: left to stretch, it outgrows the line
   length the copy is set to and leaves a dead gutter inside every row. Rules still
   run the full width of the page because the border sits on the grid container. */
.news-item { display: grid; grid-template-columns: 130px 190px minmax(0,760px); gap: clamp(1rem,3vw,3rem); padding: 1.9rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-page .news-year { padding: 1.35rem 0 .6rem; }
.news-page .news-item { padding: 1.25rem 0; }
.news-item__meta { display: flex; flex-direction: column; gap: .45rem; }
.news-item__meta time { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.news-item__cat { color: var(--ink-soft); font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
/* Logos are white-on-transparent, so they need the dark chip to read on paper. */
.news-item__mark { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: .9rem 1rem; background: var(--ink); }
.news-item__mark img { max-width: 100%; max-height: 30px; width: auto; object-fit: contain; }
.news-item__wordmark { color: white; font-size: .9rem; font-weight: 700; letter-spacing: -.01em; text-align: center; }
/* Caps here are for line length, not layout — keep them wide enough that the text
   fills its grid column rather than leaving a gutter inside the row. */
.news-item__body h3 { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.3rem,2.3vw,1.85rem); font-weight: 400; line-height: 1.18; }
.news-item__body p { margin-top: .7rem; max-width: 80ch; color: var(--muted); font-size: .93rem; }
.news-item__link { display: inline-flex; align-items: baseline; gap: .3rem; margin-top: .85rem; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid color-mix(in srgb, var(--blue) 35%, transparent); }
.news-item__link:hover { color: var(--ink); border-color: var(--ink); }
.news-note { margin-top: 2rem; max-width: 70ch; color: var(--muted); font-size: .78rem; line-height: 1.6; }
@media (max-width: 820px) {
  .news-item { grid-template-columns: 110px minmax(0,1fr); gap: 1rem 1.4rem; }
  .news-item__meta { grid-column: 1; }
  .news-item__mark { grid-column: 1; min-height: 52px; }
  .news-item__body { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 520px) {
  .news-item { grid-template-columns: 1fr; gap: .8rem; }
  .news-item__meta { flex-direction: row; align-items: baseline; gap: .9rem; }
  .news-item__mark { max-width: 150px; }
  .news-item__body { grid-column: 1; grid-row: auto; }
}

/* Profile pages */
.profile-hero { padding: clamp(70px,9vw,120px) 0; background: linear-gradient(145deg,#0b5f88,var(--ink)); color: white; }
.profile-hero__grid { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(2.5rem,7vw,8rem); align-items: center; }
.profile-hero__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.profile-hero h1 { color: white; font-size: clamp(3.7rem,8vw,7.6rem); max-width: 8ch; }
.profile-role { margin: 1.3rem 0 0; color: var(--blue-bright); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.profile-deck { margin-top: 2rem; max-width: 36ch; color: rgba(255,255,255,.7); font-size: clamp(1.05rem,1.6vw,1.25rem); }
.profile-back { display: inline-block; margin-bottom: 2rem; color: rgba(255,255,255,.54); text-decoration: none; font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.profile-body { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.55fr); gap: clamp(3rem,8vw,9rem); }
.profile-copy { color: var(--text); font-family: var(--serif); font-size: clamp(1.18rem,1.75vw,1.45rem); line-height: 1.65; }
.profile-copy p { margin-bottom: 1.35em; }
.profile-facts { align-self: start; border-top: 1px solid var(--line); }
.profile-fact { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.profile-fact dt { color: var(--ink-soft); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.profile-fact dd { margin: .45rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
/* Keep individual biographies and key facts together in the desktop viewport. */
.profile-page .profile-hero { padding: 22px 0 0; background: var(--mist); color: var(--ink); }
.profile-page .profile-hero__grid { grid-template-columns: 220px minmax(0,1fr); gap: 40px; }
.profile-page .profile-hero__photo { height: 235px; aspect-ratio: auto; background: transparent; align-self: end; }
.profile-page .profile-hero__photo img { object-fit: cover; object-position: center 12%; filter: none; }
.profile-page .profile-hero h1 { font-size: clamp(2.3rem,4vw,3.5rem); max-width: none; color: var(--ink); }
.profile-name { display:flex; align-items:center; gap:12px; }
.profile-linkedin { display:inline-flex; width:24px; height:24px; flex:0 0 24px; align-items:center; justify-content:center; border-radius:4px; color:#fff; background:#0a66c2; transition:background .18s ease, transform .18s ease; }
.profile-linkedin:hover, .profile-linkedin:focus-visible { color:#fff; background:#004182; transform:translateY(-1px); }
.profile-linkedin svg { display:block; width:15px; height:15px; fill:currentColor; }
.profile-linkedin:focus-visible { outline:3px solid #69c3e3; outline-offset:3px; }
.profile-page .profile-back { margin-bottom: 14px; color: var(--ink-soft); }
.profile-page .profile-hero .eyebrow { color: var(--ink-soft); }
.profile-page .profile-deck { margin: 12px 0 22px; max-width: 65ch; font-size: 1rem; color: var(--muted); }
.profile-page .section { padding: 24px 0; }
.profile-page .profile-body { grid-template-columns: minmax(0,1.65fr) minmax(260px,.85fr); gap: 40px; }
.profile-page .profile-copy { font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.profile-page .profile-copy p { margin-bottom: 12px; }
.profile-page .profile-copy p:last-child { margin-bottom: 0; }
.profile-page .profile-fact { padding: 9px 0; }
.profile-page .profile-fact dd { margin-top: 4px; font-size: 13px; line-height: 1.4; }
@media (min-width: 961px) and (max-height: 800px) {
  .profile-page .profile-hero { padding: 16px 0 0; }
  .profile-page .profile-hero__photo { height: 195px; }
  .profile-page .section { padding: 18px 0; }
}
@media (max-width: 960px) {
  .profile-page .profile-body { grid-template-columns: minmax(0,1.3fr) minmax(230px,1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .profile-hero__grid, .profile-body, .profile-page .profile-hero__grid, .profile-page .profile-body { grid-template-columns: 1fr; }
  .profile-hero__photo { max-width: 420px; }
  .profile-page .profile-hero__grid { gap: 20px; }
  .profile-page .profile-hero__photo { width: 180px; height: 210px; }
  .profile-page .profile-copy { font-size: 16px; line-height: 1.6; }
  .profile-page .profile-fact dd { font-size: 14px; }
}

/* CTA / contact */
.cta { text-align: center; }
.cta h2 { max-width: 13ch; margin-inline: auto; }
.cta .lede { margin: 1.6rem auto 2.2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { padding: clamp(2rem,5vw,4.3rem); background: var(--white); }
.contact-card h3 { font-family: var(--serif); font-size: clamp(1.9rem,3.2vw,3rem); font-weight: 400; }
.contact-card p { margin-top: 1rem; color: var(--muted); }
.contact-card .text-link { margin-top: 1.4rem; }
.contact-page .contact-card { padding: clamp(1.6rem,3vw,2.6rem); }
.contact-page .contact-card h3 { font-size: clamp(1.55rem,2.5vw,2.2rem); }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: clamp(60px,8vw,100px) 0 2.4rem; background: var(--ink-deep); color: rgba(255,255,255,.55); font-size: .83rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--blue-bright); }
.site-footer .wordmark img { height: 26px; }
.site-footer .wordmark img { filter: none; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.footer__statement { margin-top: 1.4rem; max-width: 34ch; color: rgba(255,255,255,.66); font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.footer__h { margin-bottom: 1rem; color: var(--blue-bright); font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: .55rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2rem; color: rgba(255,255,255,.38); font-size: .7rem; }
.footer__disclaimer { margin-top: 1.3rem; max-width: 100ch; color: rgba(255,255,255,.3); font-size: .67rem; line-height: 1.65; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }

/* Motion and focus */
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-video__clip { transition: none; } }

/* Refined type, compact navigation and consistent portrait presentation. */
.nav a, .btn, .text-link { text-transform: none; letter-spacing: .025em; font-size: .85rem; }
.eyebrow { letter-spacing: .12em; }
.section { padding-top: clamp(60px, 7vw, 104px); padding-bottom: clamp(60px, 7vw, 104px); }
.hero-video__control { position: absolute; right: 24px; bottom: 24px; z-index: 5; border: 1px solid rgba(255,255,255,.5); border-radius: 24px; background: rgba(0,43,68,.65); color: white; padding: 10px 16px; font: 600 .8rem var(--sans); cursor: pointer; }
.hero-video__clip { filter: saturate(.94) contrast(1.015); transition-duration: .8s; }
.profile-page .profile-hero { background: var(--paper-deep); }
.profile-page .profile-hero__grid { grid-template-columns: 280px minmax(0,1fr); gap: 48px; }
.profile-page .profile-hero__photo { height: 270px; }
.profile-page .profile-hero__photo img { object-fit: contain; object-position: center bottom; }
.profile-page .profile-hero h1 { font-size: clamp(2.5rem,4vw,3.75rem); }
.profile-page .profile-copy { font-size: 15px; line-height: 1.55; }
.site-footer { padding: 40px 0 24px; }
.footer__grid { padding-bottom: 24px; gap: 32px; }
.footer__statement { margin-top: 16px; font-size: 1.05rem; }
.footer__h { margin-bottom: 12px; }
.footer__links li { margin-bottom: 5px; }
.footer__legal { margin-top: 20px; }
.footer__disclaimer { margin-top: 16px; color: rgba(255,255,255,.5); }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
@media (min-width:961px) and (max-height:800px) {
 .profile-page .profile-hero__photo { height: 220px; }
 .profile-page .profile-hero__grid { grid-template-columns: 240px minmax(0,1fr); }
}
@media (max-width:760px) {
 .profile-page .profile-hero__grid { grid-template-columns: 1fr; gap: 20px; }
 .profile-page .profile-hero__photo { width: 210px; height: 230px; }
 .profile-page .profile-copy { font-size: 16px; }
 .hero-video__control { bottom: 16px; right: 16px; }
}

.filter, .portfolio-controls--hero .filter { font-size: .75rem; text-transform: none; letter-spacing: .02em; }
.filter[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--ink-soft); }

/* A compact introduction above the homepage team portraits. */
.home-team__head { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(24px,5vw,72px); margin-bottom: clamp(28px,3vw,44px); }
.home-team__head h2 { font-size: clamp(2.5rem,4vw,3.8rem); }
.home-team__head .lede { margin-top: 0; max-width: 48ch; }
.home-team__head p:last-child { margin-bottom: 0; }
@media (max-width:760px) { .home-team__head { grid-template-columns: 1fr; gap: 20px; } }

.hero-video__control { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border-color: rgba(255,255,255,.35); background: rgba(0,43,68,.4); }
.hero-video__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-video__control.is-paused .hero-video__icon { width: 0; height: 0; border-left: 9px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
@media (pointer:coarse) { .hero-video__control::before { content: ''; position: absolute; inset: -6px; } }

/* Editorial refinements across the home, approach and team pages. */
.point { justify-content: flex-start; gap: 28px; min-height: 330px; }
.point h3 { min-height: 2.1em; }
.criterion { justify-content: flex-start; gap: 20px; }
.criterion__d { margin: 0; }
.team-mosaic { grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: clamp(210px,24vw,340px); }
.team-mosaic__portrait img, .person__photo img { object-position: center top; }
.team-mosaic__portrait img { object-fit: cover; }
.elevation-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.elevation-company { background:var(--paper); padding:40px 24px; text-align:center; font-size:1.6rem; font-weight:600; }
.elevation-company sup { font-size:.8rem; margin-left:4px; }
.elevation-experience .wall__note { color:var(--muted); margin-top:24px; }
@media(max-width:800px) { .team-mosaic { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:clamp(230px,55vw,350px); } }
@media(max-width:600px) { .elevation-grid { grid-template-columns:repeat(2,1fr); } .point h3 { min-height:0; } }

.contact-form-wrap { max-width:900px; }
.contact-form-wrap h2 { font-size:clamp(2.2rem,4vw,3.5rem); }
.contact-form-wrap form { margin-top:32px; }
.contact-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.contact-form-wrap label { display:block; font-size:.9rem; font-weight:600; margin-bottom:20px; }
.contact-form-wrap input,.contact-form-wrap textarea,.contact-form-wrap select { display:block; width:100%; margin-top:8px; padding:12px; border:1px solid #afc4ce; border-radius:4px; background:white; color:var(--ink); font:400 1rem var(--sans); }
.contact-form-wrap textarea { resize:vertical; }
.contact-form-honey { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.contact-form-note { font-size:.85rem; color:var(--muted); }
#contact-form-status { margin-top:16px; }
@media(max-width:600px) { .contact-form-grid { grid-template-columns:1fr; gap:0; } }

/* Compact portfolio introduction gives the logo grid priority. */
.portfolio-page .portfolio-hero { padding:28px 0; }
.portfolio-page .portfolio-hero .hero__inner { grid-template-columns:220px minmax(0,1fr); gap:32px; align-items:start; }
.portfolio-page .portfolio-hero h1 { font-size:clamp(2.8rem,4vw,3.6rem); margin:0; line-height:1.05; }
.portfolio-page .portfolio-controls--hero { align-self:start; gap:10px; }
.portfolio-page .portfolio-controls--hero .filter-set { grid-template-columns:48px minmax(0,1fr); gap:10px; }
.portfolio-page .portfolio-controls--hero .filter-set__label { padding-top:8px; }
.portfolio-page .portfolio-controls--hero .filters { gap:5px; }
.portfolio-page .portfolio-controls--hero .filter { padding:6px 10px; min-height:30px; font-size:.72rem; line-height:1.2; font-weight:700; letter-spacing:0; }
.portfolio-page .section--ink { padding-top:20px; }
@media(max-width:900px) {
 .portfolio-page .portfolio-hero .hero__inner { grid-template-columns:1fr; gap:20px; }
 .portfolio-page .portfolio-hero { padding:24px 0; }
}

/* Compact headers and shorter paths from page titles to content. */
.site-header__inner { height:72px; }
.compact-page .section__head { align-items:start; margin-bottom:24px; }
.compact-page .hero--page { padding:24px 0; }
.compact-page .hero--page h1 { font-size:clamp(2.8rem,4vw,3.6rem); }
.compact-page .hero--page:not(.hero--team):not(.portfolio-hero) .hero__inner { grid-template-columns:220px minmax(0,1fr); gap:32px; align-items:center; }
.compact-page .hero--page .lede { margin:0; padding:0; font-size:1.05rem; line-height:1.5; }
.compact-page .hero--page + .section, .news-page .news-head + .section { padding-top:20px; }
.team-page .hero--team .hero__inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:center; }
.team-page .hero--team .lede { margin-top:12px; max-width:58ch; }
.team-page .team-hero-photo { width:100%; max-width:420px; margin:0 0 0 auto; }
.team-page .hero--team--no-photo .hero__inner { grid-template-columns:220px minmax(0,1fr); }
.team-page .hero--team--no-photo .hero__inner > div { display:contents; }
.team-page .hero--team--no-photo .lede { margin-top:0; max-width:65ch; }
.news-head { padding:24px 0; }
.news-head .wrap { display:grid; grid-template-columns:220px minmax(0,1fr); gap:32px; align-items:center; }
.news-head h1 { font-size:clamp(2.8rem,4vw,3.6rem); }
.news-head h1 + .news-head__line { margin:0; font-size:1.1rem; line-height:1.5; }
.hero--home { min-height:0; }
.hero--home .hero__grid { min-height:calc(100svh - 72px); padding-top:44px; padding-bottom:44px; }
.profile-page .profile-hero { padding-top:8px; }
.profile-page .profile-hero .profile-navigation { margin-bottom:0; }
@media(max-width:900px) {
 .compact-page .hero--page:not(.hero--team):not(.portfolio-hero) .hero__inner,
 .team-page .hero--team .hero__inner, .news-head .wrap { grid-template-columns:1fr; gap:16px; }
 .team-page .team-hero-photo { max-width:420px; margin:0; }
}
@media(max-width:760px) {
 .site-header__inner { height:64px; }
 .nav { top:64px; height:calc(100dvh - 64px); }
 .compact-page .hero--page, .news-head { padding:20px 0; }
 .hero--home .hero__grid { min-height:calc(100svh - 64px); padding-top:40px; padding-bottom:40px; }
}

/* Source-based portraits retain the complete silhouette within their canvas. */
.profile-page .profile-navigation { display:flex; justify-content:flex-end; margin-bottom:12px; }
.profile-page .profile-navigation .profile-back { margin:0; padding:9px 13px; border:1px solid #c8d8e2; border-radius:7px; background:rgba(255,255,255,.7); }
.profile-page .profile-hero__grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:40px; }
.profile-page .profile-hero__photo--studio, .profile-page .profile-hero__photo--original { width:100%; max-width:none; height:360px; aspect-ratio:auto; overflow:visible; background:transparent; }
.profile-page .profile-hero__photo--studio img, .profile-page .profile-hero__photo--original img { display:block; width:100%; height:100%; max-width:100%; object-fit:contain; object-position:center bottom; }
@media (max-width:900px) {
 .profile-page .profile-hero__grid { grid-template-columns:1fr; gap:24px; }
 .profile-page .profile-hero__photo--studio, .profile-page .profile-hero__photo--original { width:100%; height:auto; aspect-ratio:3/2; }
}

/* Elevation logo wall */
.elevation-company { display:flex; align-items:center; justify-content:center; min-height:140px; gap:8px; }
.elevation-company img { width:180px; max-width:85%; height:64px; object-fit:contain; }
.elevation-company img { filter: brightness(0) saturate(100%); opacity: .85; }
.elevation-company img[alt="Yelp"] { filter: none; opacity: 1; }
@media (min-width:761px) { .site-header .nav { margin-left:auto; justify-content:flex-end; } }
/* Compact announcement ticker within the opening homepage viewport. */
.hero--home { position:relative; }
.hero--home .hero__grid { padding-bottom:110px; }
.home-news { position:absolute; z-index:3; bottom:22px; left:var(--gutter); right:var(--gutter); display:flex; align-items:center; gap:14px; height:54px; padding:8px 12px 8px 18px; background:rgba(247,251,252,.96); border:1px solid rgba(255,255,255,.5); border-radius:5px; color:var(--text); }
.home-news__viewport { flex:1; min-width:0; overflow:hidden; mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent); }
.home-news__track { display:flex; width:max-content; animation:news-ticker var(--news-duration,65s) linear infinite; will-change:transform; }
.home-news__group { display:flex; align-items:center; flex-shrink:0; }
.home-news__item { display:flex; align-items:center; flex-shrink:0; gap:16px; white-space:nowrap; color:var(--ink); text-decoration:none; font-size:.85rem; font-weight:600; line-height:1.25; padding:3px 0; }
.home-news__item::after { content:'•'; margin:0 30px; color:#74a1b4; }
.home-news__item img { width:82px; height:26px; object-fit:contain; filter:none; opacity:1; mix-blend-mode:normal; }
.home-news__item:hover span { text-decoration:underline; }
.home-news__all { flex-shrink:0; padding-left:14px; border-left:1px solid var(--line); color:var(--ink); font-size:.72rem; font-weight:700; text-decoration:none; white-space:nowrap; }
.home-news__all:hover { text-decoration:underline; }
.home-news :focus-visible { outline:2px solid var(--ink-soft); outline-offset:2px; }
.home-news:hover .home-news__track, .home-news:focus-within .home-news__track, .home-news.is-background .home-news__track { animation-play-state:paused; }
.home-news__viewport:focus-within { overflow-x:auto; }
.home-news__viewport:focus-within .home-news__track { animation:none; transform:none; }
@keyframes news-ticker { to { transform:translateX(-50%); } }
@media(max-width:760px) {
 .hero--home .hero__grid { padding-top:24px; padding-bottom:105px; }
 .home-news { height:48px; bottom:16px; gap:9px; padding:7px 9px; }
 .home-news__item { font-size:.78rem; gap:12px; }
 .home-news__item img { width:64px; height:23px; }
 .home-news__all { padding-left:9px; font-size:.66rem; }
}
@media(max-height:650px) and (min-width:761px) {
 .hero--home .hero__grid { padding-top:20px; padding-bottom:100px; }
 .hero--home h1 { font-size:clamp(2.8rem,5.5vw,4rem); }
 .hero--home .hero__intro .lede { margin-top:18px; font-size:1rem; }
 .hero--home .hero__actions { margin-top:20px; }
}

/* Original brand logos on the page surface, without background chips. */
.news-item__mark { background:transparent; padding:0 12px; min-height:62px; }
.news-item__mark img { max-width:166px; width:100%; height:54px; max-height:54px; object-fit:contain; filter:none; mix-blend-mode:normal; }


@media (prefers-reduced-motion: reduce) { .home-news__track { animation:none; } }
