/* ==========================================================================
   Lumen — website stylesheet
   Built from the Lumen brand system (2026): Ink and Paper, one loud Volt,
   Flare once per layout. Bricolage Grotesque + mono. 4px grid, four radii,
   no shadows, no gradients.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* raw artwork colours */
  --ink: #0B0B0C;
  --paper: #F2F2EE;
  --volt: #D4FF3F;
  --flare: #FF5C39;
  --flare-deep: #C93A18;
  --ash: #5B5B57;
  --fog: #9A9A94;

  /* spacing, 4px grid */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* radii */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-pill: 999px;

  /* type */
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --page-margin: var(--space-4);
  --section-pad: var(--space-8);
  --max: 1200px;

  /* semantic tokens: Paper theme (default, website body) */
  --surface: #F2F2EE;
  --surface-raised: #FAFAF7;
  --surface-sunken: #E8E8E2;
  --text: #0B0B0C;
  --text-muted: #5B5B57;
  --border: #D5D5CF;
  --border-strong: #0B0B0C;
  --action: #0B0B0C;
  --on-action: #D4FF3F;
  --link: #C93A18;
  --focus-ring: #0B0B0C;
}

@media (min-width: 720px)  { :root { --page-margin: var(--space-6); --section-pad: var(--space-9); } }
@media (min-width: 1024px) { :root { --page-margin: var(--space-8); } }

/* Ink theme: heroes, header, footer */
.theme-ink {
  --surface: #0B0B0C;
  --surface-raised: #151517;
  --surface-sunken: #060607;
  --text: #F2F2EE;
  --text-muted: #9A9A94;
  --border: #2A2A2C;
  --border-strong: #9A9A94;
  --action: #D4FF3F;
  --on-action: #0B0B0C;
  --link: #D4FF3F;
  --focus-ring: #D4FF3F;
  --dot: #D4FF3F;
  background: var(--surface);
  color: var(--text);
}

/* Volt and Flare blocks: fills that carry Ink text */
.block-volt, .block-flare {
  --text: #0B0B0C;
  --text-muted: #0B0B0C;
  --border: #0B0B0C;
  --border-strong: #0B0B0C;
  --action: #0B0B0C;
  --on-action: #D4FF3F;
  --link: #0B0B0C;
  --focus-ring: #0B0B0C;
  color: var(--text);
}
.block-volt  { background: var(--volt); }
.block-flare { background: var(--flare); }
.block-volt .muted { color: var(--ash); }

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--volt); color: var(--ink); }

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

