/* ==========================================================================
   Ariadne — Digital Editions
   Plain CSS, no build step. Root-relative asset paths (Naxos).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #EDE8E0;
  --sand: #E4DDD2;
  --sand-2: #DDD5C9;
  --paper: #F6F2EC;
  --ink: #14232B;
  --ink-2: #33424A;
  --body: #24333B;
  --muted: #4E5A5E;
  --night: #0F1D25;
  --teal: #1E3B3F;
  --peach: #F4B48A;
  --peach-2: #F8C7A5;
  --rust: #994C32; /* darkened from #B0573A to pass WCAG 2.2 AA contrast (4.5:1) on cream and sand */
  --on-night: #CFD5D2;
  --on-teal: #CFDAD6;
  --mint: #B8C9C3;
  --footer-text: #B8C2BE;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(24px, 5vw, 72px);
  --max: 1440px;
  --section-y: clamp(88px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px; /* height of the compact sticky header */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--rust); }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
/* On dark backgrounds the rust ring drops below 3:1 (WCAG 1.4.11), so use peach there */
:is(.s-wasted, .s-own, .s-sample, .s-cta, .site-footer, .drawer__panel, .sample-page, .cs-made, .cs-read) :focus-visible { outline-color: var(--peach); }
section[id] { scroll-margin-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Long words wrap instead of pushing the page sideways at 320px or with increased text spacing (WCAG 1.4.10, 1.4.12) */
h1, h2, h3, h4, p, li, dt, dd, summary, figcaption, label, .btn { overflow-wrap: break-word; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: var(--cream); }

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

/* ---------- Type ---------- */
.h-hero {
  font-weight: 300; font-size: clamp(44px, 4.45vw, 64px); line-height: 1.02;
  letter-spacing: -0.025em; text-wrap: balance;
}
.h-section {
  font-weight: 300; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06;
  letter-spacing: -0.02em; text-wrap: balance;
}
.h-big {
  font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1;
  letter-spacing: -0.025em; text-wrap: balance;
}
.h-huge {
  font-weight: 300; font-size: clamp(44px, 5.6vw, 80px); line-height: 1;
  letter-spacing: -0.03em; text-wrap: balance;
}
.lede { font-size: 18px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.accent { color: var(--peach); }
.num { font-family: var(--display); font-weight: 300; color: var(--rust); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; gap: 12px; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.2;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .arrow { font-size: 16px; line-height: 1; }
.btn--sm { font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 12px 22px; }
.btn--lg { font-size: 15px; padding: 18px 32px; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--teal); color: var(--cream); }
.btn--peach { background: var(--peach); color: var(--night); }
.btn--peach:hover { background: var(--peach-2); color: var(--night); }
.btn--cream { background: var(--cream); color: var(--night); }
.btn--cream:hover { background: #fff; color: var(--night); }
.btn--ghost-light { color: var(--cream); border-color: rgba(237,232,224,.45); font-weight: 600; }
.btn--ghost-light:hover { background: rgba(237,232,224,.08); color: var(--cream); }
.btn--ghost-light.btn--lg { border-color: rgba(237,232,224,.5); }

.link-under {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 16px 8px; text-decoration: none; border-bottom: 1px solid rgba(20,35,43,.35);
  transition: border-color .3s, color .3s;
}
.link-under:hover { border-bottom-color: currentColor; }
.link-caps {
  display: inline-flex; gap: 10px; align-items: center; align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding-bottom: 6px;
  border-bottom: 1px solid rgba(20,35,43,.35);
  transition: border-color .3s;
}
.link-caps:hover { border-bottom-color: currentColor; color: var(--ink); }
.link-caps .arrow { font-size: 16px; }

/* ---------- Decorative ---------- */
.ring { position: absolute; border-radius: 50%; border: 1px solid; pointer-events: none; }
.vrule { position: absolute; width: 1px; pointer-events: none; }
.deco { position: relative; overflow: hidden; }
.deco > .wrap, .deco > .content { position: relative; }

.stand-in {
  position: absolute; right: 20px; bottom: 20px; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cream); background: rgba(20,35,43,.55);
  padding: 6px 10px; border-radius: 2px; line-height: 1.4; max-width: calc(100% - 40px);
}

/* Photo placeholder slots — swap for a real <img> when photography arrives */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 40px; font: 11px/1.6 ui-monospace, Menlo, monospace; color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--sand) 0 10px, var(--sand-2) 10px 20px);
}
.ph--dark {
  align-items: flex-end; justify-content: flex-start; padding: 20px; text-align: left;
  color: #8A9893; background: repeating-linear-gradient(135deg, #16262f 0 10px, #132129 10px 20px);
}

