/* =================================================================
   OnSecOps — Application Security & Penetration Testing
   Design system: dark security-platform aesthetic
   ================================================================= */

/* ---------- Fonts (self-hosted, variable, latin) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/space-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* color */
  --bg: #0A0E1A;
  --surface: #11182B;
  --elevated: #161F36;
  --text: #E8ECF4;
  --muted: #8B96AB;
  --accent: #00E5C7;
  --accent-2: #4D7FFF;
  --grad: linear-gradient(135deg, #00E5C7 0%, #4D7FFF 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* severity */
  --sev-low: #4D7FFF;
  --sev-med: #E5A100;
  --sev-high: #FF6B5B;
  --sev-crit: #FF3B5B;

  /* spacing — 8px scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-7: 64px; --s-8: 80px;
  --s-9: 96px; --s-10: 128px;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --maxw: 1180px;
  --header-h: 72px;

  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 var(--s-2);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.375rem); }
h3 { font-size: 1.375rem; }
p  { margin: 0 0 var(--s-2); color: var(--text); }
a  { color: var(--accent); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(0, 229, 199, 0.25); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-3); }
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.center { text-align: center; }
.maxw-prose { max-width: 720px; }
.mx-auto { margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.7; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #04201c; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--s-2);
  position: relative;
}
.eyebrow::after {
  content: ""; display: block; height: 2px; width: 0;
  margin-top: 8px; background: var(--grad); border-radius: 2px;
  transition: width 0.8s var(--ease);
}
.section.in-view .eyebrow::after, .in-view > .eyebrow::after { width: 38px; }
.eyebrow--static::after { width: 38px; }

/* ---------- Background textures ---------- */
.dotgrid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}

/* =================================================================
   Header
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 14, 26, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; gap: var(--s-4); width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { letter-spacing: -0.02em; }
.brand-name b { color: var(--accent); font-weight: 700; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 8px; position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }
.nav-link[aria-current="page"], .nav-link.active { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-link[aria-current="page"]::after, .nav-link.active::after { transform: scaleX(1); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { background: none; border: 0; cursor: pointer; font: inherit; }
.dropdown-caret { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.has-dropdown[data-open="true"] .dropdown-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; background: rgba(17, 24, 43, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; color: var(--text); transition: background 0.18s ease; }
.dropdown-item:hover, .dropdown-item:focus-visible { background: var(--elevated); }
.dropdown-item .di-icon { color: var(--accent); flex: none; margin-top: 2px; }
.dropdown-item .di-title { font-weight: 600; font-size: 0.95rem; }
.dropdown-item .di-sub { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }

.header-cta { margin-left: 4px; }

/* hamburger */
.menu-toggle { display: none; }

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  --glow: 0 0 0 rgba(0,229,199,0);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.97rem;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.12s ease, box-shadow 0.3s var(--ease), background 0.3s ease, color 0.2s ease;
  text-align: center; line-height: 1; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #03201c; background: var(--grad);
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 8px 24px -10px rgba(0, 229, 199, 0.6);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: #03201c; background-position: 100% 50%;
  box-shadow: 0 10px 34px -8px rgba(0, 229, 199, 0.75), 0 0 0 1px rgba(0,229,199,0.4);
}
.btn-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-secondary:hover, .btn-secondary:focus-visible { color: var(--text); border-color: var(--accent); background: var(--elevated); }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* link with animated underline wipe */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-weight: 600; position: relative;
}
.link-arrow .arr { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* =================================================================
   Hero
   ================================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 12vw, 150px) clamp(48px, 8vw, 90px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-aurora {
  position: absolute; width: 900px; height: 720px; left: 50%; top: -120px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,229,199,0.16), rgba(77,127,255,0.07) 55%, transparent 75%);
  filter: blur(20px); animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.hero-parallax {
  position: absolute; inset: -10%;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
  will-change: transform;
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 700px; margin-bottom: var(--s-4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

.grad-text {
  background: var(--grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* trust strip */
.trust-strip {
  margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: 10px 10px;
  position: relative; z-index: 1;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--muted); font-weight: 500;
  padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(17, 24, 43, 0.5);
}
.trust-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* =================================================================
   Reveal animation utility
   ================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-stagger].in-view > * { opacity: 1; transform: none; }

/* =================================================================
   Stats band
   ================================================================= */
.stats-band { border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(17,24,43,0.4), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.stat { text-align: center; padding: var(--s-2); }
.stat-num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

/* =================================================================
   Section headers
   ================================================================= */
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* =================================================================
   Cards / grids
   ================================================================= */
.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; background: rgba(17, 24, 43, 0.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s-4); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.card::before { /* pointer-tracking sheen */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(0,229,199,0.10), transparent 65%);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(0,229,199,0.4); box-shadow: 0 18px 40px -22px rgba(0,229,199,0.35), var(--shadow); }
.card:hover::before { opacity: 1; }

/* service cards */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .icon-badge { margin-bottom: var(--s-3); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.97rem; flex-grow: 0; }
.service-card .tags { margin: var(--s-2) 0 var(--s-3); }
.service-card .link-arrow { margin-top: auto; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 229, 199, 0.08); border: 1px solid rgba(0,229,199,0.2);
  color: var(--accent);
}
.icon-badge svg { width: 24px; height: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.76rem; font-weight: 500; color: var(--muted);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.tag--accent { color: var(--accent); border-color: rgba(0,229,199,0.3); }

/* =================================================================
   Compliance strip
   ================================================================= */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  font-weight: 500; font-size: 0.92rem; color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), background 0.25s ease;
}
.chip:hover { border-color: rgba(0,229,199,0.45); transform: translateY(-2px); background: var(--elevated); }
.chip .chk { width: 16px; height: 16px; color: var(--accent); flex: none; }

