/* ==========================================================================
   Raj Chaudhari — Portfolio
   Palette: club green × blazer blush × cream
   ========================================================================== */

@property --app-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #3b5bdb;
}

:root {
  --ink: #110b09;
  --pine: #1b1310;
  --pine-2: #1b1310;
  --pine-3: #2b1f1a;
  --cream: #f1eadf;
  --paper: #f3ede3;
  --paper-2: #e8dfd0;
  --white: #fbf8f2;
  --blush: #f3b4a8;
  --blush-2: #e8907f;
  --rose: #b4473b;
  --mint: #f7d2a6;

  --muted-d: rgba(241, 234, 223, 0.62);
  --muted-l: rgba(27, 19, 16, 0.64);
  --line-d: rgba(241, 234, 223, 0.14);
  --line-l: rgba(27, 19, 16, 0.14);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-gu: "Noto Serif Gujarati", "Gujarati Sangam MN", "Shruti", serif;

  --gutter: clamp(16px, 3.4vw, 56px);
  --radius: clamp(20px, 2vw, 30px);
  --sheet-r: clamp(24px, 3vw, 44px);
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--pine);
  color: var(--cream);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.is-loading body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }

em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  text-transform: none;
}
.gu, [lang="gu"] { font-family: var(--f-gu); font-style: normal; }

::selection { background: var(--blush); color: var(--pine); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 4px; border-radius: 8px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px;
  background: var(--blush); color: var(--pine); font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter); }

.mono, .eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monogram {
  display: inline-block;
  width: 28px;
  height: auto;
  aspect-ratio: 1028 / 1046;
  fill: currentColor;
  overflow: visible;
  flex: none;
}

.pulse {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--mint);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.pill-btn {
  --fill: var(--cream);
  --fill-fg: var(--pine);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.pill-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill-btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fill);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease-out);
}
.pill-btn:hover::before { transform: translateY(0); }
.pill-btn:hover { color: var(--fill-fg); }
.pill-btn--blush { background: var(--blush); color: var(--pine); }
.pill-btn--ghost { border: 1px solid color-mix(in srgb, currentColor 32%, transparent); }
.sheet--light .pill-btn--ghost,
.nav[data-theme="light"] .pill-btn--ghost { --fill: var(--pine); --fill-fg: var(--cream); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--blush);
  animation: loader-failsafe 0.4s linear 7s forwards;
}
.loader.is-js { animation: none; }
.no-js .loader { display: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__mark { width: clamp(120px, 16vw, 210px); height: auto; overflow: visible; }
.mark-draw__seg { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.loader__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 24px;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-d);
}
.loader__bar { position: relative; flex: 1; height: 1px; background: var(--line-d); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--blush); transform-origin: left; transform: scaleX(0); }
.loader__count { min-width: 4ch; text-align: right; color: var(--cream); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blush); transition: opacity 0.2s, background 0.3s; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(243, 180, 168, 0.55);
  display: grid; place-items: center;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out),
              background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), opacity 0.3s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(243, 180, 168, 0.14); border-color: rgba(243, 180, 168, 0.8); }
.cursor.has-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--blush); border-color: transparent; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor__label { font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine); opacity: 0; transition: opacity 0.25s; white-space: nowrap; }
.cursor.has-label .cursor__label { opacity: 1; }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--blush); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  color: var(--cream);
  transition: color 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--pine) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line-d);
  opacity: 0; transition: opacity 0.45s var(--ease-out), background 0.45s;
}
.nav.is-solid::before { opacity: 1; }
.nav[data-theme="light"] { color: var(--pine); }
.nav[data-theme="light"]::before { background: color-mix(in srgb, var(--paper) 80%, transparent); border-color: var(--line-l); }
.nav.is-hidden { transform: translateY(-105%); }
.is-menu-open .nav { color: var(--cream); }
.is-menu-open .nav::before { opacity: 0; }

.nav__brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav__brand .monogram { width: 26px; transition: transform 0.6s var(--ease-out); }
.nav__brand:hover .monogram { transform: rotate(-12deg) scale(1.08); }

