/* Solprime · Daylight design system
   One file owns the look. Re-theming = editing the tokens in :root below.
   Layout/components follow the tokens; only change markup for new layouts. */

/* ============================================================
   1. TOKENS (edit these to re-theme)
   ============================================================ */
:root {
  /* Colour */
  --color-bg: #FFFFFF;
  --color-ink: #111111;
  --color-ink-2: #333333;
  --color-muted: #6B6B6B;
  --color-rule: rgba(17, 17, 17, 0.12);
  --color-rule-strong: #111111;
  --color-rule-mid: rgba(17, 17, 17, 0.4);
  --color-accent: #E0762E;           /* the sun */
  --color-accent-hover: #B85024;      /* AA on white for hover text and button backgrounds */
  --color-on-accent: #111111;        /* text on the accent block */
  --color-on-accent-muted: rgba(17, 17, 17, 0.82);
  --color-on-ink: #FFFFFF;           /* text on dark buttons */
  --color-tag-bg: rgba(17, 17, 17, 0.06);
  --color-tag-ink: #333333;

  /* Type */
  --font-display: 'Instrument Serif', 'Instrument Serif Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --mono-tracking: 0.18em;

  /* Type scale (fluid) */
  --fs-h1: clamp(56px, min(8vw, 16vh), 116px);
  --fs-h1-inner: clamp(48px, min(6.4vw, 14vh), 96px);
  --fs-h2: clamp(36px, 3.9vw, 56px);
  --fs-h3: clamp(24px, 2.1vw, 30px);
  --fs-num: clamp(44px, 5.3vw, 76px);
  --fs-bignum: clamp(64px, 6.7vw, 96px);
  --fs-body: 17px;
  --fs-body-sm: 16px;
  --fs-body-lg: 19px;
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-sm: 14px;
  --fs-mono: 12px;
  --lh-body: 1.55;

  /* Layout */
  --container: 1240px;
  --gutter: 48px;
  --section: 112px;
  --section-sm: 64px;
  --radius: 2px;
  --rule: 1px;
  --rule-strong: 1.5px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 200ms;
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --section: 56px;
    --section-sm: 44px;
    --nav-h: 60px;
    --fs-body: 16px;
  }
}

/* Metric-adjusted fallback for the display face (Georgia is much wider than Instrument Serif) */
@font-face { font-family: 'Instrument Serif Fallback'; src: local('Georgia'); size-adjust: 86%; ascent-override: 92%; descent-override: 24%; }

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--color-ink); color: var(--color-on-ink); padding: 8px 12px; }

/* ============================================================
   3. PRIMITIVES
   ============================================================ */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.rule { height: var(--rule); background: var(--color-rule); }
.rule-strong { height: var(--rule-strong); background: var(--color-rule-strong); }

.disp, .h1, .h1-inner, .h2, .h3, .num, .bignum, .quote, .title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
}
.h1 { font-size: var(--fs-h1); line-height: 0.96; }
.h1-inner { font-size: var(--fs-h1-inner); line-height: 0.98; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; }
.num { font-size: var(--fs-num); line-height: 1; letter-spacing: -0.03em; }
.bignum { font-size: var(--fs-bignum); line-height: 0.9; letter-spacing: -0.04em; color: var(--color-accent); }
.accent { color: var(--color-accent); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--mono-tracking);
  text-transform: uppercase;
  color: var(--color-muted);
}
.mono.accent { color: var(--color-accent); }
.mono.ink { color: var(--color-ink); }

