
/* Layout: corporate grid with a margin rail; one thread runs down the rail and every section's imagery moves with the scroll. */
:root {
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --ink: #0B1B2E;
  --muted: #4A5A6E;
  --line: rgba(11, 27, 46, 0.13);
  --accent: #1F5FA8;
  --thread: #1F5FA8;
  --thread-base: rgba(11, 27, 46, 0.12);
  --lemon: #E6EFFA;
  --mint: #A9C8EE;
  --sky: #BFD6F2;
  --grad: linear-gradient(135deg, #E6EFFA 0%, #D3E3F6 50%, #BFD6F2 100%);
  --on-grad: #0B1B2E;
  --dark-bg: #0B1B2E;
  --dark-fg: #EAF0F8;
  --dark-muted: #A6B6CC;
  --dark-line: rgba(234, 240, 248, 0.16);
  --img-sky-top: #BFD6F2;
  --img-sky-mid: #D3E3F6;
  --img-sky-low: #E6EFFA;
  --img-sun: #FFFDF0;
  --img-back: #9CC7BD;
  --img-mid: #4E7F78;
  --img-front: #0B1B2E;
  --img-win: rgba(234, 240, 248, 0.16);
  --img-lit: #E6EFFA;
  --paper: #FFFFFF;
  --paper-line: rgba(11, 27, 46, 0.12);
  --radius: 8px;
  --font-display: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121F; --surface: #12203A; --ink: #EAF0F8; --muted: #A6B6CC; --line: rgba(234, 240, 248, 0.14);
    --accent: #8DB8EE; --thread: #8DB8EE; --thread-base: rgba(234, 240, 248, 0.12);
    --grad: linear-gradient(135deg, #14223A 0%, #123055 50%, #1A2A4A 100%); --on-grad: #EAF0F8;
    --dark-bg: #060E1A; --dark-fg: #EAF0F8; --dark-muted: #A6B6CC; --dark-line: rgba(234, 240, 248, 0.14);
    --img-sky-top: #0C1A2E; --img-sky-mid: #10302C; --img-sky-low: #2C3020; --img-sun: #E9E4B0;
    --img-back: #1D3B3A; --img-mid: #24504B; --img-front: #050B0C; --img-win: rgba(234, 240, 248, 0.06); --img-lit: #E9E4B0;
    --paper: #16263F; --paper-line: rgba(234, 240, 248, 0.14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08121F; --surface: #12203A; --ink: #EAF0F8; --muted: #A6B6CC; --line: rgba(234, 240, 248, 0.14);
  --accent: #8DB8EE; --thread: #8DB8EE; --thread-base: rgba(234, 240, 248, 0.12);
  --grad: linear-gradient(135deg, #14223A 0%, #123055 50%, #1A2A4A 100%); --on-grad: #EAF0F8;
  --dark-bg: #060E1A; --dark-fg: #EAF0F8; --dark-muted: #A6B6CC; --dark-line: rgba(234, 240, 248, 0.14);
  --img-sky-top: #0C1A2E; --img-sky-mid: #10302C; --img-sky-low: #2C3020; --img-sun: #E9E4B0;
  --img-back: #1D3B3A; --img-mid: #24504B; --img-front: #050B0C; --img-win: rgba(234, 240, 248, 0.06); --img-lit: #E9E4B0;
  --paper: #16263F; --paper-line: rgba(234, 240, 248, 0.14);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; font-weight: 600; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 1100px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.title-xl { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.title-xl .soft { color: var(--muted); font-weight: 400; }
.lede { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); max-width: 46ch; }
section { position: relative; }
.sec { padding-block: clamp(80px, 10vw, 136px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: 32px; align-items: end; }
.sec-head > div { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 6px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.link { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.mark .bar { fill: var(--ink); }
.mark .rise { fill: var(--accent); }

/* Header */
.utility { border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .utility .hide-sm { display: none; } }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; flex: none; transition: transform .3s ease; }
.brand:hover svg { transform: translateY(-2px); }
.brand .lock { display: grid; line-height: 1.05; }
.brand .lock b { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .lock b .light { font-weight: 400; }
.brand .lock small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 420px) { .brand svg { width: 38px; height: 38px; } .brand .lock b { font-size: 17px; } }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; color: var(--bg); }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Thread rail */
.rail { position: absolute; inset: 0 auto 0 0; width: 100%; pointer-events: none; z-index: 3; display: none; }
.rail svg { position: absolute; top: 0; left: 0; overflow: visible; }
.rail .base { fill: none; stroke: var(--thread-base); stroke-width: 1.5; }
.rail .flow { fill: none; stroke: var(--thread); stroke-width: 2; stroke-linecap: round; }
.rail .node { fill: var(--bg); stroke: var(--thread-base); stroke-width: 1.5; transition: fill .4s ease, stroke .4s ease; }
.rail .node.on { fill: var(--thread); stroke: var(--thread); }
.rail .halo { fill: var(--thread); opacity: 0; transform-box: fill-box; transform-origin: center; }
.rail .halo.on { animation: halo 1.2s ease-out 1; }
@keyframes halo { 0% { opacity: .35; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* Photo frames: the image is taller than its frame so it can drift with the scroll */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.photo img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; display: block; will-change: transform; max-width: none; }
.photo .credit { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* Hero: full-bleed photograph, copy set in the open sky on the left */
.hero { position: relative; overflow: hidden; background: #DCEAF6; color: #0B1B2E; }
.hero .bgimg { position: absolute; inset: 0; z-index: 0; }
.hero .bgimg img { position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%; object-fit: cover; object-position: 70% 40%; max-width: none; will-change: transform; }
.hero .veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(238,245,250,0.96) 0%, rgba(238,245,250,0.86) 34%, rgba(238,245,250,0.25) 62%, rgba(238,245,250,0) 80%); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(80px, 11vw, 150px) clamp(150px, 15vw, 190px); }
.hero-copy { display: grid; gap: 26px; max-width: 640px; min-width: 0; }
.hero .eyebrow { color: #2B4F80; }
.hero-logo { display: flex; align-items: center; gap: 16px; }
.hero-logo .tile { display: block; flex: none; mix-blend-mode: multiply; }
.hero-logo .tile svg { width: 84px; height: 84px; display: block; overflow: visible; }
.hero-logo .tile .bar { fill: #0B1B2E; }
.hero-logo .tile .rise { fill: #1F5FA8; }
.hero-logo .name { display: grid; gap: 2px; }
.hero-logo .name b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hero-logo .name small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #3F5878; }
.hero h1 { font-size: clamp(46px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.045em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 .soft { color: #3F5878; font-weight: 400; }
.hero .sub { font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.hero .lede { color: #33475F; }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { background: #0B1B2E; color: #FFFFFF; }
.hero .btn.ghost { background: rgba(255,255,255,0.7); color: #0B1B2E; border-color: rgba(11,27,46,0.18); }
.kpis { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.kpis .wrap { padding-block: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.kpi { padding: 22px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi .n { grid-row: span 2; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.kpi .k { font-weight: 600; font-size: 17px; line-height: 1.2; }
.kpi .v { color: var(--muted); font-size: 14.5px; line-height: 1.35; }
@media (max-width: 900px) {
  .hero .veil { background: linear-gradient(180deg, rgba(238,245,250,0.94) 0%, rgba(238,245,250,0.86) 55%, rgba(238,245,250,0.55) 100%); }
  .hero .wrap { padding-block: 64px 40px; }
  .kpis { position: relative; }
  .kpi-row { grid-template-columns: minmax(0, 1fr); border-radius: 0; border-inline: 0; }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .kpis .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding: 22px 20px; flex: none; }
.marquee-group span { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-group i { width: 10px; height: 10px; border: 1.5px solid var(--accent); transform: rotate(45deg); flex: none; }

/* Perspective + document stack */
.persp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.persp .copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.persp .copy p { font-size: 19px; max-width: 48ch; }
.persp .copy p.strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.02em; line-height: 1.3; }
.persp-visual { position: relative; min-width: 0; padding: 28px 0 40px 28px; }
.persp-visual .photo { aspect-ratio: 4 / 3.4; width: 100%; max-width: 100%; }
.float { position: absolute; z-index: 2; width: min(250px, 58%); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 6px; padding: 16px; display: grid; gap: 9px; box-shadow: 0 30px 50px -28px rgba(11, 27, 46, 0.5); will-change: transform; }
.float.f1 { left: 0; top: 0; }
.float.f2 { right: -12px; bottom: 0; }
.float .dh { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--paper-line); padding-bottom: 8px; }
.float .dh b { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.float .cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.float .cells i { height: 14px; border-radius: 3px; background: var(--paper-line); }
.float .cells i.in { background: color-mix(in srgb, var(--accent) 40%, transparent); }
.float .ck { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; line-height: 1.35; }
.float .ck svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) { .persp { grid-template-columns: minmax(0, 1fr); } .persp-visual { padding: 24px 0 32px 16px; } .float.f2 { right: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 72px; }
.stat { padding: 28px 24px 4px 0; display: grid; gap: 8px; border-right: 1px solid var(--line); min-width: 0; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(52px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat .k { font-weight: 600; font-size: 18px; }
.stat .v { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat, .stat + .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* Expertise */
.svc-rule { height: 2px; background: var(--line); margin-top: 56px; position: relative; overflow: hidden; }
.svc-rule span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.svc { padding: 28px 24px 32px 0; display: grid; gap: 14px; align-content: start; min-width: 0; border-right: 1px solid var(--line); position: relative; }
.svc + .svc { padding-left: 24px; }
.svc:last-child { border-right: 0; }
.svc::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
.svc + .svc::before { left: 24px; }
.svc .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.svc h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.svc .tag { font-size: 16px; color: var(--muted); }
.svc ul { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; font-size: 15.5px; line-height: 1.45; }
.svc li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
.svc li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 8px; }
.beyond { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--grad); color: var(--on-grad); }
.beyond strong { font-family: var(--font-display); font-size: 20px; margin-right: 8px; }
.chip { padding: 8px 14px; border-radius: 4px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 15px; font-weight: 500; }
@media (max-width: 1020px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc:nth-child(2) { border-right: 0; } .svc:nth-child(3) { padding-left: 0; } .svc:nth-child(3)::before { left: 0; } }
@media (max-width: 600px) { .services { grid-template-columns: minmax(0, 1fr); } .svc, .svc + .svc { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); } .svc + .svc::before { left: 0; } }

/* Contribution tabs */
.contrib { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.tablist { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.tab { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 8px; text-align: left; min-height: 64px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: 600 18px/1.2 var(--font-body); color: var(--muted); cursor: pointer; transition: color .25s ease, background .25s ease; }
.tab span.n { font-family: var(--font-mono); font-size: 13px; font-weight: 400; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--surface); }
.tab .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.tab[aria-selected="true"] .bar { transform: scaleX(1); }
.auto .tab[aria-selected="true"] .bar { animation: tabbar 6s linear both; }
@keyframes tabbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; min-width: 0; }
.panel .copy { display: grid; gap: 16px; min-width: 0; }
.panel h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.panel p { color: var(--muted); }
.panel .count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.panel:not([hidden]) { animation: panelIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.viz { border-radius: 6px; background: var(--grad); padding: 22px; min-height: 240px; display: grid; align-content: center; gap: 8px; color: var(--on-grad); min-width: 0; }
.viz .cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.viz .cell { height: 26px; border-radius: 4px; background: color-mix(in srgb, var(--surface) 75%, transparent); }
.viz .cell.in { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.viz .cell.calc { background: color-mix(in srgb, var(--on-grad) 18%, transparent); }
.panel:not([hidden]) .viz .cell, .panel:not([hidden]) .viz .ln, .panel:not([hidden]) .viz .row, .panel:not([hidden]) .viz .check { animation: fadeUp .5s cubic-bezier(.2,.8,.2,1) both; }
.viz .legend { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 12px; margin-top: 8px; flex-wrap: wrap; }
.viz .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.viz .ln { height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--on-grad) 18%, transparent); }
.viz .ln.h { height: 16px; width: 55%; background: color-mix(in srgb, var(--on-grad) 55%, transparent); margin-bottom: 8px; }
.viz .ln.k { background: color-mix(in srgb, var(--accent) 50%, transparent); }
.viz .row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 12px; }
.viz .row .b { height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--on-grad) 22%, transparent); }
.viz .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 6px; background: color-mix(in srgb, var(--surface) 72%, transparent); font-size: 15px; font-weight: 500; }
.viz .check svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .contrib, .panel { grid-template-columns: minmax(0, 1fr); } }

/* Partnership (dark) */
.dark { background: var(--dark-bg); color: var(--dark-fg); }
.dark .eyebrow, .dark .title-xl .soft { color: var(--dark-muted); }
.partner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.partner .photo { aspect-ratio: 4 / 4.6; width: 100%; max-width: 100%; }
.partner .photo .caption { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #EAF0F8; display: flex; justify-content: space-between; gap: 12px; }
.partner .copy { display: grid; gap: 18px; min-width: 0; }
.pillars { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--dark-line); }
.pillar { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--dark-line); align-items: start; }
.pillar svg { width: 40px; height: 40px; color: var(--mint); }
.pillar h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 4px; }
.pillar p { color: var(--dark-muted); font-size: 17px; }
@media (max-width: 900px) { .partner { grid-template-columns: minmax(0, 1fr); } .partner .photo { aspect-ratio: 16 / 11; } }


/* About + team */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); margin-top: 48px; }
.about-intro .col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.about-intro p { font-size: 19px; max-width: 52ch; }
.about-intro p.strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -0.02em; line-height: 1.3; }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value .vn { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.value h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.value p { font-size: 16.5px; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 15px; font-weight: 500; }
.fact::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }

.team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-top: 96px; }
.team-head h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.team-head p { color: var(--muted); max-width: 40ch; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.team.leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.leaders .member h4 { font-size: 24px; }
.leaders .member .who { gap: 6px; }
.leaders .member p { font-size: 16.5px; }
.member { display: grid; gap: 14px; align-content: start; min-width: 0; }
.portrait { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; max-width: 100%; background: linear-gradient(160deg, #E6EFFA 0%, #CFE0F5 55%, #A9C8EE 100%); }
.lead .portrait { aspect-ratio: 5 / 4; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.portrait .ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.04em; color: rgba(11, 27, 46, 0.78); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.lead .portrait .ini { font-size: clamp(56px, 7vw, 104px); }
.lead .portrait .wm { width: 32%; right: -5%; bottom: -12%; }
.portrait .wm { position: absolute; right: -14%; bottom: -16%; width: 62%; opacity: 0.12; }
.portrait .wm path { fill: #0B1B2E; }
.portrait .tag { position: absolute; left: 12px; top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; background: rgba(255,255,255,0.82); color: #0B1B2E; }
.member:hover .portrait img, .member:hover .portrait .ini { transform: scale(1.05); }
.member .who { display: grid; gap: 2px; }
.member h4 { font-size: 21px; letter-spacing: -0.02em; }
.lead h4 { font-size: 26px; }
.member .role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.member p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .about-intro { grid-template-columns: minmax(0, 1fr); } .team.leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team.leaders { grid-template-columns: minmax(0, 1fr); } }


/* M&A deal cycle */
.cycle-line { position: relative; height: 2px; background: var(--line); margin-top: 56px; }
.cycle-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cyc { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; transition: border-color .3s ease, transform .3s ease; }
.cyc::before { content: ""; position: absolute; top: -37px; left: 22px; width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--accent); transform: rotate(45deg); }
.cyc:hover { border-color: var(--accent); transform: translateY(-4px); }
.cyc .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.cyc h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.cyc .tag { font-weight: 600; font-size: 16px; }
.cyc ul { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; line-height: 1.45; }
.cyc li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
.cyc li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 8px; }
@media (max-width: 1020px) { .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cycle-line, .cyc::before { display: none; } }
@media (max-width: 560px) { .cycle { grid-template-columns: minmax(0, 1fr); } }

/* Approach */
.approach-track { margin-top: 56px; }
.flowline { position: relative; height: 2px; background: var(--line); margin: 0 0 30px; }
.flowline span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--surface); display: grid; gap: 12px; align-content: start; min-width: 0; transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease, opacity .4s ease; }
.stage .dot { position: absolute; top: -39px; left: 22px; width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--accent); transform: rotate(45deg); transition: background .4s ease; }
.stage .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.stage h3 { font-size: 28px; letter-spacing: -0.03em; }
.stage .tag { font-weight: 600; font-size: 17px; }
.stage p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.stage ul { display: grid; gap: 8px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; line-height: 1.45; }
.stage li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.stage li::before { content: "→"; color: var(--accent); font-size: 14px; }
.stage.active { border-color: var(--accent); box-shadow: 0 18px 40px -24px var(--accent); transform: translateY(-6px); }
.stage.active .dot, .stage.done .dot { background: var(--accent); }
.js-flow .stage:not(.active):not(.done) { opacity: 0.55; }
@media (min-width: 1000px) {
  .js-flow .approach { height: 300vh; }
  .js-flow .approach-pin { position: sticky; top: 64px; min-height: calc(100vh - 64px); display: grid; align-content: center; padding-block: 32px; }
  .js-flow .approach .sec { padding-block: 0; }
}
@media (max-width: 999px) { .stages { grid-template-columns: minmax(0, 1fr); } .flowline, .stage .dot { display: none; } .js-flow .stage:not(.active):not(.done) { opacity: 1; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); }
.faq .head { display: grid; gap: 18px; align-content: start; min-width: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding-block: 22px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--line); position: relative; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s ease; }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }
.qa[open] p { animation: panelIn .35s ease both; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* CTA: bright interior photograph behind a pale veil */
.cta { position: relative; overflow: hidden; background: #EEF3F9; color: #0B1B2E; }
.cta .bgimg { position: absolute; inset: 0; }
.cta .bgimg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; max-width: none; will-change: transform; }
.cta .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(230,239,250,0.92) 0%, rgba(211,227,246,0.85) 45%, rgba(191,214,242,0.35) 100%); }
.cta .wrap { position: relative; z-index: 2; padding-block: clamp(96px, 12vw, 160px); display: grid; gap: 26px; }
.cta .eyebrow { color: #2B4F80; }
.cta h2 { font-size: clamp(40px, 6.6vw, 92px); line-height: 1; letter-spacing: -0.045em; max-width: 14ch; }
.cta p { font-size: 21px; max-width: 34ch; }
.cta .btn { background: #0B1B2E; color: #FFFFFF; justify-self: start; }

/* Footer */
footer { background: #0B1B2E; color: #EAF0F8; }
footer .mark .bar { fill: #EAF0F8; }
footer .mark .rise { fill: #8DB8EE; }
footer .brand svg { width: 64px; height: 64px; }
footer .brand .lock b { font-size: 26px; }
footer .brand .lock small { color: #A6B6CC; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #A6B6CC; font-weight: 500; margin-bottom: 14px; }
footer ul { display: grid; gap: 8px; font-size: 16px; }
footer ul a { text-decoration: none; color: #EAF0F8; }
footer ul a:hover { color: #8DB8EE; }
footer address { font-style: normal; font-size: 16px; line-height: 1.6; }
footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(234, 240, 248, 0.16); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #A6B6CC; }
@media (max-width: 860px) { footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .brandcol { grid-column: 1 / -1; } }

/* Motion */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes openUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scaleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logoIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes fillIn { from { fill-opacity: 0; } to { fill-opacity: 1; stroke-width: 0; } }
@keyframes settle { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln > span { animation: lineUp 1s cubic-bezier(.2,.8,.2,1) .15s both; }
  .hero-logo .tile path { stroke: #0B1B2E; stroke-width: 1.4; stroke-dasharray: 260; stroke-dashoffset: 260; animation: trace 1.4s cubic-bezier(.6,0,.2,1) both, fillIn .6s ease 1.1s both; }
  .hero-logo .tile .h-right { animation-delay: .15s, 1.2s; }
  .hero-logo .tile .h-rise { stroke: #1F5FA8; animation-delay: .3s, 1.3s; }
  .hero-logo .name { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) .2s both; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
  .hero .sub, .hero .lede, .hero .row, .hero .eyebrow { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero .eyebrow { animation-delay: 0s; } .hero .sub { animation-delay: .25s; } .hero .lede { animation-delay: .35s; } .hero .row { animation-delay: .45s; }
  .hero .bgimg { animation: settle 2.2s cubic-bezier(.2,.8,.2,1) both; }
  .kpi-row { animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) .6s both; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .wipe { animation: wipe linear both; animation-timeline: view(); animation-range: entry 5% cover 45%; }
    .open { animation: openUp linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .svc-rule span { animation: scaleIn linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    .services .svc { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .services .svc:nth-child(2) { animation-range: entry 5% cover 34%; }
    .services .svc:nth-child(3) { animation-range: entry 10% cover 38%; }
    .services .svc:nth-child(4) { animation-range: entry 15% cover 42%; }
    .pillar { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .member { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .team .member:nth-child(2) { animation-range: entry 6% cover 34%; }
    .team .member:nth-child(4) { animation-range: entry 5% cover 33%; }
    .team .member:nth-child(5) { animation-range: entry 10% cover 38%; }
    .team .member:nth-child(6) { animation-range: entry 15% cover 43%; }
    .value, .fact { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    .cyc { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .cycle .cyc:nth-child(2) { animation-range: entry 5% cover 32%; }
    .cycle .cyc:nth-child(3) { animation-range: entry 10% cover 36%; }
    .cycle .cyc:nth-child(4) { animation-range: entry 15% cover 40%; }
    .cycle-line span { animation: scaleIn linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .float { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; width: auto; } .marquee-group[aria-hidden] { display: none; } }

/* ---- Multi-page additions ---- */
html { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mnav { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .site-head.open .mnav { display: grid; }
  .mnav { border-top: 1px solid var(--line); background: var(--bg); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); gap: 0; }
  .mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; font-weight: 600; }
  .mnav a[aria-current="page"] { color: var(--accent); }
  .mnav a:last-child { border-bottom: 0; }
}

/* Inner-page hero: a photograph band with the page title */
.page-hero { position: relative; overflow: hidden; background: #DCEAF6; color: #0B1B2E; }
.page-hero .bgimg { position: absolute; inset: 0; }
.page-hero .bgimg img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; max-width: none; will-change: transform; }
.page-hero .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238,245,250,0.97) 0%, rgba(238,245,250,0.9) 40%, rgba(238,245,250,0.35) 72%, rgba(238,245,250,0.1) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 104px); display: grid; gap: 20px; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #3F5878; display: flex; gap: 10px; }
.crumbs a { color: #2B4F80; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.045em; max-width: 14ch; }
.page-hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.page-hero h1 .ln > span { display: inline-block; }
.page-hero h1 .soft { color: #3F5878; font-weight: 400; }
.page-hero .lede { color: #33475F; max-width: 44ch; }
@media (max-width: 760px) { .page-hero .veil { background: linear-gradient(180deg, rgba(238,245,250,0.94) 0%, rgba(238,245,250,0.86) 60%, rgba(238,245,250,0.6) 100%); } }

/* Home: service teasers */
.teasers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.teaser { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; min-width: 0; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.teaser:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 40px -28px var(--accent); }
.teaser .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.teaser h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.teaser p { color: var(--muted); font-size: 16px; }
.teaser .go { position: absolute; left: 24px; bottom: 22px; font-weight: 600; font-size: 15px; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.teaser .go svg { width: 14px; height: 14px; transition: transform .25s ease; }
.teaser:hover .go svg { transform: translateX(4px); }
@media (max-width: 1020px) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .teasers { grid-template-columns: minmax(0, 1fr); } }

/* Home: process strip */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.steps-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.step { position: relative; display: grid; gap: 8px; padding-top: 34px; min-width: 0; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--accent); transform: rotate(45deg); }
.step .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.step h3 { font-size: 26px; letter-spacing: -0.03em; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-line { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.dark .link { color: var(--mint, #A9C8EE); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grid .col { display: grid; gap: 22px; min-width: 0; }
.contact-grid h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.contact-grid p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.checklist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.checklist b { display: block; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 2px; }
.checklist span { color: var(--muted); font-size: 16px; }
.office { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.office .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.office .body { padding: 28px; display: grid; gap: 14px; }
.office h3 { font-size: 26px; letter-spacing: -0.02em; }
.office address { font-style: normal; font-size: 18px; line-height: 1.6; }
.office .note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  .page-hero h1 .ln > span { animation: lineUp 1s cubic-bezier(.2,.8,.2,1) .1s both; }
  .page-hero h1 .ln:nth-child(2) > span { animation-delay: .22s; }
  .page-hero .crumbs, .page-hero .lede { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) .3s both; }
  .page-hero .bgimg { animation: settle 2s cubic-bezier(.2,.8,.2,1) both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .teaser, .step, .checklist li, .office { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .teasers .teaser:nth-child(2), .steps .step:nth-child(3) { animation-range: entry 5% cover 32%; }
    .teasers .teaser:nth-child(3), .steps .step:nth-child(4) { animation-range: entry 10% cover 36%; }
    .teasers .teaser:nth-child(4), .steps .step:nth-child(5) { animation-range: entry 15% cover 40%; }
    .steps-line span { animation: scaleIn linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
  }
}

/* Fixes after review */
.page-hero + .sec, .page-hero + .approach .sec { padding-top: clamp(48px, 6vw, 80px); }
@media (min-width: 1000px) { .js-flow .page-hero + .approach .approach-pin { padding-top: 24px; } }
@media (max-width: 600px) { .nav .btn { display: none; } .brand .lock b { font-size: 17px; } }