.nav__status {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.nav__status-text { display: inline-block; }

.nav__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__cv { height: 46px; padding: 0 18px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 6px 0 20px; border-radius: 999px;
  background: var(--cream); color: var(--pine);
  font-size: 15px; font-weight: 500;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.nav[data-theme="light"] .menu-btn { background: var(--pine); color: var(--cream); }
.is-menu-open .menu-btn { background: var(--blush) !important; color: var(--pine) !important; }
.menu-btn__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; gap: 5px; background: var(--pine); transition: background 0.45s; }
.menu-btn__icon i { display: block; width: 14px; height: 1.5px; background: var(--cream); transition: transform 0.5s var(--ease-out), background 0.45s; }
.nav[data-theme="light"] .menu-btn__icon { background: var(--cream); }
.nav[data-theme="light"] .menu-btn__icon i { background: var(--pine); }
.is-menu-open .menu-btn__icon { background: var(--pine) !important; }
.is-menu-open .menu-btn__icon i { background: var(--cream) !important; }
.is-menu-open .menu-btn__icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.is-menu-open .menu-btn__icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ==========================================================================
   MENU OVERLAY
   ========================================================================== */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__panel {
  position: absolute; inset: 0;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr auto;
  gap: 24px 4vw;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 28px;
}
.menu__nav { display: flex; flex-direction: column; justify-content: center; gap: 0.1em; }
.menu__nav a {
  display: flex; align-items: flex-start; gap: 18px;
  width: max-content; max-width: 100%;
  font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.035em;
  color: var(--cream);
  transition: color 0.35s, transform 0.6s var(--ease-out);
}
.menu__idx { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--blush); padding-top: 0.6em; }
.menu__nav:hover a { color: rgba(241, 234, 223, 0.24); }
.menu__nav a:hover { color: var(--blush); transform: translateX(16px); }
.menu__preview {
  margin: 0; align-self: center; justify-self: end;
  width: min(26vw, 400px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; background: var(--pine-2);
}
.menu__preview img { width: 100%; height: 100%; object-fit: cover; }
.menu__foot {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  padding-top: 20px; border-top: 1px solid var(--line-d);
  font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d);
}
.menu__foot a:hover { color: var(--blush); }
.menu__social { display: flex; gap: 24px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; display: flex;
  min-height: 100svh;
  overflow: hidden; isolation: isolate;
  background: var(--pine);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__spot {
  --s: min(120vw, 1400px);
  position: absolute; left: 70%; top: 58%;
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: radial-gradient(closest-side, rgba(140, 100, 78, 0.48), rgba(66, 46, 37, 0.26) 48%, transparent 74%);
}
.hero__cols { position: absolute; inset: 0; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__cols i { border-left: 1px solid rgba(241, 234, 223, 0.045); }
.hero__cols i:last-child { border-right: 1px solid rgba(241, 234, 223, 0.045); }

.hero__inner {
  position: relative; flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy figure" "stats figure";
  column-gap: clamp(24px, 4vw, 72px);
  padding-top: calc(var(--nav-h) + 3svh);
}
.hero__copy { grid-area: copy; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 640px; padding-bottom: 3svh; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: inline-block; }
.hero__title {
  font-weight: 600; font-stretch: 100%;
  font-size: clamp(52px, 6.2vw, 104px); line-height: 1; letter-spacing: -0.045em;
  color: var(--cream);
}
.hero__role { font-size: clamp(20px, 1.85vw, 30px); line-height: 1.25; letter-spacing: -0.02em; color: var(--blush); max-width: 26ch; text-wrap: balance; }
.hero__lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: rgba(241, 234, 223, 0.72); max-width: 46ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.hero__stats {
  grid-area: stats; display: flex; margin: 0;
  padding: 22px 0 clamp(24px, 4svh, 40px);
  border-top: 1px solid var(--line-d);
}
.hero__stats div { flex: 1; min-width: 0; padding-right: 18px; }
.hero__stats div + div { padding-left: 18px; border-left: 1px solid var(--line-d); }
.hero__stats dt { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.hero__stats dd { margin: 8px 0 0; font-weight: 600; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.15; letter-spacing: -0.02em; color: var(--cream); }

.hero__figure {
  grid-area: figure; position: relative; align-self: end; justify-self: center;
  margin: 0; width: min(100%, calc(84svh * 0.8646)); aspect-ratio: 1086 / 1256;
}
.hero__arch {
  position: absolute; left: 7%; right: 7%; bottom: 0; height: 76%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #4d372c 0%, #2b1f1a 52%, #1b1310 100%);
  box-shadow: inset 0 1px 0 rgba(241, 234, 223, 0.12);
  transform-origin: 50% 100%;
}
.hero__arch::after {
  content: ""; position: absolute; inset: -16px -16px 0;
  border-radius: inherit; border: 1px solid rgba(243, 180, 168, 0.24); border-bottom: 0;
}
.hero__img {
  position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  user-select: none; -webkit-user-drag: none;
}

/* callout notes anchored to the portrait */
.note { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 0; height: 0; --len: clamp(48px, 5vw, 96px); }
.note__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blush); box-shadow: 0 0 0 5px rgba(243, 180, 168, 0.22);
}
.note__line { position: absolute; top: 0; width: var(--len); height: 1px; background: linear-gradient(to var(--dir, right), rgba(241, 234, 223, 0.7), rgba(241, 234, 223, 0.25)); }
.note--l { --dir: left; }
.note--l .note__line { right: 0; transform-origin: right; }
.note--r .note__line { left: 0; transform-origin: left; }
.note__card {
  position: absolute; top: 0; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
  padding: 11px 15px; border-radius: 14px; white-space: nowrap;
  background: rgba(17, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(241, 234, 223, 0.14);
  font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-d);
}
.note__card b { color: var(--cream); font-weight: 500; }
.note--l .note__card { right: calc(var(--len) + 8px); }
.note--r .note__card { left: calc(var(--len) + 8px); }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative; z-index: 1;
  background: var(--ink);
  border-top: 1px solid var(--line-d);
  overflow: hidden;
  padding: 18px 0 calc(18px + var(--sheet-r));
}
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__list { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px; border-right: 1px solid var(--line-d);
  font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted-d);
}
.t-sym { color: var(--cream); padding: 5px 8px; border-radius: 6px; background: rgba(241, 234, 223, 0.08); }
.ticker b { color: var(--cream); font-weight: 500; }
.ticker .up { font-style: normal; font-size: 9px; color: var(--mint); }

