/* ============================================
   Ark & Atlas Media — Stylesheet
   ============================================ */

/* ============================================
   Themes
   ============================================
   Each palette defines the same semantic tokens.
   The original red-on-black lives under [data-theme="crimson"].
   ============================================ */

:root,
:root[data-theme="garnet"] {
  /* Garnet & Bronze — deep wine-garnet ground, rust midtones, bronze accent. */
  --red: #D58936;            /* bronze — primary accent, CTAs */
  --red-dark: #A44200;       /* rust brown — hover, depth */
  --red-light: #E4A65B;      /* lighter bronze — subtle highlights */
  --bg: #3A0B08;             /* deep garnet, a notch darker than the card */
  --bg-mid: #69140E;          /* dark garnet — section alternates */
  --off-white: #F7EFE3;      /* warm parchment — primary text on dark */
  --cream: #F4E7D2;          /* warm cream — light section bg */
  --muted: #B49A7E;
  --border: rgba(213, 137, 54, 0.3);

  --on-cream-text: #3A0B08;
  --on-cream-muted: rgba(58, 11, 8, 0.7);
  --on-cream-border: rgba(164, 66, 0, 0.3);
  --card-bg: #FFFBF3;
  --input-bg: rgba(247, 239, 227, 0.06);
  --input-bg-focus: rgba(247, 239, 227, 0.1);
  --mission-text: rgba(247, 239, 227, 0.72);
  --header-sub: rgba(247, 239, 227, 0.6);
  --on-card-text: #3A0B08;
  --on-card-muted: rgba(58, 11, 8, 0.7);
  --nav-bg: rgba(58, 11, 8, 0.88);
  --nav-bg-scrolled: rgba(58, 11, 8, 0.96);
}

:root[data-theme="crimson"] {
  /* Crimson & Charcoal — original */
  --red: #C0272D;
  --red-dark: #8B1A1E;
  --red-light: #D94F53;
  --bg: #0F0F0F;
  --bg-mid: #1C1C1C;
  --off-white: #F7F4EF;
  --cream: #EDE8DF;
  --muted: #888880;
  --border: rgba(192, 39, 45, 0.25);

  /* Derived tokens used by section--cream, forms, etc. */
  --on-cream-text: #1C1C1C;
  --on-cream-muted: rgba(28, 28, 28, 0.65);
  --on-cream-border: rgba(192, 39, 45, 0.3);
  --card-bg: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-bg-focus: rgba(255, 255, 255, 0.07);
  --mission-text: rgba(247, 244, 239, 0.65);
  --header-sub: rgba(247, 244, 239, 0.55);
  --on-card-text: #1C1C1C;
  --on-card-muted: rgba(28, 28, 28, 0.65);
  --nav-bg: rgba(15, 15, 15, 0.88);
  --nav-bg-scrolled: rgba(15, 15, 15, 0.96);
}

:root[data-theme="ivory"] {
  /* Ivory & Ink — light magazine, muted oxblood accent.
     Dark sections become warm ivory; accents are a restrained oxblood. */
  --red: #8B2B2F;            /* oxblood, primary accent */
  --red-dark: #5F1E21;
  --red-light: #A6444A;
  --bg: #F4EFE6;             /* ivory (what was #0F0F0F) */
  --bg-mid: #EAE3D6;         /* warm sand */
  --off-white: #1A1613;      /* deep ink — primary "text on dark" */
  --cream: #1A1613;          /* inverted: the "cream section" becomes ink */
  --muted: #6B635A;
  --border: rgba(139, 43, 47, 0.22);

  --on-cream-text: #F4EFE6;        /* when we're on the inverted dark section */
  --on-cream-muted: rgba(244, 239, 230, 0.68);
  --on-cream-border: rgba(244, 239, 230, 0.18);
  --card-bg: #211C18;
  --input-bg: rgba(26, 22, 19, 0.05);
  --input-bg-focus: rgba(26, 22, 19, 0.08);
  --mission-text: rgba(26, 22, 19, 0.7);
  --header-sub: rgba(26, 22, 19, 0.6);
  --on-card-text: #F4EFE6;
  --on-card-muted: rgba(244, 239, 230, 0.7);
  --nav-bg: rgba(244, 239, 230, 0.85);
  --nav-bg-scrolled: rgba(244, 239, 230, 0.95);
}

:root[data-theme="midnight"] {
  /* Midnight & Brass — deep slate-navy with warm brass accent. */
  --red: #B8914A;            /* brass */
  --red-dark: #8C6C33;
  --red-light: #D4B173;
  --bg: #10161D;             /* midnight */
  --bg-mid: #1A222B;
  --off-white: #EDE7DB;      /* parchment */
  --cream: #E8DFCE;          /* warm parchment for light section */
  --muted: #7E8A97;
  --border: rgba(184, 145, 74, 0.28);

  --on-cream-text: #10161D;
  --on-cream-muted: rgba(16, 22, 29, 0.6);
  --on-cream-border: rgba(140, 108, 51, 0.3);
  --card-bg: #F5EEDF;
  --input-bg: rgba(237, 231, 219, 0.05);
  --input-bg-focus: rgba(237, 231, 219, 0.08);
  --mission-text: rgba(237, 231, 219, 0.7);
  --header-sub: rgba(237, 231, 219, 0.58);
  --on-card-text: #10161D;
  --on-card-muted: rgba(16, 22, 29, 0.65);
  --nav-bg: rgba(16, 22, 29, 0.88);
  --nav-bg-scrolled: rgba(16, 22, 29, 0.96);
}

