/* ============================================================
   SURGISOFT SOLUTIONS — shared stylesheet
   Chassis adapted from Freedom MedTech Management + Hoosier MedTech
   Accent: amber / tech-warm (vs Freedom red, Hoosier navy)
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

:root {
  --amber: #B4253C;
  --deep-amber: #962339;
  --amber-soft: #D64B62;
  --black: #0A0A0A;
  --carbon: #141414;
  --carbon-2: #1A1A1A;
  --white: #FFFFFF;
  --muted: rgba(255,255,255,0.6);
  --muted-2: rgba(255,255,255,0.45);
  --line: rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.05);
  --line-dark: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--black);
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: rgba(180,37,60,0.3); color: var(--white); }
::-moz-selection { background: rgba(180,37,60,0.3); color: var(--white); }

/* keyboard focus — visible for a11y, hidden for mouse users */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.btn-text:focus-visible {
  outline-offset: 4px;
}
.audience-tile:focus-visible,
.portfolio-card:focus-visible,
.feature-card:focus-visible {
  outline-offset: 2px;
}

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

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 44px;
  border: 2px solid transparent; border-radius: 100px;
  font-family: inherit; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber); color: var(--white); border-color: var(--amber);
  box-shadow: 0 2px 8px rgba(180,37,60,0.2);
}
.btn-primary:hover {
  background: var(--white); color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(180,37,60,0.3), 0 4px 12px rgba(180,37,60,0.15);
}
.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: var(--white); color: var(--black); border-color: var(--white);
  transform: translateY(-3px);
}
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--deep-amber); text-decoration: none;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.btn-text:hover { gap: 14px; color: var(--amber); }
.section-dark .btn-text,
.section-amber .btn-text,
.hero .btn-text { color: var(--amber); }
.section-dark .btn-text:hover,
.hero .btn-text:hover { color: #D64B62; }
.btn-text .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn-text:hover .arrow { transform: translateX(4px); }

/* ── LABELS & BARS ── */
.label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); display: block;
}
.bar { height: 4px; border-radius: 2px; }
.bar-56 { width: 56px; }
.bar-amber { background: var(--amber); }

/* ── REVEAL — static. Premium = no slide-in theatrics. ── */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > *.reveal { transition-delay: 0 !important; }

/* hero entrance — single graceful fade on page load, no stagger */
.hero-anim { opacity: 0; animation: heroFade 0.7s var(--ease) 0.1s forwards; }
@keyframes heroFade { to { opacity: 1; } }

/* ══════════════════════════════════════════════════ NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;  /* above mobile menu so toggle is always clickable */
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(clamp(32px, 6vw, 80px), env(safe-area-inset-right, 0px)) 16px max(clamp(32px, 6vw, 80px), env(safe-area-inset-left, 0px));
  display: flex; align-items: center;
  background: rgba(10,10,10,0.85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(180,37,60,0.35));
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.nav-logo:hover .nav-logo-mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 14px rgba(180,37,60,0.5));
}
.nav-logo-mark img,
.nav-logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--amber); border-radius: 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px; border: 2px solid var(--amber);
  border-radius: 100px; background: transparent;
  color: var(--white); font-family: inherit; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, transform 0.3s;
}
.nav-cta:hover {
  background: var(--amber); color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(180,37,60,0.35), 0 2px 8px rgba(180,37,60,0.15);
}
/* hamburger / close — instant tap, zero layout shift, zero iOS tap delay */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  position: relative;
  width: 44px; height: 44px;
  padding: 0; margin: 0;
  background: none; border: 0; outline: 0;
  color: var(--white);
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;         /* kills iOS 300ms tap delay */
  flex-shrink: 0;
}
/* Explicitly lock: zero transform/bg/shadow on any state so it never moves */
.nav-toggle:hover,
.nav-toggle:active,
.nav-toggle:focus,
.nav-toggle:focus-visible {
  transform: none;
  background: none;
  box-shadow: none;
  outline: 0;
}
.nav-toggle svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  transition: opacity 0.12s linear;
  pointer-events: none;
  display: block;
}
.nav-toggle .icon-close { opacity: 0; }
.nav-toggle.open .icon-open { opacity: 0; }
.nav-toggle.open .icon-close { opacity: 1; }

