/* ============================================================
   Knock Security Solutions — design system
   Type:    Archivo (display, variable width) / IBM Plex Sans (body)
            / IBM Plex Mono (data + technical)
   Colour:  warm near-black ground, gold→ember brand accent drawn
            from the shield mark, so the logo belongs to the palette
            instead of fighting it.
   ============================================================ */

/* ---------- Self-hosted type (no third-party runtime request) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/Archivo-500-800.woff2') format('woff2-variations');
  font-weight: 500 800;
  font-stretch: 75% 125%;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-500.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/IBMPlexSans-600.woff2') format('woff2');
  font-weight: 600; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/IBMPlexMono-600.woff2') format('woff2');
  font-weight: 600; font-display: swap; font-style: normal;
}

:root {
  /* Ground — warm charcoal, not blue-navy */
  --bg:            #0a0806;
  --bg-raised:     #14100c;
  --bg-sunken:     #060504;

  --surface:        rgba(255, 240, 224, .035);
  --surface-strong: rgba(255, 240, 224, .062);
  --border:         rgba(255, 232, 208, .10);
  --border-strong:  rgba(255, 232, 208, .21);

  --text:       #f7f1e9;
  --text-dim:   #a89c8e;
  --text-faint: #6f6559;

  /* Brand — gold to ember, taken from the shield */
  --accent:      #ffb02e;
  --accent-2:    #ff7a3d;
  --accent-deep: #e0651f;
  --accent-soft: rgba(255, 176, 46, .13);
  --grad: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 100%);

  /* Severity — a red-to-neutral intensity ramp, deliberately kept
     off the brand gold so data never reads as decoration */
  --sev-critical: #ff3d5a;
  --sev-high:     #e2566a;
  --sev-medium:   #b98a4b;
  --sev-low:      #6b7684;
  --ok:           #4ad3a3;
  --warn:         #ffc861;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --radius:    18px;
  --radius-sm: 11px;
  --wrap: 1200px;

  --shadow-card: 0 1px 1px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-lift: 0 1px 1px rgba(0,0,0,.3), 0 28px 60px -24px rgba(0,0,0,.85);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

/* ---------- Warm paper light theme ---------- */
:root[data-theme="light"] {
  --bg:        #faf6f0;
  --bg-raised: #ffffff;
  --bg-sunken: #f2ece3;
  --surface:        rgba(60, 40, 20, .035);
  --surface-strong: rgba(60, 40, 20, .055);
  --border:         rgba(60, 40, 20, .12);
  --border-strong:  rgba(60, 40, 20, .24);
  --text:       #1c1610;
  --text-dim:   #5d5347;
  --text-faint: #857a6c;
  --accent:      #b96a06;
  --accent-2:    #d1521c;
  --accent-deep: #9c4a08;
  --accent-soft: rgba(185, 106, 6, .10);
  --sev-critical: #cf2036; --sev-high: #b8354a; --sev-medium: #8a6224; --sev-low: #5c6672;
  --ok: #0e8f68;
  --shadow-card: 0 1px 2px rgba(60,40,20,.07), 0 6px 20px -12px rgba(60,40,20,.22);
  --shadow-lift: 0 2px 4px rgba(60,40,20,.08), 0 24px 50px -22px rgba(60,40,20,.34);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:        #faf6f0;
    --bg-raised: #ffffff;
    --bg-sunken: #f2ece3;
    --surface:        rgba(60, 40, 20, .035);
    --surface-strong: rgba(60, 40, 20, .055);
    --border:         rgba(60, 40, 20, .12);
    --border-strong:  rgba(60, 40, 20, .24);
    --text:       #1c1610;
    --text-dim:   #5d5347;
    --text-faint: #857a6c;
    --accent:      #b96a06;
    --accent-2:    #d1521c;
    --accent-deep: #9c4a08;
    --accent-soft: rgba(185, 106, 6, .10);
    --sev-critical: #cf2036; --sev-high: #b8354a; --sev-medium: #8a6224; --sev-low: #5c6672;
    --ok: #0e8f68;
    --shadow-card: 0 1px 2px rgba(60,40,20,.07), 0 6px 20px -12px rgba(60,40,20,.22);
    --shadow-lift: 0 2px 4px rgba(60,40,20,.08), 0 24px 50px -22px rgba(60,40,20,.34);
  }
}