:root[data-theme="verge"] {
  /* Verge — near-black canvas, hazard mint accent, ultraviolet rule. */
  --red: #3cffd0;            /* jelly mint — primary hazard */
  --red-dark: #309875;       /* console mint */
  --red-light: #5200ff;      /* ultraviolet — secondary hazard */
  --bg: #131313;             /* canvas black */
  --bg-mid: #2d2d2d;         /* slate secondary surface */
  --off-white: #ffffff;
  --cream: #f4ed3c;          /* hazard yellow tile for cream section */
  --muted: #949494;
  --border: rgba(60, 255, 208, 0.32);

  --on-cream-text: #131313;
  --on-cream-muted: rgba(19, 19, 19, 0.7);
  --on-cream-border: rgba(19, 19, 19, 0.25);
  --card-bg: #ffffff;        /* hazard-white tile */
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-bg-focus: rgba(255, 255, 255, 0.08);
  --mission-text: rgba(255, 255, 255, 0.78);
  --header-sub: rgba(255, 255, 255, 0.62);
  --on-card-text: #131313;
  --on-card-muted: rgba(19, 19, 19, 0.7);
  --nav-bg: rgba(19, 19, 19, 0.88);
  --nav-bg-scrolled: rgba(19, 19, 19, 0.96);
}

:root[data-theme="tidal"] {
  /* Tidal — deep ocean teal canvas, ember orange accent, cool off-white. */
  --red: #e07840;            /* ember orange — primary accent */
  --red-dark: #b85c28;       /* deep ember — hover, depth */
  --red-light: #f0975a;      /* pale ember — subtle highlights */
  --bg: #0c1e1e;             /* deep ocean */
  --bg-mid: #162e2e;         /* dark teal secondary surface */
  --off-white: #eef4f3;      /* cool off-white */
  --cream: #d8eeeb;          /* teal-tinted cream for light section */
  --muted: #6a9898;
  --border: rgba(224, 120, 64, 0.28);

  --on-cream-text: #0c1e1e;
  --on-cream-muted: rgba(12, 30, 30, 0.65);
  --on-cream-border: rgba(184, 92, 40, 0.3);
  --card-bg: #f0f8f7;
  --input-bg: rgba(238, 244, 243, 0.05);
  --input-bg-focus: rgba(238, 244, 243, 0.09);
  --mission-text: rgba(238, 244, 243, 0.72);
  --header-sub: rgba(238, 244, 243, 0.6);
  --on-card-text: #0c1e1e;
  --on-card-muted: rgba(12, 30, 30, 0.65);
  --nav-bg: rgba(12, 30, 30, 0.88);
  --nav-bg-scrolled: rgba(12, 30, 30, 0.96);
}

:root[data-theme="atelier"] {
  /* Atelier — warm onyx canvas, champagne gold accent, candlelit ivory text. */
  --red: #C9A86A;            /* champagne gold — primary accent */
  --red-dark: #A8863F;       /* burnished gold — depth */
  --red-light: #E2C68C;      /* pale champagne — hover, highlights */
  --bg: #0D0B09;             /* warm onyx */
  --bg-mid: #15120E;         /* deep umber secondary surface */
  --off-white: #F4EFE5;      /* candlelit ivory */
  --cream: #EFE8D9;          /* warm ivory for light section */
  --muted: #8F8678;
  --border: rgba(201, 168, 106, 0.22);

  --on-cream-text: #171310;
  --on-cream-muted: rgba(23, 19, 16, 0.66);
  --on-cream-border: rgba(168, 134, 63, 0.32);
  --card-bg: #FBF7EC;
  --input-bg: rgba(244, 239, 229, 0.05);
  --input-bg-focus: rgba(244, 239, 229, 0.09);
  --mission-text: rgba(244, 239, 229, 0.72);
  --header-sub: rgba(244, 239, 229, 0.6);
  --on-card-text: #171310;
  --on-card-muted: rgba(23, 19, 16, 0.66);
  --nav-bg: rgba(13, 11, 9, 0.86);
  --nav-bg-scrolled: rgba(13, 11, 9, 0.96);
}

/* Atelier — dark ink on gold surfaces (white fails contrast on champagne) */
:root[data-theme="atelier"] .btn-primary,
:root[data-theme="atelier"] .nav-cta,
:root[data-theme="atelier"] .form-submit,
:root[data-theme="atelier"] .sv-badge,
:root[data-theme="atelier"] .ap-tab.is-active {
  color: #14100B;
}
:root[data-theme="atelier"] .btn-primary:hover,
:root[data-theme="atelier"] .nav-cta:hover,
:root[data-theme="atelier"] .form-submit:hover {
  background: var(--red-light);
  color: #14100B;
}

/* ---------- Verge typographic override ----------
   Swap Playfair display headlines to Anton (brutal condensed),
   tighten line-height, and force display caps.
   Space Grotesk (verge body font) is loaded via <link> in index.html. */

:root[data-theme="verge"] body {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
:root[data-theme="verge"] .display,
:root[data-theme="verge"] .hero-headline,
:root[data-theme="verge"] .section-header h2,
:root[data-theme="verge"] .contact-info h2,
:root[data-theme="verge"] .sv-tier-label,
:root[data-theme="verge"] .pillar-title,
:root[data-theme="verge"] .process-detail h3 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.95;
  text-transform: uppercase;
  font-style: normal !important;
}
:root[data-theme="verge"] .display em,
:root[data-theme="verge"] .hero-headline em,
:root[data-theme="verge"] .section-header h2 em,
:root[data-theme="verge"] .contact-info h2 em {
  font-style: normal;
  color: var(--red);
}
:root[data-theme="verge"] .eyebrow,
:root[data-theme="verge"] .nav-links a,
:root[data-theme="verge"] .nav-cta,
:root[data-theme="verge"] .btn,
:root[data-theme="verge"] .form-field label,
:root[data-theme="verge"] .footer-links a,
:root[data-theme="verge"] .process-step-num,
:root[data-theme="verge"] .process-detail-tag,
:root[data-theme="verge"] .sv-badge,
:root[data-theme="verge"] .contact-meta-label {
  font-family: "Space Mono", monospace;
}
:root[data-theme="verge"] .pillar-num,
:root[data-theme="verge"] .nav-cta,
:root[data-theme="verge"] .btn-primary,
:root[data-theme="verge"] .form-submit {
  border-radius: 24px;
}
:root[data-theme="verge"] .sv-card {
  border-radius: 28px;
}
:root[data-theme="verge"] .btn-primary,
:root[data-theme="verge"] .nav-cta,
:root[data-theme="verge"] .form-submit {
  color: #131313;
}
:root[data-theme="verge"] .btn-primary:hover,
:root[data-theme="verge"] .nav-cta:hover,
:root[data-theme="verge"] .form-submit:hover {
  background: var(--red-light);
  color: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ============================================
   Typography helpers
   ============================================ */

.display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--red);
}

