/* ---------- Brand fonts (self-hosted, SIL OFL): Archivo display, IBM Plex Sans body and labels ---------- */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plexsans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   Stride Labs — Graphite-dominant. One warm accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #101314;
  --paper: #F4F3F0;
  --slate: #626B6E;
  --ember: #F26419;
  --ember-deep: #AC4000;
  --ember-light: #FF7738;

  --ink-2: #1A1E20;
  --line: rgba(16, 19, 20, .14);
  --line-strong: rgba(16, 19, 20, .32);
  --line-dark: rgba(244, 243, 240, .14);
  --paper-dim: rgba(244, 243, 240, .66);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.8rem, 6vw, 5.9rem);
  --fs-h2: clamp(2.2rem, 5vw, 4.4rem);
  --fs-h3: clamp(1.1rem, 1.4vw, 1.3rem);
  --fs-lead: clamp(1.1rem, 1.6vw, 1.35rem);
  --fs-body: 1rem;
  --fs-mono: .72rem;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
strong { font-weight: 600; }
address { font-style: normal; }
::selection { background: var(--ember); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; }
.accent { font-style: normal; color: var(--ember-deep); }
.accent-text { color: var(--ember-deep); }
.dark .accent-text, .dark .accent { color: var(--ember-light); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.dark { background: var(--ink); color: var(--paper); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--ember); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; gap: .6em;
  padding: 16px 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn span[aria-hidden] { transition: transform .3s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--primary { --bg: var(--ember); --fg: var(--ink); --bd: var(--ember); }
.btn--primary:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.dark .btn--primary:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 20px 34px; font-size: 1.1rem; }

/* ---------- Kicker / section heads ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--slate);
}
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; }
.kicker { margin-bottom: 28px; }
.dark .kicker, .dark .eyebrow { color: var(--paper-dim); }
.kicker__idx { color: var(--ember-deep); padding-right: 12px; border-right: 1px solid var(--line-strong); }
.dark .kicker__idx { color: var(--ember-light); border-color: var(--line-dark); }
.marker { width: 8px; height: 8px; background: var(--ember); border-radius: 50%; box-shadow: 0 0 0 4px rgba(242,100,25,.18); }

.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section.dark { border-top-color: transparent; }
@media (min-width: 960px) {
  .services .section-head { grid-template-columns: 1.7fr 1fr; }
  #services-title { font-size: clamp(2.6rem, 4.1vw, 4rem); white-space: nowrap; }
}
.section-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(32px, 4.5vw, 60px); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-h2); line-height: .98; letter-spacing: -.025em;
  max-width: 16ch;
}
.section-sub { margin-top: 24px; font-size: var(--fs-lead); color: var(--slate); max-width: 46ch; line-height: 1.5; }
.dark .section-sub { color: var(--paper-dim); }

@media (min-width: 960px) {
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; column-gap: 64px; }
  .section-head .kicker { grid-column: 1 / -1; }
  .section-head .section-sub { margin-top: 0; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 243, 240, .97);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__wordmark { display: block; width: 104px; height: auto; aspect-ratio: 3913 / 1266; fill: currentColor; }
.footer .brand__wordmark { width: 132px; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 32px); margin-left: auto; }
.nav__links a:not(.btn) {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--ink); padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after, .nav__links a.is-page::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

@media (max-width: 980px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
  }
  .nav__toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h));
    flex-direction: column; gap: 0; margin: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links a:not(.btn) {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a.is-page:not(.btn) { color: var(--ember-deep); }
  .nav__cta-mobile { display: inline-flex; align-self: flex-start; margin-top: 32px; }
  .nav.is-scrolled { background: var(--paper); }
  .nav.is-open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 64px));
}
.hero__field {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 72% 45%, #000 30%, rgba(0,0,0,.35) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 90% at 72% 45%, #000 30%, rgba(0,0,0,.35) 70%, transparent 100%);
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.is-loaded .hero__field, .no-js .hero__field { opacity: 1; }
.hero__glow {
  position: absolute; z-index: -1; width: 46vmax; height: 46vmax; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242,100,25,.10), rgba(242,100,25,.03) 40%, transparent 68%);
  transform: translate(var(--gx, 60vw), var(--gy, 20vh)) translate(-50%, -50%);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}

.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 6vh, 72px); padding-block: clamp(16px, 3vh, 32px) clamp(40px, 6vh, 72px); will-change: transform, opacity; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.hero__eyebrow { margin: 0; }
.hero__pillars { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--slate); }
.hero__pillars li { display: flex; gap: 8px; }
.hero__pillars span { color: var(--ember-deep); }
.js .hero__top > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero__pillars { transition-delay: .15s !important; }
.is-loaded .hero__top > * { opacity: 1; transform: none; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 6.6vw, 6.8rem); line-height: 1.02; letter-spacing: -.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transition: transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.js .hero__title .line > span { transform: translateY(108%) rotate(2.5deg); transform-origin: 0 100%; }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.is-loaded .hero__title .line > span { transform: none; }
@media (min-width: 900px) { .hero__title .line--indent { padding-left: 1.2em; } }
.hero__title .accent { position: relative; display: inline-block; }
.hero__title .accent::after {
  content: ""; position: absolute; left: .02em; right: .04em; bottom: .02em; height: .065em;
  background: var(--ember); transform-origin: left;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1) 1.05s;
}
.js .hero__title .accent::after { transform: scaleX(0); }
.is-loaded .hero__title .accent::after { transform: scaleX(1); }

.hero__bottom { display: grid; gap: 32px; align-items: end; padding-top: clamp(4px, 1vh, 12px); }
@media (min-width: 900px) { .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; } }
.hero__sub { font-size: var(--fs-lead); color: var(--slate); max-width: 38ch; line-height: 1.6; }
.hero__copy { display: grid; gap: 24px; }
.hero__caption { display: grid; gap: 8px; color: var(--slate); }
.hero__caption a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .25s var(--ease); }
.hero__caption a:hover { border-color: var(--ember); }
.hero__caption-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.hero__caption b { white-space: nowrap; font-weight: 500; color: var(--ember-deep); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Magnetic buttons */
.magnetic { transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.magnetic__inner { display: inline-flex; align-items: center; gap: .6em; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }

/* Foot: ticker + scroll cue */
.hero__foot { border-top: 1px solid var(--line); }
.hero__foot-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.hero__ticker {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__ticker ul { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.hero__ticker li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate);
}
.hero__ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
@media (max-width: 600px) {
  .hero__title { line-height: 1.06; letter-spacing: -.03em; }
  .hero__top { flex-direction: column; gap: 14px; }
  .hero__pillars { gap: 8px 20px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 380px) { .hero__title { font-size: 2.1rem; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.hero__scroll span { position: relative; width: 1px; height: 28px; background: var(--line-strong); overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: -1px; top: -8px; width: 3px; height: 8px; background: var(--ember); animation: scroll-cue 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes scroll-cue { to { transform: translateY(44px); } }

/* ==========================================================================
   About
   ========================================================================== */
.about { border-top: 1px solid var(--line); padding-block: var(--section-y); }
.about__intro { display: grid; gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 960px) { .about__intro { grid-template-columns: 1fr 3fr; gap: 64px; } }
.about__label .kicker { margin-bottom: 12px; }
.about__title { color: var(--slate); font-weight: 400; }
.about__statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 3.3rem); line-height: 1.16; letter-spacing: -.028em;
  max-width: 28ch;
}
.about__statement em { font-style: normal; }
.about__statement .w { color: rgba(16, 19, 20, .3); transition: color .35s var(--ease); }
.about__statement .w.is-lit { color: var(--ink); }
.about__statement em .w.is-lit { color: var(--ember-deep); }

/* Proof stats */
.proof__stats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.2rem); line-height: .92; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--slate); font-size: .95rem; }
@media (min-width: 760px) {
  .proof__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 36px 32px 0 0; border-bottom: 0; }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ==========================================================================
   Services index
   ========================================================================== */
#services-title { max-width: none; }
.sx-list { border-top: 1px solid var(--ink); }
.sx { border-bottom: 1px solid var(--line); }
.sx__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  grid-template-columns: 40px 1fr 44px; grid-template-areas: "n title go" ". tags tags";
  column-gap: 16px; row-gap: 10px;
  padding: 18px 0;
  transition: color .45s var(--ease), padding .6s var(--ease);
}
.sx__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.sx__n { grid-area: n; color: var(--slate); transition: color .45s; }
.sx__title {
  grid-area: title;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem); letter-spacing: -.025em; line-height: 1.08;
}
.sx__tags { grid-area: tags; color: var(--slate); font-size: .66rem; transition: color .45s; display: none; }
.sx__go {
  grid-area: go; justify-self: end; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: background .45s var(--ease), border-color .45s var(--ease), transform .6s var(--ease);
}
.sx__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }

.sx__link:hover, .sx__link:focus-visible { color: var(--paper); }
.sx__link:hover::before, .sx__link:focus-visible::before { transform: scaleY(1); }
.sx__link:hover .sx__n, .sx__link:focus-visible .sx__n { color: var(--ember-light); }
.sx__link:hover .sx__tags, .sx__link:focus-visible .sx__tags { color: var(--paper-dim); }
.sx__link:hover .sx__go, .sx__link:focus-visible .sx__go { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.sx__link:hover .sx__go svg, .sx__link:focus-visible .sx__go svg { transform: rotate(45deg); }

@media (min-width: 900px) {
  .sx__link {
    grid-template-columns: 80px minmax(0, 1fr) auto 56px; grid-template-areas: "n title tags go";
    column-gap: 32px; padding: 34px 0;
  }
  .sx__tags { display: block; text-align: right; }
  .sx__go { width: 52px; height: 52px; }
  .sx__link:hover, .sx__link:focus-visible { padding-inline: 28px; }
}

/* ==========================================================================
   Service chapters (SEO, Social, Paid Ads, Websites, Copywriting)
   ========================================================================== */
.chapter { position: relative; padding-block: var(--section-y); border-top: 1px solid var(--line); }
.chapter.dark { border-top-color: transparent; }
.chapter__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .chapter__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 120px); }
  .chapter__sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
}
.chapter .kicker { margin-bottom: 20px; }
.chapter__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 11vw, 10rem); line-height: .8; letter-spacing: -.035em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  margin-bottom: 28px;
}
.dark .chapter__num { -webkit-text-stroke-color: rgba(255,119,56,.5); }
.chapter__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.02; letter-spacing: -.025em; max-width: 14ch;
}
.chapter__lead { margin-top: 24px; font-size: var(--fs-lead); color: var(--slate); line-height: 1.55; max-width: 34ch; }
.dark .chapter__lead { color: var(--paper-dim); }
.chapter__lead--quote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; letter-spacing: -.015em; max-width: 24ch; }
.chapter__mark { color: var(--ink); background: linear-gradient(transparent 60%, rgba(242,100,25,.3) 60% 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.2s var(--ease) .5s; }
.is-in .chapter__mark, .no-js .chapter__mark { background-size: 100% 100%; }

.chapter__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chapter__tags li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--ink); font-size: .66rem; }
.dark .chapter__tags li { border-color: var(--line-dark); color: var(--paper); }

