/* Apple-inspired design tokens — one accent, no chrome shadows, 400/600/700 only */
:root {
  --primary: #0066cc;
  --primary-focus: #0071e3;
  --primary-on-dark: #2997ff;

  --ink: #1d1d1f;
  --ink-80: #333333;
  --ink-48: #7a7a7a;
  --on-dark: #ffffff;
  --body-muted: #a1a1a6;

  --hairline: #e0e0e0;
  --divider-soft: #f0f0f0;

  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --tile-1: #1c1c1e;
  --tile-2: #2a2a2c;
  --black: #000000;

  --s-xs: 4px; --s-sm: 8px; --s-md: 12px; --s-base: 16px; --s-lg: 20px;
  --s-xl: 24px; --s-xxl: 32px; --s-xxxl: 48px; --s-huge: 64px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-xxl: 28px; --r-pill: 999px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1280px;
  --gutter: clamp(24px, 5vw, 64px);
  --nav-h: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--primary-focus); outline-offset: 3px; border-radius: var(--r-sm); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 920px; }
.center { text-align: center; }
.muted { color: var(--ink-48); font-weight: 400; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--primary-on-dark); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav (translucent black) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(0, 0, 0, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { width: 150px; height: auto; }
.nav__links { display: flex; align-items: center; gap: var(--s-xl); }
.nav__links a { color: rgba(255, 255, 255, .72); font-size: 14px; letter-spacing: 0; transition: color .2s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--on-dark); text-decoration: none; }
.nav__links .nav__cta { color: var(--on-dark); background: var(--primary); padding: 6px 16px; border-radius: var(--r-pill); font-weight: 600; transition: background .2s var(--ease); }
.nav__links .nav__cta:hover { background: var(--primary-focus); }
.nav__toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--on-dark); transition: transform .24s var(--ease), top .24s var(--ease); }
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav.is-open .nav__toggle span:first-child { top: 17px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 17px; transform: rotate(-45deg); }

