/* ==========================================================================
   LAABH 365 — Stylesheet
   Hand-written, no framework, no build step.
   Sections: 1 Tokens · 2 Reset · 3 Layout · 4 Type · 5 Components
             6 Header · 7 Footer · 8 Page blocks · 9 Responsive · 10 Utilities
   ========================================================================== */

/* --- 1. Design tokens ---------------------------------------------------- */

:root {
  /* Brand */
  --ink:          #060E1D;
  --navy:         #0B1E3D;
  --navy-700:     #102a52;
  --navy-500:     #1B3E70;
  --gold:         #C08A2E;
  --gold-bright:  #D9A441;
  --gold-soft:    #F2E4C9;

  /* Neutrals */
  --paper:        #FCFBF9;
  --surface:      #FFFFFF;
  --surface-alt:  #F5F3EF;
  --line:         #E4E1DA;
  --line-strong:  #D2CEC4;

  /* Text */
  --text:         #16203A;
  --text-muted:   #56607A;
  --text-invert:  #F7F5F1;
  --text-invert-muted: rgba(247, 245, 241, .72);

  /* Type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* Space */
  --gutter: 1.5rem;
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* Shape */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 18px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(6, 14, 29, .06),
               0 2px 8px rgba(6, 14, 29, .04);
  --shadow:    0 2px 4px rgba(6, 14, 29, .05),
               0 12px 32px -8px rgba(6, 14, 29, .12);
  --shadow-lg: 0 4px 8px rgba(6, 14, 29, .06),
               0 24px 60px -12px rgba(6, 14, 29, .18);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { padding: 0; list-style: none; }

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

::selection { background: var(--gold-soft); color: var(--ink); }

/* --- 3. Layout ----------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section--alt { background: var(--surface-alt); }
.section--dark {
  background: var(--navy);
  color: var(--text-invert);
}
.section--dark .section-kicker { color: var(--gold-bright); }
.section--dark .section-lede,
.section--dark p { color: var(--text-invert-muted); }
.section--dark h2, .section--dark h3 { color: var(--text-invert); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack > * + * { margin-top: 1rem; }

/* --- 4. Typography ------------------------------------------------------- */

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.125rem, 1.9vw, 1.375rem); line-height: 1.3; }
h4 { font-size: 1rem; letter-spacing: -.01em; }

p { text-wrap: pretty; }

.section-kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-muted);
  margin-top: 1.125rem;
  line-height: 1.7;
}

.prose > * + * { margin-top: 1.15rem; }
.prose h3 { margin-top: 2.5rem; }
/* Matches both a <ul> nested in .prose and a <ul class="prose"> used alone. */
.prose ul, ul.prose { display: grid; gap: .625rem; }
.prose ul li, ul.prose > li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}
.prose ul li::before, ul.prose > li::before {
  content: "";
  position: absolute;
  left: .25rem; top: .7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- 5. Components ------------------------------------------------------- */

/* Buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--text-invert);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), border-color .16s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--gold  { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-bright); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--surface); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--text-invert);
  border-color: rgba(255, 255, 255, .28);
}
.btn--on-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }

.btn--lg { padding: .95rem 1.85rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy);
  transition: gap .16s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .16s var(--ease); }
.link-arrow:hover { gap: .6rem; }
.link-arrow:hover::after { transform: translateX(2px); }
.section--dark .link-arrow { color: var(--gold-bright); }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: .625rem; }
.card p { color: var(--text-muted); font-size: .9375rem; }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--gold-soft);
  color: var(--navy);
  margin-bottom: 1.125rem;
}
.card-icon svg { width: 22px; height: 22px; }

/* Badge / pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border-radius: 100px;
  background: var(--gold-soft);
  color: #6B4C0F;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge--outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: .8125rem;
}
.badge--dark {
  background: rgba(255,255,255,.08);
  color: var(--gold-bright);
  border: 1px solid rgba(255,255,255,.14);
}

/* Definition list — used for verifiable company facts */
.facts { display: grid; gap: 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-muted); font-weight: 500; }
.facts dd { font-weight: 600; color: var(--text); }
.facts a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 1.75rem 1.5rem; }
.stat-num {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1.1;
}
.stat-label {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: .375rem;
}

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); }
.step {
  counter-increment: step;
  background: var(--paper);
  padding: 1.75rem 0 1.75rem 4.25rem;
  position: relative;
}
.section--alt .step { background: var(--surface-alt); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1.75rem;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  width: 3.25rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-muted); font-size: .9375rem; max-width: 68ch; }