.roi { display: flex; align-items: center; gap: 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 460px; }
.roi__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); letter-spacing: -.035em; line-height: .85; flex: none; }
.roi__text { font-size: .82rem; line-height: 1.5; color: var(--paper-dim); }
.roi__note { display: block; margin-top: 8px; font-size: .68rem; line-height: 1.4; color: rgba(244, 243, 240, .5); }
.roi__text b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--paper); margin-bottom: 4px; }

/* Items + progress rail */
.chapter__main { position: relative; padding-left: 28px; }
.chapter__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.dark .chapter__rail { background: var(--line-dark); }
.chapter__rail span { position: absolute; inset: 0; background: var(--ember); transform-origin: top; transform: scaleY(var(--cp, 0)); }
.chapter__rail::after {
  content: ""; position: absolute; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember);
  top: calc(var(--cp, 0) * 100%); transform: translateY(-50%); box-shadow: 0 0 0 5px rgba(242,100,25,.15);
}
.chapter__items { display: grid; }
.citem {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line);
}
.citem:first-child { padding-top: 0; }
.dark .citem { border-bottom-color: var(--line-dark); }
.citem__n { padding-top: .7em; color: var(--slate); transition: color .4s; }
.citem__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.12; letter-spacing: -.028em;
  transition: transform .5s var(--ease);
}
.citem p { margin-top: 12px; color: var(--slate); max-width: 44ch; line-height: 1.6; }
.dark .citem p { color: var(--paper-dim); }
.citem.is-current .citem__n { color: var(--ember-deep); }
.dark .citem.is-current .citem__n { color: var(--ember-light); }
@media (hover: hover) { .citem:hover .citem__title { transform: translateX(6px); } }

/* Video chapter: film-strip rail, play/scrub on the current item, running REC timecode */
.cine-rec { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--paper-dim); }
.cine-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: cine-blink 1.2s steps(2) infinite; }
.cine-rec span { color: var(--paper); font-variant-numeric: tabular-nums; }
.chapter--cine:not(.is-open) .cine-rec i { animation-play-state: paused; }

.chapter--cine .chapter__main { padding-left: 48px; }
.chapter--cine .chapter__rail {
  width: 20px; left: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(244,243,240,.28) 0 6px, transparent 6px 16px) left 3px top calc(var(--cp, 0) * -480px) / 4px 100% repeat-y,
    repeating-linear-gradient(to bottom, rgba(244,243,240,.28) 0 6px, transparent 6px 16px) right 3px top calc(var(--cp, 0) * -480px) / 4px 100% repeat-y,
    #08090A;
  border-inline: 1px solid var(--line-dark);
}
.chapter--cine .chapter__rail span { left: 9px; right: 9px; }
.chapter--cine .chapter__rail::after {
  left: -6px; width: 30px; height: 2px; border-radius: 0; box-shadow: 0 0 12px rgba(242,100,25,.6);
}

.chapter--cine .citem__n { position: relative; }
.chapter--cine .citem.is-current .citem__n { color: transparent; }
.chapter--cine .citem.is-current .citem__n::after {
  content: ""; position: absolute; left: 2px; top: calc(.7em + 1px);
  border-left: 9px solid var(--ember); border-block: 6px solid transparent;
  animation: cine-pop .4s cubic-bezier(.34, 1.56, .64, 1);
}
.chapter--cine .citem__body { position: relative; }
.chapter--cine .citem__body::after {
  content: ""; display: block; height: 2px; margin-top: 18px; max-width: 420px;
  background: linear-gradient(var(--ember), var(--ember)) 0 0 / 0% 100% no-repeat, var(--line-dark);
}
.chapter--cine .citem.is-current .citem__body::after { animation: cine-scrub 3.2s linear forwards; }

@keyframes cine-blink { 50% { opacity: 0; } }
@keyframes cine-pop { from { transform: scale(0); } }
@keyframes cine-scrub { to { background-size: 100% 100%, auto; } }

/* Social chapter: engagement-icon rail (like, comment, share, follow), segmented story bar on the current item, live platform ticker */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.social-live { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--slate); }
.social-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.social-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ember); animation: live-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.social-live__window { display: inline-block; height: 1.5em; overflow: hidden; vertical-align: bottom; }
.social-live__track { display: flex; flex-direction: column; color: var(--ink); animation: live-cycle 8s cubic-bezier(.7, 0, .2, 1) infinite; }
.social-live__track span { height: 1.5em; line-height: 1.5em; }
.chapter--social:not(.is-open) .social-live i::after,
.chapter--social:not(.is-open) .social-live__track { animation-play-state: paused; }