.eyebrow--sm {
  font-size: 10px;
  letter-spacing: 4px;
}

.eyebrow--nosuffix::after {
  display: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--red);
  padding: 16px 4px;
  border-bottom: 1px solid var(--red);
}

.btn-ghost:hover {
  color: var(--red-light);
  border-bottom-color: var(--red-light);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav.is-scrolled {
  background: var(--nav-bg-scrolled);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--off-white);
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 14px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.nav-cta:hover {
  background: var(--red-dark);
}

/* Hamburger toggle — hidden until mobile breakpoint */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--off-white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  background: var(--bg);
  padding: 130px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* WebGL mesh gradient canvas — fills the hero, sits behind all content */
#heroShader {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 0;
  pointer-events: none;
  /* Prevent flex sizing from overriding the absolute layout */
  flex: none;
  align-self: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 0;
  align-items: center;
  flex: 1;
  max-width: 1700px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  margin-bottom: 28px;
}
.eyebrow--rule {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.eyebrow--rule::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--red);
}

.hero-headline {
  font-family: "Anton", "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 52px;
  color: var(--off-white);
}
.hero-headline em {
  font-style: normal;
  color: var(--red);
}

.hero-mission {
  border-left: 1px solid var(--red);
  padding-left: 28px;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--mission-text);
  max-width: 640px;
  margin-bottom: 60px;
}

.hero-qualifier {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.4px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin: -36px 0 48px;
  padding-left: 29px; /* aligns with hero-mission border */
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px 18px 36px;
  border-radius: 999px;
  background: var(--red);
  color: #0a0a0a;
  font-family: "Space Mono", "Montserrat", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  min-width: 360px;
  justify-content: space-between;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-pill svg {
  width: 18px;
  height: 18px;
  stroke: #0a0a0a;
}
.btn-pill:hover {
  background: var(--red-light);
}

/* ============================================
   Hero — Orbital ecosystem visualization
   ============================================ */
.hero-orb {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.hero-logo-display {
  width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Theme-aware: invert to black on the light Ivory theme */
:root[data-theme="ivory"] .hero-logo-display {
  filter: invert(1) brightness(0.15);
}
.hero-orb-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.hero-orb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}

.hero-headline em {
  font-style: normal;
  color: var(--red);
}
.hero-orb-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  max-width: 160px;
  height: auto;
  pointer-events: none;
  filter: brightness(1.1);
}

/* Slow rotation of orbital arcs */
.orb-arc {
  filter: drop-shadow(0 0 4px var(--red));
}

.orb-rings {
  filter: drop-shadow(0 0 2px var(--red));
}

/* Icon badges */
.orb-icon-bg {
  fill: #0a0a0a;
  stroke: var(--red);
  stroke-width: 1.2;
}
.orb-icon {
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--red) 70%, transparent));
}

/* Annotation lines */
.orb-anno {
  filter: drop-shadow(0 0 2px var(--red));
}
.orb-anno-text {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  fill: var(--off-white);
}

/* Orbital particles — generated by JS */
.orb-particles circle {
  filter: drop-shadow(0 0 1.5px var(--red));
}

/* Pulsing core glow */
.orb-core circle:first-child {
  filter: drop-shadow(0 0 12px color-mix(in oklab, var(--red) 70%, transparent));
}

/* ============================================
   Hero — Telemetry status strip
   ============================================ */
.hero-status {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 60px;
  max-width: 1600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.status-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.status-cell:last-child { border-right: none; }
.status-label {
  font-family: "Space Mono", "Montserrat", monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.status-value {
  font-family: "Space Mono", "Montserrat", monospace;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Mono", "Montserrat", monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  z-index: 3;
}
.hero-scroll svg { width: 12px; height: 12px; opacity: 0.7; }
.hero-scroll::before { content: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-orb { max-width: 540px; margin: 0 auto; justify-self: center; }
  .hero-logo-display { width: 360px; }
  .hero-status { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .status-cell:nth-child(2) { border-right: none; }
  .btn-pill { min-width: 0; width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 24px 32px; }
  .hero-status { grid-template-columns: 1fr; }
  .status-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .status-cell:last-child { border-bottom: none; }
}

/* ============================================
   Social Proof — Stats Strip
   ============================================ */

.stats-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 32px;
  gap: 6px;
}

.stat-number {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1;
  color: var(--off-white);
  letter-spacing: 0.02em;
}

/* .stat-number--est and .stat-year removed — replaced by count-up stat */

.stat-accent {
  color: var(--red);
}

.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-cell {
    padding: 36px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-cell:nth-child(even) { border-right: none; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 600px) {
  .stats-strip { padding: 0 24px; }
}

/* ============================================
   Section shell
   ============================================ */

.section {
  padding: 140px 60px;
}

.section--mid {
  background: var(--bg-mid);
}

.section--cream {
  background: var(--cream);
  color: var(--on-cream-text);
}

.section-header {
  max-width: 820px;
  margin-bottom: 100px;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.1;
  margin: 28px 0 24px;
  letter-spacing: -0.01em;
}

.section-header h2 em {
  font-style: italic;
}

.section-header p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--header-sub);
  max-width: 620px;
}

.section--cream .section-header p {
  color: var(--on-cream-muted);
}

.section--cream .eyebrow {
  color: var(--red-dark);
}

.section--cream .eyebrow::after {
  background: var(--red-dark);
}

/* ============================================
   Approach — Tabbed Feature Section
   ============================================ */

/* Centre the header and tab bar within the approach section */
.ap-section .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ap-section .section-header p {
  margin-left: auto;
  margin-right: auto;
}

/* Tab pill bar — full width */
.ap-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  background: color-mix(in oklab, var(--off-white) 4%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  width: 100%;
  margin: 0 auto 20px;
}

.ap-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.ap-tab svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.22s ease;
}

