/* =====================================================================
   VEYRAK ADVISORY — Design System v2
   High-end corporate. White / Black / Gold. Serif display + Inter.
   ===================================================================== */

:root {
  /* Light surfaces (no beige) */
  --bg:            #ffffff;
  --bg-2:          #f5f5f3;   /* faint neutral band */
  --surface:       #ffffff;
  --ink:           #15161a;
  --muted:         #5b606a;
  --muted-2:       #888e98;

  /* Black (dark sections) */
  --black:         #0a0a0b;
  --black-2:       #101013;
  --black-3:       #17181c;
  --on-dark:       #ffffff;
  --on-dark-muted: rgba(255,255,255,0.64);

  /* Gold accent (from VK wordmark) */
  --gold:          #c19a52;
  --gold-2:        #e6c982;   /* light, for dark backgrounds */
  --gold-deep:     #9c7836;
  --gold-grad:     linear-gradient(180deg, #ecdcab 0%, #cba65d 46%, #a07a37 100%);
  --gold-soft:     rgba(193,154,82,0.11);
  --gold-line:     rgba(193,154,82,0.40);

  /* Lines & shadows */
  --line:          rgba(20,21,26,0.10);
  --line-soft:     rgba(20,21,26,0.06);
  --line-dark:     rgba(255,255,255,0.12);
  --shadow-sm:     0 1px 2px rgba(16,17,20,0.04), 0 4px 16px rgba(16,17,20,0.05);
  --shadow-md:     0 10px 34px rgba(16,17,20,0.09);
  --shadow-lg:     0 24px 70px rgba(8,8,10,0.18);

  /* Status */
  --status-dev:    #6b7280;
  --status-vuln:   #b4863a;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --section-y: clamp(68px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

/* --------------------------- Typography ------------------------------ */
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.06; color: var(--ink); }
h3, h4 { font-family: var(--font-ui); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.3rem); }
h4 { font-size: 1.02rem; }
p  { color: var(--muted); }
strong { color: inherit; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-line); }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--gold-2); }
.on-dark .eyebrow::before, .section--dark .eyebrow::before { background: rgba(230,201,130,0.45); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.62; color: var(--muted); font-weight: 400; }
.on-dark .lead, .section--dark .lead { color: var(--on-dark-muted); }