/* ---------- Typography ---------- */
.eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--primary); margin-bottom: var(--s-base); }
.eyebrow--dark { color: var(--primary-on-dark); }
.section__title { font-size: clamp(40px, 6.4vw, 80px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: clamp(40px, 6vw, 80px); max-width: 16ch; }
.lead { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.28; font-weight: 600; letter-spacing: -0.022em; margin-bottom: var(--s-xl); }
.body { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-80); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 17px; font-weight: 400; border-radius: var(--r-pill); border: 0; cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.95); }
.btn--primary { background: var(--primary); color: var(--on-dark); padding: 12px 24px; }
.btn--primary:hover { background: var(--primary-focus); }
.btn--link { color: var(--primary); padding: 12px 6px; background: none; }
.btn--link span { transition: transform .2s var(--ease); }
.btn--link:hover span { transform: translateX(4px); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: var(--on-dark); padding: 12px 24px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--lg { font-size: clamp(17px, 1.5vw, 19px); padding: 16px 32px; }
.btn--link.btn--lg { padding: 16px 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--s-xxl); width: 100%; }
.hero__copy { padding-bottom: clamp(64px, 9vw, 120px); }
.hero__hello { font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--ink-48); margin-bottom: var(--s-sm); }
.hero__name { font-size: clamp(44px, 12.5vw, 136px); font-weight: 700; line-height: .95; letter-spacing: -0.05em; margin-bottom: var(--s-xl); }
.hero__role { font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: var(--s-xl); }
.rotator { display: inline-block; position: relative; vertical-align: top; overflow: hidden; height: 1.25em; }
.rotator__word { display: inline-block; background: linear-gradient(90deg, #0066cc, #2997ff); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.rotator__word.is-out { transform: translateY(-100%); opacity: 0; }
.rotator__word.is-in { transform: translateY(100%); opacity: 0; transition: none; }
.hero__lede { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.42; color: var(--ink-80); max-width: 32ch; margin-bottom: var(--s-xxl); }
.hero__actions { display: flex; align-items: center; gap: var(--s-lg); flex-wrap: wrap; margin-bottom: var(--s-xxl); }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--s-sm); }
.hero__badges li { font-size: 14px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--parchment); color: var(--ink-80); }
.hero__photo { position: relative; align-self: end; max-width: 560px; justify-self: end; width: 100%; }
.hero__photo img { position: relative; width: 100%; will-change: transform; }
.hero__halo { position: absolute; inset: 12% 2% 0 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(41, 151, 255, .18), rgba(41, 151, 255, 0)); filter: blur(10px); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--ink-48); border-radius: var(--r-pill); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-48); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Page-load stagger */
.js .load { opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
.js .hero__photo.load { transform: translateY(40px) scale(.97); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 16vw, 200px) 0; background: var(--canvas); }
.statement__text { font-size: clamp(32px, 5vw, 64px); font-weight: 700; line-height: 1.14; letter-spacing: -0.035em; max-width: 22ch; }
.statement__text .w { color: #d2d2d7; transition: color .35s var(--ease); }
.statement__text .w.is-lit { color: var(--ink); }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: var(--s-sm); padding: clamp(32px, 4vw, 56px) var(--s-xl); }
.stat + .stat { border-left: 1px solid var(--divider-soft); }
.stat__num { font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 17px; color: var(--ink-48); }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 180px) 0; }
.section--parchment { background: var(--parchment); }
.section--dark { background: var(--black); color: var(--on-dark); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.service { background: var(--tile-1); border-radius: var(--r-xxl); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: var(--s-md); min-height: 300px; transition: background .3s var(--ease), transform .3s var(--ease); }
.service:hover { background: var(--tile-2); transform: translateY(-6px); }
.service__icon { width: 44px; height: 44px; fill: none; stroke: var(--primary-on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; transition: transform .4s var(--ease); }
.service:hover .service__icon { transform: scale(1.12) rotate(-4deg); }
.service h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-top: var(--s-xxl); }
.service p { font-size: 17px; color: var(--body-muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: end; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: var(--s-lg) 0; border-top: 1px solid var(--hairline); }
.facts li:last-child { border-bottom: 1px solid var(--hairline); }
.facts span { font-size: 14px; color: var(--ink-48); }
.facts strong { font-size: 19px; font-weight: 600; }

/* ---------- Journey (line fills on scroll) ---------- */
.journey { position: relative; padding-left: clamp(28px, 4vw, 48px); }
.journey::before, .journey::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--hairline); }
.journey::after { background: var(--primary); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.journey li { position: relative; display: grid; grid-template-columns: clamp(110px, 14vw, 200px) 1fr; gap: var(--s-xl); padding: var(--s-xxl) 0; }
.journey li::before { content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 48px) + 1px); top: calc(var(--s-xxl) + .45em); width: 12px; height: 12px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--hairline); z-index: 1; transition: border-color .4s var(--ease), background .4s var(--ease); }
.journey li.is-visible::before { border-color: var(--primary); background: var(--primary); }
.journey__year { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--primary); }
.journey h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: var(--s-xs); }
.journey p { color: var(--ink-80); }

/* ---------- Experience ---------- */
.timeline { display: flex; flex-direction: column; }
.role { display: grid; grid-template-columns: 260px 1fr; gap: var(--s-xxl); padding: var(--s-xxxl) 0; border-top: 1px solid var(--hairline); }
.role:last-child { border-bottom: 1px solid var(--hairline); }
.role__meta { display: flex; flex-direction: column; gap: var(--s-xs); }
.role__date { font-size: 19px; font-weight: 600; }
.role__place { font-size: 15px; color: var(--ink-48); }
.role__title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.role__org { font-size: 19px; color: var(--primary); font-weight: 600; margin: var(--s-sm) 0 var(--s-xl); }
.role__list { display: flex; flex-direction: column; gap: var(--s-base); }
.role__list li { position: relative; padding-left: var(--s-xl); color: var(--ink-80); }
.role__list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); opacity: .5; }