.skip-link {
  position: absolute; left: var(--space-4); top: -64px; z-index: 100;
  background: var(--volt); color: var(--ink); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); outline: 2px solid var(--ink); }

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

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type scale (fluid down from the brand sizes) ---------- */
.display-2xl { font-weight: 800; font-size: clamp(48px, 13.5vw, 96px); line-height: .96; letter-spacing: -0.04em; }
.display-xl  { font-weight: 800; font-size: clamp(40px, 10vw, 72px);   line-height: .97; letter-spacing: -0.04em; }
.display-lg  { font-weight: 800; font-size: clamp(34px, 8vw, 56px);    line-height: 1;   letter-spacing: -0.035em; }
h1, .h1 { font-weight: 800; font-size: clamp(32px, 7vw, 48px); line-height: 1.04; letter-spacing: -0.03em; }
h2, .h2 { font-weight: 800; font-size: clamp(28px, 6vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
h3, .h3 { font-weight: 800; font-size: clamp(24px, 5vw, 32px); line-height: 1.12; letter-spacing: -0.025em; }
h4, .h4 { font-weight: 700; font-size: 24px; line-height: 30px; letter-spacing: -0.01em; }
.body-lg { font-size: 20px; line-height: 30px; }
.body-sm { font-size: 15px; line-height: 22px; }
.caption { font-size: 13px; line-height: 18px; }
.muted { color: var(--text-muted); }

.label {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px;
  text-transform: uppercase; letter-spacing: .1em;
}
.data { font-family: var(--font-mono); font-weight: 400; font-size: 14px; line-height: 22px; }
.eyebrow { display: block; margin-bottom: var(--space-4); }
.on-volt-mark { position: relative; display: inline-block; z-index: 0; color: var(--ink); padding: 0 .14em; }
.on-volt-mark::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .05em; bottom: -.15em; background: var(--volt); border-radius: 6px; transform-origin: left center; }

/* Running text stays near 68 characters per line, left-aligned */
p { max-width: 68ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--page-margin)); margin-inline: auto; padding-inline: var(--page-margin); }
.section { padding-block: var(--section-pad); background: var(--surface); color: var(--text); }
.section--tight { padding-block: var(--space-7); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 760px; }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-5); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 40px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 2px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: none; padding-bottom: var(--space-5); }
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; gap: 0; border-top: 1px solid var(--border); }
.site-nav li { border-bottom: 1px solid var(--border); }
.site-nav a.nav-link {
  display: flex; align-items: center; min-height: 56px; text-decoration: none;
  font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
}
.site-nav a.nav-link[aria-current="page"] { color: var(--volt); }
.site-nav .btn { margin-top: var(--space-5); width: 100%; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--space-6); padding: 0; }
  .site-nav ul { display: flex; gap: var(--space-6); border: 0; }
  .site-nav li { border: 0; }
  .site-nav a.nav-link { min-height: 44px; font-size: 17px; font-weight: 500; letter-spacing: 0; position: relative; }
  .site-nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--volt); opacity: 0; }
  .site-nav a.nav-link:hover::after, .site-nav a.nav-link[aria-current="page"]::after { opacity: 1; }
  .site-nav .btn { margin: 0; width: auto; min-height: 44px; padding-inline: var(--space-5); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-5);
  background: var(--action); color: var(--on-action);
  border: 2px solid var(--action); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
/* Primary hover swaps the fill to signal (Flare) with Ink text */
.btn:hover { background: var(--flare); border-color: var(--flare); color: var(--ink); }
/* On a Flare block the swap would vanish, so the button outlines instead */
.block-flare .btn:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--text); color: var(--surface); border-color: var(--text); }
.block-flare .btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-row .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .btn-row .btn { flex: 0 0 auto; } }

.text-link { color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.text-link:hover { text-decoration-thickness: 3px; }
.block-volt .text-link, .block-flare .text-link { color: var(--ink); }

/* ---------- Tag, chip ---------- */
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-3);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase;
}
a.tag { min-height: 40px; }
.tag--volt { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.tag--flare { background: var(--flare); color: var(--ink); border-color: var(--flare); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-8) var(--space-8); }
.hero-grid { display: grid; gap: var(--space-7); align-items: end; }
.hero h1.display-2xl { margin-bottom: var(--space-6); }
.hero .lead { max-width: 560px; color: var(--text); }
.hero .btn-row { margin-top: var(--space-6); }
.hero-panel {
  border-radius: var(--radius-lg); padding: var(--space-5);
  display: grid; gap: var(--space-6); align-content: space-between;
  min-height: 280px;
}
.hero-panel .symbol { width: 96px; height: 96px; }
.hero-panel .panel-line { font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.03em; }
@media (min-width: 720px) {
  .hero { padding-block: var(--space-10); }
  .hero-panel { padding: var(--space-6); min-height: 400px; }
  .hero-panel .symbol { width: 128px; height: 128px; }
  .hero-panel .panel-line { font-size: 36px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); }
  .hero-panel { min-height: 480px; }
}

.page-hero { padding-block: var(--space-8) var(--space-8); }
.page-hero .lead { max-width: 640px; margin-top: var(--space-5); }
@media (min-width: 720px) { .page-hero { padding-block: var(--space-10); } }
.page-hero-grid { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 8fr 4fr; align-items: end; gap: var(--space-8); } }