/* mobile menu — snappy overlay below nav, no iOS delay */
.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  z-index: 9999;                            /* below nav (10000), above feedback widget */
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s linear;         /* fast, no spring easing */
  padding-top: calc(72px + env(safe-area-inset-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  touch-action: manipulation;
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }

/* header CTA is already display:none on mobile — no :has() rule needed */
.nav-mobile ul {
  list-style: none; display: flex; flex-direction: column;
  align-items: center; gap: 24px;
}
.nav-mobile a {
  color: var(--white); text-decoration: none;
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 8px 16px;
  transition: color 0.2s;
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--amber); }
.nav-mobile .nav-cta {
  margin-top: 12px; height: 52px; font-size: 0.78rem;
  background: var(--amber); color: var(--white);
}
.nav-mobile .nav-cta:hover { background: transparent; color: var(--white); }

/* ══════════════════════════════════════════════════ HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--black); color: var(--white);
  padding: 168px 0 120px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180,37,60,0.03) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none; z-index: 1;
}

/* hero glow orbs */
.hero-glow-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow { position: absolute; pointer-events: none; will-change: transform, opacity; }
.hero-glow i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  filter: blur(80px); font-style: normal;
}
.hero-glow::before {
  content: ''; position: absolute; inset: -20px;
  background-image: radial-gradient(rgba(180,37,60,0.45) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at center, black 0%, black 25%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, black 25%, transparent 65%);
  border-radius: 50%;
}
/* static ambient glow orbs — no drift */
.hero-glow-1 { width: 800px; height: 800px; top: 5%; left: -5%; opacity: 0.7; }
.hero-glow-1 i { background: radial-gradient(circle, rgba(180,37,60,0.16) 0%, rgba(150,35,57,0.04) 50%, transparent 70%); }
.hero-glow-2 { width: 600px; height: 600px; bottom: 0; right: -5%; opacity: 0.65; }
.hero-glow-2 i { background: radial-gradient(circle, rgba(180,37,60,0.12) 0%, rgba(120,25,45,0.03) 50%, transparent 70%); }
.hero-glow-3 { width: 500px; height: 500px; top: 40%; left: 35%; opacity: 0.55; }
.hero-glow-3 i { background: radial-gradient(circle, rgba(180,37,60,0.10) 0%, transparent 60%); }
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

/* two-column hero: text left, 3D dashboard right */
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  width: 100%;
}
.hero-grid .hero-inner { max-width: none; }
.hero-grid .hero-inner h1 {
  text-wrap: balance;
  hyphens: manual;
}
.hero-visual { min-width: 0; display: flex; justify-content: flex-end; align-items: center; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: center; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800;
  line-height: 1.08; color: var(--white); letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .bar { margin: 36px 0 32px; }
.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400;
  color: rgba(255,255,255,0.62); line-height: 1.75;
  max-width: 620px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* compact hero for subpages */
.hero.compact { min-height: 70vh; padding: 148px 0 80px; }
.hero.compact h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }

/* ══════════════════════════════════════════════════ SECTIONS */
/* dark elevated — alternates against pure-black .section-dark for rhythm */
.section-light {
  background: linear-gradient(180deg, #131313 0%, #101010 40%, #141414 100%);
  color: var(--white); padding: 160px 0;
  position: relative; overflow: hidden;
}
.section-light::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180,37,60,0.06) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none; z-index: 0;
}
.section-light::after {
  content: ''; position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180,37,60,0.09) 0%, transparent 55%);
  top: 0; left: 50%; transform: translate(-50%, -20%);
  pointer-events: none;
}
.section-dark {
  background: var(--black); color: var(--white); padding: 160px 0;
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180,37,60,0.05) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none;
}
.section-dark::after {
  content: ''; position: absolute;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150,35,57,0.1) 0%, transparent 60%);
  top: 0; left: 50%; transform: translate(-50%, -20%);
  pointer-events: none;
}
.section-light .wrap, .section-dark .wrap { position: relative; z-index: 1; }
.section-light .sec-head p,
.section-light .prose p { color: rgba(255,255,255,0.62); }
.section-light .prose p { color: rgba(255,255,255,0.7); }