/* ---------- Project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.card { position: relative; background: var(--tile-1); border-radius: var(--r-xxl); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: var(--s-md); overflow: hidden; transition: background .3s var(--ease), transform .3s var(--ease); }
.card:hover { background: var(--tile-2); transform: translateY(-6px); }
.card__num { font-size: 72px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: rgba(255, 255, 255, .08); margin-bottom: var(--s-sm); transition: color .3s var(--ease); }
.card:hover .card__num { color: var(--primary-on-dark); }
.card__date { font-size: 13px; color: var(--body-muted); letter-spacing: 0; }
.card__title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.card__org { font-size: 15px; font-weight: 600; color: var(--primary-on-dark); }
.card__text { font-size: 17px; color: var(--body-muted); line-height: 1.55; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-sm); }
.card__tags li { font-size: 13px; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: var(--on-dark); }

/* ---------- Financial projects ---------- */
.fin__lede { max-width: 34ch; margin-bottom: clamp(48px, 6vw, 80px); }
.fin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
.fin { background: var(--canvas); border-radius: var(--r-xxl); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: var(--s-md); transition: transform .3s var(--ease); }
.fin:hover { transform: translateY(-4px); }
.fin--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.fin--dark { background: var(--black); color: var(--on-dark); }
.fin__copy { display: flex; flex-direction: column; gap: var(--s-md); }
.fin__tag { font-size: 14px; font-weight: 600; color: var(--primary); }
.fin--dark .fin__tag { color: var(--primary-on-dark); }
.fin__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.fin__text { font-size: 17px; color: var(--ink-80); }
.fin--dark .fin__text { color: var(--body-muted); }
.fin__note { font-size: 15px; color: var(--ink-48); margin-top: auto; }
.fin__note b { color: var(--ink); font-weight: 600; }
.fin__kpis { display: flex; flex-wrap: wrap; gap: var(--s-lg) var(--s-xxl); margin-top: var(--s-sm); }
.fin__kpis li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink-48); max-width: 22ch; }
.fin__kpi { white-space: nowrap; }
.fin--dark .fin__kpis li { color: var(--body-muted); }
.fin__kpi { font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.fin__kpi b { font-weight: 700; }
.fin--dark .fin__kpi { color: var(--on-dark); }
.verdict { align-self: flex-start; margin-top: var(--s-sm); font-size: 15px; font-weight: 600; padding: 8px 18px; border-radius: var(--r-pill); background: var(--primary); color: var(--on-dark); }
.viz__title { font-size: 14px; font-weight: 600; color: var(--ink-48); margin-bottom: var(--s-xxl); }
.fin--dark .viz__title { color: var(--body-muted); }
.viz__legend { display: flex; flex-wrap: wrap; gap: var(--s-lg); margin-top: var(--s-xl); font-size: 13px; color: var(--ink-48); }
.viz__legend li { display: flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw--a { background: var(--primary); }
.sw--b { background: #d2d2d7; }
.sw--c { background: #b5d6ff; }
.sw--line { height: 2px; width: 16px; border-radius: 0; background: var(--ink); }

/* waterfall (Target) */
.wf { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); height: clamp(240px, 26vw, 320px); }
.wf__col { position: relative; }
.wf__col p { position: absolute; left: 0; right: 0; top: 100%; padding-top: var(--s-sm); font-size: 13px; color: var(--body-muted); text-align: center; line-height: 1.3; }
.wf__bar { position: absolute; left: 0; right: 0; bottom: calc(var(--b) * 1%); height: calc(var(--h) * 1%); border-radius: var(--r-md); background: #48484a; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.wf__bar--alt { background: #2997ff; }
.wf__bar--total { background: linear-gradient(180deg, #2997ff, #0066cc); }
.wf__bar span { position: absolute; left: 0; right: 0; top: -30px; text-align: center; font-size: 19px; font-weight: 700; color: var(--on-dark); opacity: 0; transition: opacity .5s var(--ease); }
.fin.is-anim .wf__bar { transform: none; }
.fin.is-anim .wf__bar span { opacity: 1; }
.wf__col:nth-child(1) .wf__bar { transition-delay: .3s; } .wf__col:nth-child(1) span { transition-delay: 1.1s; }
.wf__col:nth-child(2) .wf__bar { transition-delay: 1s; } .wf__col:nth-child(2) span { transition-delay: 1.8s; }
.wf__col:nth-child(3) .wf__bar { transition-delay: 1.7s; } .wf__col:nth-child(3) span { transition-delay: 2.5s; }
.fin--dark .fin__viz { padding: 8px 0 52px; }

/* price track (Grubhub) */
.price { padding: 56px 8px 60px; }
.price__track { position: relative; height: 4px; border-radius: 4px; background: var(--hairline); }
.price__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 90.9%; border-radius: 4px; background: linear-gradient(90deg, #b5d6ff, var(--primary)); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.price__pt { position: absolute; left: calc(var(--x) * 1%); top: 50%; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 450ms + 500ms); }
.price__pt i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--canvas); border: 3px solid var(--primary); }
.price__pt--deal i { background: var(--primary); }
.price__pt em, .price__pt small { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; font-style: normal; }
.price__pt em { top: 16px; font-size: 16px; font-weight: 700; }
.price__pt small { top: 38px; font-size: 12px; color: var(--ink-48); }
.price__pt--up em { top: -46px; } .price__pt--up small { top: -24px; }
.fin.is-anim .price__fill { transform: none; }
.fin.is-anim .price__pt { opacity: 1; transform: none; }

/* horizontal bars (Hapag-Lloyd) */
.hbars { display: flex; flex-direction: column; gap: var(--s-md); margin: var(--s-md) 0; }
.hbars__row { display: grid; grid-template-columns: 128px 1fr 64px; align-items: center; gap: var(--s-md); font-size: 14px; color: var(--ink-80); }
.hbars__row i { display: block; height: 12px; width: calc(var(--w) * 1%); min-width: 4px; border-radius: 6px; background: var(--primary); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.hbars__row:nth-child(2) i { transition-delay: .35s; } .hbars__row:nth-child(3) i { transition-delay: .5s; } .hbars__row:nth-child(4) i { transition-delay: .65s; }
.hbars__row--neg i { background: var(--ink-48); }
.hbars__row b { font-weight: 700; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.fin.is-anim .hbars__row i { transform: none; }

/* donut (portfolio sectors) */
.donut-wrap { display: flex; align-items: center; gap: var(--s-xl); margin-top: var(--s-md); }
.donut { width: 132px; height: 132px; flex: none; transform: rotate(-90deg); }
.donut__seg { fill: none; stroke: var(--c); stroke-width: 7; stroke-dasharray: 0 100; stroke-dashoffset: calc(var(--o) * -1); transition: stroke-dasharray 1.2s var(--ease); transition-delay: calc(var(--o) * 12ms + 200ms); }
.fin.is-anim .donut__seg { stroke-dasharray: var(--p) calc(100 - var(--p)); }
.donut__legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-80); flex: 1; max-width: 280px; }
.donut__legend li { display: flex; align-items: center; gap: var(--s-sm); }
.donut__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.donut__legend b { font-weight: 600; color: var(--ink); margin-left: auto; padding-left: var(--s-sm); }

/* grouped columns (portfolio returns): scale -10..90, zero at 10% */
.cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); height: clamp(240px, 26vw, 320px); padding-bottom: 44px; }
.cols__zero { position: absolute; left: 0; right: 0; bottom: calc(44px + (100% - 44px) * .1); height: 1px; background: var(--hairline); }
.cols__grp { position: relative; display: flex; flex-direction: column; }
.cols__pair { position: relative; flex: 1; display: flex; gap: 8px; justify-content: center; }
.cols__grp p { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-80); }
.col { position: relative; width: min(44px, 40%); height: 100%; }
.col::before { content: ""; position: absolute; left: 0; right: 0; bottom: 10%; height: calc(var(--v) * 1%); border-radius: 8px 8px 3px 3px; background: var(--primary); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease) .3s; }
.col--b::before { background: #d2d2d7; transition-delay: .5s; }
.col--neg::before { bottom: auto; top: 90%; border-radius: 3px 3px 8px 8px; transform-origin: top; }
.col__l { position: absolute; font-style: normal; left: 50%; bottom: calc(10% + var(--v) * 1% + 6px); transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--ink-80); white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease) 1.4s; }
.col--neg .col__l { bottom: auto; top: calc(90% + var(--v) * 1% + 4px); }
.fin.is-anim .col::before { transform: none; }
.fin.is-anim .col__l { opacity: 1; }

