/* ═══════════════════════════════════════════════════════════════
   SAMAI VALLEY - Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --black:     #000000;
  --ink:       #050805;
  --panel:     #060906;
  --panel-2:   #0a100a;
  --panel-3:   #0d160f;
  --white:     #f5f7f2;
  --soft:      #dbe6d8;
  --muted:     rgba(245,247,242,.64);
  --dim:       rgba(245,247,242,.38);
  --faint:     rgba(245,247,242,.13);
  --hair:      rgba(245,247,242,.085);
  --green:     #39ff88;
  --green-2:   #22c55e;
  --green-dark:#0f3d24;
  --gold:      #d6c28b;
  --red:       #ff6b6b;
  --radius:    28px;
  --radius-sm: 16px;
  --radius-xs: 10px;
  --shadow:    0 28px 90px rgba(0,0,0,.58);
  --container: 1180px;
  --display:   'Playfair Display',Georgia,serif;
  --body:      'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --nav-h:     76px;
}

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; background: #000; }
body  {
  background: #000;
  color: var(--white);
  font-family: var(--body);
  line-height: 1.55;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Hard stop for horizontal scroll/panning on mobile - clip on BOTH
   html and body (body-only overflow-x:hidden is unreliable on
   Android Chrome / iOS Safari); clip > hidden where supported. */
html, body { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(57,255,136,.25); color: #fff; }

body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: #000;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container    { width: min(var(--container), calc(100% - 44px)); margin: 0 auto; }
.section      { padding: 118px 0; position: relative; background: #000; overflow-x: clip; }
.section-tight{ padding: 84px 0; background: #000; overflow-x: clip; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────────── */
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--green); font-size: 12px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px;
}
.section-kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--green); box-shadow: 0 0 18px rgba(57,255,136,.75);
}
.h2 {
  font-family: var(--display);
  font-size: clamp(38px,5vw,72px);
  line-height: .98; letter-spacing: -.045em; max-width: 820px;
}
.h2 .muted, .hero-title .muted { color: rgba(245,247,242,.28); font-style: italic; }
.lead {
  font-size: 18px; color: var(--muted); max-width: 680px;
  margin-top: 22px; font-weight: 400; line-height: 1.78;
}
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(57,255,136,.26); color: var(--green);
  background: rgba(57,255,136,.08); padding: 8px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.hero-chip-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ── GLOW ORBS ──────────────────────────────────────────────────── */
.glow-orb { position: absolute; border-radius: 999px; filter: blur(18px); pointer-events: none; z-index: 0; max-width: 100%; }
.glow-a   { width: 520px; height: 520px; background: radial-gradient(circle,rgba(57,255,136,.12),transparent 66%); top: -190px; right: -120px; }
.glow-b   { width: 620px; height: 620px; background: radial-gradient(circle,rgba(57,255,136,.07),transparent 68%); bottom: -260px; left: -180px; }

/* ════════════════════════════════════════════════════════════════
   TOP BAR - Social links strip above the nav
   ════════════════════════════════════════════════════════════════ */
:root { --topbar-h: 36px; }

.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--topbar-h);
  background: rgba(0,0,0,.96);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(1280px, calc(100% - 42px));
  margin: 0 auto;
}
.top-bar-socials { display: flex; align-items: center; gap: 8px; }

/* Push the whole page down by the combined top-bar + nav height.
   This is the single source of truth - no per-section padding hacks. */
body { padding-top: calc(var(--topbar-h) + var(--nav-h)); }

/* Top bar is desktop/tablet only - hidden on mobile, nav moves to top
   (socials remain available inside the mobile menu drawer) */
@media (max-width: 720px) {
  .top-bar { display: none; }
  :root { --topbar-h: 0px; }
}

/* ════════════════════════════════════════════════════════════════
   NAV - fully rebuilt for mobile
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hair);
  transition: top .2s ease;
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  width: min(1280px, calc(100% - 42px)); margin: 0 auto;
  position: relative;
}

/* Logo */
.logo { display: flex; align-items: center; line-height: 1; flex-shrink: 0; }
.brand-logo-img { width: 158px; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 0 12px rgba(57,255,136,.10)); }

/* Desktop nav links */
.nav-links {
  display: flex; list-style: none; gap: 24px;
  color: var(--muted); font-size: 13px; font-weight: 600;
  margin: 0 auto;
}
.nav-links a { transition: color .2s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--green); }