.chapter--social .chapter__main { padding-left: 48px; }
.chapter--social .chapter__rail { width: 20px; background: none; }
.chapter--social .chapter__rail::before,
.chapter--social .chapter__rail span {
  content: ""; position: absolute; inset: 0; transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='240' viewBox='0 0 20 240' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 0V17M10 44V77M10 104V137M10 164V197M10 224V240' stroke-width='1'/%3E%3Cpath d='M10 36.5L4.6 31.1a3.4 3.4 0 0 1 5.4-4.3a3.4 3.4 0 0 1 5.4 4.3Z'/%3E%3Cpath d='M4 84h12a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5H9l-3.5 3v-3H4a1.5 1.5 0 0 1-1.5-1.5v-7A1.5 1.5 0 0 1 4 84Z'/%3E%3Cpath d='M3 149.5L17 143L11.5 157.5L9.5 151.5Z M9.5 151.5L17 143'/%3E%3Ccircle cx='8' cy='206' r='3'/%3E%3Cpath d='M2.5 216.5c0-3.2 2.5-5 5.5-5s5.5 1.8 5.5 5M15.5 204v5M13 206.5h5'/%3E%3C/svg%3E") 0 calc(var(--cp, 0) * -480px) / 20px 240px repeat-y;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='240' viewBox='0 0 20 240' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 0V17M10 44V77M10 104V137M10 164V197M10 224V240' stroke-width='1'/%3E%3Cpath d='M10 36.5L4.6 31.1a3.4 3.4 0 0 1 5.4-4.3a3.4 3.4 0 0 1 5.4 4.3Z'/%3E%3Cpath d='M4 84h12a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5H9l-3.5 3v-3H4a1.5 1.5 0 0 1-1.5-1.5v-7A1.5 1.5 0 0 1 4 84Z'/%3E%3Cpath d='M3 149.5L17 143L11.5 157.5L9.5 151.5Z M9.5 151.5L17 143'/%3E%3Ccircle cx='8' cy='206' r='3'/%3E%3Cpath d='M2.5 216.5c0-3.2 2.5-5 5.5-5s5.5 1.8 5.5 5M15.5 204v5M13 206.5h5'/%3E%3C/svg%3E") 0 calc(var(--cp, 0) * -480px) / 20px 240px repeat-y;
}
.chapter--social .chapter__rail::before { background: var(--line-strong); }
.chapter--social .chapter__rail span {
  background: var(--ember);
  clip-path: inset(0 0 calc((1 - var(--cp, 0)) * 100%) 0);
}
.chapter--social .chapter__rail::after { display: none; }

.chapter--social .citem__body::after {
  content: ""; display: block; width: min(220px, 60%); height: 3px; margin-top: 20px; border-radius: 2px;
  background: linear-gradient(var(--ember), var(--ember)) 0 0 / 0% 100% no-repeat, var(--line);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(33.333% - 3px), transparent calc(33.333% - 3px) 33.333%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(33.333% - 3px), transparent calc(33.333% - 3px) 33.333%);
}
.chapter--social .citem.is-current .citem__body::after { animation: story-fill 4.2s linear .3s forwards; }

@keyframes story-fill { to { background-size: 100% 100%, auto; } }
@keyframes live-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes live-cycle {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.5em); }
  50%, 70% { transform: translateY(-3em); }
  75%, 95% { transform: translateY(-4.5em); }
  100% { transform: translateY(-6em); }
}

/* ==========================================================================
   The Stride Method (signature)
   ========================================================================== */
.method { position: relative; overflow: clip; }
.method__sticky { position: relative; padding-block: var(--section-y); }
@media (min-width: 900px) {
  .method.is-pinned { height: 280vh; }
  .method.is-pinned .method__sticky {
    position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center;
    padding-block: calc(var(--nav-h) + 24px) 40px;
  }
}
.method__inner { position: relative; z-index: 1; }

/* Oversized stage word behind the content */
.method__words {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  display: none;
}
.method__word {
  position: absolute; right: -0.04em; bottom: 4%;
  font-family: var(--font-display); font-weight: 800; line-height: .8; letter-spacing: -.035em; text-transform: uppercase;
  font-size: clamp(7rem, 19vw, 19rem);
  color: transparent; -webkit-text-stroke: 1px rgba(244,243,240,.09);
  opacity: 0; transform: translateY(18%);
  transition: opacity .8s var(--ease), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.method__word.is-current { opacity: 1; transform: none; }
.method__word.is-past { transform: translateY(-18%); }
@media (min-width: 900px) { .method__words { display: block; } }

.method__head { display: grid; gap: 0; margin-bottom: clamp(48px, 6vw, 88px); }
.method__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.method__meta .kicker { margin: 0; }
.method__count { color: var(--paper-dim); }
.method__count b { font-weight: 500; color: var(--ember-light); display: inline-block; min-width: 2ch; }
.method__head .section-title { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: none; }
@media (min-width: 960px) {
  .method__head { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 48px; }
  .method__meta { grid-column: 1 / -1; }
}

.method__track { position: relative; --p: 0; }

/* Desktop: ruled route line along the top of the steps */
.method__line { display: none; }
@media (min-width: 900px) {
  .method__line {
    display: block; position: absolute; left: 0; right: 0; top: 0; height: 12px; margin-top: -6px;
    background:
      linear-gradient(rgba(244,243,240,.22), rgba(244,243,240,.22)) 0 50% / 100% 1px no-repeat,
      repeating-linear-gradient(90deg, rgba(244,243,240,.16) 0 1px, transparent 1px 24px) 0 50% / 100% 7px no-repeat;
  }
  .method__fill {
    position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: calc(var(--p) * 100%);
    background: linear-gradient(90deg, rgba(242,100,25,.25), var(--ember));
  }
  .method__runner {
    position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--ember); box-shadow: 0 0 0 6px rgba(242,100,25,.18), 0 0 24px 6px rgba(242,100,25,.35);
  }
}

/* Mobile/tablet: vertical rail */
.method__rail { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.method__rail span { display: block; width: 100%; height: 100%; background: var(--ember); transform-origin: top; transform: scaleY(var(--p)); }
.method__steps { display: grid; gap: 56px; padding-left: 52px; }

.mstep { position: relative; opacity: .38; transition: opacity .6s var(--ease); }
.mstep.is-done { opacity: .7; }
.mstep.is-active { opacity: 1; }
.mstep__pin {
  position: absolute; left: -52px; top: 2px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(244,243,240,.4);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.mstep.is-done .mstep__pin, .mstep.is-active .mstep__pin { background: var(--ember); border-color: var(--ember); }
.mstep.is-active .mstep__pin { box-shadow: 0 0 0 6px rgba(242,100,25,.18); }
.mstep__num { color: var(--paper-dim); transition: color .4s; }
.mstep.is-active .mstep__num { color: var(--ember-light); }
.mstep__title {
  margin-top: 18px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.03em;
}
.mstep p { margin-top: 16px; color: var(--paper-dim); max-width: 32ch; line-height: 1.6; }
.mstep__list { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); max-width: 320px; }
.mstep__list li { padding: 11px 0; border-bottom: 1px solid var(--line-dark); color: var(--paper-dim); font-size: .66rem; display: flex; gap: 10px; align-items: center; }
.mstep__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(244,243,240,.3); transition: background .4s; }
.mstep.is-active .mstep__list li::before { background: var(--ember); }