/* ---------- Volt strip ---------- */
.strip { background: var(--volt); color: var(--ink); }
.strip ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.strip li { padding: var(--space-4) var(--space-3); border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: var(--space-2); }
.strip li:nth-child(odd) { border-right: 1px solid var(--ink); }
.strip li:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
@media (min-width: 720px) {
  .strip ul { grid-template-columns: repeat(5, 1fr); }
  .strip li { border-bottom: 0; border-right: 1px solid var(--ink); justify-content: center; padding: var(--space-5) var(--space-3); font-size: 13px; }
  .strip li:nth-child(odd) { border-right: 1px solid var(--ink); }
  .strip li:last-child { grid-column: auto; border-right: 0; }
}

/* ---------- Cards ---------- */
.card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
@media (min-width: 720px) { .card { padding: var(--space-6); } }
.icon-chip { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--ink); color: var(--volt); display: grid; place-items: center; flex: none; }
.card .card-foot { margin-top: auto; padding-top: var(--space-2); }

.grid-cards { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); } .grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* numbered points */
.points { display: grid; gap: 0; border-top: 1px solid var(--border-strong); }
.point { display: grid; gap: var(--space-3); padding-block: var(--space-5); border-bottom: 1px solid var(--border); }
.point .num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--text-muted); }
@media (min-width: 860px) {
  .point { grid-template-columns: 1fr 5fr 6fr; gap: var(--space-6); align-items: baseline; padding-block: var(--space-6); }
}

/* two-col split */
.split { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } }

/* ---------- Callout ---------- */
.callout { border-radius: var(--radius-lg); padding: var(--space-5); display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .callout { padding: var(--space-6); } }
.callout--flare { background: var(--flare); color: var(--ink); }
.callout--volt { background: var(--volt); color: var(--ink); }
.callout--ink { background: var(--ink); color: var(--paper); }

/* ---------- Big CTA band ---------- */
.cta-band { padding-block: var(--space-8); }
@media (min-width: 720px) { .cta-band { padding-block: var(--space-9); } }
.cta-band .inner { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .cta-band .inner { grid-template-columns: 8fr 4fr; align-items: end; gap: var(--space-8); } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Services page rows ---------- */
.service { display: grid; gap: var(--space-5); padding-block: var(--space-7); border-top: 1px solid var(--border-strong); }
.service:last-child { border-bottom: 1px solid var(--border-strong); }
.service-head { display: grid; gap: var(--space-4); align-content: start; }
.service-head .num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: var(--space-3); }
.service-body { display: grid; gap: var(--space-5); }
.service-quote { font-weight: 800; font-size: clamp(22px, 5vw, 28px); line-height: 1.1; letter-spacing: -0.025em; }
.service-lists { display: grid; gap: var(--space-5); }
.list-title { margin-bottom: var(--space-3); display: block; color: var(--text-muted); }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); padding-block: var(--space-2); font-size: 17px; line-height: 26px; border-bottom: 1px solid var(--border); }
.ticks li:last-child { border-bottom: 0; }
.ticks .icon { margin-top: 1px; width: 20px; height: 20px; }
@media (min-width: 860px) {
  .service { grid-template-columns: 4fr 8fr; gap: var(--space-8); padding-block: var(--space-8); }
  .service-head { position: sticky; top: 104px; align-self: start; }
  .service-lists { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step { display: grid; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); }
.step .num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--text-muted); }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Ways to work ---------- */
.ways { display: grid; gap: var(--space-5); }
.way { border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); border: 1px solid var(--border); background: var(--surface-raised); }
.way.block-flare { border-color: var(--flare); }
.way .way-price { font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 22px; }
.way .btn { margin-top: auto; }
@media (min-width: 720px) { .way { padding: var(--space-6); } }
@media (min-width: 960px) { .ways { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

/* ---------- Form ---------- */
.form-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
@media (min-width: 720px) { .form-card { padding: var(--space-6); } }
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label, .field legend { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .1em; }
.field .opt { color: var(--text-muted); }
.input, .textarea {
  width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4);
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 17px; line-height: 26px;
}
.textarea { min-height: 148px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ash); opacity: 1; }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--flare-deep); }
.field-hint { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.field-error { font-size: 13px; line-height: 18px; color: var(--flare-deep); font-weight: 500; min-height: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
  border: 2px solid var(--border-strong); border-radius: var(--radius-pill); background: transparent; cursor: pointer;
  font-weight: 500; font-size: 15px; user-select: none; transition: background-color .15s ease-out, color .15s ease-out;
}
.chip input:checked + span { background: var(--ink); color: var(--volt); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: var(--radius-md); padding: var(--space-4); font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: var(--volt); color: var(--ink); }
.form-status.is-error { background: var(--ink); color: var(--paper); }
.form-status a { color: inherit; font-weight: 700; }
.btn[disabled], .btn[disabled]:hover { opacity: .4; cursor: not-allowed; pointer-events: none; background: var(--action); border-color: var(--action); color: var(--on-action); }

/* contact people */
.person { display: grid; gap: var(--space-1); padding-block: var(--space-4); border-bottom: 1px solid var(--border); }
.person:first-child { padding-top: 0; }
.person .name { font-weight: 800; font-size: 24px; line-height: 30px; letter-spacing: -0.015em; }
.person a { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--space-8) var(--space-6); }
.footer-grid { display: grid; gap: var(--space-7); }
.footer-grid .brand img { height: 44px; }
.footer-tag { font-weight: 800; font-size: clamp(32px, 8vw, 56px); line-height: 1; letter-spacing: -0.035em; }
.footer-links { display: grid; gap: var(--space-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--volt); }
.footer-base { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--border); display: grid; gap: var(--space-2); color: var(--fog); }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 5fr 2fr 3fr 4fr; gap: var(--space-7); }
  .footer-base { grid-auto-flow: column; justify-content: space-between; }
}
.site-footer .label { color: var(--fog); display: block; margin-bottom: var(--space-3); }
.site-footer .label::before { display: none; }
.footer-about { color: var(--fog); max-width: 38ch; font-size: 15px; line-height: 22px; }
@media (max-width: 859px) { .site-footer { padding-bottom: 96px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .site-header, .site-nav { position: static; } }

/* ---------- Contact layout ---------- */
.contact-split { display: grid; gap: var(--space-7); }
@media (min-width: 960px) {
  .contact-split { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
  .contact-split .info-col { order: 1; position: sticky; top: 104px; }
  .contact-split .form-col { order: 2; }
}
.mini-steps { display: grid; gap: 0; border-top: 1px solid var(--border-strong); }
.mini-steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); padding-block: var(--space-4); border-bottom: 1px solid var(--border); }
.mini-steps .num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--text-muted); padding-top: 2px; }
.anchor-offset { scroll-margin-top: 96px; }