/* Benford columns: scale 0..35 */
.benford { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; height: clamp(220px, 24vw, 300px); margin-bottom: 26px; }
.bf { position: relative; }
.bf p { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-80); }
.bf__bar { position: absolute; left: 12%; right: 12%; bottom: 0; height: calc(var(--v) / 35 * 100%); border-radius: 6px 6px 2px 2px; background: #b5d6ff; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.bf--flag .bf__bar { background: var(--primary); }
.bf__exp { position: absolute; left: 0; right: 0; bottom: calc(var(--v) / 35 * 100%); height: 2px; background: var(--ink); opacity: 0; transition: opacity .4s var(--ease); }
.bf:nth-child(1) .bf__bar { transition-delay: .2s; } .bf:nth-child(2) .bf__bar { transition-delay: .28s; } .bf:nth-child(3) .bf__bar { transition-delay: .36s; }
.bf:nth-child(4) .bf__bar { transition-delay: .44s; } .bf:nth-child(5) .bf__bar { transition-delay: .52s; } .bf:nth-child(6) .bf__bar { transition-delay: .6s; }
.bf:nth-child(7) .bf__bar { transition-delay: .68s; } .bf:nth-child(8) .bf__bar { transition-delay: .76s; } .bf:nth-child(9) .bf__bar { transition-delay: .84s; }
.fin.is-anim .bf__bar { transform: none; }
.fin.is-anim .bf__exp { opacity: 1; transition-delay: 1.5s; }

.fin__more { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.025em; margin: clamp(64px, 8vw, 112px) 0 var(--s-xl); }
.fin-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.mini { background: var(--canvas); border-radius: var(--r-xxl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: var(--s-sm); transition: transform .3s var(--ease); }
.mini:hover { transform: translateY(-4px); }
.mini h4 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.mini p { font-size: 16px; color: var(--ink-80); }


/* ---------- Ongoing motion + hover detail on charts ---------- */
.forecast__dot { fill: var(--primary-on-dark); opacity: 0; filter: drop-shadow(0 0 6px rgba(41, 151, 255, .9)); transition: opacity .4s var(--ease); }
.forecast.is-anim .forecast__dot.is-on { opacity: 1; }
.pipeline__pulse { position: absolute; top: 24px; left: 28px; width: 10px; height: 10px; margin-top: -1px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(0, 102, 204, .15); opacity: 0; z-index: 1; pointer-events: none; }
.pipeline:has(.is-anim) .pipeline__pulse { animation: travel 3.2s var(--ease) 2.4s infinite; }
@keyframes travel { 0% { left: 28px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(75% + 28px); opacity: 0; } }
.price__pt:nth-child(4) i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; }
.fin.is-anim .price__pt:nth-child(4) i::after { animation: ping 2s var(--ease) 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.bf--flag p { color: var(--primary); }
.fin.is-anim .bf--flag .bf__bar { animation: glow 2.4s ease-in-out 2s infinite; }
@keyframes glow { 50% { filter: brightness(1.25); } }

/* hover: focus one bar, dim the rest */
.benford:hover .bf__bar, .cols:hover .col::before, .wf:hover .wf__bar, .hbars:hover .hbars__row i { opacity: .35; }
.benford .bf:hover .bf__bar, .cols .col:hover::before, .wf .wf__bar:hover, .hbars .hbars__row:hover i { opacity: 1; }
.bf__bar, .col::before, .wf__bar, .hbars__row i { transition-property: transform, opacity; }
.bf[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(var(--tip, 40) * 1%); transform: translate(-50%, 6px); white-space: nowrap; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-dark); opacity: 0; pointer-events: none; z-index: 2; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.bf[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); }
.bf:nth-child(-n+2)[data-tip]::after { left: 0; transform: translate(0, 6px); }
.bf:nth-child(-n+2)[data-tip]:hover::after { transform: none; }
.bf:nth-last-child(-n+2)[data-tip]::after { left: auto; right: 0; transform: translate(0, 6px); }
.bf:nth-last-child(-n+2)[data-tip]:hover::after { transform: none; }
.donut__seg { transition-property: stroke-dasharray, stroke-width, opacity; cursor: pointer; }
.donut.has-focus .donut__seg { opacity: .3; }
.donut.has-focus .donut__seg.is-focus { opacity: 1; stroke-width: 9; }
.donut__legend li { cursor: default; border-radius: var(--r-sm); transition: color .2s var(--ease); }
.donut__legend li.is-focus { color: var(--primary); }

/* ---------- Research (B.Tech project) ---------- */
.research__title { max-width: 14ch; }
.research__lede { max-width: 34ch; margin-bottom: clamp(48px, 6vw, 80px); }
.research__sub { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: var(--s-xl); }

.forecast { background: var(--black); color: var(--on-dark); border-radius: var(--r-xxl); padding: clamp(24px, 3.5vw, 48px); margin-bottom: clamp(64px, 8vw, 112px); }
.forecast__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-xl); margin-bottom: var(--s-xl); flex-wrap: wrap; }
.forecast__kicker { display: block; font-size: 14px; color: var(--body-muted); }
.forecast__model { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.025em; }
.forecast__legend { display: flex; gap: var(--s-xl); font-size: 14px; color: var(--body-muted); }
.forecast__legend li { display: flex; align-items: center; gap: var(--s-sm); }
.lg { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.lg--hist { background: #8e8e93; }
.lg--fc { background: var(--primary-on-dark); }
.forecast__svg { display: block; width: 100%; height: clamp(220px, 30vw, 380px); overflow: visible; }
.forecast__grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.forecast__hist, .forecast__fc { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.forecast__hist { stroke: #8e8e93; stroke-width: 1.6; }
.forecast__fc { stroke: var(--primary-on-dark); stroke-width: 2.4; }
.forecast__band { fill: rgba(41, 151, 255, .18); }
.forecast__today { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.forecast figcaption { margin-top: var(--s-lg); font-size: 14px; color: var(--body-muted); }
/* draw-on animation (lengths set by JS) */
.js .forecast__hist, .js .forecast__fc { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .forecast__band, .js .forecast__today { opacity: 0; transition: opacity .8s var(--ease); }
.forecast.is-anim .forecast__hist { animation: draw 2.4s var(--ease) .3s forwards; }
.forecast.is-anim .forecast__today { opacity: 1; transition-delay: 2.4s; }
.forecast.is-anim .forecast__fc { animation: draw 1.4s var(--ease) 2.6s forwards; }
.forecast.is-anim .forecast__band { opacity: 1; transition-delay: 3.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.pse { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(64px, 8vw, 112px); }
.pse__label { display: block; font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: var(--s-sm); padding-bottom: var(--s-md); border-bottom: 1px solid var(--hairline); }
.pse p { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-80); }

.pipeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); margin-bottom: clamp(64px, 8vw, 112px); counter-reset: none; }
.pipeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: linear-gradient(90deg, var(--primary) 0 50%, var(--hairline) 50% 100%); background-size: 200% 100%; background-position: 100% 0; transition: background-position 2s var(--ease) .3s; }
.pipeline:has(.is-anim)::before { background-position: 0 0; }
.pipeline li { position: relative; }
.pipeline__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--parchment); color: var(--ink); font-size: 21px; font-weight: 700; margin-bottom: var(--s-lg); transition: background .5s var(--ease), color .5s var(--ease); transition-delay: var(--stagger, 0ms); }
.pipeline li.is-anim .pipeline__n { background: var(--primary); color: var(--on-dark); }
.pipeline h4 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--s-xs); }
.pipeline p { font-size: 17px; color: var(--ink-80); }

