/* ==========================================================================
   Adnan Afzal — Mobile Growth & Publishing
   Design system + components. Static, GitHub Pages friendly.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090b0f;
  --bg-2: #11151b;
  --card: #151a22;
  --line: #252b35;
  --line-soft: rgba(37, 43, 53, 0.6);
  --accent: #d9ff43;
  --accent-ink: #0d1200;
  --text: #f4f5f6;
  --muted: #929ba8;

  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --fs-hero: clamp(2.6rem, 7.4vw, 7.6rem);
  --fs-h2: clamp(2.1rem, 5vw, 4.6rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.3rem);
  --nav-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-2); }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* --- Labels / eyebrows ---------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.12);
}
.eyebrow--plain::before { display: none; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.sec-head h2 { font-size: var(--fs-h2); margin-top: 22px; }
.sec-head p { color: var(--muted); font-size: var(--fs-lead); max-width: 46ch; margin: 0; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
}

/* split-text helpers */
.line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
}
.btn--primary:hover::after { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn--ghost:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn--ghost:hover::after { transform: translateY(0); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 12px; }

.link-u {
  position: relative; display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(0.3);
  transition: transform 0.5s var(--ease);
  opacity: 0.6;
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9, 11, 15, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__in {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.04em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 14px; letter-spacing: -0.02em;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"], .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
}
.burger {
  display: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--nav-h) + 32px) var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-io), visibility 0s linear 0.7s;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-io), visibility 0s; }