@media (min-width: 900px) {
  .method__rail { display: none; }
  .method__steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); padding-left: 0; padding-top: 44px; }
  .mstep__pin {
    left: 0; top: -44px; width: 11px; height: 11px; margin: -5.5px 0 0 0; border-color: rgba(244,243,240,.5); z-index: 1;
  }
  .method.is-pinned .mstep__title { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
  .method.is-pinned .mstep__list { margin-top: 18px; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .method.is-pinned .method__head { margin-bottom: 36px; }
  .method.is-pinned .method__head .section-title { font-size: clamp(2.4rem, 4.6vw, 4rem); }
  .method.is-pinned .mstep p { margin-top: 10px; }
  .method.is-pinned .mstep__list li { padding: 8px 0; }
}

/* ==========================================================================
   Performance: vanity vs. value
   ========================================================================== */
.versus {
  display: grid; gap: 40px; padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(56px, 7vw, 96px);
}
@media (min-width: 900px) { .versus { grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); } }
.versus__label { color: var(--slate); margin-bottom: 24px; }
.versus__list { display: grid; gap: 6px; }
.versus__list li {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em;
}
.versus__col--vanity .versus__list li { color: rgba(16,19,20,.3); }
.versus__col--vanity .versus__list span { position: relative; display: inline-block; }
.versus__col--vanity .versus__list span::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 1.5px; background: rgba(16,19,20,.55);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1) calc(.4s + var(--i) * .18s);
}
.versus.is-in .versus__col--vanity span::after { transform: scaleX(1); }
.versus__col--value .versus__list li {
  display: flex; align-items: center; gap: 16px; color: var(--ink);
  opacity: 0; transform: translateX(-14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(1.1s + var(--i) * .15s);
}
.versus__col--value .versus__list li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px rgba(242,100,25,.14); }
.versus.is-in .versus__col--value li { opacity: 1; transform: none; }
.no-js .versus__col--value li { opacity: 1; transform: none; }
.versus__arrow { display: none; }
@media (min-width: 900px) {
  .versus__arrow { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-strong); }
  .versus__arrow svg { width: 26px; height: 26px; fill: none; stroke: var(--ember-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

.mlist { display: grid; }
.mitem { padding: 28px 0 32px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.mitem__n { color: var(--ember-deep); }
.mitem__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.02em; line-height: 1.15; }
.mitem p { color: var(--slate); max-width: 32ch; }
@media (min-width: 700px) { .mlist { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) {
  .mlist { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .mitem { border-bottom: 0; padding: 0 28px 0 0; }
  .mitem + .mitem { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ==========================================================================
   Selected work teaser
   ========================================================================== */
.pw__grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.pw__card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 48px);
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  transition: background .35s var(--ease);
}
.pw__card:hover, .pw__card:focus-visible { background: var(--ink-2); }
.pw__meta { color: var(--paper-dim); }
.pw__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.8rem); letter-spacing: -.025em; line-height: 1.08; max-width: 20ch; }
.pw__sub { color: var(--paper-dim); max-width: 44ch; }
.pw__go { margin-top: auto; padding-top: 16px; color: var(--ember-light); }
.pw__more { margin-top: 0; }
.pw__text { display: flex; flex-direction: column; gap: 16px; }
.pw__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.pw__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.pw__card:hover .pw__media img { transform: scale(1.04); }
.pw__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--ember); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease); }
.pw__play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.pw__card:hover .pw__play { transform: scale(1.1); }
@media (min-width: 720px) {
  .pw__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .pw__card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .pw__card--feature .pw__title { max-width: 16ch; }
  .pw__card:not(.pw__card--feature) { padding: clamp(22px, 2.4vw, 32px); }
  .pw__card:not(.pw__card--feature) .pw__title { font-size: clamp(1.4rem, 2vw, 1.9rem); max-width: 22ch; }
}
@media (min-width: 1100px) {
  .pw__card:not(.pw__card--feature) .pw__title { min-height: 3.24em; }
}
@media (min-width: 720px) {
  .pw__card:last-of-type { grid-column: 1 / -1; }
  .pw__more { grid-column: 1 / -1; margin-top: clamp(8px, 1.5vw, 16px); }
}
@media (min-width: 1100px) {
  .pw__grid { grid-template-columns: repeat(3, 1fr); }
  .pw__card:last-of-type { grid-column: auto; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 10vw, 140px) clamp(56px, 7vw, 96px); }
.cta > .container { position: relative; z-index: 1; }
.cta__mark {
  position: absolute; z-index: 0; right: -8vw; top: 50%; width: min(62vw, 820px); aspect-ratio: 557 / 531; height: auto;
  fill: none; stroke: rgba(244,243,240,.07); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  transform: translate3d(0, calc(-50% + var(--cy, 0px)), 0) rotate(-4deg); pointer-events: none;
}
.cta__glow {
  position: absolute; z-index: 0; width: 44vmax; height: 44vmax; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(242,100,25,.14), rgba(242,100,25,.04) 50%, rgba(242,100,25,0));
  transform: translate(var(--gx, 70vw), var(--gy, 30%)) translate(-50%, -50%);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.cta__head { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .cta__head { grid-template-columns: 1fr auto; gap: 64px; } }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 9vw, 8.8rem); line-height: .95; letter-spacing: -.035em; }