/* Shaped image frames */
.arch-down { border-radius: 2px 2px 200px 200px; overflow: hidden; }
.arch-up { border-radius: 200px 200px 2px 2px; overflow: hidden; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* QR cards */
.qr { display: block; image-rendering: pixelated; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 1px solid rgba(20,35,43,.12);
  transition: box-shadow .3s ease;
}
/* Compact state once the page has scrolled (class set in site.js) */
.site-header .site-header__inner { transition: padding .3s ease; }
.site-header .brand__name { transition: font-size .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20,35,43,.08); }
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
.site-header.is-scrolled .brand__name { font-size: 20px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .site-header__inner, .site-header .brand__name { transition: none; }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding-block: 28px;
}
.brand { display: flex; align-items: baseline; gap: 14px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.brand__tag { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; gap: clamp(20px, 2.5vw, 36px); font-size: 14px; }
.site-nav a { color: var(--ink); text-decoration: none; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
}
.site-nav a:hover { color: var(--rust); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; font: 600 14px var(--sans); color: var(--ink);
  background: none; border: 1px solid rgba(20,35,43,.3); border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.menu-toggle__bars { width: 16px; height: 10px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.menu-toggle__bars::before { top: 1px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .site-header__inner { flex-wrap: wrap; padding-block: 20px; }
  .site-header.is-scrolled .site-header__inner { padding-block: 12px; }
  .site-header.is-open .site-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .brand__tag { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header .header-cta { order: 2; }
  .site-nav {
    order: 3; flex-basis: 100%; flex-direction: column; gap: 0; font-size: 18px;
    font-family: var(--display); display: none; padding-top: 8px;
  }
  .site-nav a { padding: 14px 0; border-top: 1px solid rgba(20,35,43,.12); }
  .site-nav a::after { display: none; }
  .site-header.is-open .site-nav { display: flex; }
}
@media (max-width: 480px) {
  .site-header .header-cta { display: none; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: clamp(460px, 46vw, 660px) 1fr; min-height: 780px; max-width: var(--max); margin-inline: auto; }
.hero__copy {
  min-width: 0;
  padding: 96px 56px 64px var(--gutter); display: flex; flex-direction: column;
  justify-content: space-between; gap: 48px;
}
.hero__intro { display: flex; flex-direction: column; gap: 36px; }
.hero__rule { width: 48px; height: 1px; background: var(--ink); }
.hero__intro .lede { max-width: 480px; }
.hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qr-note {
  display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--ink);
  padding-top: 20px; border-top: 1px solid rgba(20,35,43,.15); max-width: 480px;
}
.qr-note:hover { color: var(--ink); }
.qr-note__text { display: flex; flex-direction: column; gap: 6px; }
.qr-note__eyebrow { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.qr-note__body { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero__fade { position: absolute; left: 0; top: 0; bottom: 0; width: 180px; background: linear-gradient(90deg, var(--cream), rgba(237,232,224,0)); }
.hero__media .ring { right: -140px; top: -120px; width: 560px; height: 560px; border-color: rgba(20,35,43,.16); }
.hero__media .vrule { right: 140px; top: 0; height: 360px; background: rgba(20,35,43,.18); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 56px var(--gutter) 48px; gap: 40px; }
  .hero__intro { gap: 28px; }
  .hero__intro .lede, .qr-note { max-width: 560px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .hero__fade { display: none; }
  .hero__media .ring { width: 320px; height: 320px; right: -100px; top: -100px; }
  .hero__media .vrule { right: 70px; height: 50%; }
}
@media (min-width: 1441px) {
  .hero { max-width: none; grid-template-columns: calc((100vw - 1440px) / 2 + 660px) 1fr; }
  .hero__copy { padding-left: calc((100vw - 1440px) / 2 + 72px); }
}

/* ---------- Wasted effort (night) ---------- */
.s-wasted { background: var(--night); color: var(--cream); padding-block: var(--section-y); }
.s-wasted .r1 { right: -260px; top: -300px; width: 900px; height: 900px; border-color: rgba(237,232,224,.06); }
.s-wasted .r2 { right: -180px; top: -160px; width: 620px; height: 620px; border-color: rgba(237,232,224,.10); }
.s-wasted .r3 { left: -320px; bottom: -420px; width: 1000px; height: 1000px; border-color: rgba(237,232,224,.05); }
.s-wasted .r4 { left: -180px; bottom: -280px; width: 720px; height: 720px; border-color: rgba(237,232,224,.07); }
.s-wasted .vrule { left: calc(50% - 200px); top: -40px; height: 520px; background: rgba(237,232,224,.08); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6.7vw, 96px); }
.s-wasted__body {
  display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--on-night);
  max-width: 520px;
}
.s-wasted__body .btn { align-self: flex-start; margin-top: 12px; }
.link-light {
  align-self: flex-start; margin-top: 8px; display: inline-flex; gap: 10px; align-items: center;
  font-size: 16px; font-weight: 700; color: var(--peach); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid rgba(244,180,138,.45); transition: color .3s, border-color .3s;
}
.link-light:hover { color: var(--peach-2); border-bottom-color: currentColor; }
.photo-pair { margin-top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-pair figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.photo-pair img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; background: #16262f; }
.photo-pair figcaption { font-size: 13px; color: #8A9893; }

/* ---------- What it is ---------- */
.s-what { padding-block: var(--section-y) clamp(88px, 8.5vw, 120px); }
.head-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6.7vw, 96px); align-items: end; }
.head-split__body { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.head-split__body .btn { align-self: flex-start; margin-top: 12px; }
.feature-img { margin-top: 80px; height: 600px; position: relative; border-radius: 2px; overflow: hidden; }
.feature-img > img { position: absolute; inset: 0; }
.feature-img .ring { left: 40px; bottom: 40px; width: 120px; height: 120px; border-color: rgba(237,232,224,.85); }
.qr-tile {
  position: absolute; left: 40px; top: 40px; display: flex; flex-direction: column; gap: 8px;
  background: var(--cream); padding: 12px; border-radius: 4px; text-decoration: none; color: var(--ink);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; text-align: center;
}
.qr-tile:hover { color: var(--ink); }

/* ---------- Principles ---------- */
.s-principles { background: var(--sand); padding-block: var(--section-y); }
.s-principles__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 6.7vw, 96px); }
.s-principles__aside { display: flex; flex-direction: column; gap: 56px; }
.s-principles__head { display: flex; flex-direction: column; gap: 28px; }
.principles-arch {
  width: 100%; max-width: 440px; aspect-ratio: 440 / 580; border: 4px solid #fff;
  border-radius: 2px 2px 220px 220px; overflow: hidden; background: var(--sand-2);
}
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.numbered > li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid rgba(20,35,43,.2); }
.numbered > li:first-child { border-top-color: rgba(20,35,43,.2); }
.numbered .num { font-size: 28px; line-height: 1.1; }
.numbered h3 { font-weight: 500; font-size: 24px; letter-spacing: -0.01em; line-height: 1.25; }
.numbered p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 560px; }

/* ---------- Use cases ---------- */
.s-uses { padding-block: var(--section-y); }
.s-uses h2 { max-width: 836px; }
.cards-3 { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.use-card { display: flex; flex-direction: column; gap: 24px; }
.use-card__img { height: 460px; }
.use-card__text { display: flex; flex-direction: column; gap: 10px; }
.use-card h3 { font-weight: 500; font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; }
.use-card p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.use-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Ownership (teal) ---------- */
.s-own { background: var(--teal); color: var(--cream); }
.s-own__grid { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--max); margin-inline: auto; }
.s-own__img { position: relative; min-height: 760px; overflow: hidden; }
.s-own__img > img { position: absolute; inset: 0; }
.s-own__body {
  padding: 120px var(--gutter); display: flex; flex-direction: column; gap: 36px; position: relative; overflow: hidden;
}
.s-own__body .ring { right: -120px; bottom: -120px; width: 360px; height: 360px; border-color: rgba(237,232,224,.18); }
.s-own__body .lede { color: var(--on-teal); max-width: 520px; }
.keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 12px; position: relative; }
.keep-grid > div { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(237,232,224,.25); }
.keep-grid h3 { font-weight: 500; font-size: 19px; line-height: 1.3; }
.keep-grid p { font-size: 15px; line-height: 1.6; color: var(--on-teal); }
@media (min-width: 1441px) {
  .s-own__grid { max-width: none; grid-template-columns: 1fr 1fr; }
  .s-own__body { padding-right: calc((100vw - 1440px) / 2 + 72px); }
}