/* ==========================================================================
   SHEETS (stacked sections)
   ========================================================================== */
.sheet {
  position: relative; z-index: 2;
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  margin-top: calc(var(--sheet-r) * -1);
  padding-block: clamp(84px, 11vw, 176px);
}
.sheet--light { background: var(--paper); color: var(--pine); }
.sheet--dark { background: var(--pine); color: var(--cream); }
.sheet--pitch {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 9vw, transparent 9vw 18vw),
    radial-gradient(120% 80% at 70% 40%, #2b1f1a 0%, #110b09 60%);
  color: var(--cream);
  overflow: hidden;
}
.sheet--ink { background: var(--ink); color: var(--cream); }

.sec-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(40px, 6vw, 92px);
  font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-l);
}
.sec-label__rule { flex: 1; height: 1px; background: currentColor; opacity: 0.4; }
.sec-label--dark { color: var(--muted-d); }

.display {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -0.04em;
}

/* split-line masks: leave room for italic overhang + descenders */
.line-mask { padding: 0 0.12em 0.1em 0; margin: 0 -0.12em -0.1em 0; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.nowrap { white-space: nowrap; }

/* shared section heading */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end; gap: 20px clamp(24px, 4vw, 72px);
  margin-bottom: clamp(36px, 4.4vw, 72px);
}
.sec-title {
  font-weight: 600; font-stretch: 100%;
  font-size: clamp(34px, 3.5vw, 56px); line-height: 1.05; letter-spacing: -0.04em;
  max-width: 16ch; text-wrap: balance;
}
.sec-title .soft { color: rgba(27, 19, 16, 0.4); }
.sheet--dark .sec-title .soft, .sheet--pitch .sec-title .soft, .sheet--ink .sec-title .soft { color: var(--blush); }
.sec-sub { justify-self: end; max-width: 44ch; padding-bottom: 0.3em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--muted-d); text-wrap: pretty; }
.sheet--light .sec-sub { color: var(--muted-l); }