.ap-tab:hover {
  color: var(--off-white);
}

.ap-tab.is-active {
  background: var(--red);
  color: var(--off-white);
}

.ap-tab.is-active svg {
  opacity: 1;
}

/* Outer panel wrapper */
.ap-panel-wrap {
  border-radius: 20px;
  background: color-mix(in oklab, var(--off-white) 4%, var(--bg));
  border: 1px solid var(--border);
  padding: 56px 64px;
  overflow: hidden;
}

/* Individual panels */
.ap-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ap-panel.is-active {
  display: grid;
}

/* Left — text side */
.ap-panel-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ap-panel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.1;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.ap-panel-desc {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 500px;
}

.ap-panel-cta {
  width: fit-content;
  margin-top: 6px;
}

/* Right — visual side */
.ap-visual {
  aspect-ratio: 1;
  max-width: 340px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--red) 6%, var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  overflow: hidden;
  justify-self: center;
  width: 100%;
}

.ap-vis-svg {
  width: 72%;
  height: 72%;
}

/* ── Approach — full-width tabs ── */
.ap-tab {
  flex: 1;
  justify-content: center;
}

/* ── Approach — deeper panel card ── */
.ap-panel-wrap {
  background: color-mix(in oklab, var(--off-white) 3%, var(--bg));
  border-color: color-mix(in oklab, var(--red) 18%, var(--border));
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--off-white) 5%, transparent),
              0 8px 40px color-mix(in oklab, var(--red) 6%, transparent);
}

/* ── Approach — ambient glow behind visual ── */
.ap-visual {
  position: relative;
}
.ap-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 55%,
    color-mix(in oklab, var(--red) 22%, transparent) 0%,
    transparent 68%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.ap-vis-svg {
  position: relative;
  z-index: 1;
}

/* ── Approach — SVG animation keyframes ── */
@keyframes ap-radar-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ap-blip-pulse {
  0%, 100% { opacity: 0.12; transform: scale(0.55); }
  50%       { opacity: 1;    transform: scale(1);    }
}

@keyframes ap-conn-draw {
  from { stroke-dashoffset: var(--ap-len, 200); opacity: 0.05; }
  to   { stroke-dashoffset: 0; opacity: 0.38; }
}

@keyframes ap-node-pop {
  0%   { opacity: 0; transform: scale(0);   }
  65%  { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1);   }
}

@keyframes ap-node-pulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1;   }
}

@keyframes ap-bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes ap-trend-draw {
  from { stroke-dashoffset: 200; opacity: 0;   }
  to   { stroke-dashoffset: 0;   opacity: 0.85; }
}

@keyframes ap-dot-appear {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Approach — radar panel ── */
.ap-panel.is-active .ap-radar-sweep {
  transform-box: view-box;
  transform-origin: 110px 110px;
  animation: ap-radar-rotate 7s linear infinite;
}

.ap-panel.is-active .ap-blip {
  transform-box: fill-box;
  transform-origin: center;
  animation: ap-blip-pulse 2.8s ease-in-out infinite;
  animation-delay: var(--ap-delay, 0s);
}

/* ── Approach — node graph panel ── */
.ap-panel.is-active .ap-conn {
  stroke-dasharray: var(--ap-len, 200);
  stroke-dashoffset: var(--ap-len, 200);
  animation: ap-conn-draw 0.75s ease forwards;
  animation-delay: var(--ap-delay, 0s);
}

.ap-panel.is-active .ap-node {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation:
    ap-node-pop   0.5s ease forwards,
    ap-node-pulse 3s   ease-in-out infinite 0.5s;
  animation-delay: var(--ap-delay, 0s), var(--ap-delay, 0s);
}

/* ── Approach — bar chart panel ── */
.ap-panel.is-active .ap-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: ap-bar-grow 0.65s cubic-bezier(.2,.8,.3,1) forwards;
  animation-delay: var(--ap-delay, 0s);
}

.ap-panel.is-active .ap-trend {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  opacity: 0;
  animation: ap-trend-draw 1s ease forwards;
  animation-delay: 0.45s;
}

.ap-panel.is-active .ap-trend-arrow {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  opacity: 0;
  animation: ap-trend-draw 0.35s ease forwards;
  animation-delay: 1.35s;
}

.ap-panel.is-active .ap-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: ap-dot-appear 0.3s ease forwards;
  animation-delay: var(--ap-delay, 0.5s);
}

.ap-panel.is-active .ap-dot-final {
  animation:
    ap-dot-appear  0.3s ease forwards,
    ap-blip-pulse  2s   ease-in-out infinite 1s;
}

/* ============================================
   Work Accordion
   ============================================ */

.wk-section-header {
  padding: 48px 60px 0;
}

.wk-accordion {
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.wk-item {
  border-bottom: 1px solid var(--border);
}

.wk-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--off-white);
  transition: background 0.22s ease;
  gap: 24px;
}

.wk-header:hover {
  background: color-mix(in oklab, var(--off-white) 3%, transparent);
}

.wk-item.is-open .wk-header {
  background: color-mix(in oklab, var(--off-white) 2%, transparent);
}

.wk-header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.wk-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  opacity: 0.6;
  flex-shrink: 0;
}

.wk-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.wk-title {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  color: var(--off-white);
  letter-spacing: 0.04em;
  transition: color 0.22s ease;
}

.wk-header:hover .wk-title,
.wk-item.is-open .wk-title {
  color: var(--red);
}

.wk-gold {
  color: var(--red);
}

.wk-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.wk-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.wk-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

.wk-chevron {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), color 0.22s ease;
  flex-shrink: 0;
}

.wk-item.is-open .wk-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