.equation { background: var(--parchment); border-radius: var(--r-xxl); padding: clamp(28px, 4vw, 56px); text-align: center; margin-bottom: clamp(64px, 8vw, 112px); }
.equation__label { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: var(--s-xl); }
.equation__math { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px clamp(4px, .8vw, 10px); font-family: "Cambria Math", "STIX Two Math", Georgia, serif; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.6; }
.eq { position: relative; padding: 2px 4px; border-radius: var(--r-md); cursor: default; transition: background .2s var(--ease), color .2s var(--ease); }
.eq sub, .eq sup { font-size: .55em; }
.eq[data-tip] { cursor: help; }
.eq[data-tip]:hover, .eq[data-tip].is-on { background: var(--primary); color: var(--on-dark); }
.eq[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); white-space: nowrap; font-family: var(--font); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-dark); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.eq[data-tip]:hover::after, .eq[data-tip].is-on::after { opacity: 1; transform: translate(-50%, 0); }
.js .equation .eq { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.equation.is-anim .eq { opacity: 1; transform: none; transition-delay: calc(var(--i) * 90ms + 200ms), calc(var(--i) * 90ms + 200ms), 0s, 0s; }
.equation__hint { margin-top: var(--s-lg); font-size: 14px; color: var(--ink-48); }

.rfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); margin-bottom: clamp(64px, 8vw, 112px); }
.rfact { display: flex; flex-direction: column; gap: var(--s-sm); padding-top: var(--s-lg); border-top: 2px solid var(--ink); }
.rfact__num { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.rfact span:last-child { font-size: 16px; color: var(--ink-80); }

.research__foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.mini-tl li { display: grid; grid-template-columns: 140px 1fr; gap: var(--s-base); padding: var(--s-base) 0; border-top: 1px solid var(--hairline); font-size: 17px; color: var(--ink-80); }
.mini-tl li:last-child { border-bottom: 1px solid var(--hairline); }
.mini-tl span { font-weight: 600; color: var(--ink); }
.research__team { margin-top: var(--s-xl); font-size: 16px; color: var(--ink-48); }

/* ---------- Testimonials ---------- */
.t-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-xl); }
.t-controls { display: flex; gap: var(--s-md); margin-bottom: clamp(40px, 6vw, 80px); }
.t-btn { width: 52px; height: 52px; border-radius: var(--r-pill); border: 0; background: var(--hairline); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s var(--ease), transform .15s var(--ease); }
.t-btn:hover { background: #d2d2d7; }
.t-btn:active { transform: scale(.95); }
.t-btn:disabled { opacity: .35; cursor: default; }
.t-track {
  display: flex; gap: var(--s-lg);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) var(--s-sm);
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.t-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 min(460px, 86vw); scroll-snap-align: start;
  background: var(--canvas); border-radius: var(--r-xxl); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-xl);
  transition: transform .3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); }