/* Right side actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.partner-pill {
  display: flex; gap: 7px; align-items: center; color: rgba(245,247,242,.55);
  font-size: 11px; border: 1px solid var(--hair); padding: 8px 11px;
  border-radius: 999px; background: rgba(255,255,255,.025); white-space: nowrap;
}
.partner-pill .pill-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--green); box-shadow: 0 0 16px rgba(57,255,136,.8); flex-shrink: 0; }

/* Social icons in nav */
.nav-socials { display: flex; align-items: center; gap: 6px; }
.nav-social-link {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--hair); background: rgba(255,255,255,.028);
  display: grid; place-items: center;
  color: var(--dim); font-size: 13px;
  transition: .2s ease;
}
.nav-social-link:hover { border-color: rgba(57,255,136,.32); color: var(--green); background: rgba(57,255,136,.06); }
.nav-social-link svg { width: 14px; height: 14px; fill: currentColor; }

/* Hamburger button */
.mobile-toggle {
  display: none;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.035);
  color: var(--white);
  border-radius: 12px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: .2s ease;
  position: relative;
  z-index: 1002;
  min-width: 42px;
  min-height: 42px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  pointer-events: auto;
}
.mobile-toggle:hover { border-color: rgba(57,255,136,.32); color: var(--green); }
.mobile-toggle.open { color: var(--green); border-color: rgba(57,255,136,.32); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--topbar-h) + var(--nav-h));
  left: 0; right: 0;
  background: rgba(4,8,4,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hair);
  z-index: 1001;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - var(--topbar-h) - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu-links li { border-bottom: 1px solid var(--hair); }
.mobile-menu-links a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s ease;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active { color: var(--green); }