.cta__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.cta__title .line > span { display: inline-block; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.js .cta__title .line > span { transform: translateY(108%); }
.cta__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .cta__title.is-in .line > span { transform: none; }
.js .cta__title.reveal { opacity: 1; transform: none; }
.cta__sub { margin-top: 28px; font-size: var(--fs-lead); color: var(--paper-dim); max-width: 36ch; }

/* Rotating-text orb button */
.cta__orb {
  position: relative; display: grid; place-items: center; flex: none;
  width: clamp(150px, 15vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ember); color: var(--ink); justify-self: start;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .35s var(--ease);
}
@media (min-width: 900px) { .cta__orb { justify-self: end; margin-bottom: 8px; } }
.cta__orb-ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: orb-spin 18s linear infinite; }
.cta__orb-ring text { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .18em; fill: var(--ink); }
.cta__orb-core {
  display: grid; place-items: center; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .35s var(--ease);
}
.cta__orb-core svg { width: 38%; height: 38%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.cta__orb:hover { background: var(--paper); }
.cta__orb:hover .cta__orb-core svg { transform: rotate(45deg); }
.cta__orb:hover .cta__orb-ring { animation-duration: 7s; }
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* Contact rows */
.cta__rows { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-dark); }
.crow { position: relative; border-bottom: 1px solid var(--line-dark); }
.crow__link {
  position: relative; isolation: isolate; display: grid; align-items: center; gap: 8px 24px;
  grid-template-columns: 1fr 44px; grid-template-areas: "label go" "value go";
  padding: 26px 0;
}
.crow__link::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: rgba(244,243,240,.035);
  opacity: 0; transition: opacity .4s var(--ease);
}
.crow__label { grid-area: label; color: var(--paper-dim); }
.crow__value {
  grid-area: value; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 3rem); letter-spacing: -.025em; line-height: 1.05; overflow-wrap: anywhere;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), color .4s var(--ease);
}
.crow__go {
  grid-area: go; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s var(--ease), color .4s;
}
.crow__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.crow__link:hover::before, .crow__link:focus-visible::before { opacity: 1; }
.crow__link:hover .crow__value, .crow__link:focus-visible .crow__value { transform: translateX(12px); color: var(--ember-light); }
.crow__link:hover .crow__go, .crow__link:focus-visible .crow__go { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.crow__link:hover .crow__go svg, .crow__link:focus-visible .crow__go svg { transform: rotate(45deg); }
.crow__copy {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line-dark); background: transparent; color: var(--paper-dim);
  cursor: pointer; transition: color .3s, border-color .3s, background .3s;
}
.crow__copy:hover { color: var(--paper); border-color: rgba(244,243,240,.4); }
.crow__copy.is-done { color: var(--ink); background: var(--ember); border-color: var(--ember); }
@media (min-width: 900px) {
  .crow__link { grid-template-columns: 160px 1fr 56px; grid-template-areas: "label value go"; padding: 34px 0; }
  .crow__go { width: 52px; height: 52px; }
  .crow__copy { right: 76px; }
}
@media (max-width: 600px) {
  .crow__copy { top: 26px; transform: none; right: 56px; padding: 6px 12px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line-dark); padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 16px; color: var(--paper-dim); max-width: 28ch; }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__contact a { color: var(--paper-dim); transition: color .25s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--paper); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px 28px; border-top: 1px solid var(--line-dark); color: var(--paper-dim); }
.footer__base a:hover { color: var(--ember-light); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1.3fr; } }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js:not(.is-loaded) .hero .reveal { opacity: 0; transform: translateY(24px); }
.hero .hero__sub { --d: .45s; }
.hero .hero__actions { --d: .6s; }

/* ==========================================================================
   Preloader (first visit per session)
   ========================================================================== */
.preloader { display: none; }
.is-preloading .preloader {
  display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  /* Failsafe: never trap the page if script.js fails to run */
  animation: preloader-failsafe .6s var(--ease) 6s forwards;
}
.preloader__panel {
  position: absolute; inset: 0; background: var(--ink); color: var(--paper); pointer-events: auto;
  transition: transform 1.25s cubic-bezier(.76, 0, .24, 1);
}
/* Curved trailing edge that follows the panel as it lifts */
.preloader__panel::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: calc(100% - 1px); height: 16vh;
  background: var(--ink); border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleY(0); transform-origin: top; transition: transform 1.25s cubic-bezier(.76, 0, .24, 1);
}
.preloader__glow {
  position: absolute; left: 50%; top: 46%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(242,100,25,.18), rgba(242,100,25,.05) 45%, rgba(242,100,25,0) 100%);
  mix-blend-mode: screen;
  opacity: 0; animation: pl-glow 3.2s ease-in-out .3s infinite alternate;
  pointer-events: none;
}
.preloader__center { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 30px; }
.preloader__mark { width: clamp(76px, 9vw, 112px); height: auto; overflow: visible; }
.preloader__piece {
  fill: var(--paper); fill-opacity: 0;
  stroke: var(--ember); stroke-width: 4; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation-name: pl-draw, pl-fill, pl-join;
  animation-duration: .8s, .6s, 1s;
  animation-timing-function: cubic-bezier(.65, 0, .35, 1), var(--ease), cubic-bezier(.16, 1, .3, 1);
  animation-fill-mode: forwards;
}
.preloader__piece--a { transform: translate(-80px, -80px); animation-delay: .1s, .75s, .1s; }
.preloader__piece--b { transform: translate(80px, 80px); animation-delay: .15s, .8s, .1s; }
.preloader__shine { animation: pl-shine .8s cubic-bezier(.45, 0, .2, 1) 1.15s forwards; }