.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--color-ink-2); }
.body { color: var(--color-ink-2); }
.body p + p { margin-top: 16px; }
.body-sm { font-size: var(--fs-body-sm); }
.body-lg { font-size: var(--fs-body-lg); }
.sm { font-size: var(--fs-sm); line-height: 1.5; color: var(--color-muted); }
.measure { max-width: 740px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  background: var(--color-ink); color: var(--color-on-ink);
  font-weight: 500; font-size: 15px; border-radius: var(--radius);
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { background: var(--color-accent-hover); color: var(--color-on-ink); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.invert { background: var(--color-on-ink); color: var(--color-ink); }
.btn.invert:hover { background: var(--color-ink); color: var(--color-on-ink); }
.btn svg { width: 16px; height: 16px; flex: none; }

.ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 2px;
  font-weight: 500; font-size: 15px;
  color: var(--color-ink);
  border-bottom: var(--rule) solid var(--color-rule-mid);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.col > .ghost, .col > .tag, .stack > .ghost, .stack-lg > .ghost { align-self: flex-start; }
a.col:hover, a.col:hover * { color: inherit; }
a.col:hover .ghost { border-color: var(--color-accent-hover); }
.ghost:hover { border-color: var(--color-accent); }
.ghost.sm { height: 34px; font-size: 14px; }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius); background: var(--color-tag-bg); color: var(--color-tag-ink);
  height: auto; min-height: 24px; padding-top: 3px; padding-bottom: 3px; line-height: 1.35; text-align: left;
}
.case > *, .row > *, .sec > *, .cols > *, .stack, .stack-lg { min-width: 0; }
.tag.accent { background: var(--color-accent); color: var(--color-on-ink); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.li { display: flex; gap: 12px; line-height: 1.5; color: var(--color-ink-2); }
.li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); margin-top: 10px; flex: none; }
.list { display: flex; flex-direction: column; gap: 10px; }

.callout { padding: 16px 20px; border-left: calc(var(--rule) * 2) solid var(--color-accent); }
.callout .sm { color: var(--color-ink-2); }

.stack { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }

/* The mark: half sun on a horizon line */
.mark { display: inline-flex; align-items: center; gap: 12px; }
.mark svg { width: 30px; height: 20px; flex: none; }
.mark .wordmark { font-family: var(--font-display); font-size: 28px; letter-spacing: var(--display-tracking); line-height: 1; }
.mark .byline { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); margin-left: 4px; }
@media (max-width: 720px) {
  .mark svg { width: 26px; height: 18px; }
  .mark .wordmark { font-size: 24px; }
  .mark .byline { display: none; }
}

/* ============================================================
   4. NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--color-bg); }
.nav > .wrap:first-child { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav .rule { transition: background var(--dur) var(--ease); }
.nav.scrolled .rule { background: var(--color-rule-strong); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
@media (max-width: 1080px) { .nav-links { gap: 20px; font-size: 14px; } .mark .byline { display: none; } }
.nav-links a[aria-current="page"] { color: var(--color-accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--color-ink); margin: 6px 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-panel { display: none; }
@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-right { display: flex; align-items: center; gap: 12px; }
  .nav-toggle { display: block; }
  .nav-panel { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--color-bg); z-index: 49; padding: 24px var(--gutter) 40px; overflow: auto; }
  .nav-panel.open { display: flex; flex-direction: column; gap: 4px; }
  .nav-panel a { font-family: var(--font-display); font-size: 36px; letter-spacing: var(--display-tracking); padding: 12px 0; border-bottom: var(--rule) solid var(--color-rule); }
  .nav-panel a[aria-current="page"] { color: var(--color-accent); }
  .nav-panel .sub { font-family: var(--font-body); font-size: 17px; padding: 10px 0 10px 20px; border-bottom: var(--rule) solid var(--color-rule); letter-spacing: 0; }
  .nav-panel .panel-cta { margin-top: 24px; border: 0; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 781px) { .nav-right .btn { display: inline-flex; } }

/* ============================================================
   5. HERO with the horizon
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 10vh, 104px); }
.hero.inner { padding-top: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 40px; }
.crumbs a:hover { color: var(--color-accent-hover); }
.crumbs .here { color: var(--color-ink); }
.hero .eyebrow { margin-bottom: 28px; }
.hero .h1, .hero .h1-inner { margin-bottom: clamp(20px, 4vh, 40px); max-width: 1100px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding-bottom: clamp(72px, 12vh, 104px); } /* keeps hero text clear of the sun disc (90px tall) */
.hero-grid .lead { max-width: 620px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-note { max-width: 360px; margin-top: 14px; }
.hero-cta { display: flex; flex-direction: column; }
.sun { position: absolute; right: var(--gutter); bottom: 0; width: 180px; height: 90px; }
.sun.sm { width: 140px; height: 70px; }
.horizon { height: var(--rule-strong); background: var(--color-rule-strong); }
@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero.inner { padding-top: 32px; }
  .crumbs { margin-bottom: 28px; }
  .hero .h1, .hero .h1-inner { margin-bottom: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; }
}
@media (max-width: 720px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-grid { padding-bottom: 56px; }
  .sun, .sun.sm { width: 120px; height: 60px; }
  .hero-note, .hero-actions { max-width: calc(100% - 140px); }
}