/* Forms */
.field { display: grid; gap: .45rem; margin-bottom: 1.125rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .75rem .875rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: .9375rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(27, 62, 112, .12);
}
.field-hint { font-size: .8125rem; color: var(--text-muted); }

.form-note {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.form-status {
  display: none;
  padding: .875rem 1rem;
  border-radius: var(--r);
  font-size: .9375rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.form-status.is-visible { display: block; }
.form-status.is-ok    { background: #E9F5EC; color: #1C5E31; border: 1px solid #BEDFC7; }
.form-status.is-error { background: #FDECEC; color: #8C2222; border: 1px solid #F3C9C9; }

/* Accordion (FAQ) */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.0625rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform .2s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .875rem; color: var(--text-muted); max-width: 72ch; }

/* --- 6. Header ----------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: var(--text-invert);
  border-radius: 0 0 var(--r) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 249, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(252, 251, 249, .94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 550;
  color: var(--text-muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(6,14,29,.04); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* The in-menu CTA is a mobile-only duplicate of the one in .nav-cta. */
.nav-links .btn { display: none; }

.nav-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block; position: relative;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top:  5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --- 7. Footer ----------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--text-invert-muted);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  font-size: .9375rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.site-footer .brand-name { color: var(--text-invert); }
.site-footer .brand-sub { color: var(--text-invert-muted); }
.footer-about { margin-top: 1.125rem; max-width: 34ch; line-height: 1.65; }

.footer-col h4 {
  color: var(--text-invert);
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: .625rem; }
.footer-col a { transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .8125rem;
}
.footer-legal-lines { display: grid; gap: .3rem; }

.social-row { display: flex; gap: .625rem; margin-top: 1.25rem; }
.social-row a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  color: var(--text-invert-muted);
  transition: all .15s var(--ease);
}
.social-row a:hover {
  color: var(--ink); background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.social-row svg { width: 17px; height: 17px; }

/* --- 8. Page blocks ------------------------------------------------------ */

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--text-invert);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70ch 50ch at 82% 8%, rgba(192,138,46,.22), transparent 62%),
    radial-gradient(60ch 45ch at 4% 96%, rgba(27,62,112,.85), transparent 64%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-grid.is-single { grid-template-columns: 1fr; max-width: 46rem; }
.hero h1 { color: var(--text-invert); }
.hero-lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  color: var(--text-invert-muted);
  margin-top: 1.5rem;
  max-width: 54ch;
  line-height: 1.65;
}
.hero .btn-row { margin-top: 2.25rem; }
.hero-eyebrow { margin-bottom: 1.5rem; }

/* Credentials card in hero — the "we are a real company" panel */
.cred-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cred-card h2 {
  color: var(--text-invert);
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.cred-card .facts div {
  grid-template-columns: 1fr auto;
  border-bottom-color: rgba(255,255,255,.1);
  padding: .7rem 0;
  font-size: .875rem;
}
.cred-card .facts dt { color: var(--text-invert-muted); }
.cred-card .facts dd { color: var(--text-invert); text-align: right; }
.cred-card .facts a { color: var(--gold-bright); }

/* Page header (interior pages) */
.page-head {
  background: var(--navy);
  color: var(--text-invert);
  padding-block: clamp(3.25rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60ch 40ch at 88% 0%, rgba(192,138,46,.18), transparent 60%);
}
.page-head > .wrap { position: relative; }
.page-head h1 { color: var(--text-invert); }
.page-head p {
  color: var(--text-invert-muted);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  margin-top: 1.125rem;
  max-width: 62ch;
}

/* Breadcrumb */
.crumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .8125rem;
  color: var(--text-invert-muted);
  margin-bottom: 1.125rem;
}
.crumb a:hover { color: var(--gold-bright); }
.crumb span[aria-hidden] { opacity: .5; }