.t-card blockquote { font-size: 19px; line-height: 1.5; color: var(--ink); }
.t-card blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .8; font-weight: 700; color: var(--primary); margin-bottom: var(--s-sm); }
.t-card figcaption { display: flex; align-items: center; gap: var(--s-base); padding-top: var(--s-lg); border-top: 1px solid var(--divider-soft); }
.t-card figcaption img { width: 60px; height: 60px; border-radius: 50%; flex: none; object-fit: cover; }
.t-card figcaption span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink-48); line-height: 1.35; }
.t-card figcaption strong { font-size: 18px; font-weight: 600; color: var(--ink); }
.t-bar { height: 3px; border-radius: 3px; background: var(--hairline); margin-top: var(--s-xxxl); overflow: hidden; }
.t-bar span { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s linear; }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-huge) var(--s-xxxl); }
.skill-group__title { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: var(--s-lg); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-sm); }
.chips li { font-size: 16px; padding: 8px 18px; border-radius: var(--r-pill); background: var(--parchment); color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.chips li:hover { background: var(--primary); color: var(--on-dark); transform: translateY(-2px); }
.marquee { margin-top: clamp(80px, 10vw, 140px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; width: max-content; gap: clamp(40px, 5vw, 72px); animation: marquee 40s linear infinite; }
.marquee__row span { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -0.04em; color: #d2d2d7; white-space: nowrap; transition: color .3s var(--ease); }
.marquee__row span:hover { color: var(--primary); }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(20px, 2.5vw, 36px))); } }