.compliance-band {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(77,127,255,0.10), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(0,229,199,0.08), transparent 55%),
    var(--surface);
  padding: clamp(28px, 5vw, 48px);
}

/* =================================================================
   Approach timeline
   ================================================================= */
.timeline { position: relative; display: grid; gap: var(--s-3); }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px;
  background: var(--border); border-radius: 2px;
}
.timeline::after {
  content: ""; position: absolute; left: 23px; top: 12px; width: 2px; height: 0;
  background: var(--grad); border-radius: 2px;
  transition: height 1.4s var(--ease);
}
.timeline.in-view::after { height: calc(100% - 24px); }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3); align-items: start; }
.tl-num {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  position: relative; z-index: 1; transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.timeline.in-view .tl-step .tl-num { color: var(--accent); border-color: rgba(0,229,199,0.5); background: var(--elevated); box-shadow: 0 0 0 4px rgba(0,229,199,0.06); }
.tl-body h3 { margin-bottom: 6px; font-size: 1.18rem; }
.tl-body p { color: var(--muted); margin-bottom: 0; }

/* =================================================================
   Deliverables / list-checks
   ================================================================= */
.check-list { display: grid; gap: var(--s-2); }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--text); }
.check-list .ci { color: var(--accent); margin-top: 3px; }
.check-list b { font-weight: 600; }
.check-list span.muted { color: var(--muted); }

/* severity legend */
.sev-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-3); }
.sev-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border);
}
.sev-chip .sw { width: 9px; height: 9px; border-radius: 50%; }
.sev-crit { color: var(--sev-crit); } .sev-crit .sw { background: var(--sev-crit); }
.sev-high { color: var(--sev-high); } .sev-high .sw { background: var(--sev-high); }
.sev-med  { color: var(--sev-med); }  .sev-med .sw  { background: var(--sev-med); }
.sev-low  { color: var(--sev-low); }  .sev-low .sw  { background: var(--sev-low); }

/* report anatomy two-col */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); align-items: start; }

/* =================================================================
   Industries / credential cards
   ================================================================= */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.cred-card { text-align: center; padding: var(--s-5) var(--s-3); }