/* Collapsible body */
.wk-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s cubic-bezier(.4,0,.2,1);
}

.wk-body-inner {
  padding: 0 60px 48px;
}

/* Strip nav inside accordion body */
.wk-strip-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

/* ============================================
   Process
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Step list ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 20px 28px 0;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}

.process-step:first-child {
  border-top: 1px solid var(--border);
}

.process-step:hover {
  background: color-mix(in oklab, var(--red) 4%, transparent);
}

.process-step.is-active {
  background: color-mix(in oklab, var(--red) 7%, transparent);
}

/* Left node: big number + vertical connector */
.process-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  width: 52px;
}

.process-step-num {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--red) 30%, transparent);
  transition: color 0.25s ease;
  display: block;
}

.process-step.is-active .process-step-num {
  color: var(--red);
}

.process-step-connector {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin-top: 6px;
}

/* Right body: header row + desc */
.process-step-body {
  flex: 1;
  padding-top: 8px;
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.process-step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--off-white);
}

.process-step-badge {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: color-mix(in oklab, var(--red) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--red) 25%, transparent);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.process-step-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Detail panel ── */
.process-detail {
  position: sticky;
  top: 120px;
  background: color-mix(in oklab, var(--red) 6%, var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.process-detail.is-fading {
  opacity: 0;
}

/* Ghost number — large background decoration */
.process-detail-ghost {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: 160px;
  line-height: 1;
  color: color-mix(in oklab, var(--red) 8%, transparent);
  position: absolute;
  top: -20px;
  right: -10px;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

/* Top row: tag + badge */
.process-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-detail-tag {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-block;
}

.process-detail-badge {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  background: color-mix(in oklab, var(--off-white) 8%, transparent);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
}

.process-detail h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--off-white);
  position: relative;
}

.process-detail-summary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mission-text);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
}

.process-detail li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.process-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.process-detail-cta {
  position: relative;
  width: fit-content;
}

/* ============================================
   Services
   ============================================ */

/* ── Service tier grid ── */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ── Base card ── */
.sv-card {
  background: var(--card-bg);
  border: 1px solid var(--on-cream-border);
  border-radius: 20px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sv-card:hover {
  border-color: color-mix(in oklab, var(--red) 40%, var(--on-cream-border));
  box-shadow: 0 20px 48px -16px color-mix(in oklab, var(--red) 18%, transparent);
  transform: translateY(-4px);
}

/* ── Featured card ── */
.sv-card--featured {
  border-color: var(--red);
  box-shadow: 0 24px 56px -16px color-mix(in oklab, var(--red) 28%, transparent);
  transform: translateY(-8px);
}

/* When the card reveals on scroll, settle at the lifted position
   (more specific than .reveal.is-visible, so the lift survives). */
.sv-card--featured.reveal.is-visible {
  transform: translateY(-8px);
}

.sv-card--featured:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 28px 64px -16px color-mix(in oklab, var(--red) 36%, transparent);
}

/* Top row: tier label + icon */
.sv-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.sv-tier-label {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--on-card-text);
}

.sv-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.sv-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  flex-shrink: 0;
  opacity: 0.9;
}

/* Price block */
.sv-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--on-cream-border);
}

.sv-price-from {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-card-muted);
  opacity: 0.7;
}

.sv-price-num {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--on-card-text);
}

.sv-price-per {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--on-card-muted);
  opacity: 0.7;
}

/* Outcome quote */
.sv-outcome {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--on-card-text);
  margin-bottom: 14px;
}

/* Description */
.sv-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-card-muted);
  margin-bottom: 28px;
}

/* Deliverables list */
.sv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.sv-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--on-card-muted);
  padding-left: 20px;
  position: relative;
}

.sv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.sv-list li:first-child {
  color: color-mix(in oklab, var(--red) 70%, var(--on-card-muted));
  font-weight: 500;
}

/* Footer CTA */
.sv-card-footer {
  margin-top: auto;
  padding-top: 4px;
}

.sv-card-footer .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* btn-outline variant for cream sections */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--on-cream-border);
  color: var(--on-card-text);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: color-mix(in oklab, var(--red) 5%, transparent);
}

/* ============================================
   Contact
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin: 28px 0 28px;
  letter-spacing: -0.01em;
}

.contact-info > p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mission-text);
  max-width: 480px;
  margin-bottom: 56px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.contact-meta-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: baseline;
}

.contact-meta-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.contact-meta-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--off-white);
}

/* Form */

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 16px 18px;
  color: var(--off-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(136, 136, 128, 0.6);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  background: var(--input-bg-focus);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Montserrat', sans-serif;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23C9A86A' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-field select option {
  background: var(--bg);
  color: var(--off-white);
}

.form-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--red-dark);
}

.form-success {
  display: none;
  padding: 32px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  color: var(--red);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form.is-submitted .form-field,
.form.is-submitted .form-submit {
  display: none;
}

.form.is-submitted .form-success {
  display: block;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ============================================
   Reveal animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero sequenced entrance ---- */
.hero-seq {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--seq, 0) * 140ms + 120ms);
}
.hero.is-loaded .hero-seq {
  opacity: 1;
  transform: translateY(0);
}
/* The vertical rule above "Scroll" draws itself in */
.hero-scroll::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1) 1100ms;
}
.hero.is-loaded .hero-scroll::before {
  transform: scaleY(1);
}

/* ---- Magnetic buttons ---- */
.magnetic {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), background 0.3s ease, color 0.3s ease;
}

/* ---- Animated process panel (height-morphing) ---- */
.process-detail {
  overflow: hidden;
  transition: height 0.55s cubic-bezier(.2,.7,.2,1), background 0.3s ease;
}
.process-detail-body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.process-detail.is-morphing .process-detail-body {
  opacity: 0;
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-seq,
  .hero-scroll::before,
  .magnetic,
  .process-detail,
  .process-detail-body,
  .reveal {
    transition: none !important;
    transform: none !important;
  }
  .hero-seq { opacity: 1; }
}