/* ==========================================================================
   v5 additions: numbered cards, stats band, ticker, FAQ, deliverables,
   socials, work template, legal pages, form extras
   ========================================================================== */

/* numbered service cards */
.card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.card-num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 22px; color: var(--text-muted); }
.card .service-quote { font-size: 22px; }
.card h3.h4 { margin-top: var(--space-1); }

/* hero panel: symbol + sign-off */
.hero-panel .panel-line.big { font-size: clamp(40px, 9vw, 64px); line-height: .96; letter-spacing: -0.04em; }

/* scrolling ticker (Volt band) */
.ticker { overflow: hidden; padding-block: var(--space-6); }
.ticker-row { white-space: nowrap; overflow: hidden; }
.ticker-row + .ticker-row { margin-top: var(--space-2); }
.ticker-track { display: inline-flex; will-change: transform; }
.ticker-unit {
  display: inline-flex; align-items: center; flex: none;
  font-weight: 800; font-size: clamp(44px, 11vw, 104px); line-height: 1.05; letter-spacing: -0.04em;
}
.ticker-unit .dot { width: .26em; height: .26em; border-radius: 50%; background: var(--ink); flex: none; margin-inline: .45em; }
.ticker-row--ghost { opacity: .22; }

/* scroll-linked statement */
.statement { max-width: 980px; }
.scrub .w { display: inline; }
.motion .scrub .w { color: var(--text-muted); transition: color .15s ease-out; }
.motion .scrub .w.on { color: var(--text); }