/* ---------- Education ---------- */
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); margin-bottom: clamp(64px, 8vw, 112px); }
.edu__item { background: var(--canvas); border-radius: var(--r-xxl); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-sm); transition: transform .3s var(--ease); }
.edu__item:hover { transform: translateY(-6px); }
.edu__date { font-size: 13px; color: var(--ink-48); letter-spacing: 0; }
.edu__degree { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.edu__school { font-size: 15px; font-weight: 600; color: var(--primary); }
.edu__notes { font-size: 16px; color: var(--ink-80); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-huge); }
.split__title { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: var(--s-lg); }
.plain-list li { display: flex; flex-direction: column; gap: 2px; padding: var(--s-lg) 0; border-top: 1px solid var(--hairline); }
.plain-list strong { font-weight: 600; font-size: 19px; }
.plain-list span { font-size: 15px; color: var(--ink-48); }

/* ---------- Languages ---------- */
.lang-list li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s-sm) var(--s-xl); padding: var(--s-xl) 0; border-top: 1px solid var(--hairline); }
.lang-list li:last-child { border-bottom: 1px solid var(--hairline); }
.lang-list__word { font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; transition: color .3s var(--ease); }
.lang-list li:hover .lang-list__word { color: var(--primary); }
.lang-list__level { font-size: 17px; color: var(--ink-48); }
.lang-list__bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--divider-soft); position: relative; overflow: hidden; }
.lang-list__bar::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.lang-list li.is-anim .lang-list__bar::after { transform: scaleX(var(--v)); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(41, 151, 255, .22), rgba(41, 151, 255, 0)); animation: breathe 10s ease-in-out infinite; pointer-events: none; }
.contact .wrap { position: relative; }
.contact__title { font-size: clamp(52px, 9vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; margin-bottom: var(--s-xl); }
.contact__lede { font-size: clamp(19px, 2vw, 26px); color: var(--body-muted); margin: 0 auto var(--s-xxl); max-width: 32ch; }
.contact__actions { display: flex; justify-content: center; gap: var(--s-md); flex-wrap: wrap; }
.contact__email { margin-top: var(--s-xl); font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--on-dark); }
.contact__loc { margin-top: var(--s-xs); font-size: 15px; color: var(--body-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--parchment); padding: var(--s-xxxl) 0 var(--s-xxl); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xl); flex-wrap: wrap; padding-bottom: var(--s-xl); border-bottom: 1px solid var(--hairline); }
.footer__top img { width: 150px; }
.footer__links { display: flex; gap: var(--s-xl); flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: var(--ink-80); }
.footer__copy { padding-top: var(--s-lg); font-size: 13px; color: var(--ink-48); }