/* ============================================
   Mobile
   ============================================ */

@media (max-width: 900px) {
  /* Approach tabs — scrollable pill bar (nowrap content must not widen the page) */
  .ap-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ap-tabs::-webkit-scrollbar {
    display: none;
  }
  .ap-tab {
    flex: 0 0 auto;
  }

  /* Approach tabs — single column */
  .ap-panel.is-active {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Process steps — let title + badge wrap instead of overflowing */
  .process-step-header {
    flex-wrap: wrap;
  }

  /* Work accordion — drop the count tag, keep the chevron */
  .wk-tag {
    display: none;
  }

  .ap-panel-wrap {
    padding: 36px 28px;
  }

  .ap-visual {
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  .sv-grid {
    grid-template-columns: 1fr;
  }

  .sv-card--featured {
    transform: none;
  }

  .sv-card--featured:hover {
    transform: translateY(-4px);
  }

  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-detail {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  /* Push the hamburger to the far right; CTA sits beside it */
  .nav-cta {
    margin-left: auto;
    margin-right: 8px;
  }

  /* Links collapse into a dropdown panel below the bar */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-headline {
    font-size: 44px;
  }

  .hero-ctas {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn,
  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 80px 24px;
  }

  .section-header {
    margin-bottom: 60px;
  }

  .pillar {
    padding: 40px 24px;
  }

  .process-detail {
    padding: 32px 24px;
  }

  .contact-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* ============================================
   Theme-specific logo treatment
   ============================================ */

/* The logo art is white on transparent. On ivory (light) nav/footer/hero
   it becomes invisible — invert to near-black for those surfaces. */
:root[data-theme="ivory"] .nav-logo img,
:root[data-theme="ivory"] .footer-logo img {
  filter: invert(1) brightness(0.15);
}

/* ============================================
   Tweaks Panel
   ============================================ */

.tweaks-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 201;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tweaks-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}

.tweaks-toggle svg {
  width: 16px;
  height: 16px;
}

.tweaks {
  position: fixed;
  right: 20px;
  bottom: 74px;
  z-index: 200;
  width: 280px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  padding: 20px;
  display: none;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.tweaks.is-visible {
  display: block;
}

.tweaks-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--off-white);
  margin-bottom: 4px;
}

.tweaks-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.tweaks-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tweak-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--off-white);
}

.tweak-option:hover {
  border-color: var(--red);
}

.tweak-option.is-active {
  border-color: var(--red);
  background: color-mix(in oklab, var(--red) 10%, transparent);
}

.tweak-swatches {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.tweak-sw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.tweak-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   Showcase Section — Brand Campaigns & Product World
   ============================================ */

.sc {
  background: var(--bg);
  color: var(--off-white);
  overflow: hidden;
  padding: 0 60px;
}

.sc-gold { color: var(--red); }

.sc-part {
  padding: 80px 0 60px;
}

.sc-header {
  padding: 0;
  margin-bottom: 48px;
}

.sc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sc-header-row .sc-eyebrow {
  margin-bottom: 0;
}

.sc-strip-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}


.sc-arrow {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.sc-arrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sc-arrow:hover:not(:disabled) {
  border-color: var(--red);
  background: color-mix(in oklab, var(--red) 10%, transparent);
}

.sc-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.sc-eyebrow {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.sc-heading {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.05em;
  color: var(--off-white);
  margin: 16px 0 6px;
}

.sc-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

/* ---- Narrative tagline ---- */

.sc-narrative {
  text-align: center;
  padding: 48px 60px 36px;
  border-top: 1px solid var(--border);
}

.sc-narrative-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---- Campaign strip ---- */

.sc-strip-wrap {
  overflow: hidden;
}

.sc-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.sc-strip:active { cursor: grabbing; }
.sc-strip::-webkit-scrollbar { display: none; }

/* ---- Product grid ---- */

.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* ---- Base card ---- */

.sc-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-mid);
  display: block;
  border-radius: 10px;
}

.sc-card--wide {
  flex: 0 0 calc(33.333% - 2px);
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}

.sc-card--sq {
  aspect-ratio: 1 / 1;
}

.sc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94),
              filter 0.6s ease;
  filter: brightness(0.88);
}

.sc-card--sq img {
  filter: brightness(0.85) saturate(0.75);
}

.sc-card--wide:hover img {
  transform: scale(1.04);
  filter: brightness(1.0);
}

.sc-card--sq:hover img {
  transform: scale(1.06);
  filter: brightness(1.0) saturate(1.0);
}

/* ---- Campaign card details ---- */

.sc-card-index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  color: color-mix(in oklab, var(--off-white) 65%, transparent);
  z-index: 3;
  pointer-events: none;
}

/* Discipline tag — top-left pill on campaign cards */
.sc-card-discipline {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 4px 11px;
  border-radius: 20px;
  z-index: 3;
  pointer-events: none;
}

/* Hover layer — "View ↗" pill centres over card */
.sc-card-hover-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 5;
  pointer-events: none;
}

.sc-card:hover .sc-card-hover-layer {
  opacity: 1;
}

.sc-view-pill {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in oklab, var(--red) 90%, black);
  padding: 9px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  transform: translateY(6px) scale(0.94);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1);
  pointer-events: none;
}

.sc-card:hover .sc-view-pill {
  transform: translateY(0) scale(1);
}

.sc-card-brand {
  font-family: 'Bebas Neue', 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--off-white);
  margin: 0 0 4px;
  line-height: 1;
}

.sc-card-tag {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: color-mix(in oklab, var(--off-white) 65%, transparent);
  margin: 0;
}

/* ---- Product card details ---- */