/* Split feature (services) */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.split > div {
  background: var(--surface);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
}
.split h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: .75rem; }

/* Logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.logo-slot {
  background: var(--surface);
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: .8125rem;
  font-weight: 600;
  text-align: center;
}
.logo-slot img { max-height: 40px; width: auto; object-fit: contain; }
.logo-slot--empty {
  color: var(--line-strong);
  border: 1px dashed var(--line-strong);
  margin: .5rem;
  border-radius: var(--r-sm);
  background: var(--surface-alt);
}

/* Case study card */
.case {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case-body { padding: clamp(1.5rem, 2.8vw, 2.25rem); }
.case-meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.125rem;
}
.case h3 { margin-bottom: .75rem; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.case-metric .stat-num { font-size: 1.625rem; }

/* Person card */
.person-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.125rem;
  background: var(--surface-alt);
}
.person-photo--initials {
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: .02em;
}
.person-role {
  color: var(--gold) !important;
  font-weight: 650;
  font-size: .875rem !important;
  margin-bottom: .75rem;
}

/* Testimonial */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.6vw, 2rem);
}
.quote blockquote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -.005em;
}
.quote figcaption {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.quote figcaption strong { color: var(--text); display: block; font-weight: 650; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--text-invert);
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50ch 30ch at 50% 0%, rgba(192,138,46,.22), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--text-invert); }
.cta-band p {
  color: var(--text-invert-muted);
  max-width: 52ch;
  margin: 1rem auto 0;
}
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* Placeholder block — visible reminder to add real content */
.placeholder-block {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface-alt);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}
.placeholder-block p { color: var(--text-muted); max-width: 56ch; margin-inline: auto; }
.placeholder-block code {
  font-family: var(--font-mono);
  font-size: .8125rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .1rem .4rem;
  border-radius: 4px;
}

/* Localhost-only setup checklist */
#setup-checklist {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 9999;
  width: min(340px, calc(100vw - 2rem));
  max-height: 60vh;
  overflow-y: auto;
  background: #1B1508;
  color: #F6E7C4;
  border: 1px solid #6B4C0F;
  border-radius: var(--r);
  padding: 1rem 1.125rem;
  font-size: .8125rem;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
}
#setup-checklist h5 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-bright); margin-bottom: .625rem;
}
#setup-checklist ul { display: grid; gap: .35rem; margin: .5rem 0 0; }
#setup-checklist li { display: flex; gap: .4rem; }
#setup-checklist li::before { content: "•"; color: var(--gold-bright); }
#setup-checklist code { font-family: var(--font-mono); color: #FFD98A; }
#setup-checklist button {
  position: absolute; top: .5rem; right: .5rem;
  background: transparent; border: 0; color: #F6E7C4;
  cursor: pointer; font-size: 1.125rem; line-height: 1; padding: .25rem;
}

/* 404 */
.notfound { text-align: center; padding-block: clamp(5rem, 14vw, 9rem); }
.notfound .code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  color: var(--line-strong);
  letter-spacing: -.04em;
  line-height: 1;
}

/* --- 9. Responsive ------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cred-card { max-width: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease),
                visibility .18s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a {
    padding: .875rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links .btn {
    margin-top: 1rem;
    display: inline-flex;
    border-bottom: 0;
    justify-content: center;
  }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 1.125rem; }
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .cred-card .facts div { grid-template-columns: 1fr auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .step { padding-left: 3.25rem; }
  .step::before { width: 2.5rem; }
  .btn-row .btn { width: 100%; }
}

/* --- 10. Utilities ------------------------------------------------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

[hidden], .is-hidden { display: none !important; }

.text-center { text-align: center; }
.mt-0  { margin-top: 0 !important; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }

/* Reveal-on-scroll (progressive: no JS = always visible) */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, #setup-checklist { display: none; }
  body { background: #fff; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}