/* ---------- Back to top + toast ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-pill); background: rgba(29, 29, 31, .8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--on-dark); font-size: 20px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 70; padding: 12px 22px; border-radius: var(--r-pill); background: rgba(29, 29, 31, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--on-dark); font-size: 15px; font-weight: 600; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .load { opacity: 1; transform: none; }
  .statement__text .w { color: var(--ink); }
  .js .forecast__hist, .js .forecast__fc { stroke-dashoffset: 0; }
  .js .forecast__band, .js .forecast__today, .js .equation .eq { opacity: 1; transform: none; }
  .wf__bar, .price__fill, .hbars__row i, .bf__bar, .col::before { transform: none; }
  .wf__bar span, .price__pt, .bf__exp, .col__l { opacity: 1; transform: none; }
  .donut__seg { stroke-dasharray: var(--p) calc(100 - var(--p)); }
  .forecast__dot, .pipeline__pulse { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: var(--s-base); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .rfacts { grid-template-columns: repeat(2, 1fr); gap: var(--s-xxl) var(--s-lg); }
}
@media (max-width: 900px) {
  .cards, .edu { grid-template-columns: 1fr; }
  .split, .about, .research__foot { grid-template-columns: 1fr; gap: var(--s-xxxl); }
  .fin-grid, .fin-mini { grid-template-columns: 1fr; }
  .fin--wide { grid-template-columns: 1fr; }
  .pse { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-xxl); }
  .pipeline::before, .pipeline__pulse { display: none; }
  .role { grid-template-columns: 1fr; gap: var(--s-md); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--divider-soft); }
}
@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: var(--s-base) var(--gutter) var(--s-xxl);
    background: rgba(0, 0, 0, .94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .24s var(--ease), transform .24s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { font-size: 24px; font-weight: 600; padding: var(--s-md) 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav__links .nav__cta { background: none; padding: var(--s-md) 0; border-radius: 0; color: var(--primary-on-dark); }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: var(--s-xxl); }
  .hero__photo { max-width: 560px; margin: 0 auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .services, .skills { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .journey li { grid-template-columns: 1fr; gap: var(--s-xs); padding: var(--s-xl) 0; }
  .journey li::before { top: calc(var(--s-xl) + .9em); }
  .t-controls { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
