/* ============================================================
   Reflections — Redesigned Case Study
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --bg:        #09090f;
  --surface:   #111118;
  --surface2:  #18181f;
  --accent:    #ff0088;
  --accent2:   #dd00ff;
  --green:     #00ff88;
  --text:      #e8e8f0;
  --muted:     rgba(232,232,240,0.52);
  --border:    rgba(255,255,255,0.07);
  --nav-h:     92px; /* 24px offset + 52px pill + 16px gap */
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-spin {
  to { --border-angle: 360deg; }
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Scroll Progress ────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ─── Main Site Header ───────────────────────────────── */
#site-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  z-index: 800;
  padding: 0 24px;
  pointer-events: none;
}

#site-header.scrolled #main-nav {
  background: rgba(9,9,15,0.88);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.985);
}

#main-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  height: 52px;
  padding: 0 20px;
  background: rgba(9,9,15,0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 999px;
  position: relative;
  transition: background 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}

/* Static border arc (same as main site) */
#main-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(155,185,230,0.11);
  -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 32%);
  mask: linear-gradient(to bottom, transparent 0%, #000 32%);
  pointer-events: none;
  z-index: -1;
}

/* Hover rotating glow (same as main site) */
#main-nav::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(from var(--border-angle),
    transparent 0deg, transparent 50deg,
    rgba(255,0,136,0.4) 100deg,
    rgba(160,130,255,0.85) 150deg,
    rgba(220,210,255,1) 180deg,
    rgba(160,130,255,0.85) 210deg,
    rgba(255,0,136,0.4) 260deg,
    transparent 310deg, transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
#main-nav:hover::before { opacity: 1; animation: border-spin 3s linear infinite; }

/* Nav left: logo + breadcrumb */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.brand { display: flex; align-items: center; }

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

/* Breadcrumb — signals this is a sub-page */
.nav-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}
.nc-sep {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.nc-link {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.nc-link:hover { color: rgba(255,255,255,0.75); }
.nc-current {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

/* Nav center links */
.nav-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex: 2;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

/* Nav right: CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
}

.cta-nav {
  background: #fff;
  color: #000;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.cta-nav:hover { transform: translateY(-1px); background: var(--accent); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 96px 32px 40px;
  background: rgba(9,9,15,0.97);
  backdrop-filter: blur(20px);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
  pointer-events: none;
  z-index: 790;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-links a {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-links a:hover { color: #fff; }
.mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-back-cs { font-size: 14px !important; color: var(--muted) !important; }
.cta-mobile {
  margin-top: 20px;
  font-size: 14px !important;
  background: var(--accent);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  text-align: center;
  border: none !important;
}

/* ─── Case Study Dot Nav (right sidebar) ─────────────── */
#cs-dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 700;
}

.cs-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}
.cs-dot.active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 8px rgba(255,0,136,0.6);
}
.cs-dot:hover:not(.active) { background: rgba(255,255,255,0.5); }

/* Tooltip label */
.cs-dot::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9,9,15,0.92);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
  font-size: 10.5px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cs-dot:hover::before { opacity: 1; }

/* ─── Shared ─────────────────────────────────────────── */
.cs-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.cs-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.cs-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cs-body {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .cs-body { margin: 0 auto; }

/* ─── Reveal ─────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.visible { opacity: 1; transform: none; }

/* ─── HERO ───────────────────────────────────────────── */
#cs-hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform, scale;
  transform-origin: center center;
  animation: kenburns-out 14s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes kenburns-out {
  from { scale: 1.18; }
  to   { scale: 1.0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(9,9,15,0.35) 0%,
      rgba(9,9,15,0.55) 50%,
      rgba(9,9,15,0.88) 100%),
    linear-gradient(to right,
      rgba(9,9,15,0.5) 0%,
      rgba(9,9,15,0.1) 60%,
      rgba(9,9,15,0.0) 100%);
}

/* ─── Hero entrance animations ───────────────────────── */
@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-content .hero-meta-row  { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.hero-content .hero-sec-mark  { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.28s both; }
.hero-content .hero-title     { animation: hero-slide-up 1.0s cubic-bezier(0.22,1,0.36,1) 0.38s both; }
.hero-content .hero-client-attr { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.55s both; }
.hero-content .hero-sub       { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.65s both; }
.hero-content .hero-stats     { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.78s both; }
.hero-content .hero-actions   { animation: hero-slide-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.90s both; }
.hero-scroll-cue              { animation: hero-fade-in  1.2s ease              1.1s both; }

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 40px 48px;
  text-align: left;
  align-items: flex-start;
}

.hero-sub { text-align: left; max-width: 520px; }

.hero-stats { max-width: 420px; }

.hero-actions { justify-content: flex-start; }

.hero-scroll-cue { position: relative; z-index: 2; }

/* .cs-pills replaced by .hero-meta-row in hero */

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 40px;
  max-width: 400px;
}