/* stats band (Flare) */
.stats-band { padding-block: var(--space-8); }
@media (min-width: 720px) { .stats-band { padding-block: var(--space-9); } }
.stats-head { display: grid; gap: var(--space-4); max-width: 720px; margin-bottom: var(--space-7); }
.stats { display: grid; border-top: 2px solid var(--ink); }
.stat { display: grid; gap: var(--space-2); padding-block: var(--space-5); border-bottom: 2px solid var(--ink); }
.stat-num { font-weight: 800; font-size: clamp(72px, 20vw, 132px); line-height: .9; letter-spacing: -0.05em; }
.stat-label { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .1em; }
.stats-band .btn-row { margin-top: var(--space-7); }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 0; border-right: 2px solid var(--ink); padding: var(--space-6) var(--space-5); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* FAQ (native details, no JS) */
.faq { border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 64px; padding-block: var(--space-3); cursor: pointer; list-style: none;
  font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-weight: 500; font-size: 24px; flex: none; width: 32px; text-align: center; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .answer { padding-bottom: var(--space-5); max-width: 68ch; color: var(--text-muted); }

/* design deliverables */
.deliver { display: grid; gap: var(--space-6); }
.deliver-col { display: grid; gap: var(--space-4); align-content: start; }
.icon-chip--volt { background: var(--volt); color: var(--ink); }
.theme-ink .ticks .icon { color: var(--volt); }
@media (min-width: 640px) { .deliver { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); } }
@media (min-width: 1024px) { .deliver { grid-template-columns: repeat(4, 1fr); } }

/* footer socials (filled by main.js from assets/js/config.js) */
.footer-social { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social:empty { display: none; }
.social-link { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.social-link:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }

/* Selected work (ready for your own pieces: see the commented block in index.html) */
.work-grid { display: grid; gap: var(--space-5); }
.work-card { display: grid; gap: var(--space-4); align-content: start; }
.work-media { border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); aspect-ratio: 4 / 5; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* form extras */
.field-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 13px; line-height: 18px; color: var(--text-muted); }
.form-note a { color: var(--link); font-weight: 700; }
.home-form-split { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .home-form-split { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; } }
.founders { display: grid; gap: var(--space-3); }
.founders p { max-width: 44ch; }
.founders a { color: var(--link); font-weight: 700; word-break: break-word; display: inline-flex; align-items: center; min-height: 44px; }

/* legal pages */
.legal { max-width: 720px; }
.legal h2 { font-size: 28px; line-height: 1.1; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.legal h2:first-child { margin-top: 0; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: var(--space-3); }
.legal ul { list-style: disc; padding-left: var(--space-5); }
.legal li { margin-block: var(--space-2); }
.legal a { color: var(--link); font-weight: 700; }

/* ==========================================================================
   v6 additions: hero proof, logo animation frames, brand graphics, sticky CTA
   ========================================================================== */

.icon-sm { width: 16px; height: 16px; }

/* label dot: a small mark that "turns on" in front of section labels */
.eyebrow::before, .section-head > .label::before, .stats-head > .label::before, .stack > .label::before, .inner .label::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot, var(--ink)); margin-right: 10px; vertical-align: 1px;
}
.eyebrow { display: block; }

/* hero */
.hero-grid { align-items: center; }
.hero .lead { max-width: 540px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); color: var(--text-muted); }
.hero-proof strong { color: var(--volt); font-weight: 500; }
.hero-visual { min-width: 0; }