/* ---------- Process ---------- */
.s-process { padding-block: var(--section-y); }
.steps-wrap { margin-top: 80px; position: relative; }
.steps { margin: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; padding: 0; }
.steps__line { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: rgba(20,35,43,.25); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 18px; }
.steps__n {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 18px;
}
.steps h3 { margin-top: 8px; font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
.steps p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.process-foot {
  margin-top: 96px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; padding-top: 48px;
  border-top: 1px solid rgba(20,35,43,.2); align-items: start;
}
.pull {
  font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty;
}
.note-box { background: var(--sand); padding: 32px; display: flex; flex-direction: column; gap: 12px; border-radius: 2px; }
.note-box p.eyebrow { color: var(--rust); font-size: 11px; line-height: 1.6; }
.note-box p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* ---------- See yours first (night) ---------- */
.s-sample { background: var(--night); color: var(--cream); }
.s-sample__grid { display: grid; grid-template-columns: 7fr 5fr; max-width: var(--max); margin-inline: auto; }
.s-sample__body { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.s-sample__body .lede { color: var(--on-night); max-width: 540px; }
.s-sample__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.qr-card {
  align-self: flex-start; margin-top: 24px; display: flex; gap: 16px; align-items: center;
  background: var(--cream); color: var(--night); padding: 14px 20px 14px 14px; border-radius: 4px; text-decoration: none;
}
.qr-card:hover { color: var(--night); }
.qr-card__text { display: flex; flex-direction: column; gap: 4px; }
.qr-card__eyebrow { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.qr-card__title { font-family: var(--display); font-size: 17px; line-height: 1.3; }
.qr-card__sub { font-size: 12px; color: var(--muted); }
.s-sample__media { position: relative; }
.s-sample__arch {
  position: absolute; left: -40px; top: 110px; width: 480px; height: 640px;
  border-radius: 240px 240px 2px 2px; overflow: hidden;
}
.s-sample__media .vrule { left: 200px; top: 60px; height: 700px; background: rgba(237,232,224,.4); }

/* ---------- FAQ ---------- */
.s-faq { padding-block: var(--section-y); }
.s-faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6.7vw, 96px); }
.faq { border-bottom: 1px solid rgba(20,35,43,.2); }
.faq details { border-top: 1px solid rgba(20,35,43,.2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.3;
  letter-spacing: -0.01em; color: var(--ink); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rust); }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; width: 24px; text-align: center; flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 620px; }