.hs-item {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hs-item + .hs-item { border-left: 1px solid var(--border); }

.hs-num {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
.hs-num em {
  font-style: normal;
  font-size: 17px;
  color: var(--accent);
  margin-left: 2px;
}

.hs-lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.btn-watch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
  overflow: hidden;
}
.btn-watch:hover { background: #d40073; transform: translateY(-2px); }
.btn-watch-ring {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(255,0,136,0.4);
  animation: btn-ring-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-ring-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}
.btn-watch-icon {
  font-size: 11px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 2px;
  flex-shrink: 0;
}

.btn-ghost-link {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.btn-ghost-link:hover { color: var(--text); }

/* ─── Swiss Ornamental Layer ─────────────────────────── */
.hero-ornaments {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

/* Registration crosses — printer's mark: circle + crosshair arms */
.reg-cross {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: visible;
}
.reg-cross::before,
.reg-cross::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.2);
}
.reg-cross::before { /* vertical arm */
  width: 1px;
  height: 26px;
  left: 4px;
  top: -8px;
}
.reg-cross::after { /* horizontal arm */
  height: 1px;
  width: 26px;
  top: 4px;
  left: -8px;
}
.reg-cross--tl { top: 28px;    left: 28px;  }
.reg-cross--tr { top: 28px;    right: 28px; }
.reg-cross--bl { bottom: 28px; left: 28px;  }
.reg-cross--br { bottom: 28px; right: 28px; }

/* Vertical rails — running identifiers along the edges */
.orn-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.orn-rail--l {
  left: 13px;
  transform: rotate(180deg); /* bottom-to-top reading */
}
.orn-rail--r {
  right: 13px;
  /* vertical-rl reads top-to-bottom on right */
}

/* Top metadata strip — folio line below the nav */
.orn-top-strip {
  position: absolute;
  top: var(--nav-h);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  padding-top: 10px;
}
.ots-item {
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.ots-sep {
  font-size: 12px;
  color: rgba(255,0,136,0.38);
  line-height: 1;
}

/* Page folio — bottom right */
.orn-folio {
  position: absolute;
  bottom: 38px;
  right: 56px;
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.16);
}

/* Horizontal rule — grid line cutting the lower third */
.orn-h-rule {
  position: absolute;
  bottom: 26%;
  left: 52px;
  right: 52px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.07) 12%,
    rgba(255,255,255,0.07) 88%,
    transparent 100%
  );
}

/* ─── Editorial hero metadata row (replaces pills) ───── */
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.hmr-item {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.hmr-dash {
  font-size: 10px;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0;
}

/* Section symbol — spatial punctuation before the headline */
.hero-sec-mark {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,0,136,0.5);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1;
}