.sc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(0, 0, 0, 0.72);
  padding: 4px 10px;
  border: 1px solid var(--border);
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Brand name + tagline — always visible at bottom */
.sc-card-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.sc-card-bottom .sc-card-brand {
  font-size: 17px;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

.sc-card-bottom .sc-card-tag {
  font-size: 10px;
  letter-spacing: 0.5px;
}


/* ---- Bento variants ---- */
.sc-card--feature {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.sc-card--banner {
  grid-column: span 3;
  aspect-ratio: 16 / 5;
}

/* ---- Strip progress bar ---- */
.sc-progress-wrap {
  height: 2px;
  background: color-mix(in oklab, var(--off-white) 10%, transparent);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.sc-progress-bar {
  height: 100%;
  width: 16%;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.2s ease;
}

/* ---- Work section footer CTA ---- */
.sc-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 72px 60px 80px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.sc-footer-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
}

.sc-footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.1;
  color: var(--off-white);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.sc-footer-heading em {
  font-style: italic;
  color: var(--red);
}

.sc-footer-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 40px;
}

.sc-footer-btn {
  font-size: 13px;
  padding: 14px 32px;
  letter-spacing: 1px;
}

/* ---- Divider ---- */

.sc-divider {
  display: flex;
  align-items: center;
  padding: 20px 60px;
}

.sc-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sc-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 18px;
  flex-shrink: 0;
  box-shadow: 0 0 10px color-mix(in oklab, var(--red) 55%, transparent);
}

/* ---- Footer strip ---- */

.sc-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  border-top: 1px solid var(--border);
  margin-top: 3px;
}

.sc-footer-left {
  font-family: 'Bebas Neue', 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--muted);
}

.sc-footer-right {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .sc { padding: 0 24px; }
  .sc-header    { padding: 0; }
  .sc-divider   { padding: 16px 24px; }
  .sc-footer-strip { padding: 14px 24px; }

  .sc-card--wide { flex: 0 0 80vw; }

  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-card--feature { grid-column: span 2; aspect-ratio: 16/9; }
  .sc-card--banner  { grid-column: span 2; aspect-ratio: 16/7; }
  .sc-footer { padding: 56px 24px 64px; }
}

@media (max-width: 600px) {
  .sc-part { padding: 56px 0 40px; }
  .sc-card--wide { flex: 0 0 88vw; }
}


/* ══════════════════════════════════════════════════════════════════════════
   Campaign Concepts / Storyboards
   ══════════════════════════════════════════════════════════════════════════ */

.sb-section {
  background: var(--bg);
  padding: 100px 60px;
}

.sb-header {
  margin-bottom: 56px;
}

.sb-section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  letter-spacing: 0.05em;
  color: var(--off-white);
  line-height: 0.92;
  margin: 16px 0 6px;
}

.sb-accent { color: var(--red); }

.sb-sub-serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.sb-section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0;
}

/* ── Carousel ── */

.sb-carousel {
  position: relative;
  overflow: hidden;
}

.sb-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.sb-slide {
  flex: 0 0 100%;
}

.sb-arrow {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.sb-arrow--prev { left: 20px; }
.sb-arrow--next { right: 20px; }

.sb-arrow:hover { border-color: var(--red); background: color-mix(in oklab, var(--red) 12%, var(--bg-mid)); }
.sb-arrow:disabled { opacity: 0.25; cursor: default; }

.sb-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 0;
}

.sb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sb-dot--active {
  background: var(--red);
  transform: scale(1.4);
}

/* ── Card ── */

.sb-card-img-wrap {
  overflow: hidden;
  width: 100%;
}

.sb-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.sb-slide:hover .sb-card-image {
  filter: brightness(1);
  transform: scale(1.02);
}

.sb-card-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
}

.sb-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 4px;
}

.sb-card-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.sb-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.sb-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sb-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0.5px solid var(--border);
  padding: 3px 10px;
}

.sb-card-right {
  text-align: right;
  flex-shrink: 0;
  padding-left: 2rem;
}

.sb-card-credit {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.sb-credit-accent { color: var(--red); }

.sb-card-frames {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .sb-section { padding: 64px 24px; }
  .sb-card-body { flex-direction: column; gap: 16px; }
  .sb-card-right { text-align: left; padding-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Case Study Section — SJ Apple Group
   Distinct from Brand Campaigns (scroll strip) and Product World (equal grid):
   uses a bento layout with asymmetric panels + editorial text overlays
   ══════════════════════════════════════════════════════════════════════════ */

.cs-section {
  background: var(--bg-mid);
  overflow: hidden;
  padding: 0 60px;
}

/* ── Running header strip ── */

.cs-header-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cs-strip-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
}

.cs-strip-dash {
  color: var(--border);
  font-size: 11px;
}

.cs-strip-client {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--off-white);
}

.cs-strip-scope {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.cs-strip-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cs-strip-year {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ── Bento grid ── */

/* ── Carousel ── */

.cs-carousel {
  position: relative;
  overflow: hidden;
}

.cs-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.cs-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cs-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0.97);
  transition: filter 0.6s ease;
}

.cs-slide:hover img {
  filter: brightness(1.0);
}

/* ── Arrows ── */

.cs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.cs-arrow--prev { left: 20px; }
.cs-arrow--next { right: 20px; }

.cs-arrow:hover { border-color: var(--red); background: color-mix(in oklab, var(--red) 12%, var(--bg-mid)); }
.cs-arrow:disabled { opacity: 0.25; cursor: default; }

/* ── Dots ── */

.cs-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cs-dot--active {
  background: var(--red);
  transform: scale(1.4);
}

/* ── Text overlays ── */

.cs-panel-ink {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 52%);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.cs-panel-ink--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
}

.cs-panel-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-panel-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.12em;
}

.cs-panel-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

.cs-panel-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5.5vw, 80px);
  color: var(--off-white);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin: 0;
}

/* ── Project footer ── */

/* ── Case study intro: challenge + metrics ── */

.cs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.cs-intro-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.cs-intro-text {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}

.cs-intro-challenge {
  display: flex;
  flex-direction: column;
}

.cs-intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.cs-intro-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.cs-intro-metric:last-child {
  border-right: none;
}

.cs-intro-metric-val {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: clamp(36px, 3.5vw, 54px);
  line-height: 1;
  color: var(--off-white);
  letter-spacing: 0.02em;
}