.about__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.about__statement {
  font-weight: 500; font-size: clamp(24px, 2.3vw, 38px); line-height: 1.34; letter-spacing: -0.025em;
  color: var(--pine); text-wrap: pretty;
}
.about__facts { margin: 0; border-top: 1px solid var(--line-l); }
.fact { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-l); }
.fact dt { font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.fact dd { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fact__big { font-weight: 600; font-size: clamp(28px, 2.3vw, 38px); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.fact__note { font-size: 15px; line-height: 1.4; color: var(--muted-l); }

.bring { margin-top: clamp(96px, 11vw, 176px); }
.bring__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bring__item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 340px; padding: clamp(22px, 2vw, 30px);
  border-radius: 24px; background: var(--white); border: 1px solid var(--line-l);
  transition: translate 0.7s var(--ease-out), background 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.bring__item:hover { translate: 0 -6px; background: var(--pine); border-color: var(--pine); color: var(--cream); }
.bring__no { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--muted-l); transition: color 0.5s; }
.bring__item h3 { margin-top: clamp(40px, 4vw, 64px); font-weight: 600; font-size: clamp(21px, 1.6vw, 26px); line-height: 1.1; letter-spacing: -0.025em; }
.bring__item p { color: var(--muted-l); font-size: 15.5px; line-height: 1.55; transition: color 0.5s; }
.bring__tag { margin-top: auto; align-self: flex-start; padding: 8px 12px; border-radius: 999px; background: var(--paper-2); font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.5s, color 0.5s; }
.bring__item:hover .bring__no, .bring__item:hover p { color: var(--muted-d); }
.bring__item:hover .bring__tag { background: rgba(241, 234, 223, 0.1); color: var(--cream); }

/* ==========================================================================
   WORK / SHOWCASE
   ========================================================================== */
.work { padding-bottom: clamp(84px, 9vw, 150px); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; margin-top: clamp(24px, 4vw, 64px); }
.showcase[data-app="en"] { --app-c: #3f5fe0; }
.showcase[data-app="gu"] { --app-c: #b43fb6; }
.showcase { transition: --app-c 1s var(--ease-out); }

.showcase__stage { position: relative; }
.showcase__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.showcase__glow {
  position: absolute; left: 50%; top: 50%; width: min(620px, 46vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--app-c) 62%, transparent) 0%, color-mix(in srgb, var(--app-c) 18%, transparent) 38%, transparent 68%);
  filter: blur(30px); opacity: 0.9;
}
.phone {
  --phw: min(320px, 23vw, calc((100svh - 150px) * 0.46));
  position: relative; width: var(--phw); padding: 10px;
  border-radius: calc(var(--phw) * 0.155);
  background: linear-gradient(150deg, #34393a 0%, #121514 40%, #0a0c0b 100%);
  box-shadow:
    inset 0 0 0 1.5px #464c4b,
    inset 0 0 0 4px #0d0f0e,
    0 60px 120px -40px rgba(0, 0, 0, 0.75),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotateZ(var(--rz, 0deg));
  transition: transform 0.9s var(--ease-out);
}
.phone__btn { position: absolute; right: -2px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(#3a3f3e, #1b1e1d); }
.phone__btn--a { top: 20%; height: 11%; }
.phone__btn--b { top: 35%; height: 6%; }
.phone__screen { position: relative; aspect-ratio: 723 / 1575; border-radius: calc(var(--phw) * 0.12); overflow: hidden; background: #fff; }
.phone__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06) translateY(2%);
  transition: opacity 0.7s var(--ease-out), transform 1s var(--ease-out);
}
.phone__screen img.is-active { opacity: 1; transform: none; }
.phone__glare {
  position: absolute; inset: 10px; border-radius: calc(var(--phw) * 0.12); pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 22%, transparent 34%);
}
.showcase__progress { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.showcase__progress span { width: 2px; height: 30px; border-radius: 2px; background: var(--line-d); transition: background 0.5s, height 0.5s var(--ease-out); }
.showcase__progress span.is-active { background: var(--blush); height: 48px; }

.showcase__chapters { padding-block: 12svh 16svh; }
.chapter { min-height: 86svh; display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 540px; }
.chapter__kicker { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blush); }
.chapter h3 { font-weight: 600; font-stretch: 100%; font-size: clamp(34px, 3.4vw, 58px); line-height: 1; letter-spacing: -0.04em; }
.chapter h3 em { color: var(--blush); letter-spacing: -0.02em; }
.chapter p { color: var(--muted-d); font-size: clamp(16px, 1.2vw, 18.5px); max-width: 44ch; text-wrap: pretty; }
.chapter__app { display: flex; align-items: center; gap: 18px; }
.chapter__app > img { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6); flex: none; }
.chapter__app .chapter__kicker { display: block; margin-bottom: 10px; }
.chapter__app h3 { font-size: clamp(28px, 2.5vw, 42px); }
.chapter__stats { display: flex; margin: 4px 0 0; border-block: 1px solid var(--line-d); }
.chapter__stats div { padding: 16px 28px 16px 0; margin-right: 28px; border-right: 1px solid var(--line-d); }
.chapter__stats div:last-child { border-right: 0; margin-right: 0; }
.chapter__stats dt { font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.chapter__stats dd { margin: 8px 0 0; font-weight: 700; font-stretch: 115%; font-size: clamp(26px, 2.2vw, 34px); line-height: 1; letter-spacing: -0.035em; }
.chapter__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapter__list li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-d); font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.chapter__quote { margin: 0; font-family: var(--f-gu); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.35; color: var(--cream); }
.chapter__quote span { display: block; margin-top: 10px; font: 400 15px/1.5 var(--f-display); color: var(--muted-d); }
.chapter__shot { display: none; }

.play-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 16px; border-radius: 16px;
  background: var(--cream); color: var(--pine);
  transition: background 0.35s, transform 0.5s var(--ease-out);
}
.play-btn:hover { background: var(--blush); transform: translateY(-3px); }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }
.play-btn span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.play-btn small { font: 500 9.5px/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

.traction { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 96px); border-top: 1px solid var(--line-d); }
.traction__item { display: flex; flex-direction: column; gap: 14px; padding: 34px 24px 0; border-left: 1px solid var(--line-d); }
.traction__item:first-child { border-left: 0; padding-left: 0; }
.traction__num { font-weight: 800; font-stretch: 125%; font-size: clamp(48px, 6.2vw, 112px); line-height: 0.88; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.traction__label { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.traction__source { margin-top: 28px; font: 400 11.5px/1 var(--f-mono); letter-spacing: 0.04em; color: rgba(241, 234, 223, 0.4); }

.star { font-size: 0.56em; vertical-align: 0.42em; margin-left: 0.06em; color: var(--blush); font-family: var(--f-display); }

/* ==========================================================================
   EXPERIENCE
   ========================================================================== */
.roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.role { position: relative; border-bottom: 1px solid var(--line-l); }
.role__head {
  position: relative; isolation: isolate; width: 100%;
  display: grid; grid-template-columns: minmax(130px, 190px) 1fr auto 46px; align-items: center; gap: clamp(14px, 2vw, 32px);
  padding: clamp(22px, 2.4vw, 34px) 0; text-align: left;
  transition: color 0.45s var(--ease-out), padding 0.6s var(--ease-out);
}
.role__head::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -1);
  background: var(--pine);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.55s var(--ease-out);
}
@media (hover: hover) {
  .role__head:hover { color: var(--cream); padding-inline: 18px; }
  .role__head:hover::before { transform: scaleY(1); }
  .role__head:hover .role__when { color: var(--muted-d); }
  .role__head:hover .role__where { color: var(--muted-d); }
  .role__head:hover .role__toggle { border-color: rgba(241, 234, 223, 0.4); }
}
.role__when { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); transition: color 0.45s; }
.role__what { font-weight: 600; font-stretch: 100%; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.08; letter-spacing: -0.035em; }
.role__where { font-size: clamp(15px, 1.15vw, 18px); text-align: right; color: var(--muted-l); }
.role__where em { font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: -0.01em; }
.role__toggle { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); transition: transform 0.6s var(--ease-out), border-color 0.45s; }
.role__toggle::before, .role__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform 0.6s var(--ease-out); }
.role__toggle::after { transform: rotate(90deg); }
.role.is-open .role__toggle { transform: rotate(180deg); }
.role.is-open .role__toggle::after { transform: rotate(0deg); }
.role__body { height: 0; overflow: hidden; }
.no-js .role__body { height: auto; }
.role__body ul { list-style: none; margin: 0; padding: 4px 0 40px calc(clamp(130px, 13vw, 190px) + clamp(14px, 2vw, 32px)); max-width: 1100px; display: grid; gap: 12px; }
.role__body li { position: relative; padding-left: 24px; color: var(--muted-l); font-size: clamp(16px, 1.15vw, 18.5px); text-wrap: pretty; }
.role__body li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 12px; height: 1px; background: currentColor; }
.role__body strong { color: var(--pine); font-weight: 600; }