* { 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;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine grain over the whole page — stops flat dark from looking like a void */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); opacity: .028; mix-blend-mode: overlay;
}
:root[data-theme="light"] body::before { opacity: .022; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.wrap-narrow { max-width: 840px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .48em;
  color: var(--text);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 3.9vw, 3.5rem);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.02;
  letter-spacing: -0.032em;
}
/* Full-width pages can carry a larger display size than the split hero */
.prose h1, .page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.06;
  letter-spacing: -0.026em;
  max-width: 20ch;
}
h3 { font-size: 1.16rem; font-weight: 600; line-height: 1.28; letter-spacing: -0.014em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-dim); margin: 0 0 1.05em; max-width: 66ch; }
a { color: var(--accent); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--accent-2); }
strong { color: var(--text); font-weight: 600; }
ul, ol { color: var(--text-dim); padding-left: 1.15em; max-width: 66ch; }
li { margin-bottom: .5em; }
img { max-width: 100%; }
hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }
::selection { background: var(--accent); color: #1a1206; }

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

/* Clip rather than off-screen positioning, so the link never contributes
   to document scroll width */
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 200;
  background: var(--accent); color: #17100a; padding: 13px 22px;
  border-radius: 0 0 10px 0; font-weight: 600;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { clip-path: none; }

.section-lede { font-size: 1.12rem; line-height: 1.6; color: var(--text-dim); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 14px var(--accent); flex-shrink: 0;
}

/* ---------- Cards ---------- */
.glass-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color .28s ease, transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
  overflow: hidden;
}
/* Cursor-follow spotlight — coordinates set by script.js */
.glass-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 68%);
}
.glass-card:hover::after { opacity: 1; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 22px; }
.logo {
  display: flex; align-items: center; gap: 11px; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-stretch: 106%;
  font-size: 1.12rem; letter-spacing: -0.028em;
}
.logo:hover { color: var(--text); }
.logo b { font-weight: 700; color: var(--accent); }
.logo-mark { flex-shrink: 0; display: block; object-fit: contain; }