/* CTA / amber section */
/* CTA section — monochromatic red, matches Freedom's .section-red pattern exactly */
.section-amber {
  background: linear-gradient(180deg, #8C1F32 0%, var(--deep-amber) 40%, #7A1B2D 100%);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
  color: var(--white);
}
.section-amber::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.section-amber::after {
  content: ''; position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.section-amber .wrap { position: relative; z-index: 1; }
.section-amber h2 { color: var(--white); }
.section-amber p { color: rgba(255,255,255,0.85); }
.section-amber .label { color: rgba(255,255,255,0.55); }
.section-amber .bar { background: rgba(255,255,255,0.4); }
.section-amber .btn-primary {
  background: var(--white); color: var(--deep-amber); border-color: var(--white);
}
.section-amber .btn-primary:hover {
  background: transparent; color: var(--white); border-color: var(--white);
}

/* section edge accent */
.section-edge { height: 0; position: relative; z-index: 10; overflow: visible; }
.section-edge::after {
  content: ''; position: absolute; left: 50%; top: -0.5px;
  transform: translateX(-50%); width: min(500px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(180,37,60,0.35) 35%, rgba(180,37,60,0.45) 50%, rgba(180,37,60,0.35) 65%, transparent 95%);
}

/* ══════════════════════════════════════════════════ SECTION HEAD */
.sec-head { margin-bottom: 60px; text-align: center; }
.sec-head.left { text-align: left; }
.sec-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.1; margin-top: 20px; letter-spacing: -0.035em;
}
.sec-head .bar { margin: 32px auto 0; }
.sec-head.left .bar { margin-left: 0; margin-right: auto; }
.sec-head p {
  font-size: 1rem; line-height: 1.8;
  max-width: 640px; margin: 28px auto 0; color: var(--muted);
}
.sec-head.left p { margin-left: 0; }
.section-dark .sec-head p { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════════════ PROSE */
.prose { max-width: 680px; margin: 0 auto; text-align: center; }
.prose p {
  font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.85;
  margin-bottom: 20px;
}
.prose p:last-child { margin-bottom: 0; }
.section-light .prose p { color: var(--muted); }
.section-dark .prose p { color: rgba(255,255,255,0.62); }

/* ══════════════════════════════════════════════════ FEATURE CARDS */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  text-align: left;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 0%, rgba(180,37,60,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(180,37,60,0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 4px 16px rgba(180,37,60,0.08), 0 0 0 1px rgba(180,37,60,0.1);
}
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(180,37,60,0.18), rgba(150,35,57,0.08));
  border: 1px solid rgba(180,37,60,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); margin-bottom: 28px;
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em;
  transition: filter 0.4s var(--ease);
}
.feature-card .icon svg {
  width: 24px; height: 24px; stroke: currentColor;
  filter: drop-shadow(0 0 6px rgba(180,37,60,0.2));
  transition: filter 0.3s;
}
.feature-card:hover .icon svg { animation: iconGlow 1s var(--ease) forwards; }
@keyframes iconGlow {
  0%   { filter: drop-shadow(0 0 6px rgba(180,37,60,0.2)); }
  40%  { filter: drop-shadow(0 0 18px rgba(180,37,60,0.5)) drop-shadow(0 0 4px rgba(180,37,60,0.3)); }
  100% { filter: drop-shadow(0 0 8px rgba(180,37,60,0.2)); }
}
.feature-card h3 {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 14px;
}
.feature-card .card-bar {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--deep-amber));
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(180,37,60,0.2);
  margin-bottom: 18px;
}
.feature-card p {
  font-size: 0.98rem; line-height: 1.75; color: rgba(255,255,255,0.6);
}

/* light-section feature card — same dark card, slightly brighter background */
.section-light .feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.section-light .feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(180,37,60,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 4px 16px rgba(180,37,60,0.1);
}

/* ══════════════════════════════════════════════════ SCREENSHOT FRAME */
.screenshot {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column;
}
.screenshot-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screenshot-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.screenshot-body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(180,37,60,0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(180,37,60,0.12), transparent 60%),
    #101010;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  padding: 40px; text-align: center;
  position: relative;
}
.screenshot-body::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180,37,60,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
}
.screenshot-body span { position: relative; z-index: 1; max-width: 80%; }

/* .section-light is dark now — no light-mode screenshot overrides */

/* ══════════════════════════════════════════════════ STATS STRIP */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 40px 0;
}
.stat { padding: 20px 16px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--line-dark);
}
.stat-num {
  font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 800;
  color: var(--amber); letter-spacing: -0.03em; line-height: 1;
}
.stat-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 12px; font-weight: 600;
}
/* section-light (dark-elevated) keeps the same borders as section-dark */