/* Client attribution — subordinate byline under product headline */
.hero-client-attr {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-client-attr strong {
  color: rgba(255,255,255,0.42);
  font-weight: 600;
}

/* Hero scroll cue */
.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 44px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.9); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── Glassy CTA Button — matches homepage btn-glow ──── */
.btn-glow {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 14px 36px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 1px;
  background: conic-gradient(from var(--border-angle),
    transparent 0deg,
    transparent 50deg,
    rgba(255,0,136,0.4) 100deg,
    rgba(160,130,255,0.85) 150deg,
    rgba(255,0,136,0.4) 200deg,
    transparent 250deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #0a0a0a;
  z-index: -2;
  transition: background 0.4s ease;
}
.btn-glow:hover::before {
  opacity: 1;
  animation: border-spin 3s linear infinite;
}
.btn-glow:hover::after {
  background: linear-gradient(135deg, rgba(68,112,255,0.16) 0%, rgba(113,151,255,0.14) 50%, rgba(238,230,255,0.08) 100%);
}

/* ─── PROOF ──────────────────────────────────────────── */
#cs-proof {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.proof-dot-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.proof-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.proof-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 44px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.proof-stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.proof-stat:last-child { border-right: none; }
.proof-stat:hover { background: rgba(255,255,255,0.02); }

.ps-num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(160deg, #fff 30%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ps-zero { -webkit-text-fill-color: var(--text); }

.ps-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.ps-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ─── THE WORK ───────────────────────────────────────── */
#cs-work {
  padding: 100px 0 80px;
}

.work-ui {
  margin-top: 48px;
}

.work-tab-list {
  display: flex;
  gap: 0;
  padding: 0 40px;
  max-width: 1080px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.work-tab-list::-webkit-scrollbar { display: none; }

.work-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.work-tab:hover { color: var(--text); }
.work-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.browser-chrome {
  max-width: 1080px;
  margin: 0 auto 16px;
  padding: 0 40px;
}

.browser-chrome > div:last-child {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
}

.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.bd-r, .bd-y, .bd-g { width: 11px; height: 11px; border-radius: 50%; }
.bd-r { background: #ff5f56; }
.bd-y { background: #febc2e; }
.bd-g { background: #28c840; }

.browser-addr {
  flex: 1;
  max-width: 340px;
  background: var(--bg);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--muted);
  transition: opacity 0.3s;
}

.browser-viewport {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.work-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: stretch;
}
.work-panel.active { opacity: 1; pointer-events: auto; }

.work-caption {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  min-height: 18px;
  transition: opacity 0.3s;
}

/* ─── Mock UI — Website ──────────────────────────────── */
.mock-site {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #0c0c14;
}
.ms-nav {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.ms-logo { width: 80px; height: 12px; background: rgba(255,255,255,0.15); border-radius: 4px; }
.ms-links { display: flex; gap: 10px; flex: 1; margin-left: 20px; }
.ms-links div { width: 40px; height: 8px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.ms-cta-btn { width: 88px; height: 28px; background: var(--accent); border-radius: 999px; margin-left: auto; }
.ms-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 28px;
  gap: 12px;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(119,0,255,0.12), transparent 70%);
}
.ms-pill { width: 120px; height: 20px; background: rgba(255,0,136,0.15); border-radius: 999px; border: 1px solid rgba(255,0,136,0.25); }
.ms-h1 { font-family: 'Playfair Display', serif; font-size: 32px; color: #fff; opacity: 0.92; }
.ms-sub { font-size: 13px; color: var(--muted); }
.ms-btn { width: 140px; height: 36px; background: var(--accent); border-radius: 999px; margin-top: 6px; }
.ms-cards {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
}
.ms-cards > div {
  flex: 1;
  height: 70px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ─── Mock UI — Booking ──────────────────────────────── */
.mock-booking {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
}
.mb-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
}
.mb-steps { display: flex; gap: 8px; }
.mb-step {
  font-size: 11.5px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface2);
}
.mb-done { color: var(--accent); border-color: rgba(255,0,136,0.35); background: rgba(255,0,136,0.08); }
.mb-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.mb-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.mb-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.mb-field { height: 40px; background: var(--surface2); border-radius: 8px; border: 1px solid var(--border); }
.mb-cta { height: 44px; background: var(--accent); border-radius: 999px; margin-top: 4px; }

/* ─── Mock UI — Voice AI ─────────────────────────────── */
.mock-voice {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px;
  background: linear-gradient(160deg, #0a0a14 0%, #0f0f1e 100%);
}
.mv-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.mv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
  animation: dot-pulse 1.6s infinite;
}
.mv-wave { height: 56px; }
.mv-wave svg { width: 100%; height: 100%; }
.wave-line {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: wave-anim 3s linear infinite;
}
@keyframes wave-anim {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -600; }
}
.mv-transcript {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}
.mvt-line {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  line-height: 1.45;
  max-width: 90%;
}
.mvt-ai { background: rgba(255,0,136,0.1); border: 1px solid rgba(255,0,136,0.2); color: var(--text); }
.mvt-caller { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); align-self: flex-end; }
.mv-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.mv-badge {
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.25);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
}

/* ─── Mock UI — Reviews ──────────────────────────────── */
.mock-reviews {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px;
  background: var(--surface);
}
.mr-header { display: flex; flex-direction: column; gap: 4px; }
.mr-stars { color: #ffd700; font-size: 18px; letter-spacing: 3px; }
.mr-name { font-size: 14px; font-weight: 600; }
.mr-score { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.mr-big { font-family: 'Oswald', sans-serif; font-size: 44px; font-weight: 300; line-height: 1; }
.mr-count { font-size: 13px; color: var(--muted); }
.mr-list { display: flex; flex-direction: column; gap: 10px; }
.mr-item { display: flex; align-items: center; gap: 12px; }
.mr-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.mr-avatar--a { background: linear-gradient(135deg, #ff0088, #dd00ff); }
.mr-avatar--b { background: linear-gradient(135deg, #7700ff, #0066ff); }
.mr-avatar--c { background: linear-gradient(135deg, #ff6600, #ff0088); }
.mr-body { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mr-row { display: flex; justify-content: space-between; align-items: center; }
.mr-s { color: #ffd700; font-size: 11px; }
.mr-age { font-size: 10.5px; color: var(--muted); }
.mr-text { height: 10px; background: rgba(255,255,255,0.08); border-radius: 4px; }
.mr-text--short { width: 60%; }

/* ─── Mock UI — Dashboard ────────────────────────────── */
.mock-dash {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  background: var(--surface);
}
.md-header { display: flex; justify-content: space-between; align-items: center; }
.md-title { font-size: 13px; font-weight: 600; }
.md-range { font-size: 11px; color: var(--muted); }
.md-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.md-kpi {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.md-kval {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}
.md-kval--up { color: var(--accent); }
.md-kval--grn { color: var(--green); }
.md-klbl { font-size: 10px; color: var(--muted); }
.md-chart-wrap { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.md-bars { display: flex; gap: 6px; align-items: flex-end; height: 80px; }
.md-bars > div {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(to top, var(--accent) 0%, rgba(255,0,136,0.4) 100%);
  border-radius: 3px 3px 0 0;
  transition: height 0.6s cubic-bezier(0.16,1,0.3,1);
}
.md-labels { display: flex; gap: 6px; }
.md-labels span { flex: 1; text-align: center; font-size: 9.5px; color: var(--muted); }

/* ─── VIDEO ──────────────────────────────────────────── */
#cs-video {
  padding: 100px 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.video-stage {
  position: relative;
  max-width: 920px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.video-stage-img {
  position: absolute;
  inset: 0;
}
.video-stage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transform: scale(1.04);
  transition: transform 0.6s ease;
}
.video-stage:hover .video-stage-img img { transform: scale(1.08); }
.vsi-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 60%);
}

.vpb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(255,0,136,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}
.vpb:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }

.vpb-ring {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid rgba(255,0,136,0.35);
  animation: vpb-ring 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vpb-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.18); opacity: 1; }
}
.vpb-icon { font-size: 20px; color: #fff; padding-left: 3px; position: relative; z-index: 1; }

.video-meta {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.vm-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
}
.vm-dur { font-size: 12px; color: rgba(255,255,255,0.55); }

/* Video modal */
#video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#video-modal.open { opacity: 1; pointer-events: auto; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
}
.video-modal-panel {
  position: relative;
  width: min(780px, 90vw);
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.video-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255,255,255,0.18); }
.video-modal-inner { padding: 48px; text-align: center; }
.vmi-head { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.vmi-sub { color: var(--muted); }

/* ─── BRIEF ──────────────────────────────────────────── */
#cs-brief { padding: 100px 0; }

.brief-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.brief-col { display: flex; flex-direction: column; }

.brief-badge {
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  width: fit-content;
}
.brief-badge--before {
  background: rgba(255,70,70,0.1);
  color: #ff6060;
  border: 1px solid rgba(255,70,70,0.25);
}
.brief-badge--after {
  background: rgba(0,255,136,0.1);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.25);
}

.brief-h {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}

.brief-list { display: flex; flex-direction: column; gap: 10px; }
.brief-list li {
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  line-height: 1.45;
  transition: background 0.2s;
}
.brief-list li:hover { background: rgba(255,255,255,0.02); }
.brief-list--pain li::before { content: '✗'; color: #ff6060; font-weight: 700; flex-shrink: 0; }
.brief-list--win li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.brief-divider { background: var(--border); align-self: stretch; margin-top: 68px; }

/* ─── BUILD ──────────────────────────────────────────── */
#cs-build {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.build-list { margin-top: 48px; }

.build-row { border-top: 1px solid var(--border); overflow: hidden; }
.build-row:last-child { border-bottom: 1px solid var(--border); }

.build-row-head {
  display: grid;
  grid-template-columns: 52px 1fr 40px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.build-row-head:hover { background: rgba(255,255,255,0.015); }

.br-num {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.br-copy { flex: 1; }

.br-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.build-row.is-open .br-title { color: var(--accent); }

.br-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.br-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.35s;
  position: relative;
  margin-top: 2px;
}
.br-toggle::before,
.br-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.br-toggle::before { width: 12px; height: 1.5px; }
.br-toggle::after { width: 1.5px; height: 12px; }
.build-row.is-open .br-toggle { background: var(--accent); border-color: var(--accent); color: #fff; }
.build-row.is-open .br-toggle::after { transform: rotate(90deg); opacity: 0; }

.br-detail {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.br-detail-inner {
  padding: 4px 0 28px 72px;
}
.br-detail-inner p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 20px;
}
.br-detail-inner ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 600px;
}
.br-detail-inner ul li {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.br-detail-inner ul li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── PROCESS ────────────────────────────────────────── */
#cs-process { padding: 100px 0; }

.timeline-outer {
  margin-top: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  cursor: grab;
}
.timeline-outer:active { cursor: grabbing; }
.timeline-outer::-webkit-scrollbar { display: none; }

.timeline-steps {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 44px 60px 32px;
  position: relative;
}
.timeline-track-line {
  position: absolute;
  top: 52px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.tl-step {
  width: 220px;
  flex-shrink: 0;
  padding: 0 16px;
  position: relative;
}

.tl-node {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255,0,136,0.6);
  margin-bottom: 16px;
  margin-left: 4px;
  position: relative;
  z-index: 1;
}

.tl-week {
  position: absolute;
  top: -28px;
  left: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.tl-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.tl-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ─── TESTIMONIAL ────────────────────────────────────── */
#cs-testimonial {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  background-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(119,0,255,0.06) 0%, transparent 70%);
}

.testimonial-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tst-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 100px;
  line-height: 0.65;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 12px;
  user-select: none;
}

.tst-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 44px;
}

.tst-cite {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-style: normal;
}
.tst-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  flex-shrink: 0;
}
.tst-name { font-size: 14.5px; font-weight: 600; text-align: left; }
.tst-role { font-size: 12.5px; color: var(--muted); text-align: left; }

/* ─── NEXT ───────────────────────────────────────────── */
#cs-next {
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

#cs-next-sparks {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 360px;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

#cs-next .cs-container {
  position: relative;
  z-index: 1;
}

.next-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  padding: 16px 38px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255,0,136,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary-glow:hover {
  background: #d40073;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255,0,136,0.5);
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  padding: 72px 80px 48px;
  border-top: 1px solid var(--border);
  background: #000;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-nav a:hover { color: #fff; }

.footer-cta {
  color: var(--accent) !important;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.footer-cta:hover { color: #fff !important; }

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

.footer-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.14);
  letter-spacing: 0.08em;
  font-style: italic;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ─── ≤ 960px — Tablet ───────────────────────────────── */
@media (max-width: 960px) {

  /* Nav */
  .nav-crumb, .nav-links, .cta-nav { display: none; }
  .hamburger { display: flex; }
  #cs-dot-nav { display: none; }

  /* Hero */
  .hero-video { object-position: 65% center; }
  .hero-content {
    padding: 80px 24px 48px;
    text-align: left;
    align-items: flex-start;
  }
  .hero-title { font-size: clamp(42px, 11vw, 72px); }
  .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-stats { max-width: 100%; }
  .hero-actions { gap: 16px; }
  /* Hide fine-detail ornaments that don't read at mobile scale */
  .orn-rail, .orn-top-strip, .orn-h-rule { display: none; }

  /* Shared */
  .cs-container { padding: 0 24px; }

  /* Proof */
  #cs-proof { padding: 64px 0; }
  .proof-inner { padding: 0 24px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-stat:nth-child(4) { border-top: 1px solid var(--border); }
  .proof-stat:nth-child(5) {
    border-top: 1px solid var(--border);
    grid-column: 2;
    border-right: none;
  }
  .proof-stat { padding: 28px 16px; }

  /* Work */
  #cs-work { padding: 64px 0 48px; }
  .work-tab-list { padding: 0 24px; }
  .browser-chrome { padding: 0 24px; }
  .work-caption { padding: 16px 24px 0; }
  .browser-viewport { height: 300px; }

  /* Video */
  #cs-video { padding: 64px 0 0; }
  .video-stage { margin: 32px 24px 0; border-radius: 12px; }

  /* Brief */
  #cs-brief { padding: 64px 0; }
  .brief-split { grid-template-columns: 1fr; gap: 32px; }
  .brief-divider { display: none; }

  /* Build */
  #cs-build { padding: 64px 0; }
  .build-list { margin-top: 32px; }
  .build-row-head {
    grid-template-columns: 44px 1fr 36px;
    padding: 18px 0;
    gap: 12px;
  }
  .br-detail-inner { padding-left: 44px; }

  /* Process */
  #cs-process { padding: 64px 0; }
  .timeline-steps { padding: 44px 32px 32px; }
  .timeline-track-line { left: 32px; right: 32px; }

  /* Testimonial */
  #cs-testimonial { padding: 64px 0; }
  .testimonial-block { padding: 0 24px; }

  /* Next */
  #cs-next { padding: 64px 0 0; }

  /* Footer */
  footer { padding: 48px 24px 36px; }
  .footer-nav { gap: 24px; }
}

/* ─── ≤ 640px — Mobile ───────────────────────────────── */
@media (max-width: 640px) {

  /* Hero */
  .hero-title { font-size: clamp(36px, 12vw, 54px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hs-item + .hs-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll-cue { display: none; }
  /* Registration crosses too small at phone size */
  .reg-cross { display: none; }

  /* Proof */
  .proof-grid { grid-template-columns: 1fr 1fr; border-radius: 10px; }
  .proof-stat { padding: 22px 14px; }
  .proof-stat:nth-child(3) { border-top: 1px solid var(--border); }
  .proof-stat:nth-child(4) { border-top: 1px solid var(--border); }
  .proof-stat:nth-child(5) {
    grid-column: auto;
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .proof-stat:nth-child(even) { border-right: none; }

  /* Work */
  .work-tab { font-size: 12px; padding: 10px 14px; }
  .browser-viewport { height: 250px; }
  .md-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ms-links, .ms-cta-btn { display: none; }
  .mvt-line { font-size: 12px; padding: 6px 10px; }
  .mb-steps { flex-wrap: wrap; gap: 6px; }

  /* Build */
  .br-title { font-size: 15px; }
  .br-desc { font-size: 12.5px; }
  .br-detail-inner { padding-left: 0; padding-right: 0; }
  .br-detail-inner p { font-size: 13.5px; }
  .br-detail-inner ul { padding-left: 8px; }

  /* Testimonial */
  .testimonial-block { text-align: left; }
  .tst-cite { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tst-name, .tst-role { text-align: left; }
  .tst-mark { font-size: 72px; }

  /* Next */
  .next-ctas { flex-direction: column; align-items: center; }
  #cs-next .btn-glow {
    width: 100%;
    max-width: 360px;
    text-align: center;
    display: block;
  }

  /* Footer */
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .footer-nav a { font-size: 13px; }
}

/* ─── ≤ 430px — Small Phone ──────────────────────────── */
@media (max-width: 430px) {

  /* Hero */
  .hero-content { padding: 72px 20px 40px; }
  .hero-title { font-size: clamp(32px, 11vw, 46px); line-height: 55px; }
  .hero-sub { font-size: 15px; }
  .hero-meta-row { flex-wrap: wrap; gap: 6px; }

  /* Shared */
  .cs-container { padding: 0 20px; }
  .proof-inner { padding: 0 20px; }

  /* Proof — single column on smallest screens */
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stat { border-right: none !important; padding: 20px 20px; }
  .proof-stat:nth-child(n+2) { border-top: 1px solid var(--border); }

  /* Work */
  .work-tab { font-size: 11px; padding: 8px 12px; }
  .browser-addr { font-size: 10px; }
  .browser-viewport { height: 220px; }

  /* Timeline */
  .tl-step { width: 180px; }
  .tl-card h4 { font-size: 13px; }
  .tl-card p { font-size: 11.5px; }

  /* Video */
  .video-stage { margin: 24px 20px 0; }

  /* Footer */
  footer { padding: 40px 20px 28px; }
  .footer-nav { flex-direction: column; align-items: center; gap: 16px; }
}