.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: var(--text-dim); font-size: .93rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .16s ease, background .16s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-strong); }
.main-nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 9px; }
.nav-toggle span { width: 21px; height: 2px; background: var(--text); border-radius: 2px; display: block; transition: transform .22s ease, opacity .22s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: .93rem; letter-spacing: -0.008em;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--grad); color: #1a1004;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 26px -10px var(--accent-deep);
}
.btn-primary:hover { transform: translateY(-2px); color: #1a1004; box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 16px 34px -12px var(--accent-deep); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: .97rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ============ Hero ============ */
/* overflow:hidden clips .hero-glow, which is deliberately drawn past the
   viewport edges and would otherwise create horizontal page scroll */
.hero { position: relative; padding: 104px 0 76px; overflow: hidden; }
.page-hero { position: relative; padding: 76px 0 52px; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -20% auto -20%; height: 780px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 380px at 18% 24%, rgba(255,176,46,.15), transparent 62%),
    radial-gradient(520px 340px at 78% 8%,  rgba(255,122,61,.11), transparent 64%),
    radial-gradient(900px 500px at 50% -10%, rgba(255,140,40,.05), transparent 70%);
  filter: blur(6px);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero .lede { max-width: 540px; font-size: 1.16rem; line-height: 1.58; margin-top: 22px; }
.hero-actions { display: flex; gap: 15px; align-items: center; margin: 34px 0 52px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 34px; border-top: 1px solid var(--border); }
.hero-stats > div { display: flex; flex-direction: column; gap: 5px; }
.hero-stats .num {
  font-family: var(--font-display); font-size: 2.15rem; font-weight: 700; font-stretch: 100%;
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .stat-label { color: var(--text-faint); font-size: .83rem; line-height: 1.45; max-width: 21ch; }

.breadcrumb { font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); margin-bottom: 18px; letter-spacing: .02em; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero .lede { font-size: 1.14rem; max-width: 60ch; }

/* ---------- Engagement log visual ---------- */
.term-card {
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: linear-gradient(168deg, #191410 0%, #0c0908 100%);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 1px solid rgba(255,232,208,.09); background: rgba(255,232,208,.025);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.term-dot.r { background: #ff5f56; } .term-dot.y { background: #ffbd2e; } .term-dot.g { background: #27c93f; }
.term-title { margin-left: 10px; font-family: var(--font-mono); font-size: .72rem; color: #6f6559; letter-spacing: .02em; }
.term-body { padding: 20px 18px; font-family: var(--font-mono); font-size: .795rem; line-height: 1.95; }
.term-body p { margin: 0 0 .18em; color: #a89c8e; max-width: none; }
.p-prompt { color: var(--accent); font-weight: 600; }
.p-dim { color: #6f6559; }
.p-ok { color: var(--ok); font-weight: 600; }
.redacted {
  display: inline-block; min-width: 96px; border-radius: 3px;
  background: repeating-linear-gradient(45deg, #2b241d, #2b241d 4px, #221c17 4px, #221c17 8px);
  color: transparent; user-select: none; position: relative; vertical-align: middle; height: 15px;
}
.redacted::after {
  content: "REDACTED"; position: absolute; inset: 0; color: #6f6559;
  font-size: .58rem; letter-spacing: .1em; display: flex; align-items: center; justify-content: center;
}
.tag {
  display: inline-block; font-weight: 600; font-size: .68rem; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 5px; margin-right: 8px; border: 1px solid transparent;
}
.tag.critical { background: rgba(255,61,90,.14);  color: var(--sev-critical); border-color: rgba(255,61,90,.3); }
.tag.high     { background: rgba(226,86,106,.14); color: var(--sev-high);     border-color: rgba(226,86,106,.3); }
.tag.medium   { background: rgba(185,138,75,.16); color: var(--sev-medium);   border-color: rgba(185,138,75,.32); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1.15s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* ============ Trust strip ============ */
.trust-strip { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-sunken); }
.trust-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--text-faint); }
.trust-items { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }

/* ============ Sections ============ */
.section { padding: 104px 0; border-top: 1px solid var(--border); }
.section-head { margin-bottom: 52px; }

/* ============ Proof ============ */
.proof-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.proof-meta { display: flex; gap: 38px; margin-top: 28px; flex-wrap: wrap; }
.proof-meta .v {
  display: block; font-family: var(--font-display); font-size: 1.85rem; font-weight: 700;
  font-stretch: 100%; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums;
}
.proof-meta .k { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); letter-spacing: .05em; text-transform: uppercase; }

.sev-card { padding: 30px; }
.sev-title { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); margin-bottom: 22px; }
.sev-row { display: grid; grid-template-columns: 68px 1fr 24px; align-items: center; gap: 14px; margin-bottom: 15px; }
.sev-row:last-of-type { margin-bottom: 0; }
.sev-label { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.sev-label.critical { color: var(--sev-critical); } .sev-label.high { color: var(--sev-high); }
.sev-label.medium { color: var(--sev-medium); } .sev-label.low { color: var(--sev-low); }
.sev-track { height: 7px; border-radius: 999px; background: var(--surface-strong); overflow: hidden; }
.sev-fill { height: 100%; border-radius: 999px; transform-origin: left; }
.sev-fill.critical { background: var(--sev-critical); width: 17%; box-shadow: 0 0 14px -2px var(--sev-critical); }
.sev-fill.high     { background: var(--sev-high);     width: 17%; }
.sev-fill.medium   { background: var(--sev-medium);   width: 67%; }
.sev-fill.low      { background: var(--sev-low);      width: 100%; }
.sev-count { text-align: right; font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); font-size: .85rem; }

/* ============ Bento / feature grids ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card { padding: 32px; display: flex; flex-direction: column; }
.bento-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.featured { border-color: color-mix(in srgb, var(--accent) 38%, var(--border)); }
.bento-card.featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, var(--accent-soft), transparent 58%);
}
.bento-card > * { position: relative; z-index: 1; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.sm { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 16px; }
.card-icon.sm svg { width: 19px; height: 19px; }
.card-tag { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); margin-bottom: 11px; }
.bento-card p { margin-bottom: 16px; font-size: .96rem; }
.card-map { font-family: var(--font-mono); font-size: .71rem; color: var(--text-faint); letter-spacing: .03em; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); margin-bottom: 0; }
.card-link { font-weight: 600; font-size: .89rem; margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; }
.card-link:hover { gap: 11px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 28px; }
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-card h3 { font-size: 1.02rem; }
.feature-card p { font-size: .93rem; margin: 0; }
.feature-card ul { font-size: .93rem; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============ Service blocks ============ */
.service-block { padding: 44px; margin-bottom: 20px; }
.service-block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; max-width: 24ch; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.detail-col h4 { font-family: var(--font-mono); font-size: .71rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--text-faint); margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; margin-bottom: 11px; color: var(--text-dim); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; border-radius: 5px;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb02e' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ============ Process ============ */
.process-list { display: grid; gap: 18px; counter-reset: step; }
.process-step { padding: 32px 32px 32px 92px; }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 32px; top: 30px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; font-stretch: 88%;
  letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { margin-bottom: 0; font-size: .96rem; }
.process-step .step-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); margin-top: 14px; letter-spacing: .03em; }

/* ============ Team ============ */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; }
.team-card { padding: 34px; }
.team-role { font-family: var(--font-display); font-weight: 700; font-stretch: 104%; letter-spacing: -0.022em; color: var(--text); margin-bottom: 16px; font-size: 1.25rem; }
.team-certs { margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  padding: 5px 11px; border-radius: 999px;
}
.team-card p:last-child { margin-bottom: 0; font-size: .95rem; }

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 46px 24px 0; font-family: var(--font-display); font-size: 1.08rem;
  font-weight: 600; font-stretch: 102%; letter-spacing: -0.016em; color: var(--text);
  position: relative; transition: color .18s ease;
}
.faq-q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-q:hover { color: var(--accent); }
.faq-a { padding: 0 0 24px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a[hidden] { display: none; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 15px; }
.contact-list li { display: flex; gap: 15px; align-items: baseline; }
.contact-list a { font-weight: 600; font-size: 1.08rem; }
.contact-label { font-family: var(--font-mono); font-size: .71rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); width: 64px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 17px; padding: 34px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: .71rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font-sans); font-size: .97rem;
  resize: vertical; transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form button { align-self: flex-start; margin-top: 6px; }