.stats-context {
  text-align: center; margin-top: 24px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 600;
}
.section-light .stats-context { color: var(--muted); }

/* ══════════════════════════════════════════════════ AUDIENCE TILES (home) */
.audience-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px;
}
.audience-tile {
  display: block; text-decoration: none; color: var(--white);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 44px 40px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s, background 0.4s;
  position: relative; overflow: hidden;
}
.audience-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(180,37,60,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.audience-tile:hover::before { opacity: 1; }
.audience-tile:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(180,37,60,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 4px 16px rgba(180,37,60,0.12);
}
.audience-tile > * { position: relative; z-index: 1; }
.audience-tile .tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.audience-tile h3 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 14px; line-height: 1.2;
}
.audience-tile p {
  font-size: 0.95rem; line-height: 1.65; color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.audience-tile.primary {
  background: linear-gradient(135deg, rgba(180,37,60,0.12) 0%, rgba(180,37,60,0.03) 60%, transparent 100%);
  border-color: rgba(180,37,60,0.2);
}
.audience-tile.primary h3 { font-size: 1.8rem; }
.audience-tile.primary p { color: rgba(255,255,255,0.7); }
.audience-tile.primary::before {
  background: linear-gradient(135deg, rgba(180,37,60,0.2), transparent 60%);
}

/* ══════════════════════════════════════════════════ STEP / COMPARE */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.compare-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 44px 40px;
  position: relative; color: var(--white);
}
.compare-card.bad { border-top: 3px solid rgba(217,80,80,0.55); }
.compare-card.good {
  border-top: 3px solid var(--amber);
  background: linear-gradient(135deg, rgba(180,37,60,0.06) 0%, rgba(255,255,255,0.02) 60%);
  border-color: rgba(180,37,60,0.2);
}
.compare-card .tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 18px;
}
.compare-card.bad .tag { color: rgba(217,80,80,0.9); }
.compare-card.good .tag { color: var(--amber); }
.compare-card h3 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 18px; line-height: 1.25; color: var(--white);
}
.compare-card ul { list-style: none; margin-top: 8px; }
.compare-card li {
  font-size: 0.98rem; line-height: 1.65; color: rgba(255,255,255,0.62);
  padding: 10px 0 10px 26px; position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.compare-card li:first-child { border-top: 0; }
.compare-card li::before {
  position: absolute; left: 0; top: 12px;
  font-weight: 700; font-size: 0.9rem;
}
.compare-card.bad li::before { content: '✕'; color: rgba(217,80,80,0.8); }
.compare-card.good li::before { content: '✓'; color: var(--amber); }

/* ══════════════════════════════════════════════════ STEP / NUMBERED */
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.outcome {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  color: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s;
}
.outcome:hover { background: rgba(255,255,255,0.05); border-color: rgba(180,37,60,0.2); }
.outcome-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(180,37,60,0.15); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
  border: 1px solid rgba(180,37,60,0.3);
}
.outcome h4 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.015em; color: var(--white);
}
.outcome p { font-size: 0.92rem; line-height: 1.65; color: rgba(255,255,255,0.62); }

/* ══════════════════════════════════════════════════ PORTFOLIO (about) */
.portfolio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.portfolio-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  color: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s, background 0.4s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(180,37,60,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 4px 16px rgba(180,37,60,0.08);
}
.portfolio-card .name {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; color: var(--white);
}
.portfolio-card .role {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber);
}
.portfolio-card p {
  font-size: 0.92rem; line-height: 1.65; color: rgba(255,255,255,0.62); flex: 1;
}
.portfolio-card .link {
  font-size: 0.78rem; font-weight: 600; color: var(--amber);
  text-decoration: none; letter-spacing: 0.02em;
}
.portfolio-card .link:hover { color: var(--deep-amber); }
.portfolio-card.self {
  background: var(--black); color: var(--white);
  border-color: transparent;
}
.portfolio-card.self .name { color: var(--white); }
.portfolio-card.self p { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════════════ CONTACT FORM */
.form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 44px 44px;
  max-width: 560px; margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}