.cs-intro-accent {
  color: var(--red);
}

.cs-intro-metric-key {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Accent outcome value in project footer */
.cs-pf-val--accent {
  color: var(--red);
}

.cs-project-footer {
  display: flex;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  gap: 0;
}

.cs-pf-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 44px;
}

.cs-pf-key {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.cs-pf-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--off-white);
}

.cs-pf-sep {
  width: 1px;
  height: 34px;
  background: var(--border);
  margin-right: 44px;
  flex-shrink: 0;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .cs-slide { aspect-ratio: 16 / 9; }
  .cs-header-strip,
  .cs-project-footer { padding: 16px 0; }
  .cs-section { padding: 0 24px; }
  .cs-panel-ink { padding: 24px; }
  .cs-project-footer { flex-wrap: wrap; gap: 16px; }
  .cs-pf-sep { display: none; }
  .cs-pf-item { padding-right: 0; width: 100%; }
  .cs-intro { grid-template-columns: 1fr; gap: 32px; }
  .cs-intro-metrics { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Founders
   ══════════════════════════════════════════════════════════════════════════ */

.founders-section {
  background: var(--bg);
}

.founders-header {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}

.founders-header .eyebrow {
  display: inline-flex;
}

.founders-story {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 28px;
}

/* 3-column card grid */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
}

.founder-card {
  background: color-mix(in oklab, var(--off-white) 4%, var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.founder-card:hover {
  border-color: color-mix(in oklab, var(--red) 50%, transparent);
}

/* Photo placeholder */
.founder-photo {
  position: relative;
  aspect-ratio: 1;
  background: color-mix(in oklab, var(--red) 8%, var(--bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.founder-initials {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: 72px;
  color: color-mix(in oklab, var(--red) 35%, transparent);
  line-height: 1;
  letter-spacing: 0.05em;
  user-select: none;
}

.founder-photo-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted) 50%, transparent);
}

/* Text content */
.founder-info {
  padding: 32px 30px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.founder-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--off-white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.founder-title {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
}

.founder-bio {
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  flex: 1;
  margin-bottom: 28px;
}

/* Experience stat at card bottom */
.founder-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.founder-stat-num {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: 36px;
  line-height: 1;
  color: var(--off-white);
  letter-spacing: 0.03em;
}

.founder-accent {
  color: var(--red);
}

.founder-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 1000px) {
  .founders-grid { grid-template-columns: 1fr; max-width: 520px; }
  .founders-header { margin-bottom: 56px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Testimonials
   ══════════════════════════════════════════════════════════════════════════ */

.tm-section { padding-top: 100px; padding-bottom: 100px; }

.tm-header {
  text-align: center;
  margin-bottom: 64px;
}

.tm-heading {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 52px);
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.tm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tm-card:hover {
  border-color: color-mix(in oklab, var(--red) 60%, transparent);
  transform: translateY(-4px);
}

/* Large decorative open-quote */
.tm-open-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  line-height: 0.8;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
  opacity: 0.7;
}

.tm-body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tm-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--off-white);
  margin: 0 0 28px;
  flex: 1;
}

.tm-attribution {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.tm-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  margin: 0 0 4px;
}

.tm-role {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin: 0;
}

/* Result strip at card bottom */
.tm-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: color-mix(in oklab, var(--red) 8%, transparent);
  border-top: 1px solid var(--border);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.tm-result svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .tm-grid { grid-template-columns: 1fr; max-width: 480px; }
  .tm-section { padding-top: 64px; padding-bottom: 64px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Premium layer — texture, motion, and micro-interaction upgrades
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Film grain overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 9000;
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 300;
  pointer-events: none;
}

/* ── Selection & focus ── */
::selection {
  background: var(--red);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ── Typography polish ── */
.display,
.section-header h2,
.sc-footer-heading,
.contact-info h2 {
  text-wrap: balance;
}
.stat-number,
.cs-intro-metric-val,
.founder-stat-num {
  font-variant-numeric: tabular-nums;
}

/* ── Hero — dynamic viewport + masked line reveal ── */
.hero {
  min-height: 100dvh;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em; /* keep descenders inside the mask */
  margin-bottom: -0.08em;
}
.hero-line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 1.1s cubic-bezier(.16,.84,.26,1);
}
.hero-line:nth-child(1) .hero-line-inner { transition-delay: 0.25s; }
.hero-line:nth-child(2) .hero-line-inner { transition-delay: 0.4s; }
.hero.is-loaded .hero-line-inner {
  transform: translateY(0);
}

/* ── Nav — animated underline + current-section state ── */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.is-current {
  color: var(--off-white);
}
.nav-links a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
@media (max-width: 768px) {
  .nav-links a::after { display: none; }
}

/* ── Buttons — pressed feedback + arrow nudge ── */
.btn:active,
.nav-cta:active,
.form-submit:active,
.sc-arrow:active:not(:disabled),
.sb-arrow:active:not(:disabled),
.cs-arrow:active:not(:disabled) {
  transform: scale(0.97);
}
.btn-pill svg,
.btn .arrow {
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1);
}
.btn-pill:hover svg {
  transform: translate(2px, -2px);
}

/* ── Marquee ribbon ── */
.marquee {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-track > * {
  margin-right: 56px;
  flex-shrink: 0;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.mq {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-size: clamp(26px, 3.2vw, 46px);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--off-white);
  white-space: nowrap;
  text-transform: uppercase;
}
.mq-outline {
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in oklab, var(--red) 85%, transparent);
}
.mq-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px color-mix(in oklab, var(--red) 55%, transparent);
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ── Cursor-tracked spotlight on cards ── */
.sv-card::after,
.tm-card::after,
.founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--red) 13%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.tm-card,
.founder-card {
  position: relative;
}
.sv-card:hover::after,
.tm-card:hover::after,
.founder-card:hover::after {
  opacity: 1;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .hero-line-inner {
    transition: none;
    transform: none;
  }
  .nav-links a::after {
    transition: none;
  }
}