.creds { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 72px); margin-top: clamp(88px, 10vw, 160px); align-items: start; }
.creds__kicker { display: block; margin-bottom: 22px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.edu {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px; min-height: 420px;
  padding: clamp(28px, 3vw, 48px); border-radius: var(--radius);
  background: var(--pine); color: var(--cream);
}
.edu__mark { position: absolute; z-index: -1; right: -8%; bottom: -14%; width: 62%; height: auto; fill: rgba(243, 180, 168, 0.09); pointer-events: none; }
.edu .creds__kicker { color: var(--muted-d); }
.edu h3 { font-weight: 700; font-stretch: 115%; font-size: clamp(30px, 3vw, 50px); line-height: 1; letter-spacing: -0.04em; max-width: 12ch; }
.edu h3 em { color: var(--blush); }
.edu p { color: var(--muted-d); }
.edu__school { margin-top: auto !important; padding-top: 32px; color: var(--cream) !important; font-size: 18px; max-width: 30ch; }
.edu__prev { display: grid; gap: 6px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.edu__prev .creds__kicker { margin-bottom: 4px; }
.edu__prev strong { font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.edu__prev span:last-child { color: var(--muted-d); font-size: 15px; }
.edu__year { align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: var(--blush); color: var(--pine); font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }

.certs ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.certs li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-l); transition: padding 0.5s var(--ease-out); }
.certs li:hover { padding-left: 10px; }
.certs li span { font-weight: 500; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.3; letter-spacing: -0.015em; }
.certs li small { flex: none; text-align: right; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-l); max-width: 22ch; }