.mmenu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mmenu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mmenu li a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -0.04em;
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
}
.mmenu li a::before {
  counter-increment: m; content: "0" counter(m);
  font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em;
}
.menu-open .mmenu li a { transform: none; }
.menu-open .mmenu li:nth-child(2) a { transition-delay: 0.05s; }
.menu-open .mmenu li:nth-child(3) a { transition-delay: 0.1s; }
.menu-open .mmenu li:nth-child(4) a { transition-delay: 0.15s; }
.menu-open .mmenu li:nth-child(5) a { transition-delay: 0.2s; }
.menu-open .mmenu li:nth-child(6) a { transition-delay: 0.25s; }
.menu-open .mmenu li:nth-child(7) a { transition-delay: 0.3s; }
.mmenu__foot { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 14px; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta .btn { display: none; }
}
@media (min-width: 1081px) { .mmenu { display: none; } }
.menu-open { overflow: hidden; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 90px)) 0 clamp(40px, 6vh, 72px);
  padding-bottom: clamp(56px, 8vh, 110px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -15vw; top: -10vw;
  background: radial-gradient(circle, rgba(217,255,67,0.10), transparent 62%);
}
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero h1 { font-size: var(--fs-hero); margin: 28px 0 0; letter-spacing: -0.05em; line-height: 0.92; }
.hero h1 .accent { font-style: normal; }
.hero__lead { margin: clamp(24px, 3vw, 40px) 0 0; max-width: 52ch; color: var(--muted); font-size: var(--fs-lead); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta {
  margin-top: clamp(48px, 7vh, 88px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.04em; line-height: 1; }
.stat__num .accent { font-size: 0.7em; vertical-align: top; }
.stat__label { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin: 24px auto 0; width: 100%; }
}
@media (max-width: 640px) {
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

.scroll-cue {
  position: absolute; left: var(--pad); bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue__bar { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__bar::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }
@media (max-width: 1080px) { .scroll-cue { display: none; } }

/* Hero visual (SVG dashboard) */
.hero__visual { position: relative; aspect-ratio: 560 / 620; }
.hero__visual svg { width: 100%; height: 100%; overflow: visible; }
.hv-float { position: absolute; will-change: transform; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(21, 26, 34, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 13px; line-height: 1.25;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.chip strong { font-family: var(--f-display); font-size: 18px; letter-spacing: -0.03em; display: block; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip__dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(217,255,67,0.12); color: var(--accent); flex: none; }
.svg-draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: 0; }
.hv-caption { position: absolute; right: 0; bottom: -6px; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.flow-dash { stroke-dasharray: 4 6; animation: dash 1.8s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .pulse, .flow-dash, .scroll-cue__bar::after { animation: none; }
}

/* --- Marquee --------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  display: flex;
  user-select: none;
  background: var(--bg);
}
.marquee__track {
  display: flex; flex: none; gap: 48px; padding-right: 48px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 48px;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 3.4vw, 3rem); white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee__item::after { content: "✦"; color: var(--accent); font-size: 0.5em; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- About ----------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  overflow: hidden; background: var(--card); border: 1px solid var(--line);
}
.portrait img, .portrait svg { width: 100%; height: 100%; object-fit: cover; }
.portrait__tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted);
}
.about__statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.035em; margin: 22px 0 32px; }

.about__body { color: var(--muted); font-size: 17px; max-width: 60ch; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.principle { padding: 24px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.principle__n { font-size: 12px; color: var(--accent); letter-spacing: 0.12em; font-weight: 600; }
.principle h3 { font-size: 20px; margin: 14px 0 8px; letter-spacing: -0.02em; line-height: 1.2; }
.principle p { color: var(--muted); font-size: 15px; margin: 0; }
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* --- Expertise cards ------------------------------------------------------- */
.xgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.xcard {
  position: relative; background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  min-height: 380px;
  display: flex; flex-direction: column;
  transition: background 0.5s var(--ease);
  overflow: hidden;
}
.xcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(217,255,67,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.xcard:hover { background: var(--bg-2); }
.xcard:hover::before { opacity: 1; }
.xcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.xcard__n { font-size: 12px; color: var(--muted); letter-spacing: 0.14em; font-weight: 600; }
.xicon { width: 56px; height: 56px; color: var(--accent); }
.xicon * { vector-effect: non-scaling-stroke; }
.xcard h3 { font-size: var(--fs-h3); margin: auto 0 12px; padding-top: 48px; letter-spacing: -0.03em; line-height: 1.1; }
.xcard p { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.xcard ul { display: flex; flex-wrap: wrap; gap: 6px; }
.xcard li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--card); color: #c3c9d1; border: 1px solid var(--line); }
@media (max-width: 1080px) { .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .xgrid { grid-template-columns: 1fr; } .xcard { min-height: 0; } }

/* --- Growth OS ------------------------------------------------------------- */
.gos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.gos__svg { width: 100%; height: auto; }
.gos__node { cursor: pointer; }
.gos__node rect { transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.gos__node text { transition: fill 0.4s var(--ease); }
.gos__node.is-active rect.n-bg { fill: var(--accent); stroke: var(--accent); }
.gos__node.is-active text { fill: var(--accent-ink); }
.gos__node:focus-visible { outline: none; }
.gos__node:focus-visible rect.n-bg { stroke: var(--text); stroke-width: 2; }
.gos__panel {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  padding: clamp(24px, 3vw, 40px); min-height: 320px;
}
.gos__step { font-size: 12px; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; }
.gos__panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 14px 0 16px; }
.gos__panel p { color: var(--muted); }
.gos__panel dl { margin: 24px 0 0; display: grid; gap: 14px; }
.gos__panel dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.gos__panel dd { margin: 4px 0 0; font-size: 15px; }
.gos__list { display: none; }
@media (max-width: 960px) {
  .gos { grid-template-columns: 1fr; }
}

/* --- Case studies ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all 0.35s var(--ease);
}
.filter:hover { color: var(--text); border-color: #3a414d; }
.filter[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter__count { opacity: 0.6; margin-left: 6px; font-weight: 500; }

.hscroll { position: relative; }
.hscroll[data-pin] { overflow: hidden; }
.hscroll__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.hscroll[data-pin] .hscroll__track { display: flex; }
.hscroll:not([data-pin]) .case { width: auto; }
.case {
  position: relative; flex: none;
  width: min(560px, 78vw);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.case:hover { border-color: #3a414d; }
.case.is-hidden { display: none; }
.case__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }
.case__idx {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(9,11,15,0.7); backdrop-filter: blur(8px); border: 1px solid var(--line);
}
.case__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case__client { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.case h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -0.03em; }
.case__summary { color: var(--muted); font-size: 15px; margin: 0; }
.case__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: auto; }
.metric { background: var(--bg-2); padding: 16px 18px; }
.metric__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.metric__l { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.case__link { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; font-weight: 600; font-size: 14px; }
.case__link .circ { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.case:hover .case__link .circ { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }
.case__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hs-progress { margin-top: 32px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; display: none; }
.hs-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hscroll.is-pinned .hs-progress { display: block; }

@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .hscroll[data-pin] .hscroll__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { width: auto !important; }
}
@media (max-width: 640px) {
  .hscroll .hscroll__track, .hscroll[data-pin] .hscroll__track { grid-template-columns: 1fr; }
}

/* --- Platforms ------------------------------------------------------------- */
.pgroups { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pgroup { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--bg); }
.pgroup__name { padding: 28px; border-right: 1px solid var(--line); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.pgroup__name span { color: var(--accent); }
.pgroup__items { display: flex; flex-wrap: wrap; }
.ptile {
  flex: 1 1 180px;
  padding: 26px 28px; border-right: 1px solid var(--line-soft);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.25rem); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 12px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.ptile:hover { background: var(--bg-2); color: var(--accent); }
.ptile__mono {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--f-body); font-size: 12px; font-weight: 700; color: var(--muted);
  transition: all 0.4s var(--ease);
}
.ptile:hover .ptile__mono { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pnote { margin-top: 20px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .pgroup { grid-template-columns: 1fr; }
  .pgroup__name { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .ptile { flex-basis: 50%; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
}

/* --- Timeline -------------------------------------------------------------- */
.timeline { position: relative; }
.timeline__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.job {
  position: relative;
  display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(32px, 4vw, 52px) 0 clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.job:last-child { border-bottom: 0; }
.job::before {
  content: ""; position: absolute; left: -5px; top: clamp(40px, 4.4vw, 60px);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.job__when { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
.job__when .now { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(217,255,67,0.12); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.job h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; }
.job__co { margin-top: 10px; color: var(--accent); font-weight: 600; }
.job ul { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.job li { padding-left: 18px; position: relative; }
.job li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }
@media (max-width: 960px) {
  .job { grid-template-columns: 1fr; gap: 12px; }
}

/* --- Insights -------------------------------------------------------------- */
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.icard {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg);
  min-height: 320px;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}
.icard:hover { border-color: #3a414d; background: var(--bg-2); transform: translateY(-4px); }
.icard__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.icard__meta .cat { color: var(--accent); }
.icard h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.12; letter-spacing: -0.03em; }
.icard p { color: var(--muted); font-size: 15px; margin: 0; }
.icard__more { margin-top: auto; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; }
.icard__more span { transition: transform 0.4s var(--ease); }
.icard:hover .icard__more span { transform: translateX(6px); }
@media (max-width: 960px) { .igrid { grid-template-columns: 1fr; } .icard { min-height: 0; } }

/* --- Contact --------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; }
.contact__big { font-size: clamp(2.6rem, 8vw, 8.4rem); letter-spacing: -0.055em; line-height: 0.9; }
.contact__lead { color: var(--muted); font-size: var(--fs-lead); max-width: 52ch; margin: 32px 0 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.cmethods { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmethod { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; background: var(--bg); transition: background 0.4s var(--ease); }
.cmethod:hover { background: var(--bg-2); }
.cmethod__k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmethod__v { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; margin-top: 4px; word-break: break-word; }
.cmethod .circ { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.cmethod:hover .circ { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }

.form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); background: var(--card); }
.form h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 14px; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; max-width: 34ch; }
.form__status { font-size: 13px; color: var(--muted); margin-top: 12px; min-height: 1.4em; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }

/* --- Footer ---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.6fr)); gap: 32px; }
.footer h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: #c3c9d1; font-size: 14px; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer__tag { color: var(--muted); max-width: 34ch; margin-top: 14px; font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__word {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
  font-size: clamp(4rem, 17vw, 17rem);
  color: var(--bg-2); -webkit-text-stroke: 1px var(--line);
  margin-top: 40px; white-space: nowrap; overflow: hidden;
}
@media (max-width: 860px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__top > :first-child { grid-column: 1 / -1; } }

/* --- Inner pages ----------------------------------------------------------- */
.phero { padding: calc(var(--nav-h) + clamp(56px, 10vh, 120px)) 0 clamp(48px, 7vw, 90px); position: relative; }
.phero h1 { font-size: clamp(2.4rem, 6.4vw, 6.2rem); margin-top: 24px; letter-spacing: -0.05em; line-height: 0.95; max-width: 18ch; }
.phero__lead { color: var(--muted); font-size: var(--fs-lead); max-width: 60ch; margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: 0.4; }

.cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.fact { padding: 22px 20px 22px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact dd { margin: 8px 0 0; font-weight: 600; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result { background: var(--bg-2); padding: clamp(28px, 4vw, 56px); }
.result__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.06em; line-height: 0.9; color: var(--accent); }
.result__l { margin-top: 14px; color: var(--muted); font-size: 16px; }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } }

.prose-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); }
.prose-grid + .prose-grid { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.prose-grid > h2 { font-size: 13px; font-family: var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; line-height: 1.6; }
.prose-grid > h2 span { color: var(--accent); margin-right: 8px; }
.prose { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 68ch; color: #c9ced6; }
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--text); }
.prose h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--text); margin: 1.8em 0 0.7em; letter-spacing: -0.025em; line-height: 1.15; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding: 0; display: grid; gap: 12px; }
.prose ol { counter-reset: p; list-style: none; }
.prose li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 1px; background: var(--accent); }
.prose ol li::before { counter-increment: p; content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 0.2em; font-size: 12px; font-weight: 700; color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: 0.9em; background: var(--card); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 860px) {
  .prose-grid { grid-template-columns: 1fr; gap: 16px; }
  .prose-grid > h2 { position: static; }
}

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: #c9ced6; }
.pill-list--accent li:first-child { border-color: var(--accent); color: var(--accent); }

.next-case {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.next-case__t { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 4.4rem); letter-spacing: -0.045em; line-height: 1; transition: color 0.4s var(--ease); }
.next-case:hover .next-case__t { color: var(--accent); }
.next-case .circ { width: 72px; height: 72px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.5s var(--ease); }
.next-case:hover .circ { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }

/* Resume */
.resume { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.resume aside { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; gap: 28px; }
.resume aside h2 { font-family: var(--f-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.resume aside li { font-size: 14px; color: #c9ced6; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.resume aside a { color: var(--accent); word-break: break-word; }
.rjob { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.rjob:last-child { border-bottom: 0; }
.rjob__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; }
.rjob h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.03em; }
.rjob__d { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.rjob__co { color: var(--accent); font-weight: 600; margin: 8px 0 18px; }
@media (max-width: 900px) { .resume { grid-template-columns: 1fr; } .resume aside { position: static; } }

/* Blog list */
.bfilters { margin-bottom: 36px; }
.blist { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.bitem { display: grid; grid-template-columns: 180px minmax(0, 1fr) 160px 48px; gap: 24px; align-items: center; background: var(--bg); padding: 32px 0; transition: background 0.4s var(--ease); }
.bitem:hover { background: var(--bg-2); }
.bitem__cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; padding-left: 4px; }
.bitem h2 { font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.bitem p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.bitem__time { color: var(--muted); font-size: 13px; }
.bitem .circ { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.bitem:hover .circ { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.bitem.is-hidden { display: none; }
@media (max-width: 860px) { .bitem { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; } .bitem .circ { display: none; } }

.article-head { max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.article-meta b { color: var(--text); font-weight: 600; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body .prose { max-width: none; }
.callout { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 22px 24px; margin: 1.8em 0; font-size: 16px; }
.callout strong { display: block; color: var(--accent); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }

.cta-band { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 5vw, 72px); background: var(--bg-2); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3.6rem); max-width: 16ch; }

/* --- Reveal + motion helpers ---------------------------------------------- */
.js.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.motion [data-hero] { opacity: 0; }
.js.motion.ready [data-hero], .js.motion.ready-fallback [data-reveal], .js.motion.ready-fallback [data-hero] { opacity: 1; transform: none; }
.clip-reveal { clip-path: inset(0 0 0 0); }

/* page transition */
.ptrans {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
}

/* custom cursor (desktop, fine pointer only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; opacity: 0; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.cursor__ring {
  position: fixed; left: 0; top: 0;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(217,255,67,0.5);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink);
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(217,255,67,0.12); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--pad) 40px; }
.nf__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 30vw, 22rem); letter-spacing: -0.07em; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line); }
.nf__code span { color: var(--accent); -webkit-text-stroke: 0; }
.nf h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 24px 0 14px; }
.nf p { color: var(--muted); }
.nf .hero__ctas { justify-content: center; }

@media print {
  .nav, .footer, .mmenu, .cursor, .ptrans, .cta-band, .skip, .no-print { display: none !important; }
  body { background: #fff; color: #111; }
  .phero { padding-top: 0; }
  .prose, .resume aside li, .muted, .phero__lead { color: #333 !important; }
  .rjob__co, .resume aside a, .accent { color: #3b4a00 !important; }
  .js.motion [data-reveal], .js.motion [data-hero] { opacity: 1 !important; transform: none !important; }
}

/* Growth OS — mobile list */
@media (max-width: 640px) {
  .gos__svg { display: none; }
  .gos__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.gos__list .gos__node {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line); background: var(--card);
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  transition: all 0.35s var(--ease);
}
.gos__list .gos__node span { font-family: var(--f-body); font-size: 11px; color: var(--muted); font-weight: 600; }
.gos__list .gos__node.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gos__list .gos__node.is-active span { color: var(--accent-ink); }
.footer__word::before { content: attr(data-word); }
