/* Alex Gruzdev: executive personal site.
   Deep navy + gold + warm grey grid + electric blue (data only). Inter Tight (display + text) + JetBrains Mono (numbers, labels). WIRED-style tech.
   Spacing scale: 8 16 24 32 48 64 96 128. */

@font-face { font-family: "Inter Tight"; src: url(/assets/fonts/inter-tight-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; src: url(/assets/fonts/inter-tight-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --navy-950: #070E18;
  --navy-900: #0D1B2A;
  --navy-800: #13263B;
  --navy-700: #1D3550;
  --gold: #C9A84C;
  --gold-600: #7D6320;
  --gold-200: #E9DCB4;
  --paper: #FAF8F4;
  --stone: #F1EDE5;
  --line: #E3DDD1;
  --ink: #0D1B2A;
  --text: #22303F;
  --muted: #56606C;
  --on-dark: #F4F1EA;
  --on-dark-muted: #B9C2CD;
  --blue: #3D7BFF;
  --serif: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 12px 32px -12px rgba(13, 27, 42, .18);
  --shadow-lg: 0 2px 4px rgba(13, 27, 42, .06), 0 28px 60px -20px rgba(13, 27, 42, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.65 var(--sans); letter-spacing: .005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-200); color: var(--navy-900); }

h1, h2, h3, .h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 80px); }
h2 { font-size: clamp(32px, 3.8vw, 48px); }
h3, .h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; }
h4 { text-wrap: balance; font: 600 16px/1.4 var(--sans); letter-spacing: .02em; color: var(--ink); margin: 0; }
p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: calc(760px + var(--pad) * 2); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-stone { background: var(--stone); }
.section-navy { background: var(--navy-900); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy .muted { color: var(--on-dark-muted); }

.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow-gold { color: var(--gold); }
.section-navy .eyebrow { color: var(--gold); }

.section-head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.section-head h2 + .lead { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }
.group-title { margin: 48px 0 24px; display: flex; align-items: center; gap: 16px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Buttons: 52px tall, labels on one line, 24-32px air above */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; font: 600 16px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn, .chip, .jump a { font-feature-settings: "ss01"; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 24px -12px rgba(201, 168, 76, .8); }
.btn-gold:hover { background: #D6B85E; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-linkedin { background: #0A66C2; color: #fff; }
.btn-linkedin:hover { background: #0958a8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic, article:hover .link-arrow .ic { transform: translateX(4px); }
.link-arrow.light { color: var(--gold); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff; transition: background .35s, box-shadow .35s, height .35s; }
.site-header.is-solid { background: rgba(7, 14, 24, .86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 46px; height: 46px; color: #fff; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font: 700 22px/1.05 var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.logo-tag { font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: 5px; white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--sans); color: rgba(255, 255, 255, .82); transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current] { color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.lang-switch a { padding: 7px 11px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .08em; text-decoration: none; color: rgba(255, 255, 255, .75); transition: background .2s, color .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current] { background: var(--gold); color: var(--navy-950); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; align-items: center; justify-content: center; }
.burger { width: 20px; height: 12px; position: relative; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10px; }
.menu-open .burger i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 5px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 45; background: var(--navy-950); color: #fff; padding: calc(var(--header-h) + 32px) var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 12px 0; font: 600 32px/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav li a[aria-current] { color: var(--gold); }
.mobile-foot { display: grid; gap: 24px; margin-top: 40px; }
.lang-switch-lg { justify-self: start; }
.lang-switch-lg a { padding: 11px 18px; font-size: 14px; letter-spacing: .02em; }
body.menu-open { overflow: hidden; }

/* Hero (home) */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #18324F 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(233, 220, 180, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 220, 180, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 70% 30%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 30%, transparent 85%); animation: grid-drift 40s linear infinite; }
@keyframes grid-drift { to { background-position: 64px 64px, 64px 64px; } }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(201, 168, 76, .22), transparent); filter: blur(10px); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-80px, 60px) scale(1.1); opacity: .7; } }
.hero-home { min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title { color: #fff; font-size: clamp(56px, 8.4vw, 120px); line-height: .92; letter-spacing: -.05em; margin: 0; }
.hero-role { margin: 20px 0 0; font: 600 clamp(19px, 1.8vw, 24px)/1.3 var(--sans); letter-spacing: -.01em; color: var(--gold); text-wrap: balance; max-width: 26ch; }
.hero-sub { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; color: var(--on-dark); max-width: 30ch; margin: 24px 0 0; font-weight: 400; letter-spacing: -.01em; }
.hero-badges { margin: 40px 0 0; color: var(--on-dark-muted); font: 400 16px/1.5 var(--mono); letter-spacing: .02em; }
.hero-portrait { position: relative; justify-self: end; width: min(100%, 460px); }
.portrait-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #26303a; box-shadow: var(--shadow-lg); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 14, 24, .45)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgba(201, 168, 76, .6); border-radius: var(--radius-lg); z-index: -1; }
.float-chip { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; background: rgba(13, 27, 42, .78); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; max-width: 200px; }
.float-chip strong { font: 500 32px/1 var(--mono); color: var(--gold); }
.float-chip span { font-size: 13px; line-height: 1.35; color: var(--on-dark); }
.chip-a { left: -48px; bottom: 22%; }
.chip-b { right: -24px; top: 14%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Entrance + scroll reveal */
.anim-up { opacity: 0; transform: translateY(24px); animation: up .9s var(--ease) var(--d, 0s) forwards; }
.anim-fade { opacity: 0; animation: fade 1.2s var(--ease) var(--d, 0s) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Metrics */
.metrics { background: var(--navy-950); color: var(--on-dark); padding: 64px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.metric-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.metric { padding: 8px 24px; border-left: 1px solid rgba(233, 220, 180, .16); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric-num { letter-spacing: -.04em; display: block; font: 500 clamp(36px, 3.6vw, 52px)/1 var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-label { display: block; margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--on-dark-muted); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-media-left .split-media { order: -1; }
.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.photo-accent { position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: repeating-linear-gradient(0deg, transparent 0 31px, var(--line) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, var(--line) 31px 32px); border: 1px solid var(--line); }
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 32px; }
.icon-list li { display: flex; gap: 16px; align-items: flex-start; }
.il-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-600); background: #fff; border: 1px solid var(--line); }
.icon-list h3 { font-family: var(--sans); font-size: 17px; font-weight: 650; letter-spacing: 0; margin-bottom: 4px; }
.icon-list p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }

/* Experience bars */
.bars { max-width: 960px; margin: 0 auto; display: grid; gap: 24px; }
.bar { display: grid; grid-template-columns: minmax(180px, 280px) 1fr 96px; align-items: center; gap: 24px; }
.bar-label { font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.35; }
.bar-track { height: 14px; border-radius: 999px; background: rgba(13, 27, 42, .07); overflow: hidden; position: relative; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--navy-800), var(--navy-700) 40%, var(--gold)); transition: width 1.6s var(--ease) calc(var(--d, 0s) + .2s); }
.bar-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-100%); animation: shine 3.5s ease-in-out infinite 2s; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.bar.is-in .bar-fill, .no-js .bar-fill { width: var(--w); }
.bar-val { font-size: 15px; color: var(--muted); white-space: nowrap; text-align: right; }
.bar-val strong { font: 500 26px/1 var(--mono); color: var(--ink); }

/* Case cards */
.case-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-1 { grid-column: span 3; grid-row: span 2; }
.bento-2, .bento-3 { grid-column: span 3; }
.bento-4, .bento-5, .bento-6 { grid-column: span 2; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; min-height: 300px; }
.section-navy .case-card { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); color: var(--on-dark); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.cc-media { position: absolute; inset: 0; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .cc-media img { transform: scale(1.05); }
.cc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 14, 24, .2) 0%, rgba(7, 14, 24, .78) 32%, rgba(7, 14, 24, .93) 52%, rgba(7, 14, 24, .97) 100%); }
.has-media .cc-num, .has-media .cc-label, .has-media .cc-title, .has-media .cc-more { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 18px rgba(0, 0, 0, .6); }
.has-media .cc-num { color: #E2C26A; }
.case-card.has-media { color: #fff; border-color: transparent; background: var(--navy-900); }
.cc-body { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.has-media .cc-body { justify-content: flex-end; }
.cc-kpi { margin: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
.has-media .cc-kpi { margin-bottom: 8px; }
.cc-num { letter-spacing: -.04em; font: 500 clamp(44px, 4.6vw, 64px)/1 var(--mono); color: var(--gold-600); letter-spacing: -.02em; }
.section-navy .cc-num, .has-media .cc-num { color: var(--gold); }
.bento-1 .cc-num { font-size: clamp(64px, 7vw, 104px); }
.cc-label { text-wrap: balance; font: 600 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.section-navy .cc-label, .has-media .cc-label { color: var(--gold-200); }
.cc-title { font-size: 22px; line-height: 1.25; margin-top: 16px; }
.section-navy .cc-title, .has-media .cc-title { color: #fff; }
.cc-title a { text-decoration: none; }
.cc-text { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.section-navy .cc-text, .has-media .cc-text { color: var(--on-dark-muted); }
.has-media .cc-text { color: rgba(255, 255, 255, .82); }
.cc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-top: 8px; color: var(--navy-900); }
.section-navy .cc-more, .has-media .cc-more { color: var(--gold); }
.cc-more .ic { transition: transform .3s var(--ease); }
.case-card:hover .cc-more .ic { transform: translateX(5px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Stories */
.hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; padding: 8px 0 24px; cursor: grab; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: 24px; padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)); width: max-content; }
.hscroll .story-card { width: min(380px, 80vw); scroll-snap-align: start; }
.story-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.story-grid .story-card { grid-column: span 2; }
.story-grid .story-card:nth-child(4) { grid-column: 2 / span 2; }
.story-card { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-card:hover .sc-media img { transform: scale(1.06); }
.sc-num { position: absolute; left: 20px; bottom: 16px; font: 500 44px/1 var(--mono); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.sc-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sc-body h3 a { text-decoration: none; }
.sc-body p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.sc-body .link-arrow { margin-top: auto; }

/* Social proof */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chips.center { justify-content: center; }
.chip { white-space: nowrap; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; color: var(--text); transition: all .2s; }
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.quote-card:last-child:nth-child(3n+2) { grid-column: span 2; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 24px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-card::before { content: "\201C"; position: absolute; right: 28px; top: 4px; font: 700 110px/1 var(--mono); color: var(--gold-200); pointer-events: none; }
.qc-badge { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.qc-badge .ic { color: #0A66C2; }
.quote-card[data-source="email"] .qc-badge .ic, .quote-card[data-source="letter"] .qc-badge .ic { color: var(--gold-600); }
.verified { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #E8F3EC; color: #1F6B3A; font-size: 12px; }
.verified .ic { color: #1F6B3A !important; }
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card blockquote p { font: 500 19px/1.5 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card figcaption strong { display: block; color: var(--ink); font-size: 16px; }
.quote-card figcaption span span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.avatar-initials, .avatar-img { flex: none; width: 52px; height: 52px; border-radius: 50%; }
.avatar-initials { display: grid; place-items: center; background: var(--navy-900); color: var(--gold); font: 500 17px/1 var(--mono); letter-spacing: .04em; }
.avatar-img { object-fit: cover; }
.proof-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #0A66C2; text-decoration: none; border-top: 1px solid var(--line); padding-top: 16px; }
.proof-link:hover { text-decoration: underline; }
.proof-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.is-hidden { display: none !important; }

/* Expertise links */
.expertise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.expertise-grid li { grid-column: span 2; }
.expertise-grid li:nth-last-child(2):nth-child(3n+1), .expertise-grid li:nth-last-child(2):nth-child(3n+1) + li { grid-column: span 3; }
.expertise-grid li:only-child { grid-column: span 6; }
.expertise-grid a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 56px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.expertise-grid a:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.ex-icon { color: var(--gold-600); }
.expertise-grid strong { font: 600 19px/1.25 var(--serif); color: var(--ink); }
.expertise-grid span:not(.ex-icon):not(.ex-arrow) { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ex-arrow { position: absolute; left: 24px; bottom: 22px; color: var(--navy-900); transition: transform .3s var(--ease); }
.expertise-grid a:hover .ex-arrow { transform: translateX(5px); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: clamp(96px, 12vw, 160px) 0; text-align: center; isolation: isolate; }
.cta-band-slim { padding: 96px 0; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(7, 14, 24, .55), rgba(7, 14, 24, .95)); }
.cta-in { max-width: 820px; }
.cta-band h2 { color: #fff; font-size: clamp(36px, 4.8vw, 60px); }
.cta-band p { color: var(--on-dark); font-size: 20px; max-width: 56ch; margin: 24px auto 0; }

/* Page heroes */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 100% at 90% 0%, #18324F 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: var(--on-dark); padding: calc(var(--header-h) + clamp(64px, 8vw, 112px)) 0 clamp(72px, 8vw, 112px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: var(--on-dark); margin-top: 24px; }
.page-hero h1 + .prose { margin-top: 24px; }
.page-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero-in.single { grid-template-columns: minmax(0, 1fr); }
.page-hero-in > *, .split > *, .hero-in > * { min-width: 0; }
.page-hero-min { padding-bottom: 72px; }
.page-hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo.tall { aspect-ratio: 3 / 4; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 24px; color: var(--on-dark-muted); }
.crumbs a { text-decoration: none; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--gold); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--on-dark); transition: all .2s; }
.jump a:hover { border-color: var(--gold); color: var(--gold); }

/* Prose */
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 56px 0 16px; }
.prose h3 { margin: 40px 0 12px; }
.prose > :first-child, .prose > div > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 24px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold-600); }
.prose a { color: var(--navy-700); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose blockquote { margin: 32px 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--gold); font: 500 22px/1.5 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 48px 0; }
.prose-light { color: var(--on-dark); }
.prose-light p { color: var(--on-dark); }
.md-fig { margin: 40px 0; }
.md-fig img { border-radius: var(--radius); width: 100%; }
.md-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }
.dropcap-lead { font: 500 clamp(21px, 2vw, 25px)/1.5 var(--serif); letter-spacing: -.015em; color: var(--ink); margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }

/* About */
.bio .split { align-items: start; }
.footprint { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.footprint .muted { margin-top: 8px; font-size: 16px; }
.world { margin: 24px 0; }
.world svg { width: 100%; height: auto; }
.world .pin { transform-box: fill-box; transform-origin: center; animation: pin 2.4s ease-out infinite; }
@keyframes pin { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.fp-lived { font-size: 16px; margin-bottom: 16px; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li, .tag-list a { font-size: 14px; padding: 6px 13px; border-radius: 999px; background: var(--stone); color: var(--text); text-decoration: none; line-height: 1.35; }
.tag-list a:hover { background: var(--gold-200); }
.tag-list-dark li { background: none; padding: 0; }
.tag-list a { display: inline-block; }
.tag-list-dark a { background: rgba(255, 255, 255, .08); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .14); }
.tag-list-dark a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, .08); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.yt-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .8s var(--ease); }
.yt-btn:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.yt-play .ic { filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5)); transition: transform .3s var(--ease), color .3s; }
.yt-btn:hover .yt-play .ic { transform: scale(1.1); color: var(--gold); }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); display: block; }
.yt-title { margin: 16px 0 0; font-weight: 600; }
.section-navy .yt-title { color: #fff; }
.resume-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.resume-cta-in h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.resume-cta-in .btn-row { margin-top: 0; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cred-grid figure, .gallery figure { margin: 0; }
.cred-grid a { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 3 / 4; padding: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.cred-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cred-grid img { width: 100%; height: 100%; object-fit: contain; }
.cred-grid figcaption, .gallery figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 12px; }

/* Galleries + lightbox */
.gallery { display: grid; gap: 16px; margin: 48px 0 0; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(7, 14, 24, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 180px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: var(--on-dark); margin-top: 16px; text-align: center; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Story + article */
.article-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(78svh, 760px); display: flex; align-items: flex-end; background: var(--navy-950); color: #fff; padding: calc(var(--header-h) + 96px) 0 72px; }
.article-hero.no-media { min-height: 0; background: radial-gradient(120% 100% at 90% 0%, #18324F 0%, var(--navy-900) 50%, var(--navy-950) 100%); }
.article-hero-media { position: absolute; inset: 0; z-index: -1; }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 14, 24, .35) 0%, rgba(7, 14, 24, .1) 35%, rgba(7, 14, 24, .88) 100%); }
.article-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(38px, 5.4vw, 68px); }
.article-hero h1.long { max-width: 30ch; font-size: clamp(30px, 3.8vw, 52px); }
.article-hero .lead { color: var(--on-dark); margin-top: 20px; }
.article-hero .meta { color: var(--on-dark); margin-top: 20px; font-size: 15px; }
.story-body, .post-body { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.post-foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.author-box { display: flex; align-items: center; gap: 16px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box strong { display: block; color: var(--ink); }
.author-box span { font-size: 14px; color: var(--muted); }
.next-link { padding-top: 32px; padding-bottom: 96px; }
.next-link a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.next-link .eyebrow { margin: 0; grid-column: 1; }
.next-link strong { grid-column: 1; font: 600 clamp(26px, 3vw, 40px)/1.15 var(--serif); color: var(--ink); }
.next-link .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-600); transition: transform .3s var(--ease); }
.next-link a:hover .ic { transform: translateX(8px); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ac-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-800); }
.ac-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article-card:hover .ac-media img { transform: scale(1.05); }
.ac-placeholder { height: 100%; display: grid; place-items: center; color: var(--gold); }
.ac-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ac-body .meta { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.ac-body h3 { font-size: 22px; }
.ac-body h3 a { text-decoration: none; }
.ac-body p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.ac-body .link-arrow { margin-top: auto; }

/* Resume */
.resume-head { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 100% at 90% 0%, #18324F 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: var(--on-dark); padding: calc(var(--header-h) + 72px) 0 72px; }
.resume-id { display: flex; align-items: center; gap: 32px; }
.resume-photo img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.resume-head h1 { color: #fff; font-size: clamp(42px, 5.6vw, 72px); }
.resume-headline { font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--mono); letter-spacing: .02em; color: var(--gold); margin: 8px 0 0; }
.resume-titles { margin: 32px 0 0; color: var(--on-dark); max-width: 80ch; font-size: 16px; }
.resume-contact { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.resume-contact li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); }
.resume-contact .ic { color: var(--gold); }
.resume-contact a { text-decoration: none; }
.resume-contact a:hover { color: var(--gold); }
.resume-main { max-width: 820px; }
.resume-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding-top: 72px; padding-bottom: 112px; }
.resume-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.resume-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.resume-toc a { display: block; padding: 8px 0 8px 20px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s, border-color .2s; }
.resume-toc a:hover, .resume-toc a.is-active { color: var(--ink); border-left-color: var(--gold); }
.rs { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.rs:last-child { border-bottom: 0; }
.rs h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 24px; }
.rs h3 { font-size: 21px; margin: 32px 0 16px; }
.rs ul:not(.tag-list):not(.comp-grid):not(.edu):not(.awards) { padding-left: 20px; margin: 0 0 16px; }
.rs li { margin-bottom: 8px; }
.rs li::marker { color: var(--gold-600); }
.resume-xlinks { font-size: 16px; color: var(--muted); margin-top: 24px; }
.resume-xlinks a { color: var(--navy-700); }
.comp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.comp-grid.one { grid-template-columns: 1fr; }
.comp-grid li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; margin: 0; }
.comp-grid .ic { color: var(--gold-600); flex: none; margin-top: 3px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 32px; border-left: 2px solid var(--line); }
.job { position: relative; padding-bottom: 48px; }
.job::before { content: ""; position: absolute; left: -41px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.job h3 { margin: 4px 0 0; font-size: 24px; }
.job h4 { margin: 24px 0 12px; color: var(--navy-700); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.job-dates { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--gold-600); letter-spacing: .06em; margin: 0; }
.job-role2 { margin: 6px 0 0; color: var(--muted); font-style: italic; }
.job-org { margin: 6px 0 0; font-weight: 600; color: var(--text); }
.job ul { font-size: 17px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.role h3 { margin: 8px 0 0; font-size: 20px; }
.role ul { font-size: 16px; margin-top: 16px !important; }
.edu { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edu li { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin: 0; }
.edu strong { display: block; font: 600 19px/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; }
.edu span { color: var(--muted); font-size: 15px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.awards { list-style: none; padding: 0; margin: 32px 0 0; }
.awards li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.awards .ic { color: var(--gold-600); flex: none; }
.pub-links { padding-left: 20px; }

/* Case page */
.case-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 100% at 90% 0%, #18324F 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: #fff; padding: calc(var(--header-h) + 88px) 0 88px; }
.case-hero-media { position: absolute; inset: 0 0 0 45%; z-index: -1; }
.case-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.case-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(13, 27, 42, .9) 30%, rgba(13, 27, 42, .35) 100%); }
.case-hero .case-num, .case-hero .case-kpi-label, .article-hero h1, .article-hero .meta, .sc-num { text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 18px rgba(0, 0, 0, .55); }
.case-hero-in { max-width: calc(var(--wrap) + var(--pad) * 2); }
.case-kpi { display: flex; flex-direction: column; gap: 8px; margin: 0 0 24px; }
.case-num { letter-spacing: -.05em; font: 500 clamp(72px, 11vw, 148px)/.95 var(--mono); color: var(--gold); letter-spacing: -.03em; }
.case-kpi-label { font: 600 14px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-200); }
.lang-ru .case-hero h1 { max-width: 26ch; }
.case-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 32px; }
.case-body { padding-top: clamp(64px, 8vw, 112px); padding-bottom: 32px; max-width: calc(1000px + var(--pad) * 2); }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-block { margin-bottom: 64px; }
.case-block h2, .case-outcome h2 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 20px; }
.cb-n { font: 600 14px/1 var(--mono); letter-spacing: .06em; color: var(--gold-600); }
.case-cols .case-block { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 64px; }
.case-cols .case-block p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); font: 500 16px/1 var(--mono); }
.steps-lg li { padding: 28px; font-size: 18px; }
.kpi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kpi-list li { display: flex; gap: 14px; align-items: flex-start; padding: 24px; background: var(--navy-900); color: #fff; border-radius: var(--radius); font-weight: 500; line-height: 1.45; }
.kpi-list .ic { color: var(--gold); flex: none; }
.case-outcome { margin-bottom: 64px; padding: 48px 56px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #FBF5E4, #F4EAD0); border: 1px solid var(--gold-200); }
.case-outcome p { font: 500 clamp(21px, 2vw, 25px)/1.45 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 0; }

/* Leadership */
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.book { display: flex; flex-direction: column; gap: 32px; }
.book-cover { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--stone), #E7E0D2); display: grid; place-items: center; padding: 32px; overflow: hidden; }
.book-cover img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(13, 27, 42, .3)); transition: transform .6s var(--ease); }
.book:hover .book-cover img { transform: translateY(-8px) rotate(-1.5deg); }
.sold-out { position: absolute; top: 24px; right: -44px; transform: rotate(35deg); background: #9E2B25; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 56px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.book-body h3 { margin-bottom: 8px; }
.book-sub { font: 400 16px/1.45 var(--serif); color: var(--muted); }
.book-body p { font-size: 16px; line-height: 1.6; }
.book-body .btn { margin-top: 8px; }
.research-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 48px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border: 1px solid rgba(201, 168, 76, .35); text-decoration: none; color: var(--on-dark); transition: transform .4s var(--ease), border-color .4s; }
.research-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.rc-badge { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--gold); font: 500 28px/1 var(--mono); }
.rc-body strong { display: block; font: 600 clamp(24px, 2.6vw, 32px)/1.2 var(--serif); color: #fff; margin-bottom: 12px; }
.rc-body span { color: var(--on-dark-muted); }
.rc-arrow { color: var(--gold); transition: transform .3s var(--ease); }
.research-card:hover .rc-arrow { transform: translateX(6px); }
.press-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.press-list a { position: relative; display: grid; gap: 6px; padding: 24px 48px 24px 0; border-top: 1px solid var(--line); text-decoration: none; }
.press-src { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); }
.press-list strong { font: 600 19px/1.35 var(--serif); color: var(--ink); }
.press-sum { font-size: 15px; line-height: 1.5; color: var(--muted); }
.press-arrow { position: absolute; right: 8px; top: 28px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.press-list a:hover .press-arrow { transform: translate(3px, -3px); color: var(--gold-600); }
.press-list a:hover strong { color: var(--navy-700); }
.press-list .is-extra { display: none; }
.press-list.show-all .is-extra { display: block; }
.deva-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deva-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.deva-mosaic img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; object-position: 50% 30%; }
.event { margin-bottom: 64px; }
.event:last-child { margin-bottom: 0; }
.event-title { margin-bottom: 8px; }
.event .gallery { margin-top: 24px; }

/* Industry */
.skills-box { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.skills-box h2 { margin-bottom: 24px; }

/* Contact + forms */
.contact-split { align-items: start; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.contact-list a, .cl-static { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.contact-list a:hover { border-color: var(--gold); transform: translateX(4px); }
.cl-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; }
.contact-list small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { font-size: 18px; color: var(--ink); word-break: break-word; }
.form-card { padding: clamp(32px, 4vw, 56px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { margin-bottom: 24px; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label > span { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form input:not([type=checkbox]), .form textarea { width: 100%; font: 400 17px/1.5 var(--sans); color: var(--ink); padding: 14px 16px; border: 1px solid #CFC8BA; border-radius: 10px; background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(61, 123, 255, .14); }
.form textarea { resize: vertical; min-height: 150px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-900); flex: none; }
.form .check span { font-weight: 400; color: var(--muted); margin: 0; display: inline; }
.form button[type=submit] { margin-top: 8px; }
.form-error { padding: 14px 18px; border-radius: 10px; background: #FBEAEA; color: #8A1F1A; font-size: 15px; }
.form-done { text-align: center; padding: 32px 0; }
.done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy-900); color: var(--gold); margin-bottom: 24px; }
.form-done h2 { margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 96px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin: 24px 0; font-size: 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; color: var(--on-dark); transition: all .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-h { font: 600 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.footer-links a { text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 32px; text-align: center; }
.site-copyright { text-align: center; }
.copyright { font-size: 12px; letter-spacing: .04em; margin: 0 0 8px; color: var(--on-dark-muted); }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; margin: 0; }
.footer-legal a { color: #8C97A4; text-decoration: none; }
.footer-legal a:hover { color: #fff; }


/* Accessibility widget (bottom left) */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 60; font-family: var(--sans); }
.a11y-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(7, 14, 24, .35); transition: transform .2s, background .2s; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: #1D4ED8; transform: scale(1.06); }
.a11y-panel { position: absolute; left: 0; bottom: 56px; width: 260px; padding: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); display: grid; gap: 6px; }
.a11y-title { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.a11y-size { display: grid; grid-template-columns: 1fr 40px 52px 40px; align-items: center; gap: 4px; font-size: 15px; padding: 6px 0 8px; border-bottom: 1px solid var(--line); }
.a11y-size button { height: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-weight: 700; font-size: 15px; }
.a11y-size output { text-align: center; font: 500 13px var(--mono); }
.a11y-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; font-size: 15px; text-align: left; white-space: normal; }
.a11y-opt i { flex: none; width: 36px; height: 20px; border-radius: 99px; background: #CFC8BA; position: relative; transition: background .2s; }
.a11y-opt i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.a11y-opt[aria-checked="true"] i { background: #1D4ED8; }
.a11y-opt[aria-checked="true"] i::after { transform: translateX(16px); }
.a11y-reset { margin-top: 4px; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 14px; font-weight: 600; }
.a11y-panel button:focus-visible { outline: 2px solid #1D4ED8; outline-offset: 2px; }
html.a11y-zoom main, html.a11y-zoom .site-footer, html.a11y-zoom .site-header { zoom: var(--a11y-zoom, 1); }
html.a11y-contrast { --paper: #fff; --stone: #fff; --text: #000; --muted: #1a1a1a; --line: #000; --on-dark-muted: #fff; --gold-600: #5c4510; }
html.a11y-contrast .section-navy, html.a11y-contrast .metrics, html.a11y-contrast .hero, html.a11y-contrast .page-hero, html.a11y-contrast .site-footer, html.a11y-contrast .cta-band { background: #000 !important; }
html.a11y-contrast .cc-media, html.a11y-contrast .cta-media, html.a11y-contrast .hero-grid-bg, html.a11y-contrast .hero-glow { opacity: .15; }
html.a11y-links main a:not(.btn), html.a11y-links .site-footer a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px dashed #1D4ED8; outline-offset: 2px; }
html.a11y-spacing main p, html.a11y-spacing main li { line-height: 2 !important; letter-spacing: .06em !important; word-spacing: .12em !important; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font .eyebrow, html.a11y-font [class] { font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; letter-spacing: 0 !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal, html.a11y-motion .anim-up, html.a11y-motion .anim-fade { opacity: 1 !important; transform: none !important; }
@media print { .a11y { display: none; } }

/* Responsive */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
  .header-cta { display: none; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
  .metric:nth-child(4) { border-left: 0; padding-left: 0; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid li, .expertise-grid li:nth-last-child(2):nth-child(3n+1), .expertise-grid li:nth-last-child(2):nth-child(3n+1) + li { grid-column: auto; }
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .site-header .lang-switch { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-in, .split, .page-hero-in { grid-template-columns: 1fr; }
  .hero-home { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .hero-portrait { justify-self: center; width: min(88%, 420px); margin-top: 16px; }
  .chip-a { left: -16px; }
  .chip-b { right: -12px; }
  .split-media-left .split-media { order: 0; }
  .case-bento { grid-template-columns: 1fr 1fr; }
  .case-bento > * { grid-column: span 1 !important; grid-row: auto !important; }
  .case-bento > .bento-1 { grid-column: span 2 !important; }
  .case-grid, .article-grid, .quote-grid, .book-grid { grid-template-columns: 1fr 1fr; }
  .quote-card:last-child:nth-child(3n+2) { grid-column: auto; }
  .quote-card:last-child:nth-child(odd) { grid-column: span 2; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid .story-card, .story-grid .story-card:nth-child(4) { grid-column: auto; }
  .resume-layout { grid-template-columns: 1fr; gap: 32px; }
  .resume-toc { display: none; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
  .case-hero-media { inset: 0; opacity: .3; }
  .case-hero-media::after { background: linear-gradient(180deg, rgba(13, 27, 42, .8), var(--navy-900)); }
  .press-list { grid-template-columns: 1fr; }
  .page-hero-photo { max-width: 520px; aspect-ratio: 4 / 3; }
  .page-hero-photo.tall { aspect-ratio: 4 / 5; }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-name { font-size: 20px; }
  .logo-tag { font-size: 9.5px; letter-spacing: .16em; }
  .hero-title { font-size: clamp(48px, 15vw, 64px); }
  .btn-row .btn { flex: 1 1 100%; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .photo-accent { inset: 16px 0 -16px 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .chips.center { justify-content: flex-start; }
  .metric-num { font-size: 28px; white-space: normal; }
  .hero-title { overflow-wrap: break-word; }
  .metric { border-left: 0; padding: 0 16px 0 0; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(233, 220, 180, .16); }
  .icon-list { grid-template-columns: 1fr; gap: 24px; }
  .bar { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .bar-label { grid-column: 1; }
  .bar-val { grid-column: 2; grid-row: 1; }
  .bar-track { grid-column: 1 / -1; }
  .case-bento, .case-grid, .article-grid, .quote-grid, .book-grid, .story-grid, .video-grid, .role-grid, .edu, .two-col, .case-cols, .form-row, .gallery-3 { grid-template-columns: 1fr; }
  .case-bento > .bento-1 { grid-column: auto !important; }
  .expertise-grid { grid-template-columns: 1fr; }
  .quote-card:last-child:nth-child(odd) { grid-column: auto; }
  .cred-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .comp-grid { grid-template-columns: 1fr; }
  .cc-body { padding: 28px; }
  .quote-card { padding: 32px 28px 28px; }
  .resume-id { flex-direction: column; align-items: flex-start; gap: 20px; }
  .resume-photo img { width: 104px; height: 104px; }
  .timeline { padding-left: 24px; }
  .job::before { left: -33px; }
  .resume-cta-in, .footprint, .skills-box { padding: 32px 28px; }
  .case-cols .case-block { padding: 32px 28px; }
  .case-outcome { padding: 36px 28px; }
  .research-card { grid-template-columns: 1fr; padding: 32px 28px; gap: 20px; }
  .rc-badge { width: 72px; height: 72px; font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .lightbox { padding: 64px 12px; }
  .chip-a, .chip-b { display: none; }
  .next-link strong { font-size: 24px; }
  .page-hero h1, .case-hero h1, .article-hero h1 { font-size: 34px; }
  .lang-ru main h1, .lang-ru main h2, .lang-ru main h3 { hyphens: auto; -webkit-hyphens: auto; }
  .lang-ru .page-hero h1, .lang-ru .case-hero h1, .lang-ru .article-hero h1 { font-size: 31px; }
  .article-hero h1.long { font-size: 28px; }
  .article-hero { min-height: 0; padding-top: calc(var(--header-h) + 120px); }
  .cta-band { text-align: left; }
  .cta-band p { margin-left: 0; }
  .cta-band .btn-row.center { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim-up, .anim-fade, .js .reveal { opacity: 1; transform: none; }
}

/* Print: the resume prints as a clean document */
@media print {
  .site-header, .site-footer, .mobile-nav, .resume-toc, .btn, .lightbox, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .resume-head, .page-hero { background: #fff !important; color: #000; padding: 0 0 16pt; }
  .resume-head h1, .resume-headline, .resume-contact li, .resume-titles { color: #000 !important; }
  .hero-grid-bg { display: none; }
  .anim-up, .anim-fade, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .resume-layout { display: block; padding: 0; }
  .rs { break-inside: auto; padding-bottom: 16pt; margin-bottom: 16pt; }
  .job { break-inside: avoid; }
}