.toolkit { margin-top: clamp(88px, 10vw, 160px); }
.toolkit__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.toolkit__head p { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.toolkit__box {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px;
  min-height: clamp(260px, 30vw, 460px); padding: clamp(16px, 2vw, 28px);
  border-radius: var(--radius); background: var(--paper-2);
}
@media (hover: hover) and (pointer: fine) {
  .js .toolkit__box { height: clamp(440px, 38vw, 560px); }
}
.toolkit__box.is-physics { display: block; height: clamp(440px, 38vw, 560px); padding: 0; }
/* chips stay hidden until the physics drop starts, then appear one by one as they fall in */
.toolkit__box.is-pending .chip, .toolkit__box.is-physics .chip:not(.is-live) { visibility: hidden; }
.toolkit__box.is-physics .chip { height: clamp(44px, 3.8vw, 60px); padding: 0 clamp(18px, 1.6vw, 26px); font-size: clamp(15px, 1.25vw, 20px); }
.chip {
  display: inline-flex; align-items: center;
  height: clamp(48px, 4.6vw, 72px); padding: 0 clamp(20px, 2vw, 32px);
  border-radius: 999px;
  background: var(--white); color: var(--pine);
  font-weight: 600; font-stretch: 110%; font-size: clamp(16px, 1.55vw, 24px); letter-spacing: -0.025em;
  white-space: nowrap; user-select: none;
}
.chip--blush { background: var(--blush); }
.chip--dark { background: var(--pine); color: var(--cream); }
.chip--outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pine); }
.is-physics .chip { position: absolute; left: 0; top: 0; will-change: transform; cursor: grab; }
.is-physics .chip:active { cursor: grabbing; }

/* ==========================================================================
   FIELD
   ========================================================================== */
.field__giant {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  white-space: nowrap; pointer-events: none;
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: 21vw; line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 234, 223, 0.06);
}
.field__giant span { display: inline-block; }
.field__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 6vw; align-items: center; }
.field__title { margin-bottom: clamp(24px, 2.6vw, 36px); }
.field__lede { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; max-width: 40ch; margin-bottom: 18px; text-wrap: pretty; }
.field__lede strong { font-weight: 500; color: var(--blush); }
.field__text { color: var(--muted-d); max-width: 46ch; text-wrap: pretty; }
.field__traits { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field__traits li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-d); font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.field__traits li:nth-child(odd) { background: rgba(241, 234, 223, 0.06); }