/* ----------------------------- Logo ---------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 0.78;
  letter-spacing: -0.05em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: 0.30em; color: #fff; padding-left: 2px; }
.logo-sub  { font-family: var(--font-ui); font-weight: 500; font-size: 9px; letter-spacing: 0.44em; color: var(--gold-2); text-transform: uppercase; padding-left: 3px; }
.logo--lg .logo-mark { font-size: 64px; }
.logo--lg .logo-word { font-size: 26px; letter-spacing: 0.34em; }
.logo--lg .logo-sub  { font-size: 11px; }
.logo--footer .logo-mark { font-size: 40px; }

/* ----------------------------- Layout -------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 900px; }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(52px, 6vw, 84px) 0; }
.section--dark { background: var(--black); color: var(--on-dark); }
.section--band { background: var(--bg-2); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

.section-head { max-width: 760px; }
.section-head--center { max-width: 800px; margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(34px, 5vw, 76px); align-items: center; }

.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }

/* ----------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 540; font-size: 0.95rem; letter-spacing: 0.005em;
  padding: 14px 27px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 11px 21px; font-size: 0.89rem; }
.btn--lg { padding: 16.5px 34px; font-size: 1.0rem; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--gold); color: #221a08; }
.btn--accent:hover { background: #ab8540; box-shadow: 0 12px 30px rgba(193,154,82,0.30); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20,21,26,0.03); }

.on-dark .btn--primary, .section--dark .btn--primary { background: #fff; color: var(--ink); }
.on-dark .btn--primary:hover, .section--dark .btn--primary:hover { background: #f1f1ef; }
.on-dark .btn--ghost, .section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.26); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-deep); font-weight: 540; }
.textlink:hover { color: var(--gold); }
.on-dark .textlink { color: var(--gold-2); }

/* ------------------------------ Cards -------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.card h3 { margin-top: 20px; }
.card p { margin-top: 11px; font-size: 0.97rem; }
.on-dark .card, .section--dark .card { background: var(--black-2); border-color: var(--line-dark); box-shadow: none; }
.on-dark .card:hover, .section--dark .card:hover { border-color: rgba(230,201,130,0.4); }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold-deep);
}
.card-icon svg { width: 23px; height: 23px; }
.on-dark .card-icon, .section--dark .card-icon { color: var(--gold-2); background: rgba(230,201,130,0.10); border-color: rgba(230,201,130,0.26); }
.card-num { font-family: var(--font-ui); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.14em; color: var(--gold-deep); text-transform: uppercase; }
.on-dark .card-num, .section--dark .card-num { color: var(--gold-2); }

/* ------------------------- KPI Scorecards ---------------------------- */
.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.kpi-value { font-family: var(--font-ui); font-weight: 600; font-size: clamp(2.8rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi-label { font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-top: 10px; }
.kpi-meter { height: 5px; border-radius: 100px; background: rgba(20,21,26,0.08); overflow: hidden; margin-top: 15px; }
.kpi-meter > span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.on-dark .kpi, .section--dark .kpi { background: var(--black-2); border-color: var(--line-dark); box-shadow: none; }
.on-dark .kpi-value, .on-dark .kpi-label, .section--dark .kpi-value, .section--dark .kpi-label { color: #fff; }
.on-dark .kpi-meter, .section--dark .kpi-meter { background: rgba(255,255,255,0.12); }

.pill { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; padding: 4px 12px; border-radius: 100px; background: rgba(107,114,128,0.12); color: var(--status-dev); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--vuln { background: rgba(180,134,58,0.15); color: var(--status-vuln); }
.pill--dev  { background: rgba(107,114,128,0.13); color: var(--status-dev); }
.pill--soft { background: var(--gold-soft); color: var(--gold-deep); }
.on-dark .pill--soft, .section--dark .pill--soft { background: rgba(230,201,130,0.15); color: var(--gold-2); }
.on-dark .pill--dev, .section--dark .pill--dev { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); }

/* ------------------------- Checklist / lists ------------------------- */
.checklist { display: grid; gap: 15px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-size: 1.02rem; }
.checklist .tick { flex: none; width: 25px; height: 25px; border-radius: 7px; margin-top: 1px; background: var(--gold-soft); border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold-deep); font-size: 0.78rem; font-weight: 600; }
.checklist .tick svg { width: 13px; height: 13px; }
.on-dark .checklist li, .section--dark .checklist li { color: #fff; }
.on-dark .checklist .tick, .section--dark .checklist .tick { color: var(--gold-2); background: rgba(230,201,130,0.12); border-color: rgba(230,201,130,0.3); }

.spec-list { display: grid; border-top: 1px solid var(--line); }
.spec-list li { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.99rem; font-weight: 500; }
.spec-list li::before { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--gold); }
.on-dark .spec-list, .section--dark .spec-list { border-color: var(--line-dark); }
.on-dark .spec-list li, .section--dark .spec-list li { color: #fff; border-color: var(--line-dark); }

/* ------------------------------ Header ------------------------------- */
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(10,10,11,0.86); backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 90px; }
.brand { display: inline-flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 0.8rem; color: #ffffff; font-weight: 500; position: relative; padding: 4px 0; transition: color .18s ease; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--gold); border-radius: 2px; }
.header-cta { display: flex; align-items: center; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.18); border-radius: 11px; background: transparent; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle span { width: 18px; height: 1.8px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 12px 28px 26px; border-bottom: 1px solid var(--line-dark); background: var(--black); }
.mobile-nav a { padding: 14px 4px; color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav .btn { margin-top: 18px; border-bottom: none; }

/* ------------------------------- Hero -------------------------------- */
.hero { background: var(--black); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(120% 95% at 78% 0%, #000 28%, transparent 76%);
          mask-image: radial-gradient(120% 95% at 78% 0%, #000 28%, transparent 76%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 5vw, 76px); align-items: center; padding: clamp(58px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { color: #fff; margin-top: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { margin-top: 24px; max-width: 560px; }
.hero .btn-row { margin-top: 36px; }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-top: 1px solid var(--line-dark); margin-top: clamp(36px, 4vw, 56px); }
.hero-stats .stat { padding: 26px 34px 8px 0; margin-right: 34px; border-right: 1px solid var(--line-dark); }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat .n { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--gold-2); }
.hero-stats .stat .t { font-size: 0.85rem; color: var(--on-dark-muted); margin-top: 8px; }

/* Hero visual — city through office window */
.hero-visual { position: relative; }
.window { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: var(--shadow-lg); background: #05060a; aspect-ratio: 5 / 6; }
.window > svg { width: 100%; height: 100%; }
.glass-card { position: absolute; left: 16px; bottom: 16px; background: rgba(10,11,14,0.62); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 15px 17px; min-width: 215px; }
.glass-card .gc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glass-card .gc-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.glass-card .gc-val { font-family: var(--font-ui); font-weight: 600; font-size: 1.9rem; color: #fff; font-variant-numeric: tabular-nums; margin-top: 4px; }
.glass-card .gc-bars { display: grid; gap: 6px; margin-top: 12px; }
.glass-card .gc-bar { height: 4px; border-radius: 100px; background: rgba(255,255,255,0.14); overflow: hidden; }
.glass-card .gc-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ------------------------- Split capability -------------------------- */
.cap-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.cap-panel { background: var(--surface); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow-sm); }
.cap-panel:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.cap-panel:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.cap-mid { display: grid; place-items: center; padding: 0 8px; }
.cap-vs { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.04em; box-shadow: var(--shadow-md); }
.cap-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cap-panel h3 { font-size: 1.16rem; }
.cap-viz { width: 100%; height: auto; margin-top: 4px; }
.cap-note { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }

/* ------------------------------ Steps -------------------------------- */
.steps { display: grid; gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 20px; }
.step h3 { font-size: 1.12rem; }
.step p { margin-top: 10px; font-size: 0.96rem; }
.on-dark .step, .section--dark .step { background: var(--black-2); border-color: var(--line-dark); }
.on-dark .step-num, .section--dark .step-num { background: var(--gold); color: #221a08; }

.process { display: grid; }
.process-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-item:last-child { border-bottom: none; }
.process-index { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--gold-deep); width: 46px; height: 46px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; }
.process-body h3 { font-size: 1.2rem; }
.process-body p { margin-top: 9px; }
.process-body .mini-list { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip { font-size: 0.82rem; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; }

/* --------------------------- Report mockups -------------------------- */
.report-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rpage { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 22px; aspect-ratio: 3 / 4; overflow: hidden; display: flex; flex-direction: column; }
.rpage-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.rpage-rule { height: 2px; width: 48px; background: var(--gold); margin: 12px 0 16px; border-radius: 2px; }
.rpage h4 { font-size: 1.1rem; line-height: 1.22; font-family: var(--font-display); font-weight: 600; }
.rpage .muted-lines { margin-top: auto; display: grid; gap: 7px; }
.muted-lines i { height: 7px; border-radius: 4px; background: rgba(20,21,26,0.07); display: block; }
.muted-lines i.s { width: 60%; }
.rpage-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 6px; }
.rpage-kpis div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 11px; }
.rpage-kpis b { font-family: var(--font-ui); font-weight: 600; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.rpage-kpis span { display: block; font-size: 0.62rem; color: var(--muted); margin-top: 2px; }
.rpage-heat { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; margin-top: 10px; }
.rpage-heat i { aspect-ratio: 1; border-radius: 4px; }
.rpage-road { display: grid; gap: 9px; margin-top: 6px; }
.rpage-road i { height: 11px; border-radius: 100px; background: linear-gradient(90deg, var(--gold), rgba(230,201,130,0.25)); display: block; }
.rpage-road i:nth-child(2){ width: 86%; } .rpage-road i:nth-child(3){ width: 72%; }
.rpage-road i:nth-child(4){ width: 90%; } .rpage-road i:nth-child(5){ width: 64%; }

/* Heat scale (gold ramp) */
.heatstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.heatstrip i, .rpage-heat i { display: block; }
.h1c { background: #e7e7e3; } .h2c { background: #ddc596; } .h3c { background: #cda861; }
.h4c { background: #b3893f; } .h5c { background: #8c6526; }

/* ------------------------- Report card (hero alt) -------------------- */
.report-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; position: relative; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.rc-sub { font-size: 0.72rem; color: var(--muted-2); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 3px; }
.rc-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); padding: 5px 11px; border: 1px solid var(--gold-line); border-radius: 100px; }
.rc-scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.rc-score { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.rc-score .v { font-family: var(--font-ui); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rc-score .l { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.rc-score .m { height: 4px; border-radius: 100px; background: rgba(20,21,26,0.08); margin-top: 9px; overflow: hidden; }
.rc-score .m > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ----------------------------- CTA band ------------------------------ */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }
.cta-band h2 { max-width: 820px; margin-inline: auto; }
.cta-band p { max-width: 640px; margin: 20px auto 0; }

/* ----------------------------- Page hero ----------------------------- */
.page-hero { background: var(--black); color: var(--on-dark); position: relative; overflow: hidden; padding: clamp(72px,9vw,120px) 0 clamp(60px,7vw,92px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px); background-size: 70px 70px; -webkit-mask-image: radial-gradient(110% 100% at 88% 0%, #000 24%, transparent 72%); mask-image: radial-gradient(110% 100% at 88% 0%, #000 24%, transparent 72%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-top: 22px; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--gold-2); }
.page-hero .lead { margin-top: 24px; max-width: 700px; }

/* --------------------------- Prose blocks ---------------------------- */
.prose-block { padding: clamp(40px,5vw,64px) 0; border-bottom: 1px solid var(--line); }
.prose-block:last-child { border-bottom: none; }
.prose-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px,4vw,60px); }
.prose-grid h2 { font-size: clamp(1.7rem,2.6vw,2.3rem); }
.prose-body p + p { margin-top: 16px; }
.prose-body .lead + * { margin-top: 22px; }

.def-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.def-row:last-child { border-bottom: none; }
.def-row h3 { font-size: 1.18rem; }
.def-row .num-badge { font-family: var(--font-display); color: var(--gold-deep); font-size: 0.95rem; margin-bottom: 6px; }
.on-dark .def-row, .section--dark .def-row { border-color: var(--line-dark); }
.on-dark .def-row .num-badge, .section--dark .def-row .num-badge { color: var(--gold-2); }
.def-row p { margin: 0; }

/* ------------------------------ Forms -------------------------------- */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,46px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.97rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; width: 100%; transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-note { font-size: 0.87rem; color: var(--muted); margin-top: 8px; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--ink); font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status a { color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid var(--gold-line); }
.form-status--error { background: rgba(150,60,60,0.10); border-color: #c97a72; color: #9a3b34; }
.form-status--error a { color: #9a3b34; border-color: #c97a72; }

.aside-card { background: var(--black); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(28px,3.5vw,40px); }
.aside-card h3 { color: #fff; }
.aside-card p { color: var(--on-dark-muted); margin-top: 12px; font-size: 0.96rem; }
.aside-card .contact-line { margin-top: 24px; display: grid; gap: 15px; }
.aside-card .contact-line a, .aside-card .contact-line span { color: #fff; display: inline-flex; align-items: center; gap: 12px; font-size: 0.96rem; }
.aside-card .contact-line .ci { width: 18px; color: var(--gold-2); flex: none; }

/* --------------------------- Misc helpers ---------------------------- */
.divider-quote { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; font-size: clamp(1.7rem,3.4vw,2.6rem); line-height: 1.24; color: var(--ink); max-width: 20ch; }
.divider-quote em { font-style: italic; color: var(--gold-deep); }
.on-dark .divider-quote, .section--dark .divider-quote { color: #fff; }
.lift { color: var(--gold-deep); }
.center { text-align: center; }
.note-box { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 24px 26px; }
.note-box h4 { margin-bottom: 8px; }
.note-box p { margin: 0; font-size: 0.97rem; }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

[id] { scroll-margin-top: 110px; }

/* ------------------------------ Footer ------------------------------- */
.site-footer { background: var(--black); color: var(--on-dark); padding: clamp(60px,7vw,90px) 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; padding-bottom: 42px; border-bottom: 1px solid var(--line-dark); }
.brand--footer { margin-bottom: 4px; }
.footer-tagline { color: var(--gold-2); font-size: 1.0rem; margin-top: 18px; font-weight: 500; font-family: var(--font-display); font-style: italic; }
.footer-meta { color: var(--on-dark-muted); font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer-email { display: inline-block; margin-top: 16px; color: #fff; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; font-size: 0.95rem; }
.footer-email:hover { color: var(--gold-2); border-color: var(--gold-2); }
.footer-nav { display: flex; flex-direction: column; gap: 13px; }
.footer-nav-title { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.footer-nav a { color: var(--on-dark-muted); font-size: 0.95rem; transition: color .18s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 26px; color: var(--on-dark-muted); font-size: 0.83rem; }

/* --------------------------- Responsive ------------------------------ */
@media (max-width: 1040px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; }
  .prose-grid { grid-template-columns: 1fr; gap: 18px; }
  .def-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .report-pages { grid-template-columns: 1fr; }
  .cap-split { grid-template-columns: 1fr; }
  .cap-panel:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .cap-panel:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .cap-mid { padding: 12px 0; }
  .cap-vs { transform: rotate(90deg); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .hero-stats .stat { border-right: none; }
  .form-grid { grid-template-columns: 1fr; }
  .rc-scores { grid-template-columns: 1fr 1fr; }
  .logo-mark { font-size: 40px; }
  .header-inner { height: 78px; }
  .btn { width: 100%; } .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 460px) { .grid-4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

/* ===================================================================
   v3 — launch additions: navy, image logo, a11y, services, pricing
   =================================================================== */
:root { --navy: #13213c; --navy-2: #1d3056; --gold-text: #876627; }

/* Navy = secondary dark colour */
.section--navy { background: var(--navy); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--on-dark-muted); }
.section--navy .eyebrow { color: var(--gold-2); }
.section--navy .eyebrow::before { background: rgba(230,201,130,0.45); }
.section--navy .lead { color: var(--on-dark-muted); }
.section--navy .card { background: var(--navy-2); border-color: rgba(255,255,255,0.13); box-shadow: none; }
.section--navy .card-icon { color: var(--gold-2); background: rgba(230,201,130,0.10); border-color: rgba(230,201,130,0.26); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.section--navy .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* AA-contrast gold for small text on light backgrounds */
.eyebrow { color: var(--gold-text); }
.card-num { color: var(--gold-text); }
.textlink { color: var(--gold-text); }
.pill--soft { color: var(--gold-text); }
.process-index { color: var(--gold-text); }
.def-row .num-badge { color: var(--gold-text); }
.rpage-tag { color: var(--gold-text); }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}
.hero a:focus-visible, .page-hero a:focus-visible, .site-header a:focus-visible,
.site-footer a:focus-visible, .section--dark a:focus-visible, .section--navy a:focus-visible,
.site-header .nav-toggle:focus-visible { outline-color: var(--gold-2); }

/* Image logo */
.logo-img { height: 50px; width: auto; display: block; }
.logo-img--footer { height: 78px; width: auto; display: block; margin-bottom: 4px; }
@media (max-width: 760px) { .logo-img { height: 38px; } }

/* Service cards */
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3vw,42px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.service-card--secondary { background: var(--bg-2); }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,2.2vw,2rem); letter-spacing: -0.01em; margin-top: 14px; }
.service-card .svc-desc { margin-top: 14px; }
.service-card .spec-list { margin-top: 22px; }
.service-card .btn-row { margin-top: auto; padding-top: 28px; }
.svc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 5px 12px; border-radius: 100px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.price-badge { align-self: flex-start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #221a08; background: var(--gold); padding: 5px 13px; border-radius: 100px; margin-bottom: 16px; }
.price-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.price-amount { font-family: var(--font-display); font-weight: 600; font-size: 2.3rem; color: var(--ink); margin-top: 12px; line-height: 1.1; }
.price-amount small { display: block; font-family: var(--font-ui); font-size: 0.84rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price-card .spec-list { margin-top: 22px; }
.price-card .btn-row { margin-top: auto; padding-top: 26px; }

/* Device / laptop mockup */
.device-screen { background: var(--black); border: 12px solid #1b1c21; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.device-base { height: 16px; background: linear-gradient(#24262d, #14151a); border-radius: 0 0 18px 18px; margin: 0 -7%; }
.device-screen > svg, .device-screen > img { display: block; width: 100%; }

/* Checkbox field */
.checkbox-field { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / -1; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.checkbox-field label { font-size: 0.9rem; color: var(--muted); font-weight: 400; line-height: 1.5; }

/* Sample report preview cards */
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.preview-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.preview-card .pc-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.preview-card h4 { margin-top: 12px; }

@media (max-width: 860px) { .price-grid, .preview-grid { grid-template-columns: 1fr; } }

/* Eyebrow contrast on dark hero / page headers (AA) */
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: rgba(230,201,130,0.45); }

/* Photo hero (home) — drop your image at assets/hero.jpg to replace the placeholder */
.hero { background: #0a0a0b; }
.hero::before { display: none; }
.hero-photo { position: absolute; inset: 0; z-index: 0; background: #0a0a0b url("hero.jpg") center/cover no-repeat; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.86) 32%, rgba(8,8,10,0.52) 64%, rgba(8,8,10,0.30) 100%),
    linear-gradient(0deg, rgba(8,8,10,0.62) 0%, rgba(8,8,10,0) 44%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 660px; padding: clamp(74px,9vw,128px) 0 clamp(64px,8vw,108px); }
.hero-glass { position: absolute; right: clamp(20px,4vw,60px); bottom: clamp(22px,4vw,52px); z-index: 2; }
@media (max-width: 900px) {
  .hero-glass { display: none; }
  .hero-photo::after { background: linear-gradient(90deg, rgba(8,8,10,0.93), rgba(8,8,10,0.76)), linear-gradient(0deg, rgba(8,8,10,0.72), rgba(8,8,10,0) 52%); }
}

/* ===================================================================
   v4 — logo refresh, nav, de-boxed icons, editorial process numbers
   =================================================================== */
.nav a:hover { color: var(--gold-2); }

/* Icon cards: remove the square container, enlarge the icon */
.card-icon { width: auto; height: auto; background: none; border: none; }
.card-icon svg { width: 34px; height: 34px; }
.on-dark .card-icon, .section--navy .card-icon, .section--dark .card-icon { background: none; border: none; }

/* Process steps: large gold numerals instead of black square icons */
.step-num { background: none !important; color: var(--gold) !important; width: auto; height: auto; border-radius: 0; font-size: 2.9rem; line-height: 1; margin-bottom: 8px; }
.on-dark .step-num, .section--dark .step-num { background: none !important; color: var(--gold) !important; }

/* ===================================================================
   v5 — services: primary card outline, compact lists, advisory image
   =================================================================== */
.service-card--primary { border: 2px solid var(--gold); }
.service-card .spec-list { border-top: none; }
.service-card .spec-list li { border-bottom: none; padding: 6px 2px; gap: 12px; }
.svc-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.svc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* v6 — pricing compact lists + about large gold numbers */
.price-card .spec-list { border-top: none; }
.price-card .spec-list li { border-bottom: none; padding: 6px 2px; gap: 12px; }
.about-num { font-family: var(--font-display); font-weight: 600; font-size: 2.9rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 6px; }

/* v7 — unified gold numbering + report snapshots */
.step-num, .about-num { font-family: var(--font-display); font-weight: 600; font-size: 2.9rem; line-height: 1; color: var(--gold); display: block; text-align: left; width: auto; height: auto; background: none; border-radius: 0; margin: 0 0 8px; padding: 0; }
.snap { background: #0c1018; border: 1px solid #233049; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); margin: 0; display: flex; flex-direction: column; }
.snap-head { padding: 13px 16px; border-bottom: 1px solid #1d2740; display: flex; justify-content: space-between; align-items: center; }
.snap-head .t { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.snap-head .s { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #8a909c; }
.snap-body { padding: 18px; flex: 1; }
.snap-body svg { width: 100%; height: auto; display: block; }

/* v8 — final logos, brighter dark-section body text, report hero image + overlay feature */
:root { --on-dark-muted: rgba(255,255,255,0.90); }
.snap-head .s { color: #aab0bd; }

/* Report Output — text overlaid on the image as a designed feature card */
.report-feature { position: relative; max-width: 1100px; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid #233049; box-shadow: var(--shadow-lg); isolation: isolate; }
.report-feature img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; }
.report-feature__cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: 14px; max-width: 600px; padding: clamp(26px,5vw,62px);
  background: linear-gradient(90deg, rgba(6,8,12,.93) 0%, rgba(6,8,12,.80) 38%, rgba(6,8,12,.34) 70%, rgba(6,8,12,.06) 100%); }
.report-feature__cap .eyebrow { color: var(--gold-2); }
.report-feature__cap .eyebrow::before { background: rgba(230,201,130,.45); }
.report-feature__cap h2 { color: #fff; }
.report-feature__cap .lead { color: rgba(255,255,255,.93); margin: 0; }
@media (max-width: 640px) {
  .report-feature img { aspect-ratio: 4/5; }
  .report-feature__cap { max-width: none; justify-content: flex-end; padding: 22px 20px 26px;
    background: linear-gradient(180deg, rgba(6,8,12,.30) 0%, rgba(6,8,12,.62) 48%, rgba(6,8,12,.90) 100%); }
}

/* v10 — hero & page-hero lead paragraphs in white on dark hero backgrounds (per request) */
.hero .lead, .page-hero .lead { color: #ffffff; }

/* v11 — Report Preview grid responsive (desktop 3 / tablet 2 / mobile 1) + About 'What makes us different' bottom breathing room to match the card section rhythm */
@media (max-width: 920px) { .report-pages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .report-pages { grid-template-columns: 1fr; } }
.about-different { padding-bottom: calc(var(--section-y) + clamp(24px, 3.5vw, 44px)); }

/* v12 — Why We Exist stacks vertically (heading above paragraph) on all widths */
.why-exist .prose-grid { grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 20px); }
.why-exist .prose-body { max-width: 760px; }

/* v13 — Page header background photos (B&W), matching the Home hero treatment */
.page-hero--photo { background: var(--black); }
.page-hero--photo::after {
  content:""; position:absolute; inset:0; z-index:0;
  background-size: cover; background-position: var(--hero-pos, center); background-repeat: no-repeat;
}
.page-hero--photo .container { position: relative; z-index: 2; }
/* Per-page header image — literal url() in this stylesheet so it resolves to assets/images/* after deploy */
.services-hero::after { background-image: var(--hero-grad), url("images/services-header-bw.jpg"); }
.report-hero::after   { background-image: var(--hero-grad), url("images/report-preview-header-bw.jpg"); }
.pricing-hero::after  { background-image: var(--hero-grad), url("images/pricing-header-bw.jpg"); }
.about-hero::after    { background-image: var(--hero-grad), url("images/about-header-bw.jpg"); }
.privacy-hero::after  { background-image: var(--hero-grad), url("images/about-header-bw.jpg"); }
.contact-hero::after  { background-image: var(--hero-grad), url("images/contact-header-bw.jpg"); }
:root { --hero-grad:
  linear-gradient(90deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,.86) 32%, rgba(8,8,10,.52) 64%, rgba(8,8,10,.30) 100%),
  linear-gradient(0deg, rgba(8,8,10,.62) 0%, rgba(8,8,10,0) 44%); }
@media (max-width: 900px) {
  :root { --hero-grad:
    linear-gradient(90deg, rgba(8,8,10,.93) 0%, rgba(8,8,10,.78) 100%),
    linear-gradient(0deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,0) 52%); }
}