.cred-card .icon-badge { margin: 0 auto var(--s-3); width: 56px; height: 56px; }
.cred-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cred-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* =================================================================
   Final CTA band
   ================================================================= */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; text-align: center; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,229,199,0.22);
  background:
    radial-gradient(110% 160% at 50% 0%, rgba(0,229,199,0.16), transparent 55%),
    var(--surface);
  padding: clamp(40px, 7vw, 80px) var(--s-4);
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: 600px; height: 400px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(77,127,255,0.18), transparent 70%);
}
.cta-card h2 { position: relative; max-width: 760px; margin-inline: auto; }
.cta-card p { position: relative; color: var(--muted); max-width: 560px; margin: 0 auto var(--s-4); }
.cta-card .btn { position: relative; }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(17,24,43,0.4)); margin-top: var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-5); padding-block: var(--s-8) var(--s-5); }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-family: var(--ff-body); font-weight: 600; margin-bottom: var(--s-2); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.94rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-brand .brand { margin-bottom: var(--s-2); }
.footer-brand p { color: var(--muted); font-size: 0.94rem; max-width: 280px; }
.footer-brand .fmail { color: var(--text); font-weight: 500; }
.footer-note { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; justify-content: space-between; }
.footer-bottom, .footer-bottom a { color: var(--muted); font-size: 0.86rem; }
.footer-bottom .fb-links { display: flex; gap: var(--s-3); }
.footer-bottom a:hover { color: var(--accent); }

/* =================================================================
   Mobile menu
   ================================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 14, 26, 0.98);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; padding: var(--s-3);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mm-nav { display: flex; flex-direction: column; gap: 4px; margin-top: var(--s-4); }
.mm-nav a, .mm-sub-label {
  font-family: var(--ff-head); font-size: 1.5rem; font-weight: 600; color: var(--text);
  padding: 12px 4px; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateX(20px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.open .mm-nav a, .mobile-menu.open .mm-sub-label { opacity: 1; transform: none; }
.mm-sub-label { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border: 0; padding-bottom: 4px; }
.mm-sub { padding-left: var(--s-2); display: flex; flex-direction: column; }
.mm-sub a { display: block; font-size: 1.12rem; font-weight: 500; }
.mm-cta { margin-top: auto; padding-top: var(--s-4); }
.mm-cta .btn { width: 100%; }
.icon-btn { background: none; border: 1px solid var(--border); border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* =================================================================
   Page fade-in
   ================================================================= */
.page { opacity: 0; transition: opacity 0.25s ease; }
.page.loaded { opacity: 1; }

/* generic prose page (legal) */
.prose h2 { margin-top: var(--s-5); }
.prose h3 { margin-top: var(--s-4); }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-bottom: var(--s-2); }

/* related services strip */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.related-card { padding: var(--s-3); }
.related-card .icon-badge { width: 40px; height: 40px; margin-bottom: 12px; }
.related-card .di-title { font-weight: 600; font-size: 0.96rem; color: var(--text); }
.related-card { display: flex; flex-direction: column; gap: 4px; }

/* coverage two columns */
.cols-2 { columns: 2; column-gap: var(--s-5); }
.coverage-item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-bottom: var(--s-2); break-inside: avoid; }
.coverage-item .ci { color: var(--accent); margin-top: 3px; }
.coverage-item span { color: var(--text); }

/* about founder card */
.founder-card { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; }
.founder-mark { width: 96px; height: 96px; border-radius: 18px; background: var(--elevated); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); flex: none; }
.founder-mark svg { width: 52px; height: 52px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-5); align-items: start; }
.contact-list { display: grid; gap: var(--s-3); margin-top: var(--s-3); }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-2); align-items: start; }
.contact-item .icon-badge { width: 44px; height: 44px; }
.contact-item .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item a, .contact-item b { color: var(--text); font-weight: 500; }
.calendly-embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-height: 640px; background: var(--surface); }
.calendly-inline-widget { min-width: 320px; height: 680px; }

/* error page */
.error-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--ff-head); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-2); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}
@media (max-width: 820px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .cred-grid, .related { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .founder-card { grid-template-columns: 1fr; }
}

/* =================================================================
   Reduced motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero-aurora { animation: none; }
  .timeline::after { transition: none; }
  .page { opacity: 1; }
}