.field__card-wrap { display: grid; justify-items: center; gap: 26px; padding-top: 70px; perspective: 1300px; }
.field__card-wrap { position: relative; }
.field__ground {
  position: absolute; left: 50%; top: 84%; z-index: -1;
  width: min(900px, 150%); height: auto; overflow: visible;
  transform: translate(-50%, -50%) rotateX(70deg);
  fill: none; stroke: rgba(241, 234, 223, 0.16); stroke-width: 1.4; vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.field__ground * { vector-effect: non-scaling-stroke; }
.field__ground rect, .field__ground path { stroke: rgba(243, 180, 168, 0.4); }
.field__caption { font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }

.tcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; width: min(400px, 78vw); aspect-ratio: 5 / 7;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.9s var(--ease-out);
}
.tcard.is-active { transition: transform 0.12s linear; }
.tcard::before {
  content: ""; position: absolute; inset: 10% 8% -5%;
  border-radius: 40px; background: rgba(0, 0, 0, 0.6); filter: blur(42px);
  transform: translateZ(-80px);
}
.tcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.tcard__photo, .tcard__shade, .tcard__holo, .tcard__frame, .tcard__glare { position: absolute; inset: 0; border-radius: 22px; }
.tcard__photo { overflow: hidden; background: #2b1f1a; }
.tcard__photo img, .tcard__pop img {
  position: absolute; left: -17%; top: -27.5%; width: 145%; max-width: none; height: auto;
  filter: saturate(0.9) contrast(1.06) brightness(0.96);
}
.tcard__shade { background: linear-gradient(to top, rgba(17, 11, 9, 0.9) 0%, rgba(17, 11, 9, 0.35) 30%, transparent 52%), linear-gradient(to bottom, rgba(17, 11, 9, 0.5), transparent 22%); }
.tcard__holo {
  pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.4;
  background:
    repeating-linear-gradient(115deg, transparent 0%, rgba(255, 210, 140, 0.32) 6%, rgba(140, 255, 214, 0.3) 12%, rgba(170, 140, 255, 0.3) 18%, rgba(255, 150, 200, 0.28) 24%, transparent 30%);
  background-size: 260% 260%;
  background-position: var(--mx) var(--my);
}
.tcard__frame {
  pointer-events: none; padding: 2px;
  background: linear-gradient(140deg, #f6cfc6 0%, #9b7a4c 24%, #f1eadf 46%, #8a6a58 70%, #f3b4a8 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.tcard__frame::after { content: ""; position: absolute; inset: 10px; border-radius: 14px; border: 1px solid rgba(241, 234, 223, 0.28); }
.tcard__pop { position: absolute; inset: 0; clip-path: inset(-32% 2px 2px 2px round 0 0 20px 20px); transform: translateZ(14px); pointer-events: none; }
.tcard__side {
  position: absolute; left: 20px; top: 22px;
  writing-mode: vertical-rl; transform: rotate(180deg) translateZ(24px); transform-origin: center;
  font: 500 10px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 234, 223, 0.86);
  text-shadow: 0 1px 8px rgba(17, 11, 9, 0.6);
}
.tcard__corner { position: absolute; right: 20px; top: 20px; transform: translateZ(30px); }
.tcard__corner .monogram { width: 26px; color: var(--blush); filter: drop-shadow(0 2px 6px rgba(17, 11, 9, 0.6)); }
.tcard__plate {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(17, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(241, 234, 223, 0.16);
  transform: translateZ(40px);
}
.tcard__plate strong { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(19px, 1.6vw, 24px); line-height: 1; letter-spacing: -0.025em; }
.tcard__plate span { font: 500 10px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blush); }
.tcard__glare { pointer-events: none; mix-blend-mode: overlay; opacity: 0; transition: opacity 0.5s; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 50%); transform: translateZ(41px); }
.tcard.is-active .tcard__glare { opacity: 1; }

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */
.contact { padding-bottom: 0; overflow: hidden; }
.contact__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(28px, 4.4vw, 72px);
  border-radius: clamp(24px, 2.6vw, 40px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(243, 180, 168, 0.1), transparent 55%),
    linear-gradient(180deg, #1b1310 0%, #110b09 100%);
  border: 1px solid var(--line-d);
}
.contact__title { max-width: none; }
.contact__lede { max-width: 44ch; margin-top: 18px; color: var(--muted-d); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; text-wrap: pretty; }

.mailbox {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px;
  margin-top: clamp(32px, 4vw, 56px); padding-block: 22px;
  border-block: 1px solid var(--line-d);
}
.mailbox__label { grid-column: 1 / -1; font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.mail { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.mail__text { font-weight: 600; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.1; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.rc { display: inline-block; position: relative; overflow: hidden; vertical-align: top; height: 1.1em; }
.rc > span { display: block; transition: transform 0.6s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
.rc > span + span { position: absolute; left: 0; top: 100%; color: var(--blush); }
.mail:hover .rc > span { transform: translateY(-100%); }
.mail__arrow { flex: none; display: grid; place-items: center; width: clamp(38px, 3vw, 50px); aspect-ratio: 1; border-radius: 50%; background: var(--blush); color: var(--pine); transition: transform 0.6s var(--ease-out); }
.mail__arrow svg { width: 42%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mail:hover .mail__arrow { transform: rotate(45deg); }
.copy { position: relative; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-d); font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: border-color 0.3s, background 0.3s; }
.copy:hover { border-color: var(--blush); }
.copy__idle, .copy__done { transition: opacity 0.3s; }
.copy__done { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; color: var(--mint); }
.copy.is-done .copy__idle { opacity: 0; }
.copy.is-done .copy__done { opacity: 1; }
.contact__cv { margin-top: 28px; }

.contact__side { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-width: 0; }
.contact__mark { align-self: flex-end; width: clamp(110px, 11vw, 180px); height: auto; overflow: visible; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.clink {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-d);
  transition: padding 0.5s var(--ease-out), color 0.3s;
}
.clink__k { font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.clink__v { font-weight: 500; font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.clink__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-d); transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out); }
.clink__go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.clink:hover { padding-left: 10px; color: var(--blush); }
a.clink:hover .clink__go { background: var(--blush); border-color: var(--blush); color: var(--pine); transform: rotate(45deg); }

.footer { margin-top: clamp(64px, 8vw, 120px); }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 24px 32px; border-top: 1px solid var(--line-d);
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d);
}
.footer__top:hover { color: var(--blush); }

/* ==========================================================================
   PEEK (experience hover card)
   ========================================================================== */
.peek { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: none; }
.has-cursor .peek { display: block; }
.peek__card {
  width: 270px; margin: -120px 0 0 30px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  aspect-ratio: 5 / 4; padding: 22px; border-radius: 22px;
  background: var(--blush); color: var(--pine);
  box-shadow: 0 30px 70px -24px rgba(17, 11, 9, 0.55);
  transform: scale(0.4) rotate(-8deg); opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.3s;
}
.peek.is-on .peek__card { transform: scale(1) rotate(-3deg); opacity: 1; }
.peek__icons { width: 52px; height: 52px; border-radius: 14px; margin-bottom: auto; background: #fff; display: none; }
.peek.is-app .peek__icons { display: block; }
.peek__big { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 40px; line-height: 0.92; letter-spacing: -0.045em; }
.peek__small { font: 500 10.5px/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.hide-sm { }
@media (max-width: 1180px) {
  .bring__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bring__item { min-height: 280px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .contact__panel { grid-template-columns: 1fr; }
  .contact__side { flex-direction: row-reverse; align-items: flex-end; }
  .contact__list { flex: 1; }
  .nav__status { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .traction { grid-template-columns: repeat(2, 1fr); }
  .traction__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .traction__item:nth-child(n + 3) { margin-top: 32px; border-top: 1px solid var(--line-d); }
  }

/* Portrait / small screens: stack the hero */
@media (max-width: 899px), (orientation: portrait) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto;
    grid-template-areas: "copy" "figure" "stats";
  }
  .hero__copy { padding-bottom: 0; }
  .hero__figure { width: min(100%, 520px, 60svh); margin-top: clamp(24px, 4svh, 48px); }
  .hero__stats { margin-top: 0; }
  .note { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__cv { display: none; }
  .menu__panel { grid-template-columns: 1fr; }
  .menu__preview { display: none; }

  .showcase { grid-template-columns: 1fr; margin-top: 24px; }
  .showcase__stage { display: none; }
  .showcase__chapters { padding-block: 24px 0; display: grid; gap: 20px; }
  .chapter {
    min-height: 0; max-width: none; padding: 28px 24px 0; border-radius: var(--radius);
    background: var(--pine-2); border: 1px solid var(--line-d); overflow: hidden;
  }
  .chapter__shot {
    display: block; width: min(250px, 66%); margin: 12px auto 0; height: auto;
    border-radius: 26px 26px 0 0; border: 8px solid #121514; border-bottom: 0;
    aspect-ratio: 723 / 1100; object-fit: cover; object-position: top;
  }
  .chapter--intro .chapter__shot { margin-top: 18px; }

  .roles .role__head { grid-template-columns: 1fr 46px; grid-template-areas: "when toggle" "what toggle" "where toggle"; gap: 8px 16px; }
  .role__when { grid-area: when; }
  .role__what { grid-area: what; }
  .role__where { grid-area: where; text-align: left; }
  .role__toggle { grid-area: toggle; align-self: center; }
  .role__body ul { padding-left: 0; }

  .creds { grid-template-columns: 1fr; }
  .edu { min-height: 360px; }

  .field__grid { grid-template-columns: 1fr; }
  .field__card-wrap { padding-top: 80px; }

  .sec-head { grid-template-columns: 1fr; }
  .sec-sub { justify-self: start; padding-bottom: 0; }
  .contact__side { flex-direction: column; align-items: stretch; }
  .contact__mark { width: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .bring__grid { grid-template-columns: 1fr; }
  .bring__item { min-height: 0; }
  .bring__item h3 { margin-top: 28px; }
  .about__facts { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 84px 1fr; }
  .hero__stats div { padding-right: 10px; }
  .hero__stats div + div { padding-left: 10px; }
  .hero__stats dd { font-size: 16px; }
  .mailbox { grid-template-columns: 1fr; }
  .copy { justify-self: start; }
  .clink { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; }
  .menu-btn__label { display: none; }
  .menu__nav a { font-size: min(10vw, 52px); font-stretch: 100%; gap: 12px; max-width: 100%; }
  .menu__idx { padding-top: 0.3em; }
  .menu__foot { flex-direction: column; align-items: flex-start; }
  .menu-btn { padding: 0 6px; }
  .hide-sm { display: none !important; }
  .chapter__stats div { padding-right: 18px; margin-right: 18px; }
  .certs li { flex-direction: column; gap: 6px; }
  .certs li small { text-align: left; max-width: none; }
  .mail__arrow { display: none; }
  .ticker__list li { padding: 0 20px; }
}

@media (hover: none) {
  .hide-touch { display: none; }
  .field__card-wrap { position: relative; }
.field__ground {
  position: absolute; left: 50%; top: 84%; z-index: -1;
  width: min(900px, 150%); height: auto; overflow: visible;
  transform: translate(-50%, -50%) rotateX(70deg);
  fill: none; stroke: rgba(241, 234, 223, 0.16); stroke-width: 1.4; vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.field__ground * { vector-effect: non-scaling-stroke; }
.field__ground rect, .field__ground path { stroke: rgba(243, 180, 168, 0.4); }
.field__caption { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