.mobile-menu-bottom {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; border-radius: 999px; padding: 12px 19px;
  font-weight: 800; font-size: 13px; transition: .22s ease;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: #000;
  box-shadow: 0 0 0 0 rgba(57,255,136,0), 0 14px 38px rgba(57,255,136,.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(57,255,136,.07), 0 22px 54px rgba(57,255,136,.18); }
.btn-ghost { background: rgba(255,255,255,.035); border-color: var(--hair); color: var(--white); }
.btn-ghost:hover { border-color: rgba(57,255,136,.32); background: rgba(57,255,136,.06); transform: translateY(-2px); }
.btn-sm { padding: 9px 14px; font-size: 12px; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--topbar-h) - var(--nav-h));
  padding: 56px 0 80px;
  position: relative; background: #000; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 22%,rgba(57,255,136,.12),transparent 33%),
    radial-gradient(ellipse at 86% 30%,rgba(34,197,94,.08),transparent 30%),
    radial-gradient(ellipse at 50% 110%,rgba(57,255,136,.07),transparent 42%),
    #000;
}
.hero-wrap { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-title { font-family: var(--display); font-size: clamp(44px,7.3vw,104px); line-height: .9; letter-spacing: -.065em; margin-top: 26px; max-width: 860px; }
.hero-title strong { font-family: var(--body); font-size: .78em; letter-spacing: -.075em; color: var(--green); font-weight: 900; }
.hero-sub  { font-size: 18px; color: var(--muted); max-width: 650px; margin-top: 28px; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.hero-proof   { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.hero-proof strong { color: var(--white); }
.proof-stack  { display: flex; align-items: center; }
.proof-dot    { width: 34px; height: 34px; border-radius: 999px; background: var(--panel-2); border: 1px solid rgba(57,255,136,.22); margin-left: -10px; display: grid; place-items: center; font-size: 10px; font-weight: 900; color: var(--green); }
.proof-dot:first-child { margin-left: 0; }

/* page hero (inner pages) */
.page-hero {
  padding: 56px 0 88px; position: relative; background: #000; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 20%,rgba(57,255,136,.10),transparent 36%),
    radial-gradient(ellipse at 80% 60%,rgba(34,197,94,.06),transparent 32%),
    #000;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(40px,6.5vw,90px); line-height: .92; letter-spacing: -.055em; margin-top: 22px; }
.page-hero h1 .muted { color: rgba(245,247,242,.28); font-style: italic; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 620px; margin-top: 24px; line-height: 1.76; }

/* ── PROOF BAR ──────────────────────────────────────────────────── */
.proof-bar { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: #000; overflow: hidden; }
.proof-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-item { padding: 32px 28px; border-right: 1px solid var(--hair); }
.proof-item:last-child { border-right: 0; }
.proof-item b    { font-size: 34px; letter-spacing: -.06em; color: var(--green); display: block; line-height: 1; }
.proof-item span { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-top: 10px; display: block; }
.proof-item p    { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ── BRAND STRIP ────────────────────────────────────────────────── */
.brand-strip  { padding: 26px 0; border-bottom: 1px solid var(--hair); overflow: hidden; background: #000; }
.brand-track  { display: flex; animation: marquee 36s linear infinite; width: max-content; }
.brand-pill   { margin-right: 12px; border: 1px solid var(--hair); background: rgba(255,255,255,.025); border-radius: 999px; padding: 11px 18px; color: rgba(245,247,242,.48); font-size: 12px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SYSTEM ─────────────────────────────────────────────────────── */
.system-wrap  { position: relative; }
.system-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.system-card  {
  border: 1px solid var(--hair);
  background: linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.016));
  border-radius: var(--radius); padding: 32px; min-height: 310px;
  position: relative; overflow: hidden; transition: .25s ease;
}
.system-card:hover { transform: translateY(-6px); border-color: rgba(57,255,136,.28); background: linear-gradient(180deg,rgba(57,255,136,.075),rgba(255,255,255,.016)); }
.system-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(circle,rgba(57,255,136,.11),transparent 68%); }
.system-num   { font-size: 12px; font-weight: 900; color: var(--green); letter-spacing: .18em; text-transform: uppercase; }
.system-card h3 { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.045em; margin-top: 24px; }
.system-card p  { font-size: 15px; color: var(--muted); line-height: 1.72; margin-top: 15px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tag { font-size: 11px; color: rgba(245,247,242,.55); border: 1px solid var(--hair); padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.025); font-weight: 800; }
.loop-panel { margin-top: 18px; border: 1px solid rgba(57,255,136,.16); border-radius: var(--radius); background: radial-gradient(ellipse at 10% 10%,rgba(57,255,136,.10),transparent 34%), linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.012)); padding: 26px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.loop-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.loop-step  { border: 1px solid var(--hair); background: rgba(0,0,0,.38); border-radius: 16px; padding: 16px; min-height: 108px; }
.loop-step b    { display: block; color: var(--green); font-size: 13px; }
.loop-step span { display: block; color: var(--muted); font-size: 12px; margin-top: 7px; line-height: 1.45; }

/* ── SERVICES ───────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.service { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); border-radius: 24px; padding: 26px; min-height: 278px; display: flex; flex-direction: column; transition: .24s ease; }
.service:hover { transform: translateY(-4px); border-color: rgba(57,255,136,.25); }
.service-top    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.service-no     { font-size: 11px; color: var(--green); font-weight: 900; letter-spacing: .17em; }
.service-symbol { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.18); font-weight: 900; color: var(--green); }
.service h3 { font-size: 21px; letter-spacing: -.035em; margin-bottom: 10px; }
.service p  { color: var(--muted); font-size: 14px; line-height: 1.68; }
.deliverables { margin-top: auto; padding-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.deliverables span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(245,247,242,.5); border: 1px solid var(--hair); border-radius: 999px; padding: 6px 8px; font-weight: 800; }

/* ── SERVICE DETAIL ─────────────────────────────────────────────── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; margin-top: 64px; }
.service-detail-card { border: 1px solid rgba(57,255,136,.18); background: radial-gradient(ellipse at 10% 0%,rgba(57,255,136,.10),transparent 44%), linear-gradient(180deg,rgba(255,255,255,.046),rgba(255,255,255,.012)); border-radius: var(--radius); padding: 34px; }
.service-detail-card h3 { font-family: var(--display); font-size: 36px; line-height: 1; letter-spacing: -.045em; margin-top: 14px; }
.service-detail-card p  { color: var(--muted); font-size: 15px; line-height: 1.78; margin-top: 16px; }
.what-list { display: grid; gap: 12px; margin-top: 24px; }
.what-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--hair); border-radius: 14px; padding: 16px; background: rgba(0,0,0,.28); }
.what-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.18); display: grid; place-items: center; color: var(--green); font-weight: 900; flex-shrink: 0; }
.what-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.what-item p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── CASE STUDIES ───────────────────────────────────────────────── */
.case-grid    { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 48px; }
.case-feature { border: 1px solid rgba(57,255,136,.19); background: radial-gradient(ellipse at 15% 0%,rgba(57,255,136,.12),transparent 42%), linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr .85fr; min-height: 520px; }
.case-copy    { padding: 34px; }
.case-media   { border-left: 1px solid var(--hair); background: #020302; padding: 0; position: relative; overflow: hidden; }
.case-label   { font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: .17em; text-transform: uppercase; }
.case-copy h3 { font-family: var(--display); font-size: clamp(32px,4vw,46px); line-height: 1; letter-spacing: -.05em; margin-top: 18px; }
.case-copy p  { color: var(--muted); line-height: 1.72; margin-top: 18px; }
.case-stats   { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 30px; }
.case-stat    { border: 1px solid var(--hair); border-radius: 16px; padding: 16px; background: rgba(0,0,0,.35); }
.case-stat b  { display: block; color: var(--green); font-size: 27px; letter-spacing: -.05em; }
.case-stat span { font-size: 11px; color: var(--dim); line-height: 1.35; display: block; margin-top: 4px; }
.case-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.mini-shot    { position: absolute; inset: 0; width: 100%; height: 100%; border: none; border-radius: 0; background: linear-gradient(135deg,rgba(57,255,136,.06),rgba(255,255,255,.02)); display: grid; place-items: center; text-align: center; padding: 20px; }
.mini-shot span { font-size: 11px; color: var(--green); font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.mini-shot p    { font-size: 12px; color: var(--muted); margin-top: 6px; }
.mini-shot img  { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.case-side    { display: grid; gap: 18px; }
.case-mini    { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.012)); border-radius: var(--radius); padding: 28px; }
.case-mini h3 { font-size: 24px; letter-spacing: -.04em; margin-top: 12px; }
.case-mini p  { color: var(--muted); font-size: 14px; margin-top: 9px; line-height: 1.65; }
.case-mini .mini-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 20px; }
.mini-metrics div  { border: 1px solid var(--hair); border-radius: 14px; padding: 14px; }
.mini-metrics b    { display: block; color: var(--green); font-size: 22px; letter-spacing: -.05em; }
.mini-metrics span { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.cases-full-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
.case-card-full  { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.012)); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; transition: .25s ease; }
.case-card-full:hover { border-color: rgba(57,255,136,.28); }
.case-card-full.featured { border-color: rgba(57,255,136,.22); background: radial-gradient(ellipse at 10% 0%,rgba(57,255,136,.10),transparent 40%), linear-gradient(180deg,rgba(255,255,255,.048),rgba(255,255,255,.012)); }
.ccf-body   { padding: 36px; display: flex; flex-direction: column; }
.ccf-media  { background: #020302; border-left: 1px solid var(--hair); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ccf-body .case-label { display: inline-block; margin-bottom: 16px; }
.ccf-body h2 { font-family: var(--display); font-size: clamp(28px,4vw,52px); line-height: 1; letter-spacing: -.05em; }
.ccf-body p  { color: var(--muted); font-size: 15px; line-height: 1.72; margin-top: 14px; }
.ccf-stats   { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.ccf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.img-slot    { flex: 1; border: 1px dashed rgba(57,255,136,.22); border-radius: 18px; background: rgba(57,255,136,.04); display: grid; place-items: center; text-align: center; padding: 22px; min-height: 120px; }
.img-slot span { font-size: 10px; color: var(--green); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.img-slot p    { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ── PROCESS ────────────────────────────────────────────────────── */
.process-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; align-items: start; }
.process-steps  { display: grid; gap: 12px; }
.process-step   { display: grid; grid-template-columns: 54px 1fr; gap: 18px; border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.042),rgba(255,255,255,.012)); border-radius: 20px; padding: 20px; }
.step-count { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.2); color: var(--green); font-weight: 900; font-size: 16px; }
.process-step h3 { font-size: 18px; letter-spacing: -.03em; margin-bottom: 6px; }
.process-step p  { font-size: 14px; color: var(--muted); line-height: 1.65; }
.process-aside   { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.process-info    { border: 1px solid rgba(57,255,136,.18); background: linear-gradient(180deg,rgba(57,255,136,.08),rgba(255,255,255,.018)); border-radius: var(--radius); padding: 28px; }
.process-info h3 { font-family: var(--display); font-size: 28px; line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; }
.process-info p  { color: var(--muted); font-size: 14px; line-height: 1.72; }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li   { list-style: none; display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.check-list li::before { content: "✓"; color: #000; background: var(--green); width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; flex: 0 0 20px; font-weight: 900; font-size: 11px; }
.timeline-pill { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--hair); background: rgba(0,0,0,.35); border-radius: 14px; padding: 14px 16px; }
.timeline-pill span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.timeline-pill b { font-size: 15px; color: var(--green); }

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.test-card  { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.012)); border-radius: 24px; padding: 28px; }
.stars      { color: var(--green); letter-spacing: .13em; font-size: 12px; }
.test-card p { color: rgba(245,247,242,.76); font-size: 15px; line-height: 1.78; margin-top: 18px; font-style: italic; }
.author     { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.avatar     { width: 42px; height: 42px; border-radius: 999px; background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.22); display: grid; place-items: center; color: var(--green); font-weight: 900; font-size: 12px; flex-shrink: 0; }
.author b   { font-size: 14px; }
.author span { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-wrap  { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.faq-list  { display: grid; gap: 12px; }
.faq-item  { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.012)); border-radius: 18px; overflow: hidden; }
.faq-q     { width: 100%; background: transparent; color: var(--white); border: 0; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; text-align: left; font-weight: 800; cursor: pointer; gap: 12px; }
.faq-q span:last-child { color: var(--green); font-size: 20px; transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.faq-a     { display: none; padding: 0 22px 22px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.faq-item.open .faq-a { display: block; }
.faq-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }

/* ── PROBLEM SECTION ────────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.problem-list { display: grid; gap: 14px; }
.problem-card { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.014)); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start; }
.problem-icon { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,107,107,.11); border: 1px solid rgba(255,107,107,.22); display: grid; place-items: center; color: #ff8585; font-weight: 900; }
.problem-card h3 { font-size: 17px; margin-bottom: 5px; }
.problem-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; }
.insight-card    { border: 1px solid rgba(57,255,136,.18); background: linear-gradient(180deg,rgba(57,255,136,.08),rgba(255,255,255,.018)); border-radius: var(--radius); padding: 34px; position: sticky; top: calc(var(--nav-h) + 20px); }
.insight-card h3 { font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: -.045em; }
.insight-card p  { margin-top: 16px; color: var(--muted); line-height: 1.75; }
.insight-card .btn { margin-top: 26px; }

/* ── TEAM ────────────────────────────────────────────────────────── */
.team-wrap    { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.founder-card { border: 1px solid rgba(57,255,136,.18); background: radial-gradient(ellipse at 10% 0%,rgba(57,255,136,.12),transparent 44%), linear-gradient(180deg,rgba(255,255,255,.046),rgba(255,255,255,.012)); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; align-items: center; }
.founder-card > * { min-width: 0; }
.portrait-slot { position: relative; width: 100%; min-width: 0; min-height: 340px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border: 1px solid rgba(57,255,136,.28); border-radius: 24px; background: #080b08; box-shadow: 0 22px 50px rgba(0,0,0,.28); }
.portrait-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(0,0,0,.72) 100%); pointer-events: none; }
.portrait-slot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 62% center; transition: transform .6s ease; }
.founder-card:hover .portrait-slot img { transform: scale(1.035); }
.portrait-slot figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; display: grid; gap: 3px; }
.portrait-slot figcaption span { color: var(--white); font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.portrait-slot figcaption small { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.founder-card h3 { font-family: var(--display); font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.founder-card p  { color: var(--muted); font-size: 15px; line-height: 1.72; margin-top: 14px; }
.team-points { display: grid; gap: 10px; margin-top: 20px; }
.team-point  { display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.team-point b { color: var(--green); }
.team-grid   { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.role-card   { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.012)); border-radius: 22px; padding: 22px; }
.role-card b    { display: block; color: var(--white); font-size: 16px; }
.role-card span { display: block; color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; margin-bottom: 12px; }
.role-card p    { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ── MEDIA SECTION ──────────────────────────────────────────────── */
.media-placeholder { min-height: 220px; border: 1px dashed rgba(57,255,136,.25); border-radius: 22px; background: linear-gradient(135deg,rgba(57,255,136,.06),rgba(255,255,255,.018)); display: grid; place-items: center; text-align: center; padding: 34px; }

/* ── CTA / CONTACT ──────────────────────────────────────────────── */
.cta { padding: 110px 0 70px; background: #000; position: relative; overflow: hidden; }
.cta-card { border: 1px solid rgba(57,255,136,.2); background: radial-gradient(ellipse at 50% 0%,rgba(57,255,136,.14),transparent 45%), linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.014)); border-radius: 38px; padding: 48px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 42px; align-items: center; box-shadow: var(--shadow); }
.cta h2  { font-family: var(--display); font-size: clamp(36px,5.5vw,76px); line-height: .95; letter-spacing: -.06em; }
.cta p   { color: var(--muted); font-size: 17px; line-height: 1.78; margin-top: 20px; }
.audit-list { display: grid; gap: 12px; margin-top: 26px; }
.audit-list li { list-style: none; display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.audit-list li::before { content: "✓"; color: #000; background: var(--green); width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; flex: 0 0 22px; font-weight: 900; font-size: 12px; }
.form-card  { border: 1px solid var(--hair); border-radius: 26px; background: rgba(0,0,0,.42); padding: 24px; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input      { width: 100%; background: rgba(255,255,255,.045); border: 1px solid var(--hair); border-radius: 14px; padding: 13px 14px; color: var(--white); outline: none; transition: border-color .2s; }
.input:focus { border-color: rgba(57,255,136,.32); }
textarea.input { min-height: 104px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-note  { font-size: 12px; color: var(--dim); margin-top: 12px; line-height: 1.5; }
select.input option { background: #0a100a; color: var(--white); }

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-top: 64px; }
.contact-info { display: grid; gap: 20px; }
.contact-block { border: 1px solid var(--hair); background: linear-gradient(180deg,rgba(255,255,255,.042),rgba(255,255,255,.012)); border-radius: 20px; padding: 22px; }
.contact-block b    { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-block span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.contact-block a    { color: var(--green); }
.contact-block a:hover { text-decoration: underline; }
.contact-form-wrap  { border: 1px solid rgba(57,255,136,.18); background: radial-gradient(ellipse at 10% 0%,rgba(57,255,136,.08),transparent 44%), linear-gradient(180deg,rgba(255,255,255,.046),rgba(255,255,255,.012)); border-radius: var(--radius); padding: 34px; }
.contact-form-wrap h3 { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.04em; margin-bottom: 24px; }
.form-field { display: grid; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 12px; font-weight: 800; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }


/* TODO - UPDATE CODE CLEAR HERE */

/* ════════════════════════════════════════════════════════════════
   FOOTER - 4-column redesign
   ════════════════════════════════════════════════════════════════ */
.footer {
  background: #000;
  border-top: 1px solid var(--hair);
  padding: 0;
}
.footer-main {
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* Column 1 - Brand */
.footer-brand {}
.footer .brand-logo-img { width: 168px; margin-bottom: 18px; }
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 280px;
  margin-bottom: 22px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.025);
  display: grid; place-items: center;
  color: var(--dim);
  transition: .2s ease;
}
.footer-social-link:hover {
  border-color: rgba(57,255,136,.32);
  color: var(--green);
  background: rgba(57,255,136,.06);
}
.footer-social-link svg { width: 15px; height: 15px; fill: currentColor; }

/* Column 2 & 3 - Links */
.footer-col-title {
  font-size: 11px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-title::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57,255,136,.7);
}
.footer-nav-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-nav-list a {
  font-size: 13px;
  color: var(--dim);
  transition: color .2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-nav-list a:hover { color: var(--white); }
.footer-nav-list a::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--hair);
  flex-shrink: 0;
  transition: background .2s;
}
.footer-nav-list a:hover::before { background: var(--green); }

/* Column 4 - Contact / CTA */
.footer-cta-box {
  border: 1px solid rgba(57,255,136,.16);
  background: radial-gradient(ellipse at 10% 0%,rgba(57,255,136,.09),transparent 50%),
              linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border-radius: 20px;
  padding: 22px;
}
.footer-cta-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.footer-contact-items { display: grid; gap: 8px; margin-top: 16px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
}
.footer-contact-item a { color: var(--green); }
.footer-contact-item a:hover { text-decoration: underline; }
.fci-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(57,255,136,.07);
  border: 1px solid rgba(57,255,136,.15);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 12px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--hair);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { color: rgba(245,247,242,.24); font-size: 12px; }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(245,247,242,.24);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--white); }
.footer-partner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--hair);
  padding: 6px 10px;
  border-radius: 999px;
}
.footer-partner-badge span {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57,255,136,.8);
}

/* ── VIDEO SHELL ────────────────────────────────────────────────── */
.hero-panel { position: relative; }
.video-shell { position: relative; border: 1px solid rgba(245,247,242,.11); border-radius: 32px; overflow: hidden; background: linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08); min-height: 520px; }
.video-shell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 15%,rgba(57,255,136,.18),transparent 44%); z-index: 0; }
.video-slot { position: absolute; inset: 18px; border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.01)), radial-gradient(ellipse at 50% 20%,rgba(57,255,136,.16),transparent 46%), #030503; border: 1px solid rgba(245,247,242,.09); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; overflow: hidden; }
.video-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,transparent,rgba(255,255,255,.045),transparent); transform: translateX(-80%); animation: sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%,55% { transform: translateX(-90%); } 100% { transform: translateX(90%); } }
.slot-top   { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.slot-label { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(57,255,136,.25); padding: 7px 10px; border-radius: 999px; background: rgba(57,255,136,.07); }
.recording  { display: flex; align-items: center; gap: 8px; color: rgba(245,247,242,.58); font-size: 12px; }
.recording span { width: 8px; height: 8px; border-radius: 999px; background: #ff5151; box-shadow: 0 0 16px rgba(255,81,81,.8); }
.play-card  { position: relative; z-index: 1; margin: auto; text-align: center; display: grid; gap: 16px; place-items: center; max-width: 330px; }
.play-btn   { width: 86px; height: 86px; border-radius: 999px; display: grid; place-items: center; background: var(--green); color: #000; font-size: 32px; box-shadow: 0 0 0 12px rgba(57,255,136,.08), 0 0 80px rgba(57,255,136,.26); }
.play-card h3 { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.play-card p  { font-size: 14px; color: var(--muted); }
.slot-bottom  { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.micro-card   { border: 1px solid var(--hair); background: rgba(0,0,0,.38); border-radius: 16px; padding: 14px; backdrop-filter: blur(10px); }
.micro-card b { display: block; font-size: 22px; color: var(--green); letter-spacing: -.04em; }
.micro-card span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.floating-metric { position: absolute; right: -18px; bottom: 52px; background: rgba(2,5,2,.92); border: 1px solid rgba(57,255,136,.22); border-radius: 18px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.55); z-index: 4; }
.floating-metric strong { display: block; font-size: 32px; letter-spacing: -.06em; color: var(--green); }
.floating-metric span   { display: block; font-size: 12px; color: var(--muted); }

/* ── REVEAL ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SPIN ───────────────────────────────────────────────────────── */
@keyframes sv-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE - Tablet (≤1080px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width:1080px) {
  /* Nav */
  .nav-links       { display: none; }
  .partner-pill    { display: none; }
  .nav-socials     { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-toggle   { display: flex; align-items: center; justify-content: center; }

  /* Layouts */
  .hero-wrap, .problem-grid, .loop-panel,
  .case-grid, .process-layout, .faq-wrap,
  .cta-card, .service-detail, .contact-grid { grid-template-columns: 1fr; }

  .hero-panel { max-width: 560px; margin: 0 auto; }
  .system-grid, .services-grid, .test-grid { grid-template-columns: repeat(2,1fr); }
  .case-feature { grid-template-columns: 1fr; min-height: 0; }
  .case-media   { border-left: 0; border-top: 0; order: -1; aspect-ratio: 16 / 9; min-height: 220px; }
  .team-wrap, .founder-card { grid-template-columns: 1fr; }
  .founder-card .portrait-slot { width: min(100%, 620px); min-height: 0; aspect-ratio: 3 / 2; }
  .founder-card .portrait-slot img { object-position: 58% center; }
  .proof-bar-inner { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .faq-page-grid { grid-template-columns: 1fr; }
  .case-card-full { grid-template-columns: 1fr; }
  .ccf-media { border-left: 0; border-top: 1px solid var(--hair); }
  .process-aside { position: static; }
  .insight-card  { position: static; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE - Mobile (≤720px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width:720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .hero { padding: 40px 0 52px; min-height: auto; }
  .page-hero { padding: 40px 0 60px; }
  .hero-wrap { gap: 40px; }
  .hero-chip-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-title { font-size: clamp(40px,13vw,72px); }
  .hero-sub, .lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .video-shell { min-height: 420px; }
  .floating-metric { right: 8px; bottom: 20px; }

  /* Grids to single column */
  .proof-bar-inner,
  .system-grid,
  .services-grid,
  .test-grid,
  .case-stats,
  .ccf-stats,
  .loop-steps,
  .team-grid { grid-template-columns: 1fr; }

  .proof-item { border-right: 0 !important; border-bottom: 1px solid var(--hair); }
  .proof-item:last-child { border-bottom: 0; }

  .h2 { font-size: clamp(32px,11vw,52px); }
  .page-hero h1 { font-size: clamp(34px,11vw,60px); }

  .cta { padding: 72px 0 52px; }
  .cta-card { padding: 26px; border-radius: 24px; }
  .form-grid { grid-template-columns: 1fr; }

  .slot-bottom { grid-template-columns: 1fr; }
  .case-copy { padding: 22px; }
  .ccf-body  { padding: 22px; }
  .founder-card .portrait-slot { width: 100%; aspect-ratio: 4 / 3; }
  .nav-inner { width: calc(100% - 28px); }
  .brand-logo-img { width: 130px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }

  /* Process */
  .process-step { grid-template-columns: 44px 1fr; gap: 12px; }
  .step-count   { width: 44px; height: 44px; font-size: 14px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE - Small Mobile (≤420px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width:420px) {
  .hero-title { font-size: clamp(36px,12vw,58px); }
  .btn { font-size: 12px; padding: 11px 16px; }
  .cta-card { padding: 20px; }
  .founder-card { padding: 20px; }
  .process-step { padding: 16px; }
}

/* ── HOMEPAGE CASE STUDY SHOWCASE ──────────────────────────────── */
.case-showcase { display: grid; gap: 18px; margin-top: 48px; }
.case-showcase .case-feature { position: relative; grid-template-columns: 52% 48%; min-height: 550px; margin: 0; isolation: isolate; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.case-showcase .case-feature::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; top: -220px; left: -150px; border-radius: 50%; background: rgba(57,255,136,.15); filter: blur(38px); pointer-events: none; }
.case-showcase .case-feature:hover { transform: translateY(-5px); border-color: rgba(57,255,136,.4); box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.case-showcase .case-copy { padding: 42px; display: flex; flex-direction: column; }
.case-showcase .case-media { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; background: linear-gradient(145deg,rgba(57,255,136,.06),rgba(4,7,5,.88)); border-left: 1px solid var(--hair); }
.case-image-frame { flex: 1; min-height: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(0,0,0,.25); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.case-image-frame img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.case-showcase .case-feature:hover .case-image-frame img { transform: scale(1.025); }
.case-media figcaption { color: var(--dim); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.case-mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.case-mini-grid .case-mini { min-height: 255px; position: relative; overflow: hidden; padding: 30px; background: linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.015)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.case-mini-grid .case-mini::after { content: ""; position: absolute; width: 150px; height: 150px; right: -64px; bottom: -70px; border-radius: 50%; background: rgba(57,255,136,.10); filter: blur(18px); transition: transform .3s ease; }
.case-mini-grid .case-mini:hover { transform: translateY(-4px); border-color: rgba(57,255,136,.34); background: linear-gradient(135deg,rgba(57,255,136,.10),rgba(255,255,255,.025)); }
.case-mini-grid .case-mini:hover::after { transform: scale(1.35); }
.case-mini-grid .mini-metrics { position: relative; z-index: 1; }
.case-all { margin-top: 40px; text-align: center; }

@media (max-width:900px) {
  .case-showcase .case-feature { grid-template-columns: 1fr; min-height: 0; }
  .case-showcase .case-media { order: -1; min-height: 300px; border-left: 0; border-bottom: 1px solid var(--hair); }
}

@media (max-width:620px) {
  .case-showcase { margin-top: 32px; }
  .case-showcase .case-copy { padding: 26px 22px 28px; }
  .case-showcase .case-media { min-height: 230px; padding: 14px; }
  .case-mini-grid { grid-template-columns: 1fr; }
  .case-mini-grid .case-mini { min-height: 0; padding: 24px 22px; }
  .case-showcase .case-stats { grid-template-columns: 1fr; }
}