.preloader__word {
  display: flex; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.9rem, 1.25vw, 1.05rem);
  letter-spacing: .9em; padding-left: .9em;
  animation: pl-track 1.6s cubic-bezier(.16, 1, .3, 1) .6s forwards;
}
.preloader__word span { display: inline-block; transform: translateY(115%); animation: pl-rise .7s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(.65s + var(--i) * .03s); }


.preloader__line { position: relative; display: block; width: 120px; height: 1px; margin-top: -8px; background: rgba(244,243,240,.12); overflow: hidden; opacity: 0; animation: pl-fade .6s var(--ease) .9s forwards; }
.preloader__fill { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(var(--lp, 0)); }

/* Exit: content settles, then the panel lifts away with a curved trailing edge */
.preloader.is-leaving { animation: none; }
.preloader.is-leaving .preloader__center { transition: transform .8s cubic-bezier(.76, 0, .24, 1), opacity .4s var(--ease); transform: translate(-50%, -80%) scale(.94); opacity: 0; }
.preloader.is-leaving .preloader__panel { transform: translateY(calc(-100% - 17vh)); transition-delay: .15s; }
.preloader.is-leaving .preloader__panel::after { transform: scaleY(1); transition-delay: .15s; }

@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes pl-join { to { transform: translate(0, 0); } }
@keyframes pl-rise { to { transform: none; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-track { to { letter-spacing: .42em; padding-left: .42em; } }
@keyframes pl-shine { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(900px); } }
@keyframes pl-glow { from { opacity: .35; transform: scale(.92); } to { opacity: 1; transform: scale(1.04); } }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cta__orb-ring { animation: none; }
  .js .cta__title .line > span { transform: none; }
  .versus__col--value .versus__list li { opacity: 1; transform: none; }
  .versus__col--vanity .versus__list span::after { transform: scaleX(1); }
  .social-live__track { animation: none; }
  .chapter--social .citem.is-current .citem__body::after { animation: none; background-size: 100% 100%, auto; }
  .chapter--cine .citem__body::after { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }

  .preloader__piece { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; transform: none !important; }
  .preloader__word { letter-spacing: .42em; padding-left: .42em; }
  .preloader__shine, .preloader__glow { display: none; }
  .preloader__word span { transform: none; }
  .preloader.is-leaving { opacity: 0; transition: opacity .3s !important; }
  .preloader.is-leaving .preloader__panel { transform: none; }
}


/* ---------- Team ---------- */
.team { margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.team .kicker { margin-bottom: 20px; }
.team__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 32px; }
.team__list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.team__list b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.team__list .mono { color: var(--slate); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; }

/* Core-service (USP) badge */
.usp { display: inline-block; margin-left: 10px; padding: 3px 9px; border: 1px solid var(--ember); border-radius: 100px; color: var(--ember); font-size: .58rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.dark .usp { color: var(--ember-light); border-color: var(--ember-light); }
.sx__title .usp { font-family: var(--font-mono, inherit); margin-left: 12px; }
.kicker__idx { white-space: nowrap; }

/* Logo lockup: icon + wordmark */
.brand { gap: 12px; }
.brand__mark { display: block; flex: none; width: 34px; height: auto; aspect-ratio: 557 / 531; fill: currentColor; }
.footer .brand__mark { width: 42px; }
.nav__links a { white-space: nowrap; }


/* Poster fan (Navadhara features) */
.pfan { position: absolute; inset: 0; display: block; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(242,100,25,.28), transparent 60%), #0A0C0D; }
.pfan img { position: absolute; left: 50%; bottom: -6%; height: 88%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.55); transform-origin: 50% 100%; translate: calc(-50% + (var(--i) - 1.5) * 24%) 0; rotate: calc((var(--i) - 1.5) * 7deg); transition: translate 1.1s var(--ease), rotate 1.1s var(--ease), scale .5s var(--ease), filter .5s ease; transition-delay: calc(var(--i) * .08s); animation: pfan-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.js .pfan img { translate: -50% 0; rotate: 0deg; }
.js .is-in .pfan img { translate: calc(-50% + (var(--i) - 1.5) * 24%) 0; rotate: calc((var(--i) - 1.5) * 7deg); }
.pfan img:hover { scale: 1.06; z-index: 5; filter: brightness(1.08); }
a:hover .pfan img, .feat__visual:hover .pfan img { translate: calc(-50% + (var(--i) - 1.5) * 30%) -2%; rotate: calc((var(--i) - 1.5) * 9deg); }
@keyframes pfan-bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 1.4%; } }
@media (prefers-reduced-motion: reduce) { .pfan img { animation: none; transition: none; } }

.pw__media .pfan img { transform: none !important; }
.feat__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Q4 2026: growth-studio structure ---------- */
/* Recent client work strip */
.clients { border-top: 1px solid var(--line); padding-block: 28px; }
.clients__inner { display: grid; gap: 14px; align-items: center; }
.clients__label { margin: 0; }
.clients__list { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.clients__list a {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: -.015em; display: inline-block; padding-block: 6px; transition: color .25s;
}
.clients__list a:hover, .clients__list a:focus-visible { color: var(--ember-deep); }
@media (min-width: 960px) { .clients__inner { grid-template-columns: 200px 1fr; gap: 32px; } }

.services__more { margin-top: clamp(32px, 5vw, 56px); }

/* Proof cards: challenge / approach / result */
.pw__facts { display: grid; gap: 14px; margin-top: 4px; }
.pw__facts div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.pw__facts dt { color: var(--ember-light); font-size: .68rem; }
.pw__facts dd { margin: 0; color: var(--paper-dim); font-size: .95rem; line-height: 1.5; }
.pw__facts div:last-child dd { color: var(--paper); }

/* Who we work with */
.who__list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.who__item { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); align-content: start; }
.who__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; }
.who__item p { color: var(--slate); max-width: 46ch; }
@media (min-width: 760px) { .who__list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* Team one-liners */
.team__list small { color: var(--slate); font-size: .92rem; line-height: 1.45; }

/* Footer legal links */
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--ember-light); }
.footer__base { flex-wrap: wrap; }