.form-row { margin-bottom: 20px; }
.form label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%; font-family: inherit;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 14px 16px; font-size: 16px;          /* 16px: prevents iOS Safari auto-zoom on focus */
  color: var(--white); transition: border 0.2s, background 0.2s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.3); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--amber);
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 0 4px rgba(180,37,60,0.12);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .form-submit {
  width: 100%; margin-top: 8px;
  height: 54px;
}
.form-note {
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ══════════════════════════════════════════════════ FOOTER */
footer {
  background: var(--black); color: rgba(255,255,255,0.6);
  padding: 80px 0 60px;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%); width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,37,60,0.6), transparent);
}
footer::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(180,37,60,0.04) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none;
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  position: relative; z-index: 1;
}
.foot-brand .nav-logo { color: var(--white); }
.foot-brand p {
  font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.45);
  margin-top: 18px; max-width: 280px;
}
.foot-col h5 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.foot-col a:hover { color: var(--amber); }
.foot-bottom {
  margin-top: 60px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 1; gap: 20px; flex-wrap: wrap;
}
.foot-bottom p {
  font-size: 0.76rem; color: rgba(255,255,255,0.35); letter-spacing: 0.02em;
}
.foot-bottom .parent {
  color: rgba(255,255,255,0.5); font-weight: 600; font-size: 0.82rem;
}
.foot-bottom .parent a { color: var(--amber); text-decoration: none; }

/* ══════════════════════════════════════════════════ SCROLL PROGRESS */
.scroll-progress { display: none; }

/* ══════════════════════════════════════════════════ RESPONSIVE */
@media (hover: none) {
  .feature-card:hover { transform: none; box-shadow: none; background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
  .feature-card:hover::before { opacity: 0; }
  .feature-card:hover .icon svg { animation: none; }
  .btn:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { background: var(--amber); color: var(--white); box-shadow: 0 2px 8px rgba(180,37,60,0.2); }
  .nav-cta:hover { background: transparent; transform: none; box-shadow: none; }
  .audience-tile:hover, .portfolio-card:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-glow, .section-amber::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1024px) {
  .section-light, .section-dark { padding: 120px 0; }
  .section-amber { padding: 100px 0; }
  .hero { padding: 148px 0 100px; }
  .feature-grid { gap: 20px; }
  .feature-card { padding: 40px 32px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-tile.primary { grid-column: 1 / -1; }
  .compare-grid { grid-template-columns: 1fr; }
  .outcome-list { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav: ONLY logo + hamburger. CTA lives inside the menu overlay.
     (Hides header CTA so nav doesn't overflow; keeps the CTA inside .nav-mobile.) */
  nav .nav-inner > .nav-cta { display: none; }
}

@media (max-width: 768px) {
  nav { padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; }
  .nav-cta { height: 40px; padding: 0 16px; font-size: 0.72rem; letter-spacing: 0.05em; }
  .wrap { padding: 0 24px; }
  .section-light, .section-dark { padding: 96px 0; }
  .section-amber { padding: 80px 0; }
  .hero { min-height: 100svh; padding: 120px 0 80px; }
  .hero.compact { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-desc { font-size: 1rem; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .sec-head { margin-bottom: 44px; }
  .sec-head h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 32px 26px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-tile { padding: 36px 30px; }
  .audience-tile.primary h3 { font-size: 1.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 28px 0; gap: 20px 0; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line-dark); padding-top: 28px; }
  .section-light .stat:nth-child(3), .section-light .stat:nth-child(4) { border-top-color: var(--line); }
  .compare-card, .outcome { padding: 28px 24px; }
  .portfolio-card { padding: 30px 26px; }
  .form { padding: 32px 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-brand { grid-column: 1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn { height: 52px; padding: 0 32px; font-size: 0.78rem; }
  .btn-primary, .btn-ghost { width: auto; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 20px; }
  nav { padding-left: 16px; padding-right: 16px; }
  .hero h1, .hero.cinematic h1 { font-size: clamp(1.6rem, 7.5vw, 1.9rem); line-height: 1.12; }
  .sec-head h2 { font-size: clamp(1.45rem, 5.8vw, 1.85rem); }
  .feature-card { padding: 28px 22px; }
  .audience-tile { padding: 32px 26px; }
  .btn { height: 50px; padding: 0 26px; font-size: 0.74rem; }
  .nav-logo-mark { width: 30px; height: 30px; }
  .nav-logo { font-size: 0.88rem; gap: 8px; }
}