/* ============================================================
   5b. CENTRED MODE (body.centered): hero, section heads and CTA block
   centre on the page; ledgers, tables and cards stay left-aligned.
   Remove the class from <body> to go back to the left-aligned layout.
   ============================================================ */
body.centered .hero { text-align: center; }
body.centered .hero .crumbs { justify-content: center; }
body.centered .hero .h1, body.centered .hero .h1-inner { margin-left: auto; margin-right: auto; }
body.centered .hero-grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
body.centered .hero-grid .lead { max-width: 760px; }
body.centered .hero-cta { align-items: center; }
body.centered .hero-actions { justify-content: center; }
body.centered .hero-note { text-align: center; margin-left: auto; margin-right: auto; }
body.centered .sun { right: auto; left: 50%; transform: translateX(-50%); }
body.centered .facts { text-align: left; }
body.centered .section-head { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
body.centered .section-head .stack-lg { align-items: center; }
body.centered section > .eyebrow, body.centered section > .h2, body.centered section > .body, body.centered section > .mono.mt-4 { text-align: center; margin-left: auto; margin-right: auto; }
body.centered section > .h2 { max-width: 900px; }
body.centered section > .body { max-width: 720px; }
body.centered .cta-block .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 32px; }
body.centered .cta-block .stack-lg { align-items: center; }
body.centered .cta-block .h2 { max-width: 900px; }
body.centered .cta-block .actions { align-items: center; }
/* In centred mode the split sections stack: heading block centred above, content below */
body.centered .split { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
body.centered .split > .stack-lg { align-items: center; text-align: center; max-width: 820px; }
body.centered .split > .stack-lg .body { max-width: 640px; }
body.centered .split > .ledger { width: 100%; max-width: 960px; }
body.centered .facts { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.centered .fact { text-align: center; align-items: center; }
body.centered .cols.two, body.centered .cols.ruled { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.centered .case { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.centered .table { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.centered .sec { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.centered .footer-grid > :first-child { align-items: flex-start; }
@media (max-width: 720px) {
  body.centered .hero-note, body.centered .hero-actions { max-width: 100%; }
  body.centered .hero-actions { align-items: center; }
  body.centered .sun, body.centered .sun.sm { width: 120px; height: 60px; }
}

/* ============================================================
   6. SECTIONS
   ============================================================ */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-sm { padding-top: var(--section-sm); padding-bottom: var(--section-sm); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .h2 { max-width: 900px; }
.eyebrow { margin-bottom: 20px; display: block; }

/* Client logos row */
.logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 28px 0; }
.logos .mono { white-space: nowrap; }
.logos-row { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: space-between; }
.logos img { height: 26px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.7; }
@media (max-width: 900px) {
  .logos { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 0 22px; }
  .logos-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; width: 100%; }
  .logos img { height: 22px; max-width: 120px; }
}

/* Client ticker: a horizontally running strip of client chips (pure CSS) */
.ticker { position: relative; overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: ticker var(--ticker-dur, 40s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .chip { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.ticker .chip img { height: 26px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.75; }
.ticker .chip .sm { color: var(--color-ink-2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; gap: 24px 40px; } .ticker { mask-image: none; -webkit-mask-image: none; } }
@media (max-width: 720px) { .ticker .chip img { height: 22px; } .ticker-track { gap: 40px; } }

/* Number facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { display: flex; flex-direction: column; gap: 14px; border-top: var(--rule) solid var(--color-rule-strong); padding-top: 20px; }
.fact.plain { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .facts, .facts.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .fact { gap: 10px; padding-top: 14px; } }
@media (max-width: 480px) { .facts, .facts.three { grid-template-columns: 1fr; } .bignum { font-size: 52px; } }
.num, .bignum { overflow-wrap: anywhere; }

/* Split: heading left, content right */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Ledger rows (numbered) */
.ledger { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 22px 0; border-top: var(--rule) solid var(--color-rule); }
.row.wide { grid-template-columns: 160px 1fr; gap: 32px; }
.row.label { grid-template-columns: 200px 1fr; padding: 20px 0; }
.row:last-child, .ledger .row.last { border-bottom: var(--rule) solid var(--color-rule); }
.row .mono { padding-top: 6px; }
.row-title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.row .disp { font-size: 26px; line-height: 1.1; }
@media (max-width: 720px) {
  .row { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .row.wide, .row.label { grid-template-columns: 1fr; gap: 6px; }
  .row .mono { padding-top: 4px; }
  .row-title { font-size: 19px; }
  .row .disp { font-size: 22px; }
}

/* Numbered inner-page sections: index left, content right */
.sec { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 64px 0; border-top: var(--rule) solid var(--color-rule); }
.sec.first { border-top: 0; }
.sec.last { border-bottom: var(--rule) solid var(--color-rule); }
.sec .idx { display: flex; flex-direction: column; gap: 8px; }
.sec .idx .h3 { font-size: 28px; }
@media (max-width: 900px) { .sec { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; } }

/* Three columns on one rule */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.cols.ruled { border-top: var(--rule) solid var(--color-rule-strong); }
.col { padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.col.ruled { border-top: var(--rule) solid var(--color-rule-strong); padding-top: 18px; }
@media (max-width: 900px) { .cols, .cols.two { grid-template-columns: 1fr; gap: 28px; } .cols.ruled { border-top: 0; } .cols.ruled .col { border-top: var(--rule) solid var(--color-rule-strong); } }

/* Table (pricing) */
.table { border-top: var(--rule) solid var(--color-rule-strong); }
.table .thead, .table .tr { display: grid; gap: 32px; align-items: start; }
.table .thead { padding: 14px 0; border-bottom: var(--rule) solid var(--color-rule); }
.table .tr { padding: 30px 0; border-bottom: var(--rule) solid var(--color-rule); }
.table .tr:last-child { border-bottom: var(--rule) solid var(--color-rule-strong); }
.table .price { font-family: var(--font-display); font-size: 34px; letter-spacing: var(--display-tracking); line-height: 1; }
.table .price .sm { display: block; margin-top: 6px; font-family: var(--font-body); letter-spacing: 0; }
.table .when { font-family: var(--font-display); font-size: 26px; letter-spacing: var(--display-tracking); }
.table .right { text-align: right; }
.cols-4 { grid-template-columns: 2.2fr 3fr 1.6fr 1.4fr; }
.cols-tier { grid-template-columns: 1.6fr 1fr 1fr 3fr; }
@media (max-width: 900px) {
  .table .thead { display: none; }
  .table .tr, .table .tr.cols-4, .table .tr.cols-tier { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .table .right { text-align: left; }
  .table .price { font-size: 28px; }
  .table .when { font-size: 20px; }
  .table .when::before, .table .price::before { display: block; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--mono-tracking); text-transform: uppercase; color: var(--color-muted); margin-bottom: 6px; }
  .table .when::before { content: "Timeline"; }
  .table .price::before { content: "From"; }
}

/* Case rows (homepage / listing) */
.case { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 48px; padding: 44px 0; border-top: var(--rule) solid var(--color-rule); align-items: start; }
.case:last-child { border-bottom: var(--rule) solid var(--color-rule); }
.case .title { font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: var(--display-tracking); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; } .case .title { font-size: 24px; } }

/* Who we help */
.who { border-top: var(--rule) solid var(--color-rule-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.who .h3 { font-size: 36px; line-height: 1.05; }
@media (max-width: 720px) { .who .h3 { font-size: 28px; } }

/* FAQ (native details, content stays in markup for crawlers) */
.faq details { border-top: var(--rule) solid var(--color-rule); }
.faq details:last-child { border-bottom: var(--rule) solid var(--color-rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-family: var(--font-display); font-size: 26px; line-height: 1.15; letter-spacing: var(--display-tracking); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 14px; color: var(--color-muted); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 24px; max-width: 760px; color: var(--color-ink-2); }
.faq .answer p + p { margin-top: 12px; }
@media (max-width: 720px) { .faq summary { font-size: 21px; padding: 18px 0; } }

/* Photo cards */
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.photo.square { aspect-ratio: 1 / 1; }

/* Ruled grid of names */
.grid-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule) solid var(--color-rule); border-left: var(--rule) solid var(--color-rule); }
.grid-names > div { padding: 20px; border-right: var(--rule) solid var(--color-rule); border-bottom: var(--rule) solid var(--color-rule); display: flex; flex-direction: column; gap: 6px; }
.grid-names .disp { font-size: 22px; }
@media (max-width: 900px) { .grid-names { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stack / tech list */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.stack-grid > div { border-top: var(--rule) solid var(--color-rule-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 900px) { .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stack-grid { grid-template-columns: 1fr; } }

/* Results grid */
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.results > div { border-top: var(--rule) solid var(--color-rule-strong); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) { .results { grid-template-columns: 1fr; gap: 28px; } }

/* Quote */
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: var(--display-tracking); max-width: 860px; }

/* ============================================================
   7. THE ONE ACCENT BLOCK (closing CTA)
   ============================================================ */
.cta-block { background: var(--color-accent); color: var(--color-on-accent); margin-top: var(--section); }
.cta-block .wrap { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: end; }
.cta-block .h2 { font-size: clamp(44px, 5.8vw, 84px); line-height: 0.96; }
.cta-block p { color: var(--color-on-accent-muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 560px; }
.cta-block .actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-block .actions a:not(.btn) { color: var(--color-on-accent); border-bottom: var(--rule) solid var(--color-on-accent-muted); }
.cta-block .actions a:not(.btn):hover { color: var(--color-on-accent); border-color: var(--color-on-accent); }
@media (max-width: 900px) {
  .cta-block .wrap { grid-template-columns: 1fr; gap: 22px; }
  .cta-block .actions { width: 100%; }
  .cta-block .actions .btn { width: 100%; }
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.footer .mark .wordmark { font-size: 24px; }
.footer .stack-lg > .sm { max-width: 300px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.fcol { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.fcol .mono { margin-bottom: 4px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .footer .wrap { padding-top: 40px; padding-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   9. MOTION (small, gated)
   ============================================================ */
/* Content is always visible (crawlers, screenshots, no-JS). The class only adds a small rise on entry. */
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js-loaded .reveal.in { animation: rise 360ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-loaded .reveal.in { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   10. UTILITIES
   ============================================================ */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.pb-0 { padding-bottom: 0; } .pt-0 { padding-top: 0; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) { .right { text-align: left; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   11. PRINT
   ============================================================ */
@media print {
  .nav { position: static; }
  .nav-toggle, .nav-panel, .skip { display: none !important; }
  .photo { filter: none; }
  .cta-block { background: none; color: var(--color-ink); border-top: var(--rule) solid var(--color-rule-strong); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 12px; color: var(--color-muted); }
}