.form-note { font-size: .79rem; margin: 6px 0 0; color: var(--text-faint); line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; margin: 0; }
.form-status.ok  { background: rgba(74,211,163,.1); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 34%, transparent); }
.form-status.err { background: rgba(255,61,90,.1); color: var(--sev-critical); border: 1px solid color-mix(in srgb, var(--sev-critical) 34%, transparent); }
.form-status[hidden] { display: none; }

/* ============ CTA band ============ */
.cta-band { position: relative; padding: 100px 0; border-top: 1px solid var(--border); text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 300px at 50% 100%, var(--accent-soft), transparent 68%);
}
.cta-band h2 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.cta-band p { margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ============ Prose / legal ============ */
.prose { padding: 64px 0 92px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; max-width: none; }
.prose h3 { font-size: 1.06rem; margin-top: 1.7em; }
.prose p, .prose li { font-size: .98rem; }
.prose .meta { font-family: var(--font-mono); font-size: .8rem; color: var(--text-faint); }
.notice {
  padding: 18px 20px; border-radius: var(--radius-sm); font-size: .9rem; line-height: 1.6;
  background: rgba(255,200,97,.08); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  color: var(--text-dim); margin-bottom: 32px;
}
.notice strong { color: var(--warn); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 68px 0 30px; background: var(--bg-sunken); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .71rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-dim); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--border); font-size: .83rem; color: var(--text-faint); flex-wrap: wrap; gap: 10px; }

/* ============ Utilities ============
   The Content-Security-Policy sets style-src 'self' with no 'unsafe-inline',
   which blocks inline style="" attributes. Anything that would otherwise be
   an inline style must live here as a class. */
.u-center      { text-align: center; }
.u-center-x    { margin-left: auto; margin-right: auto; }
.u-layer       { position: relative; z-index: 1; }
.u-mt-s        { margin-top: 16px; }
.u-mt-m        { margin-top: 24px; }
.u-mt-l        { margin-top: 36px; }
.u-mb-xs       { margin-bottom: 4px; }
.u-mb-s        { margin-bottom: 8px; }
.eyebrow.u-center { justify-content: center; }
.detail-note   { font-size: .93rem; }
.footer-bottom.is-bare { border-top: none; padding-top: 0; }

/* ---------- Scroll reveal (visible by default without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 580px; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-3 { grid-column: span 2; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid, .contact-grid, .service-detail, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 72px 0 56px; }
  .service-block { padding: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .bento, .bento-card.span-3, .feature-grid, .team-grid, .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
  .hero-stats { gap: 26px; }
  .service-block, .contact-form, .team-card, .bento-card { padding: 26px; }
  .process-step { padding: 26px 24px 26px 24px; }
  .process-step::before { position: static; display: block; margin-bottom: 10px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 72px 0; }
}

body.nav-open { overflow: hidden; }
body.nav-open .main-nav {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 16px 24px; z-index: 55; overflow-y: auto;
}
body.nav-open .main-nav a { padding: 18px 6px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.1rem; }
body.nav-open .nav-cta { display: flex; position: fixed; bottom: 26px; left: 24px; right: 24px; z-index: 56; }

@media print {
  .site-header, .site-footer, .cta-band, .hero-glow, .nav-toggle, body::before { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .glass-card { border: 1px solid #ccc; box-shadow: none; }
}