/* Services: pillar bands and per-service brief */
.pband { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) clamp(8px, 2vw, 24px); }
.pband .kicker { margin-bottom: 14px; }
.pband__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); letter-spacing: -.03em; line-height: 1; }
.pband__lead { margin-top: 14px; color: var(--slate); max-width: 44ch; }
.chapter__brief { display: grid; gap: 0; margin: 0 0 clamp(28px, 4vw, 44px); }
.chapter__brief div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.chapter__brief dt { color: var(--ember-deep); font-size: .68rem; }
.chapter__brief dd { margin: 0; font-size: .98rem; line-height: 1.55; }
.dark .chapter__brief div { border-top-color: var(--line-dark); }
.dark .chapter__brief dt { color: var(--ember-light); }
.dark .chapter__brief dd { color: var(--paper-dim); }

/* ---------- Client showcase: scrolling work cards ---------- */
.showcase { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); overflow: hidden; }
.showcase__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.showcase__head .kicker { margin: 0; }
.showcase__lead { color: var(--paper-dim); max-width: 46ch; }
.showcase__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.showcase__track { display: flex; width: max-content; animation: showcase-scroll 70s linear infinite; }
.showcase__viewport:hover .showcase__track, .showcase__viewport:focus-within .showcase__track { animation-play-state: paused; }
.showcase__group { display: flex; gap: clamp(12px, 1.6vw, 20px); padding-right: clamp(12px, 1.6vw, 20px); }
@keyframes showcase-scroll { to { transform: translateX(-50%); } }
.scard { flex: none; width: clamp(200px, 22vw, 280px); height: clamp(280px, 30vw, 380px); }
.scard--wide { width: clamp(300px, 36vw, 540px); }
.scard a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.scard a:hover img, .scard a:focus-visible img { transform: scale(1.06); }
.scard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,20,0) 45%, rgba(16,19,20,.88) 100%); }
.scard__meta { position: absolute; left: 18px; right: 64px; bottom: 16px; display: grid; gap: 4px; }
.scard__meta b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.4rem); letter-spacing: -.02em; line-height: 1.1; }
.scard__meta i { font-style: normal; color: var(--paper-dim); font-size: .62rem; }
.scard__go { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,243,240,.4); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.scard__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scard a:hover .scard__go, .scard a:focus-visible .scard__go { background: var(--ember); border-color: var(--ember); color: var(--ink); transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .showcase__track { animation: none; }
  .showcase__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .showcase__group[aria-hidden="true"] { display: none; }
}


/* Home: services in plain words, grouped under the three pillars */
.svcs { padding-block: clamp(48px, 6vw, 88px); }
.svcs__head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.svcs__head .kicker { margin-bottom: 14px; }
.svcs__head .section-title { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.svcs__head .section-sub { margin: 0; max-width: 38ch; }
@media (min-width: 960px) { .svcs__head { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 64px; } }
.svcp__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 960px) { .svcp__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); } }
.svcp { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 16px; }
.svcp__n { color: var(--ember-deep); }
.svcp__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.svcp__lead { color: var(--slate); margin: 6px 0 14px; }
.svcp__list { border-top: 1px solid var(--line); }
.svcp__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.svcp__icon { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--ember); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svcp__body { display: grid; gap: 2px; }
.svcp__body b { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; transition: color .25s; }
.svcp__body span { color: var(--slate); font-size: .92rem; line-height: 1.45; }
.svcp__go { font-style: normal; color: var(--ember-deep); transition: transform .3s var(--ease); }
.svcp__row:hover, .svcp__row:focus-visible { padding-left: 8px; }
.svcp__row:hover .svcp__body b, .svcp__row:focus-visible .svcp__body b { color: var(--ember-deep); }
.svcp__row:hover .svcp__go, .svcp__row:focus-visible .svcp__go { transform: translateX(4px); }
.svcs__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(24px, 3.5vw, 40px); padding: 18px 0 0; border-top: 1px solid var(--ink); }
.svcs__foot > p:first-child { flex: 1 1 280px; }
.svcs__more { flex-basis: 100%; margin: 0; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.svcs__more a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hero__svc { align-self: center; color: inherit; text-decoration: underline; text-underline-offset: 5px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 4px; }
@media (prefers-reduced-motion: reduce) { .svcp__row, .svcp__go { transition: none; } }

/* ---------- Spacing pass: no doubled padding between neighbouring light sections ---------- */
.about { padding-bottom: clamp(40px, 5vw, 72px); }
.team { margin-top: clamp(32px, 4.5vw, 56px); }
.services.section { padding-bottom: clamp(40px, 5vw, 72px); }
.services__more { margin-top: clamp(24px, 3.5vw, 40px); }
.svcs__head .section-title { max-width: none; white-space: nowrap; }
@media (max-width: 600px) { .svcs__head .section-title { white-space: normal; } }

.svcs__flow { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: clamp(24px, 3.5vw, 40px); color: var(--slate); }
.svcs__flow li { display: flex; align-items: center; }
.svcs__flow li + li::before { content: "\2192"; margin-inline: 12px; color: var(--ember-deep); }