/* ---------- Final CTA (teal) ---------- */
.s-cta {
  background: var(--teal); color: var(--cream); position: relative; overflow: hidden;
  padding: clamp(96px, 11vw, 160px) var(--gutter); display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 36px;
}
.s-cta .r1 { left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-color: rgba(237,232,224,.10); }
.s-cta .r2 { left: 50%; top: 50%; width: 820px; height: 820px; margin: -410px 0 0 -410px; border-color: rgba(237,232,224,.14); }
.s-cta .vrule { left: 50%; top: 0; bottom: 0; background: rgba(237,232,224,.12); }
.s-cta h2 { position: relative; max-width: 900px; }
.s-cta p { position: relative; font-size: 19px; line-height: 1.65; color: var(--on-teal); max-width: 560px; }
.s-cta__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding-block: 72px 48px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__name { font-family: var(--display); font-weight: 500; font-size: 28px; color: var(--cream); }
.site-footer__tag { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.site-footer__qr { display: flex; gap: 16px; align-items: center; margin-top: 20px; text-decoration: none; color: var(--cream); font-size: 14px; line-height: 1.5; }
.site-footer__qr:hover { color: var(--peach); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 64px; font-size: 14px; }
.site-footer__nav a { color: var(--cream); text-decoration: none; }
.site-footer__nav a:hover { color: var(--peach); }
.site-footer__bottom {
  margin-top: 64px; display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  font-size: 12px; border-top: 1px solid rgba(237,232,224,.15); padding-top: 24px;
}
.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__legal a { color: var(--footer-text); }
.site-footer__legal a:hover { color: var(--peach); }
.site-footer__company { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: #8A9893; max-width: 760px; }

/* ==========================================================================
   Free-sample drawer
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 1000; }
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(15,29,37,.55); backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); opacity: 0;
}
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100vw); overflow-y: auto; overflow-x: hidden;
  background: var(--teal); color: var(--cream); box-shadow: -30px 0 80px rgba(15,29,37,.35);
  transform: translateX(105%); overscroll-behavior: contain;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
body.drawer-open { overflow: hidden; }

/* Shared by drawer + /sample page */
.sample-panel { display: flex; flex-direction: column; gap: 40px; padding: 48px 56px 56px; position: relative; }
.sample-panel > .ring { right: -140px; top: -140px; width: 420px; height: 420px; border-color: rgba(237,232,224,.12); }
.sample-panel__top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.sample-panel__brand { font-family: var(--display); font-weight: 500; font-size: 18px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(237,232,224,.4); background: none;
  color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color .3s;
}
.icon-btn:hover { background: rgba(237,232,224,.1); }
.sample-panel__intro { display: flex; flex-direction: column; gap: 20px; position: relative; }
.sample-panel__intro h2 { font-weight: 300; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.sample-panel__intro p { font-size: 17px; line-height: 1.65; color: var(--on-teal); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.mini-steps li { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(237,232,224,.3); padding-top: 14px; }
.mini-steps__n { font-family: var(--display); font-size: 15px; color: var(--peach); }
.mini-steps__t { font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.25; }
.mini-steps__d { font-size: 13px; line-height: 1.55; color: var(--mint); }

.sample-form, .sample-thanks {
  background: var(--paper); color: var(--ink); border-radius: 6px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px; position: relative;
}
.sample-thanks { padding: 48px 36px; gap: 16px; align-items: flex-start; }
.sample-thanks[hidden], .sample-form[hidden] { display: none; }
.sample-thanks__tick {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.sample-thanks h3 { font-weight: 400; font-size: 30px; letter-spacing: -0.01em; line-height: 1.15; }
.sample-thanks p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.sample-thanks .btn { background: var(--teal); color: var(--cream); font-size: 14px; padding: 14px 24px; }
.sample-thanks .btn:hover { background: var(--ink); color: var(--cream); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #7A8488; /* 3.4:1+ on white, paper and cream (WCAG 1.4.11) */
  border-radius: 4px; padding: 13px 14px; width: 100%; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--rust); }
.check {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px;
  border: 1px solid rgba(20,35,43,.15); border-radius: 4px; background: var(--cream); cursor: pointer;
}
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.check__text { display: flex; flex-direction: column; gap: 4px; }
.check__title { font-size: 14px; font-weight: 700; }
.check__desc { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .btn { font-size: 15px; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-foot small { font-size: 12px; color: var(--muted); max-width: 220px; line-height: 1.5; }
.form-foot small a { color: var(--muted); }
.form-msg { font-size: 14px; color: var(--rust); font-weight: 600; }
.form-msg:empty { display: none; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .sample-panel { padding: 32px 24px 40px; gap: 32px; }
  .mini-steps { grid-template-columns: 1fr; gap: 14px; }
  .sample-form, .sample-thanks { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Standalone /sample page */
.sample-page { background: var(--teal); color: var(--cream); overflow: hidden; }
.sample-page .sample-panel { max-width: 760px; margin-inline: auto; padding-block: clamp(48px, 7vw, 96px); }

/* ==========================================================================
   Inner pages (article, case study, legal)
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: rgba(20,35,43,.08); }
.progress__bar { height: 2px; width: 100%; background: var(--rust); transform-origin: left; transform: scaleX(0); }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rust); }

/* Article */
.article-head {
  max-width: 1100px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 56px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.article-head h1 { font-weight: 300; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.035em; max-width: 1000px; text-wrap: balance; }
.article-head .standfirst { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 680px; text-wrap: pretty; }
.byline { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }
.byline__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 15px;
}
.byline strong { color: var(--ink); }
.fig { margin: 0 auto; max-width: 1296px; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 14px; }
.fig figcaption, .cap { font-size: 13px; color: var(--muted); }
.fig__frame { position: relative; aspect-ratio: 16 / 8; border-radius: 2px; overflow: hidden; }
.fig__frame > img { position: absolute; inset: 0; }
.fig__frame .ring { right: -120px; top: -120px; width: 460px; height: 460px; border-color: rgba(237,232,224,.55); }
.fig-pair { margin: 0 auto; max-width: 1296px; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.fig-pair figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fig-pair .frame { aspect-ratio: 4 / 5; }
.fig-pair .ph { align-items: flex-end; }
.fig-pair figure > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }

.reading { max-width: 1296px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,680px) minmax(0,1fr); gap: 48px; }
.toc { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); font-size: 13px; color: var(--muted); }
.toc__inner { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(20,35,43,.2); padding-top: 16px; max-width: 220px; }
.toc__title { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--rust); }
.prose { grid-column: 2; display: flex; flex-direction: column; gap: 28px; font-size: 19px; line-height: 1.75; color: var(--body); }
.prose p { text-wrap: pretty; }
.prose h2 { margin-top: 28px; font-weight: 400; font-size: 34px; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.dropcap::first-letter {
  float: left; font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .8;
  margin: 8px 14px 0 0; color: var(--rust);
}
.prose blockquote {
  margin: 24px 0; padding: 36px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid rgba(20,35,43,.2);
}
.prose blockquote p {
  font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.prose blockquote .hl { color: var(--rust); }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid rgba(20,35,43,.2); }
.checklist li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(20,35,43,.2); }
.checklist .n { font-family: var(--display); color: var(--rust); }
.qr-banner {
  margin-top: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 24px;
  background: var(--sand); border-radius: 4px; text-decoration: none; color: var(--ink); transition: background-color .3s;
}
.qr-banner:hover { background: var(--sand-2); color: var(--ink); }
.qr-banner__title { display: block; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.qr-banner__sub { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.qr-banner__arrow { font-size: 22px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 28px; margin-top: 12px; border-top: 1px solid rgba(20,35,43,.2); font-size: 13px; list-style: none; padding-left: 0; }
.tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(20,35,43,.25); line-height: 1.4; }

.related { padding: 0 var(--gutter) clamp(80px, 9vw, 120px); max-width: 1296px; margin: 0 auto; }
.related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 40px; border-top: 1px solid var(--ink); margin-bottom: 40px; }
.related__head h2 { font-weight: 300; font-size: 40px; letter-spacing: -0.02em; }
.related__head a { font-size: 14px; font-weight: 600; color: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.note-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
a.note-card:hover { color: var(--rust); }
.note-card__img { aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; }
.note-card__img.ph { align-items: flex-end; justify-content: flex-start; padding: 16px; text-align: left; }
.note-card__meta { font-size: 13px; color: var(--muted); }
.note-card h3 { font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }

@media (max-width: 1099px) {
  .reading { grid-template-columns: minmax(0, 680px); justify-content: center; }
  .toc { position: static; }
  .prose { grid-column: 1; }
  .reading--after > .toc-spacer { display: none; }
}
@media (max-width: 640px) {
  .fig-pair { grid-template-columns: 1fr; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 28px; }
  .qr-banner { grid-template-columns: auto 1fr; }
  .qr-banner__arrow { display: none; }
}

/* Case study */
.cs-head { max-width: 1296px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 56px; display: flex; flex-direction: column; gap: 48px; }
.cs-head__row { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-end; justify-content: space-between; }
.cs-head__text { flex: 1 1 560px; max-width: 880px; display: flex; flex-direction: column; gap: 24px; }
.logo-slot { align-self: flex-start; padding: 8px 16px; border: 1px dashed rgba(20,35,43,.4); border-radius: 4px; font: 12px ui-monospace, Menlo, monospace; color: var(--muted); }
.cs-head h1 { font-weight: 300; font-size: clamp(44px, 6.2vw, 88px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.cs-head .standfirst { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }
.cs-head__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cs-head__cta span { font-size: 13px; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--ink); }
.facts div { padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-size: 20px; }
.cs-hero { margin: 0 auto; max-width: var(--max); padding: 0 clamp(0px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.cs-hero figcaption { padding: 0 var(--gutter); }
.cs-hero .fig__frame .ring { left: 6%; bottom: -30%; right: auto; top: auto; width: 42%; height: auto; aspect-ratio: 1; border-color: rgba(237,232,224,.6); }
.cs-brief { max-width: 1296px; margin: 0 auto; padding: var(--section-y) var(--gutter); display: flex; flex-wrap: wrap; gap: 48px 96px; }
.cs-brief h2 { flex: 1 1 320px; }
.cs-brief__body { flex: 1 1 520px; max-width: 680px; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.75; color: var(--body); }
.cs-made { background: var(--night); color: var(--cream); }
.cs-made .r1 { right: -240px; top: -240px; width: 800px; height: 800px; border-color: rgba(237,232,224,.08); }
.cs-made .r2 { left: -200px; bottom: -360px; width: 760px; height: 760px; border-color: rgba(237,232,224,.06); }
.cs-made__inner { position: relative; max-width: 1296px; margin: 0 auto; padding: var(--section-y) var(--gutter); display: flex; flex-wrap: wrap; gap: 64px 96px; align-items: center; }
.cs-made__img { flex: 1 1 380px; max-width: 480px; aspect-ratio: 3 / 4; border-radius: 240px 240px 2px 2px; overflow: hidden; }
.cs-made__body { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.numbered--dark > li { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top-color: rgba(237,232,224,.2); }
.numbered--dark .num { color: var(--peach); font-size: 22px; }
.numbered--dark h3 { font-size: 21px; }
.numbered--dark p { color: var(--on-night); margin-top: 6px; }
.cs-gallery { max-width: 1296px; margin: 0 auto; padding: var(--section-y) var(--gutter) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cs-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-gallery .frame { aspect-ratio: 3 / 4; }
.cs-gallery .ph { align-items: flex-end; padding: 32px; }
.cs-outcome { max-width: 1296px; margin: 0 auto; padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); }
.stats div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stats__v { font-family: var(--display); font-weight: 300; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; color: var(--rust); }
.stats__k { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 260px; }
.cs-quote { margin: 24px 0 0; padding: 48px 0 0; border-top: 1px solid rgba(20,35,43,.2); display: flex; flex-wrap: wrap; gap: 32px 72px; }
.cs-quote p { flex: 1 1 560px; font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.cs-quote footer { flex: 0 1 260px; display: flex; gap: 16px; align-items: center; align-self: flex-end; }
.cs-quote__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); flex: none; }
.cs-quote cite { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-style: normal; }
.cs-quote cite strong { font-weight: 700; }
.cs-quote cite span { color: var(--muted); }
.cs-read { background: var(--teal); color: var(--cream); }
.cs-read .ring { right: 8%; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-color: rgba(237,232,224,.14); }
.cs-read__inner { position: relative; max-width: 1296px; margin: 0 auto; padding: clamp(80px, 9vw, 120px) var(--gutter); display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: center; justify-content: space-between; }
.cs-read__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.cs-read__text h2 { font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.cs-read__text p { font-size: 18px; line-height: 1.65; color: var(--on-teal); max-width: 520px; }
.cs-read__text .btn { align-self: flex-start; }
.qr-disc { position: relative; width: 240px; height: 240px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; flex: none; }
.next-link { display: block; text-decoration: none; color: var(--ink); border-bottom: 1px solid rgba(20,35,43,.15); transition: background-color .3s; }
.next-link:hover { background: var(--sand); color: var(--ink); }
.next-link__inner { max-width: 1296px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; justify-content: space-between; }
.next-link__text { display: flex; flex-direction: column; gap: 12px; }
.next-link__label { font-size: 14px; color: var(--muted); }
.next-link__title { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.next-link__arrow { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }

/* Legal */
.legal-head { position: relative; overflow: hidden; border-bottom: 1px solid rgba(20,35,43,.12); }
.legal-head .r1 { right: -180px; top: -260px; width: 620px; height: 620px; border-color: rgba(20,35,43,.12); }
.legal-head .r2 { right: 20px; top: -120px; width: 380px; height: 380px; border-color: rgba(20,35,43,.08); }
.legal-head__inner { position: relative; max-width: 1296px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 48px; display: flex; flex-direction: column; gap: 28px; }
.legal-head h1 { font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.legal-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
.badge { padding: 4px 12px; border-radius: 999px; background: var(--peach); color: var(--night); font-size: 12px; font-weight: 700; }
.pill-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill-nav a { font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; transition: background-color .3s, color .3s; }
.pill-nav a:hover { background: rgba(20,35,43,.06); color: var(--ink); }
.pill-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.legal-body { max-width: 1296px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(80px, 9vw, 120px); display: flex; flex-wrap: wrap; gap: 48px 64px; }
.legal-toc { flex: 1 1 220px; max-width: 300px; min-width: 0; align-self: flex-start; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.legal-toc__title { font-family: var(--display); font-weight: 500; font-size: 15px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(20,35,43,.2); }
.legal-toc a { display: grid; grid-template-columns: 32px 1fr; gap: 4px; padding: 7px 0; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--rust); }
.legal-toc a span:first-child { color: var(--rust); font-family: var(--display); }
.legal-main { flex: 1 1 560px; max-width: 760px; min-width: 0; display: flex; flex-direction: column; }
.legal-intro { margin: 0 0 40px; font-size: 20px; line-height: 1.65; color: var(--body); text-wrap: pretty; display: flex; flex-direction: column; gap: 16px; }
.legal-intro p { margin: 0; }
.legal-card { display: flex; flex-direction: column; gap: 2px; padding: 20px 24px; border-left: 2px solid var(--rust); background: var(--paper); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.legal-card strong { color: var(--ink); }
.legal-note { margin: 0 0 40px; padding: 28px; background: var(--sand); border-radius: 4px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-note h2 { font-weight: 500; font-size: 20px; color: var(--ink); }
.legal-note ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.clause h3 { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--ink); margin-top: 8px; }
.clause ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.clause li::marker { color: var(--rust); }
.clause a { color: var(--teal); font-weight: 600; }
.subclause { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
.subclause__n { font-family: var(--display); color: var(--rust); font-size: 15px; padding-top: 2px; }
.subclause strong { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.clause table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.clause th { text-align: left; font-weight: 700; color: var(--ink); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); }
.clause td { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(20,35,43,.2); vertical-align: top; }
@media (max-width: 640px) { .subclause { grid-template-columns: 36px minmax(0, 1fr); } .legal-intro { font-size: 18px; } }
.clause { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 32px 0; border-top: 1px solid rgba(20,35,43,.2); scroll-margin-top: calc(var(--header-h) + 24px); }
.clause > .num { font-size: 24px; line-height: 1.2; }
.clause__body { display: flex; flex-direction: column; gap: 14px; }
.clause h2 { font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.clause p { font-size: 17px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.help-box { margin-top: 24px; padding: 28px; background: var(--sand); border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.help-box h3 { font-weight: 500; font-size: 20px; }
.help-box p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.help-box a { color: var(--teal); font-weight: 700; }
@media (max-width: 999px) { .legal-toc { position: static; max-width: none; } }

/* Simple pages (thanks, 404, index listings) */
.simple { max-width: 1296px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.simple h1 { font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.035em; max-width: 900px; text-wrap: balance; }
.simple .lede { max-width: 600px; }
.simple__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ==========================================================================
   Homepage responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 > :last-child { grid-column: 1 / -1; }
  .cards-3 > :last-child .use-card__img { height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line { display: none; }
  .s-sample__grid { grid-template-columns: 1fr 1fr; }
  .s-sample__arch { left: 0; width: calc(100% - var(--gutter)); max-width: 480px; height: auto; aspect-ratio: 3 / 4; }
}
@media (max-width: 900px) {
  .split, .head-split, .s-principles__grid, .s-faq__grid, .process-foot { grid-template-columns: 1fr; }
  .head-split { align-items: start; gap: 28px; }
  .s-wasted__body { padding-top: 0; max-width: 640px; }
  .s-wasted .vrule { display: none; }
  .photo-pair { margin-top: 64px; }
  .feature-img { margin-top: 56px; height: auto; aspect-ratio: 4 / 3; }
  .s-principles__aside { gap: 40px; }
  .principles-arch { max-width: 360px; }
  .s-own__grid { grid-template-columns: 1fr; }
  .s-own__img { min-height: 0; aspect-ratio: 1 / 1; }
  .s-own__body { padding: 88px var(--gutter); }
  .s-sample__grid { grid-template-columns: 1fr; }
  .s-sample__body { padding-bottom: 56px; }
  .s-sample__media { padding: 0 var(--gutter) 88px; }
  .s-sample__arch { position: relative; top: 0; left: 0; width: 100%; max-width: 420px; }
  .s-sample__media .vrule { left: calc(var(--gutter) + 140px); top: -24px; height: calc(100% - 64px); }
  .process-foot { gap: 32px; margin-top: 72px; }
}
@media (max-width: 640px) {
  .cards-3 { grid-template-columns: 1fr; }
  .use-card__img, .cards-3 > :last-child .use-card__img { height: 380px; }
  .photo-pair { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .keep-grid { grid-template-columns: 1fr; gap: 24px; }
  .numbered > li { grid-template-columns: 52px 1fr; gap: 12px; }
  .feature-img .ring { display: none; }
  .qr-tile { left: 16px; top: 16px; }
  .stand-in { right: 12px; bottom: 12px; }
  .faq summary { font-size: 19px; padding: 22px 0; }
  .site-footer__nav { gap: 14px 40px; }
}

@media print {
  .site-header nav, .menu-toggle, .drawer, .progress { display: none !important; }
}

/* ---------- No decorative key lines / rings over photography ---------- */
.hero__media .ring, .hero__media .vrule,
.feature-img .ring,
.s-sample__media .vrule,
.fig__frame .ring { display: none; }