/* logo animation frames (video with a still behind it) */
.vid {
  position: relative; margin: 0; width: 100%; overflow: hidden;
  background: #0B0B0B; border: 1px solid #2A2A2C; border-radius: var(--radius-lg); aspect-ratio: 16 / 9;
}
.vid--light, .vid--wide-light { background: #F1F1EC; border-color: #D5D5CF; }
.vid--wide-dark, .vid--wide-light { aspect-ratio: 1920 / 440; }
.vid video, .vid .vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vid video { z-index: 1; background: transparent; display: none; }
.motion .vid:not(.is-fallback) video { display: block; }
.vid-replay {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 var(--space-4);
  background: var(--ink); color: var(--volt); border: 1px solid #2A2A2C; border-radius: var(--radius-pill); cursor: pointer;
}
.vid-replay[hidden] { display: none; }
.vid-replay:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.vid-replay .label::before { display: none; }

.vid--wide-dark, .vid--wide-light { border: 0; border-radius: 0; }
.signoff { background: var(--surface); }
.site-footer.has-signoff { padding-top: 0; }
.footer-signoff { margin-bottom: var(--space-8); }
.contact-split .info-col .vid { margin-bottom: var(--space-2); }

/* services board on the home page */
.board-grid { display: grid; gap: var(--space-7); }
.board-item { display: grid; gap: var(--space-3); align-content: start; max-width: 560px; }
.board-item .viz { margin-bottom: var(--space-2); }
.board-item .text-link { justify-self: start; }
@media (min-width: 900px) { .board-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } .board-item { max-width: none; } }

/* "Why Lumen": a Volt sun that rises as you scroll (desktop only) */
.why { position: relative; overflow: hidden; }
.why .container { position: relative; z-index: 1; }
.why .statement { max-width: 900px; }
.sun { display: none; position: absolute; right: -150px; top: 56px; width: 420px; height: 420px; border-radius: 50%; background: var(--volt); transform: translate3d(0, calc(var(--sy, 0) * 1px), 0) scale(var(--ss, 1)); }
@media (min-width: 1180px) { .sun { display: block; } }

/* progress line under the header */
.scroll-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--volt); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* sticky call button on phones */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: var(--space-3) var(--page-margin) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--ink); border-top: 1px solid #2A2A2C;
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease-out, visibility 0s linear .25s;
}
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform .25s ease-out, visibility 0s; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* services: steps light up one by one */
.step .num { display: inline-flex; width: fit-content; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.step.is-lit .num { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.step { transition: border-color .15s ease-out; }
.step.is-lit { border-color: var(--border-strong); }

/* ----- brand graphics (drawn in their finished state; motion.css animates them) ----- */
.viz { margin: 0; background: #0B0B0C; border: 1px solid #2A2A2C; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.viz svg { display: block; width: 100%; height: 100%; max-width: none; }
.service-head .viz { margin-top: var(--space-4); max-width: 420px; }
.viz path { stroke-linecap: round; stroke-linejoin: round; }
.viz .vz-mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; }
.viz .vz-lab { font-size: 10px; fill: #9A9A94; }
.viz .vz-tiny, .viz .vz-tiny2 { font-size: 8px; fill: #9A9A94; }
.viz .vz-rank { font-size: 10px; fill: #9A9A94; }
.viz .vz-btn { font-size: 9px; fill: #0B0B0C; }
.viz .f-ink { fill: #0B0B0C; } .viz .f-raise { fill: #151517; } .viz .f-line { fill: #2A2A2C; }
.viz .f-paper { fill: #F2F2EE; } .viz .f-volt { fill: #D4FF3F; } .viz .f-fog { fill: #9A9A94; }
.viz .f-flare { fill: #FF5C39; } .viz .f-none { fill: none; }
.viz .s-line { stroke: #2A2A2C; stroke-width: 1.5; } .viz .s-volt { stroke: #D4FF3F; stroke-width: 1.5; } .viz .s-fog { stroke: #9A9A94; stroke-width: 1.5; }
.viz .sw2 { stroke-width: 2; } .viz .sw15 { stroke-width: 1.5; }
.viz .draw-ink, .viz .draw-volt { fill: none; stroke-width: 2.2; stroke-dasharray: 100; stroke-dashoffset: 0; }
.viz .draw-ink { stroke: #0B0B0C; } .viz .draw-volt { stroke: #D4FF3F; }
.viz .trk { fill: none; stroke: #2A2A2C; stroke-width: 2; }
.viz .comet { fill: none; stroke: #D4FF3F; stroke-width: 2.5; stroke-dasharray: 14 86; stroke-dashoffset: 14; opacity: 0; }
.viz .glint, .viz .ping { opacity: 0; }
.viz--ads .winner { stroke: #D4FF3F; }
.viz--ads .cardB { opacity: .8; }
.viz--flow .f-none { fill: none; }
