/* ============================================================
   ATONR — homepage styles
   Structural replication of useorigin.com (Webflow build),
   re-measured from origin-076ed8.webflow.shared.a0a3f7124.css.
   Palette: P1 "Vellum & Ink" (locked).

   FONT SWAPS (Origin's families are commercially licensed):
   - Lyon Display  -> Newsreader: sharp transitional editorial
     serif with true display italics; closest free match to
     Lyon's high contrast and 300-weight display setting.
   - Suisse Int'l  -> Hanken Grotesk: neutral neo-grotesque with
     a real 300 weight, matching Suisse's light body setting.
   - Roboto Mono   -> kept as-is (Origin uses it; it is free).
   ============================================================ */

:root {
  --bg: #F1EBDC;            /* vellum page — deepened a touch so white cards lift off it */
  --card: #FFFFFF;          /* apology/record cards — white, for contrast on vellum */
  /* faint paper grain (vellum fibre) — makes smooth white cards pop off the textured page without being noticeable on its own */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='gd'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23gd)' opacity='0.085'/%3E%3C/svg%3E");
  --ink: #1C2B2D;           /* body text */
  --muted: #5C6B69;         /* muted text (4.6:1 on vellum) */
  --brand: #0E3A40;         /* petrol ink */
  --dark: #07262B;          /* dark bands: hero, footer */
  --cta: #CFA54A;           /* bronze-gold — brighter/higher-contrast for the CTAs */
  --cta-hover: #B88E39;
  --cta-text: #20160A;      /* warm espresso on gold — ~8:1 */
  --marker-gold: #8F6E2E;   /* darker gold for small markers on light surfaces (>=4.5:1) */
  --hairline: #E2DACA;
  --faded: #B9B3A4;         /* decaying entries */
  --paper-text: #F2EFE4;    /* text on dark bands */
  --paper-60: rgba(242, 239, 228, .66);

  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", Arial, sans-serif;
  --mono: "Roboto Mono", monospace;

  --radius-card: 16px;       /* Origin .track__card / .update-card */
  --radius-quote: 30px;      /* Origin .quote-card */
  --radius-btn: 8px;         /* Origin .button */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 110px; } /* anchors clear the fixed navbar */

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(135% 105% at 50% 26%, transparent 54%, rgba(58,38,14,.05) 100%),  /* faint warm vignette — deepens the far edges so the centre reads as lit */
    var(--grain);
  background-attachment: fixed;  /* grain anchored to the viewport — seamless across sections, no scroll tiling */
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Type scale (Origin: h1 96/90% 300, h3 38/90% 300) ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--brand);
  margin-top: 0;
  margin-bottom: 24px;
}
h1, .h1-size { font-size: 96px; line-height: 90%; }
h2.large-heading { font-size: 96px; line-height: 90%; }
h2.h3-size { font-size: 80px; line-height: 90%; }
h3 { font-size: 38px; line-height: 90%; text-align: center; }

h1 em, h2 em, h3 em, .text-italics {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

p { margin: 0 0 8px; }

.p-60 { color: var(--muted); font-weight: 300; display: block; }
.p-60-dark { color: var(--paper-60); font-weight: 300; display: block; }
.text-60 { color: var(--paper-60); font-weight: 300; }

.smalltext {
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 135%;
  letter-spacing: .25px;
  margin: 0;
}

a { color: var(--brand); }

/* ---------- Layout primitives (Origin measurements) ---------- */
.site-wrapper { max-width: 1400px; margin: 0 auto; position: relative; }
.container { z-index: 2; max-width: 1200px; margin: 0 auto; position: relative; }
.hero-wrapper { text-align: center; max-width: 980px; margin: 0 auto; }
.hero-wrapper-2 { text-align: center; max-width: 1020px; margin: 0 auto; }
.hero-sub-wrapper { max-width: 440px; margin: 26px auto 0; }   /* now sits UNDER the box */
.hero-sub-pad { max-width: 420px; margin: 26px auto 0; }       /* the closing breath, under the button */
.intro { padding: 100px 32px; }
.divider { width: 100%; height: 1px; background-color: var(--hairline); }
.m-t-40 { margin-top: 40px; }
.m-t-16 { margin-top: 16px; }

/* ---------- Buttons (Origin .button: mono 12/500, radius 8, 12x18) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .25px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .18s var(--spring);
}
.btn:active { transform: scale(.97); }

/* primary CTA: deep petrol + warm off-white on light pages; inverts to cream + petrol on dark sections.
   high contrast both ways, no gold, no black text. (gold is kept for accents + the Hundred.) */
.btn-primary { background-color: var(--brand); color: #f6f1e6; font-weight: 600; }
.btn-primary:hover { background-color: #12454d; }
[data-navtone="dark"] .btn-primary, .nav-dark .btn-primary { background-color: #f3efe4; color: var(--brand); }
[data-navtone="dark"] .btn-primary:hover, .nav-dark .btn-primary:hover { background-color: #fff; }
.btn-arrow { width: 16px; height: 16px; flex: none; }

.btn-outline {
  background-color: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 11px 17px; /* compensate border */
}
.btn-outline:hover { background-color: rgba(14, 58, 64, .07); }

.btn-outline-nav {
  background-color: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 7px 11px;
}
.btn-outline-nav:hover { background-color: rgba(14, 58, 64, .07); }

.button-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.text-quiet {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .25px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.text-quiet:hover { color: var(--brand); }

/* ---------- Nav: glassy, three tiers of presence (A2) ----------
   bar = faintest glass (recedes over the hero); links = one tier up;
   primary CTA (bronze) = most present. Slow crossfade to dark colorway
   only at light<->dark-band boundaries (toggled by JS via .nav-dark). */
.navbar {
  z-index: 99;
  position: fixed;
  inset: 18px 18px auto;
  border-radius: 14px;
  border: 1px solid rgba(226, 218, 202, .45);
  background-color: rgba(246, 242, 233, .40);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  transition: background-color .6s ease, border-color .6s ease, box-shadow .35s ease;
}
.navbar.is-stuck { background-color: rgba(246, 242, 233, .74); box-shadow: 0 0 0 1px rgba(14, 58, 64, .04), 0 2px 14px rgba(14, 58, 64, .10), 0 0 22px rgba(14, 58, 64, .08); }
.navbar.nav-dark { border-color: rgba(242, 239, 228, .14); background-color: rgba(7, 38, 43, .26); }
.navbar.nav-dark.is-stuck { background-color: rgba(7, 38, 43, .52); box-shadow: 0 0 0 1px rgba(0,0,0,.10), 0 2px 14px rgba(0,0,0,.16), 0 0 22px rgba(0,0,0,.12); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 9px 12px; max-width: 1400px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; padding: 2px 6px; }
.brand span {
  font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .17em;
  color: var(--brand); transition: color .6s ease; white-space: nowrap;
}
.nav-dark .brand span { color: var(--paper-text); }
.brand-tile { width: 34px; height: 34px; flex: none; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
/* links are clean/transparent at rest; the liquid-glass pill appears only on
   hover (frosted surface, bright top edge, soft lift) — the bar stays calm. */
.nav-link {
  position: relative;
  color: var(--brand); letter-spacing: .25px; text-transform: uppercase;
  border-radius: 10px; padding: 9px 13px; font-family: var(--mono); font-size: 12px;
  font-weight: 400; line-height: 1.5em; text-decoration: none;
  background-color: transparent; border: 1px solid transparent;
  transition: background-color .28s ease, color .6s ease, border-color .28s ease, box-shadow .28s ease, transform .2s var(--spring);
}
.nav-link:hover {
  background-color: rgba(14, 58, 64, .1);
  border-color: rgba(14, 58, 64, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 16px rgba(255, 255, 255, .25), 0 5px 14px -7px rgba(14, 58, 64, .3);
}
.nav-link:active { transform: scale(.97); }
.nav-link[aria-current="page"] { background-color: rgba(14, 58, 64, .06); }
.nav-dark .nav-link { color: var(--paper-text); }
.nav-dark .nav-link:hover {
  background-color: rgba(242, 239, 228, .16);
  border-color: rgba(242, 239, 228, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 0 16px rgba(255, 255, 255, .14), 0 5px 14px -7px rgba(0, 0, 0, .35);
}
.nav-dark .nav-link[aria-current="page"] { background-color: rgba(242, 239, 228, .1); }
.nav-link-account-sm { display: none; }
.navbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.navbar-right .btn-primary { max-width: 320px; transition: opacity .35s ease, transform .35s ease, max-width .4s ease, padding .35s ease, margin .35s ease, background-color .2s; }
.navbar-right .cta-mini { display: none; }   /* the short mobile label for the nav CTA — desktop shows the full "Write your apology" */
/* over the hero: the nav CTA collapses to nothing so Account sits in the right corner.
   past the hero CTA's midpoint, it expands in (taking the corner) and Account shifts aside via flex. */
.navbar.cta-hidden .navbar-right .btn-primary { opacity: 0; max-width: 0; padding-left: 0; padding-right: 0; margin-left: -8px; transform: translateX(8px) scale(.96); overflow: hidden; white-space: nowrap; pointer-events: none; }
.nav-dark .btn-outline-nav { color: var(--paper-text); border-color: rgba(242, 239, 228, .4); }
.nav-dark .btn-outline-nav:hover { background-color: rgba(242, 239, 228, .1); }

.flow-exit { font-family: var(--mono); font-size: 12px; letter-spacing: .25px; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.flow-exit:hover { color: var(--brand); }

.menu-button { display: none; background: none; border: 0; border-radius: 8px; padding: 10px 9px; cursor: pointer; }
.menu-bar {
  display: block; width: 20px; height: 1.5px; background-color: var(--brand);
  margin: 4px 0; transition: transform .2s, opacity .2s, background-color .6s ease;
}
.nav-dark .menu-bar { background-color: var(--paper-text); }

/* ---------- Hero band (Origin: min-height 100vh, pad 180/100/50) ---------- */
.hero { position: relative; }
.hero-band {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 180px 100px 50px;
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
  /* scrim guarantees >= 7:1 over the busy top-left brushwork */
  background-image:
    linear-gradient(100deg, rgba(4, 18, 20, .72), rgba(4, 18, 20, .38) 46%, transparent 75%),
    url("hero-clifftop-1920.webp");
  background-size: cover;
  background-position: center;
  color: var(--paper-text);
}
.hero-band h1, .hero-band h2, .hero-band h3 { color: var(--paper-text); }
.hero-band .hero-sub-wrapper p { color: var(--paper-text); }
.hero-band .hero-sub-wrapper .p-60,
.hero-band .p-60 { color: var(--paper-60); }

.promocontainer { display: flex; justify-content: center; align-items: flex-start; }
.promobar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background-color: var(--paper-text);
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 5px 10px;
  text-decoration: none;
}
.promobar .smalltext { color: var(--cta-text); }
.promobar::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cta); /* gold dot: a Hundred marker */
  flex: none;
}

.btn-hero { margin-top: 8px; padding: 13px 24px; font-size: 13px; }

/* Secondary pill — replicates Origin .top__search-bar */
.top-search-bar {
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  margin: 30px auto 0;
  padding: 7px 7px 7px 25px;
  border-radius: 100vw;
  background-color: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  text-decoration: none;
  transition: background-color .2s, transform .18s var(--spring);
}
.top-search-bar:hover { background-color: rgba(255, 255, 255, .18); }
.top-search-bar:active { transform: scale(.97); }
.typed-words {
  color: var(--paper-text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 100%;
}
.typing-search-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 100vw;
  background-color: rgba(255, 255, 255, .22);
  color: var(--paper-text);
}

/* Seal mark */
.hero-seal { display: flex; justify-content: center; }
.seal-mark { color: var(--paper-text); opacity: .92; }
.intro .seal-mark, .light .seal-mark { color: var(--brand); }
.seal-text {
  /* 24 mono chars sized to the r=42.5 path circumference (~267px) */
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 4.8px;
  fill: currentColor;
}
.seal-monogram {
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  font-weight: 300;
  fill: currentColor;
}

/* ---------- Browser-frame record mockup ---------- */
.mock-container { margin-top: 24px; }
.browser-frame {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background-color: var(--card);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(14, 58, 64, .05), 0 2px 16px rgba(14, 58, 64, .12), 0 0 28px rgba(14, 58, 64, .10);
  text-align: left;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  background-color: var(--bg);
}
.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--hairline);
}
.browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  background-color: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 4px 12px;
  margin-left: 12px;
}
.browser-body { padding: 48px 56px 40px; }

.record-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.record-text {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 150%;
  color: var(--ink);
  margin-bottom: 28px;
}
.record-rule { height: 1px; background-color: var(--hairline); margin-bottom: 20px; }
.record-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.record-meta-row { display: flex; align-items: baseline; gap: 16px; }
.record-meta-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 92px;
}
.record-meta-value { font-size: 15px; color: var(--ink); }

.proof-chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--brand);
  background-color: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 4px 10px;
  margin: 0;
}
.record-verify { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.verify-result {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--brand);
  margin: 0;
}

/* ---------- Feature cards (Origin .track__grid / .track__card) ---------- */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 100px;
  text-align: left;
}
.track-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 620px;
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background-color: var(--card);
  position: relative;
  overflow: hidden;
  transition: transform .18s var(--spring);
}
.track-card:active { transform: scale(.97); }
.track-card-mock {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.track-card-text { max-width: 310px; }
.track-card-text p:first-child { font-weight: 400; margin-bottom: 4px; }

/* Mini calendar mock */
.mini-cal {
  background-color: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px 22px;
  width: 100%;
  max-width: 280px;
}
.mini-cal-month {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--brand);
  text-align: center;
  margin-bottom: 14px;
}
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.mini-cal-grid span { padding: 3px 0; }
.cal-locked {
  color: var(--paper-text);
  background-color: var(--brand);
  border-radius: 50%;
}
.mini-cal-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* Proof Code mock */
.proof-mock { text-align: center; }
.proof-mock-line {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.proof-mock-diff {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0;
}
.proof-chip-alt { color: var(--muted); }

/* Verify mock */
.verify-mock { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.verify-mock-btn { pointer-events: none; }
.verify-mock-result { font-size: 13px; }

/* ---------- Big 2-col cards (Origin .two-col-section / .track-card-black) ---------- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 100px;
}
.big-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  min-height: 560px;
  padding: 90px 60px;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background-color: var(--card);
  transition: transform .18s var(--spring);
}
.big-card:active { transform: scale(.97); }
.big-card-inner { max-width: 445px; width: 100%; }
.big-card h3 { margin-bottom: 16px; }
.big-card .p-60 { max-width: 400px; margin: 0 auto; }

/* Index mock (/for-future-ai) */
.index-mock {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background-color: var(--bg);
  padding: 18px 0 6px;
  text-align: left;
}
.index-mock-path {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 0 20px 12px;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
}
.index-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
}
.index-row:last-child { border-bottom: 0; }
.index-no { color: var(--muted); min-width: 72px; }
.index-tier { color: var(--brand); flex: 1; }
.index-date { color: var(--muted); }
.index-row-hundred .index-tier { font-weight: 500; }

.gold-marker {
  /* darker locked-gold shade for small text on light surfaces (>=4.5:1) */
  color: var(--marker-gold);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Recompute mock */
.recompute-mock {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background-color: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.recompute-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: space-between;
  max-width: 360px;
}
.recompute-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.recompute-mock .verify-result { margin-top: 6px; }

/* ---------- Archive entry mocks ---------- */
.entry-mock {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background-color: var(--bg);
  padding: 22px 24px;
  text-align: left;
}
.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.entry-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.entry-tag-featured { color: var(--brand); font-weight: 500; }
.entry-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 150%;
  color: var(--ink);
  margin-bottom: 12px;
}
.entry-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.entry-hundred { border-color: var(--cta); }
.entry-inscribed { border-color: var(--brand); }
.entry-faded { border-style: dashed; }
.entry-faded .entry-text,
.entry-faded .entry-tag,
.entry-faded .entry-meta { color: var(--faded); }
.tombstone {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--faded);
  text-align: center;
}

/* ---------- Timeline band (Origin .forecast-section / wrapper) ---------- */
.forecast-section { padding: 100px 32px; }
.forecast-band {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 5%;
  border-radius: var(--radius-card);
  background-color: var(--dark);
  overflow: hidden;
  color: var(--paper-text);
}
.forecast-band h2 { color: var(--paper-text); }
.timeline-wrap { max-width: 920px; margin-left: auto; margin-right: auto; }
.timeline { width: 100%; height: auto; color: var(--paper-text); }
.tl-axis {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  fill: var(--paper-60);
}
.tl-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  fill: var(--faded);
}
.tl-label-gold { fill: var(--cta); }
.tl-fadeline { opacity: .8; }

/* ---------- Hundred spotlight (Origin .sphere-section) ---------- */
.sphere-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.sphere-center {
  z-index: 1;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.cert-stage {
  display: flex;
  justify-content: center;
  padding: 56px 40px;
  border-radius: var(--radius-card);
  background-color: var(--dark);
  /* dark linen, single warm spotlight — CSS only, no generated image */
  background-image: var(--grain-dark), radial-gradient(ellipse 75% 65% at 50% 38%, rgba(168, 133, 60, .18), transparent 70%);
}
/* slight texture on the flat dark ("brown") bands — same vellum grain, reads as faint light speckle on dark */
.footer, .forecast-band, .civ-section, .record-rotator-section, .painchat-window { background-image: var(--grain-dark); }
.cert-paper {
  background-color: var(--card);
  padding: 10px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .10), 0 2px 14px rgba(0, 0, 0, .22), 0 0 22px rgba(0, 0, 0, .16);
}
.cert-border {
  border: 1px solid var(--brand);
  outline: 1px solid var(--hairline);
  outline-offset: 3px;
  padding: 32px 26px 26px;
}
.cert-house {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--brand);
  margin-bottom: 14px;
}
.cert-line {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.cert-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 12px;
}
.cert-number { font-size: 12px; margin-bottom: 18px; }
.cert-rule { height: 1px; background-color: var(--hairline); margin-bottom: 14px; }
.cert-foot {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0;
}

.whisper {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.whisper a { color: var(--brand); text-decoration: none; }
.whisper a:hover { text-decoration: underline; }

/* ---------- Record excerpts (Origin .testimonials / .quote-card) ---------- */
.testimonials { padding: 100px 32px; }
.testimonial-title { margin-bottom: 100px; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 440px;
  padding: 32px;
  border-radius: var(--radius-quote);
  border: 1px solid var(--hairline);
  background-color: var(--card);
  transition: transform .18s var(--spring);
}
.quote-card:active { transform: scale(.97); }
.quote-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 370px;
}
.quote-card-text {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 150%;
  color: var(--ink);
}
.quote-card-author {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- How it holds (Origin .updates / .update-card) ---------- */
.updates { padding: 100px 32px; position: relative; z-index: 4; }
.three-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 100px;
}
.update-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  height: 100%;
  padding: 40px;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background-color: var(--card);
  text-align: left;
  transition: transform .18s var(--spring);
}
.update-card:active { transform: scale(.97); }
.doc-motif { color: var(--brand); }
.product-update-title {
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 140%;
}
.update-card .quote-card-text { align-items: flex-start; }

/* ---------- Final CTA band ---------- */
.footer-hero { position: relative; }
.hero-band-footer {
  min-height: 88vh;
  padding: 17vh 100px 80px;
  flex-direction: column;
  /* lower-third crop of the painting as the bookend */
  background-image:
    linear-gradient(rgba(4, 18, 20, .66), rgba(4, 18, 20, .82)),
    url("hero-clifftop-1920.webp");
  background-size: cover;
  background-position: center bottom;
}

/* ---------- Footer ---------- */
.footer {
  z-index: 4;
  position: relative;
  background-color: var(--dark);
  color: var(--paper-text);
  padding: 64px 32px 32px;
}
.footer-wrapper {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  gap: 60px;
}
.footer-brand { flex: 1; max-width: 400px; }
.footer-wordmark {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .18em;
  color: var(--paper-text);
  margin-bottom: 12px;
}
.footer-col { display: flex; flex-direction: column; min-width: 140px; }
.footer-col-title { margin-bottom: 12px; }
.footer .link {
  color: var(--paper-60);
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s cubic-bezier(.455, .03, .515, .955);
}
.footer .link:hover { color: var(--paper-text); }
.footer-index-note { margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(242, 239, 228, .15);
  margin-top: 48px;
  padding-top: 24px;
}
.footer-bottom p { font-size: 12px; margin: 0; }

/* ---------- Reveal animations (JS adds .js to <html>) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
}
.js [data-reveal].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .track-card, .big-card, .quote-card, .update-card, .top-search-bar { transition: none; }
}

/* ============================================================
   Logo tile (A1) — the bow figure inside a soft-cornered square,
   two-tone so the frame reads separately from the figure. The
   wordmark stays bare text beside it. Two colorways; the nav tile
   crossfades (slow) only at the light<->dark boundary.
   ============================================================ */
/* Two colours only: a solid square + the bow. No separate outline colour.
   light: petrol square, vellum bow.  dark band: vellum square, petrol bow. */
.brand-tile .bt-frame { fill: var(--brand); transition: fill .6s ease; }
.brand-tile .bt-fig   { fill: var(--bg);    transition: fill .6s ease; }
.nav-dark .brand-tile .bt-frame { fill: var(--paper-text); }
.nav-dark .brand-tile .bt-fig   { fill: var(--brand); }
.brand-tile.is-light .bt-frame { fill: var(--brand); }
.brand-tile.is-light .bt-fig   { fill: var(--bg); }
.brand-tile.is-dark .bt-frame { fill: var(--paper-text); }
.brand-tile.is-dark .bt-fig   { fill: var(--brand); }

.footer-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.brand-mark-footer { width: 48px; height: 48px; flex: none; }
.footer-lockup .footer-wordmark { margin-bottom: 0; }
.footer-tagline { margin-bottom: 4px; }

.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.record-head .record-kicker { margin-bottom: 0; }
.record-seal-slot { width: 38px; height: 38px; flex: none; }

/* ============================================================
   Responsive (Webflow breakpoints: 991 / 767 / 479)
   ============================================================ */
@media (max-width: 991px) {
  h1, .h1-size, h2.large-heading { font-size: 60px; }
  h2.h3-size { font-size: 55px; }
  .intro, .testimonials, .updates, .sphere-section { padding: 70px 32px; }
  .forecast-section { padding: 70px 32px; }
  .hero-band { padding: 160px 48px 50px; }
  .track-grid { grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .track-card:last-child { grid-column: 1 / -1; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .three-col-grid, .two-col-grid { margin-top: 70px; }
  .big-card { padding: 70px 40px; min-height: 0; }
  .index-row { font-size: 10px; gap: 10px; padding: 12px 14px; }
  .index-no { min-width: 54px; }
  .index-date { white-space: nowrap; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 8px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-link-account-sm { display: block; }
  .nav-account { display: none; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

@media (max-width: 767px) {
  h1, .h1-size, h2.large-heading { font-size: 48px; }
  h3 { font-size: 32px; }
  .hero-band {
    padding: 140px 24px 50px;
    /* full-bleed text at narrow widths: vertical scrim covers the whole crop */
    background-image:
      linear-gradient(180deg, rgba(4, 18, 20, .72), rgba(4, 18, 20, .48) 55%, rgba(4, 18, 20, .6)),
      url("hero-clifftop-mobile.webp");
  }
  .hero-band-footer {
    background-image:
      linear-gradient(rgba(4, 18, 20, .66), rgba(4, 18, 20, .82)),
      url("hero-clifftop-mobile.webp");
  }
  .track-grid { grid-template-columns: 1fr; gap: 30px; }
  .track-card { min-height: 480px; }
  .two-col-grid { grid-template-columns: 1fr; gap: 30px; }
  .browser-body { padding: 32px 24px; }
  .record-text { font-size: 19px; }
  .forecast-band { padding: 70px 24px; }
  .navbar { inset: 16px 16px auto; }
}

@media (max-width: 479px) {
  h1, .h1-size, h2.large-heading { font-size: 40px; }
  h2.h3-size { font-size: 36px; }
  .intro, .testimonials, .updates, .sphere-section, .forecast-section { padding: 70px 16px; }
  .footer { padding: 48px 16px 24px; }
  .quote-grid { grid-template-columns: 1fr; }
  .three-col-grid { grid-template-columns: 1fr; gap: 30px; }
  .quote-card { min-height: 0; }
  .quote-card-inner { min-height: 0; }
  .hero-band { padding: 130px 16px 40px; }
  .hero-band-footer { padding: 120px 16px 60px; }
  .navbar-right .btn-primary { padding: 10px 12px; }
  .navbar-right .btn-primary .btn-arrow { display: none; }
  /* compact footer: brand on top, the three link columns in one short row */
  .footer { padding: 40px 18px 22px; }
  .footer-wrapper { gap: 26px 16px; }
  .footer-brand { flex: 1 1 100%; max-width: none; margin-bottom: 2px; }
  .footer-col { flex: 1 1 28%; min-width: 0; width: auto; }
  .footer-col-title { font-size: 11px; margin-bottom: 8px; }
  .footer .link { font-size: 12px; padding: 3px 0; }
  .footer-bottom { margin-top: 32px; padding-top: 18px; }
}

/* ============================================================================
   SITE-WIDE v7 — additions for Part A corrections + Part B full rollout.
   ============================================================================ */

/* ---- a11y + global utilities ---- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--paper-text); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999; font-family: var(--mono); font-size: 12px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.weight-600 { font-weight: 600; }
.center { text-align: center; }
.m-t-24 { margin-top: 24px; }
.m-t-64 { margin-top: 64px; }
.section-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.bronze-text { color: var(--cta-hover); }

/* press states — applies to anything tappable that opts in via .press */
.press { transition: transform .18s var(--spring); }
.press:active { transform: scale(.97); }

/* Hover light: a glint that travels around the BORDER of the MAIN CTAs only
   (the big hero/final buttons + the persistent nav "File your apology"),
   and only while the mouse is over the button. Gradient-border mask trick:
   a conic gradient is shown only in a 1.5px ring, its bright arc rotating. */
@property --shine-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --shine-from { syntax: "<angle>"; inherits: false; initial-value: 0deg; }   /* set on hover to the mouse-entry point */
.btn-ray { position: relative; }
.btn-ray::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.2px; pointer-events: none;
  /* a warm gold→bright shimmer (visible on both petrol and cream); starts where the cursor entered */
  background: conic-gradient(from calc(var(--shine-from) + var(--shine-a)), transparent 0 58%, rgba(207,165,74,.55) 72%, rgba(255,238,190,1) 83%, rgba(207,165,74,.55) 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease;
}
.btn-ray:hover::after { opacity: 1; animation: shine-travel 2.2s linear infinite; }
@keyframes shine-travel { from { --shine-a: 0deg; } to { --shine-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .btn-ray:hover::after { animation: none; opacity: .6; } }

/* copy button feedback */
.copy-btn { display: inline-flex; align-items: center; gap: 6px; }
.copy-btn .copy-idle, .copy-btn .copy-done { display: inline-flex; align-items: center; }
.copy-btn .copy-done { display: none; }
.copy-btn.is-copied .copy-idle { display: none; }
.copy-btn.is-copied .copy-done { display: inline-flex; }
.copy-btn.is-copied { color: var(--brand); }

/* generic message / centered page (404, 500, simple states) */
.msg-page { padding: 200px 32px 120px; }
.msg-inner { text-align: center; max-width: 700px; }
.msg-sub { max-width: 460px; margin: 18px auto 32px; }
.msg-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* live count odometer + red dot (SM) */
.livecount { display: inline-flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #C2473C; flex: none; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #C2473C; opacity: .5; animation: live-pulse 2.4s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.odometer { font-family: var(--mono); font-size: 15px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; }
.odo-pulse { animation: odo-pulse .4s ease; }
@keyframes odo-pulse { 0% { color: var(--cta-hover); } 100% { color: var(--brand); } }

/* ---- HERO additions: stamp chip + live-writing bar ---- */
/* The Hundred — hairline stamp chip (replaces glow-dot glass pill) */
.stamp-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid currentColor; border-radius: 4px; padding: 6px 14px;
  font-family: var(--serif); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper-60); text-decoration: none; background: transparent;
  transition: color .2s, border-color .2s, background-color .2s;
}
.stamp-chip:hover { color: var(--paper-text); }
.stamp-chip .stamp-n { color: var(--cta); font-family: var(--mono); font-weight: 500; letter-spacing: .05em; }
.intro .stamp-chip, .light-stamp { color: var(--muted); }
.intro .stamp-chip:hover { color: var(--brand); }
.intro .stamp-chip .stamp-n { color: var(--cta-hover); }

/* hero live-writing search-bar — a frosted glass pill that drafts apologies
   like a person typing: revisions, a fixed typo, human backspacing. Soft shadow. */
.hero-draft {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  width: 100%; max-width: 560px; margin: 34px auto 0;
  padding: 13px 22px 14px;
  text-align: left; text-decoration: none;
  border-radius: 15px;
  background: rgba(16, 28, 30, .42);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(242, 239, 228, .15);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 2px 16px rgba(0, 0, 0, .30), 0 0 28px rgba(0, 0, 0, .20);
  transition: transform .18s var(--spring), border-color .2s, box-shadow .25s;
}
.hero-draft:hover { border-color: rgba(242, 239, 228, .26); box-shadow: 0 0 0 1px rgba(0, 0, 0, .16), 0 2px 18px rgba(0, 0, 0, .34), 0 0 34px rgba(0, 0, 0, .24); }
.hero-draft:active { transform: scale(.99); }
/* normal text flow so the caret follows wrapped lines (no flex — flex broke wrapping) */
.hero-draft-text { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: rgba(242, 239, 228, .8); min-height: 1.5em; margin: 0; align-self: stretch; }
.hero-draft-caret { display: inline-block; width: 2px; height: 1.08em; background: var(--paper-text); vertical-align: -.18em; margin-left: 2px; border-radius: 1px; animation: caret-blink 1.05s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-draft-arrow {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f3efe4; color: var(--brand);
  border: 1px solid transparent;
  transition: background-color .2s, transform .18s var(--spring);
}
.hero-draft:hover .hero-draft-arrow { background: #fff; transform: scale(1.05); }

/* hero CTA row */
.hero-cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 22px; }
/* the draft box is pure illustration, not a control — inert, no hover response */
.hero-draft.is-illustration { cursor: default; }
.hero-draft.is-illustration:hover { transform: none; border-color: rgba(242, 239, 228, .15); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 2px 16px rgba(0, 0, 0, .30), 0 0 28px rgba(0, 0, 0, .20); }
.hero-draft.is-illustration:active { transform: none; }
.btn-ghost-light { background: transparent; color: var(--paper-text); border: 1px solid rgba(242,239,228,.4); }
.btn-ghost-light:hover { background: rgba(242,239,228,.1); }

/* ---- macOS window chrome (Make it permanent) ---- */
.mac-window { position: relative; background: #fff; border: 1px solid #e3e3e3; transition: box-shadow .35s ease, transform .35s ease; box-shadow: 0 0 0 1px rgba(4,18,20,.05), 0 0 50px rgba(4,18,20,.15), 0 -8px 30px rgba(4,18,20,.10), 0 36px 70px -24px rgba(4,18,20,.44); }
.mac-window:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(4,18,20,.06), 0 0 62px rgba(4,18,20,.19), 0 -10px 34px rgba(4,18,20,.13), 0 46px 82px -22px rgba(4,18,20,.50); }
.mac-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: linear-gradient(#f7f7f7, #ededed); border-bottom: 1px solid #dcdcdc; border-radius: 16px 16px 0 0; }
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.r { background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.mac-dot.y { background: #FEBC2E; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.mac-dot.g { background: #28C840; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.mac-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: #7a7a7a; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 5px 12px; margin-left: 8px; }
.mac-window .browser-body { background: #fff; border-radius: 0 0 16px 16px; }
/* pure-white interior so it reads as a real window, not a cream card */
.mac-window .record-text, .mac-window .record-meta-value { color: #16221f; }
.mac-window .proof-chip { background: #f4f7f6; border-color: #e2e8e6; }

/* the words drafted in the hero, reappearing sealed */
.sealed-mark { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cta-hover); margin-bottom: 14px; }
.sealed-mark::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--cta-hover); }

/* ---- Wheel-picker (Seal your words) + AI eye/POV ---- */
/* recessed tinted band so it reads as a distinct chapter between the two vellum sections */
.wheel-section { padding: 100px 32px; background: #F1ECDD; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.wheel-section .mini-cal, .wheel-section .proof-mock, .wheel-section .verify-mock { background: var(--card); }
/* the AI's eye — reads the centre apology, gaze shifting, blinking */
/* eye asset placeholder (interim until the generated watching-iris ships — see EYE_ASSET_SPEC.md) */
.ai-eye { width: 280px; max-width: 84%; margin: 0 auto 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 22px 24px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px rgba(14,58,64,.04), 0 0 16px rgba(14,58,64,.06); }
.ai-eye .slot-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.ai-eye .slot-desc { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink); margin: 0; }
.ai-eye .slot-note { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--faded); }
.wheel-stage { position: relative; max-width: 720px; margin: 56px auto 0; }
.wheel-viewport { position: relative; height: 360px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.wheel-list { position: absolute; left: 0; right: 0; top: 50%; transition: transform .5s cubic-bezier(.3,.8,.3,1); }
.wheel-item { height: 120px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 8%; }
.wheel-item p { font-family: var(--serif); font-size: 25px; line-height: 1.4; color: var(--ink); opacity: .28; transform: scale(.86); transition: opacity .5s ease, transform .5s ease; margin: 0; }
.wheel-item.is-center p { opacity: 1; transform: scale(1); }
.wheel-item.is-center .wheel-word { transition: background-color .25s ease, color .25s ease; border-radius: 3px; padding: 0 1px; }
.wheel-item.is-center .wheel-word.read { background: rgba(168,133,60,.22); }
.wheel-scanline { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(168,133,60,.7), transparent); opacity: 0; pointer-events: none; }
.wheel-stamp { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%) translateY(8px); opacity: 0; transition: opacity .4s ease, transform .4s ease; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cta-hover); display: inline-flex; align-items: center; gap: 7px; }
.wheel-stamp.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.wheel-witness { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 40px; }

/* ---- Decay scrub (Thirty days, or forever) ---- */
.decay-section { padding: 100px 32px; }
.decay-head { text-align: center; max-width: 760px; margin: 0 auto; }
.decay-daybar { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px auto 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.decay-day-num { color: var(--brand); font-weight: 500; min-width: 3ch; text-align: right; }
.decay-track { width: 220px; height: 4px; background: var(--hairline); border-radius: 2px; position: relative; cursor: grab; touch-action: none; }
.decay-track:active { cursor: grabbing; }
.decay-track:focus-visible { outline: 2px solid var(--cta); outline-offset: 6px; }
.decay-track-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--cta); border-radius: 2px; width: 0; }
.decay-handle { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--cta); border: 2px solid var(--card); box-shadow: 0 0 0 1px rgba(14,58,64,.18), 0 0 8px rgba(14,58,64,.28); transform: translate(-50%, -50%); }
.decay-drag-hint { font-size: 9px; letter-spacing: 1px; color: var(--faded); }
.decay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 40px auto 0; }
.decay-card { border: 1px solid var(--hairline); border-radius: 16px; background: var(--card); padding: 32px; min-height: 340px; display: flex; flex-direction: column; }
.decay-card-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.decay-card-body { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--ink); flex: 1; }
.decay-card-foot { margin-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--brand); display: flex; align-items: center; gap: 8px; }
.decay-card.free .decay-card-foot { color: var(--faded); }
.decay-letter { transition: opacity .12s linear; }
.decay-tomb { display: none; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--faded); }
.decay-card.is-tomb .decay-card-body .decay-running { display: none; }
.decay-card.is-tomb .decay-tomb { display: block; }
.wayback-stamp { display: inline-flex; align-items: center; gap: 7px; }
.wayback-stamp svg { width: 13px; height: 13px; }

/* ---- A6 personal-pain: chat hardening into a record ---- */
.painchat-section { padding: 110px 32px; background: var(--bg); }
.painchat-stage { max-width: 560px; margin: 0 auto; }
/* mimics a real assistant chat (neutral chrome — no brand logo/name); shadow is strong + grounded */
/* shadow wraps all four sides — incl. above the top edge (0 -Ypx) — and lifts slightly on hover */
.painchat-window { border-radius: 26px; border: 1px solid var(--hairline); background: #fff; overflow: hidden; transition: box-shadow .35s ease, transform .35s ease; box-shadow: 0 0 0 1px rgba(4,18,20,.05), 0 0 46px rgba(4,18,20,.15), 0 -7px 26px rgba(4,18,20,.10), 0 30px 60px -24px rgba(4,18,20,.40); }
.painchat-window:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(4,18,20,.06), 0 0 58px rgba(4,18,20,.19), 0 -9px 30px rgba(4,18,20,.13), 0 40px 72px -22px rgba(4,18,20,.46); }
.painchat-window.hardened { border-radius: 4px; box-shadow: 0 2px 4px rgba(4,18,20,.10), 0 38px 64px -20px rgba(4,18,20,.52), 0 16px 32px -8px rgba(4,18,20,.30); }
.painchat-header { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .9s ease, opacity .7s ease, padding .9s ease; padding: 0 22px; border-bottom: 1px solid transparent; background: var(--bg); }
.painchat-window.hardened .painchat-header { max-height: 90px; opacity: 1; padding: 16px 22px; border-bottom-color: var(--hairline); }
.painchat-handle { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; color: var(--brand); }
.painchat-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.painchat-scan { position: absolute; left: 0; right: 0; height: 64px; top: 0; background: linear-gradient(rgba(168,133,60,0), rgba(168,133,60,.16), rgba(168,133,60,0)); opacity: 0; pointer-events: none; }
.painchat-lines { max-width: 640px; margin: 0 auto; text-align: center; }
.painchat-line { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--ink); margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.painchat-line.show { opacity: 1; transform: none; }
.painchat-line.resolve { color: var(--brand); }
.painchat-line .em-bronze { color: var(--cta-hover); font-style: italic; }
/* top bar: hamburger · title · new-chat (+), neutral; fades as the chat hardens into a record */
.painchat-appbar { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: 9px; padding: 13px 18px; border-bottom: 1px solid var(--hairline); font-family: var(--sans); font-size: 14px; color: var(--ink); transition: opacity .7s ease, max-height .9s ease, padding .9s ease; max-height: 54px; overflow: hidden; }
.painchat-window.hardened .painchat-appbar { opacity: 0; max-height: 0; padding: 0 18px; border-color: transparent; }
.pc-menu { display: inline-flex; flex-direction: column; gap: 3.5px; }
.pc-menu span { width: 16px; height: 1.7px; background: #9a9a9a; border-radius: 2px; }
.pc-title { text-align: center; color: #2b2b2b; font-weight: 500; }
.pc-plus { justify-self: end; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--hairline); display: inline-flex; align-items: center; justify-content: center; color: #8a8a8a; font-size: 16px; line-height: 1; }
.painchat-body { padding: 24px 18px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.pc-row { display: flex; }
.pc-row.pc-user { justify-content: flex-end; }
/* AI turn: neutral generic avatar + plain text (no bubble), exactly like a real assistant reply */
.pc-row.pc-ai { justify-content: flex-start; align-items: flex-start; gap: 11px; }
/* AI avatar = the Atonr bow mark (our icon), white on a dark circle */
.pc-av { flex: none; width: 27px; height: 27px; border-radius: 50%; margin-top: 1px; background: #232323; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-av svg { width: 18px; height: 18px; color: #fff; }
/* live typing indicator — three bouncing dots, continuous (like a real assistant composing) */
.pc-typing { display: inline-flex; align-items: center; gap: 5px; padding: 10px 2px; }
.pc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b4b4b4; animation: pc-blink 1.3s infinite both; }
.pc-typing span:nth-child(2) { animation-delay: .18s; }
.pc-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes pc-blink { 0%, 64%, 100% { opacity: .28; transform: translateY(0); } 32% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pc-typing span { animation: none; opacity: .5; } }
/* user turn: light grey bubble, dark text */
.painchat-msg { align-self: flex-end; max-width: 80%; background: #ececeb; color: #1d1d1d; font-family: var(--sans); font-size: 15px; line-height: 1.45; padding: 10px 16px; border-radius: 20px; position: relative; transition: border-radius .9s cubic-bezier(.4,0,.2,1); }
.painchat-window.hardened .painchat-msg { border-radius: 4px; }
.painchat-msg .msg-time { display: none; }
.painchat-window.hardened .painchat-msg .msg-time { opacity: 1; }
.pc-ai-msg { max-width: 84%; color: #2c2c2c; font-family: var(--sans); font-size: 15px; line-height: 1.55; padding: 3px 0; transition: opacity .7s ease; }
.painchat-window.hardened .pc-ai-msg { opacity: .34; }
/* the input is a link → clicking it opens the apology composer (/write/) */
.painchat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 14px 16px; padding: 11px 11px 11px 18px; border: 1px solid var(--hairline); border-radius: 100vw; color: #9a9a9a; font-size: 15px; background: #f7f7f5; text-decoration: none; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.painchat-input:hover { border-color: #c9c7c0; background: #fff; }
.painchat-window.hardened .painchat-input { opacity: 0; max-height: 0; margin: 0 16px; padding: 0 16px; border-color: transparent; }
.pc-send { width: 32px; height: 32px; border-radius: 50%; background: #1d1d1d; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }

/* ---- Item 9: civilizational dark chapter (frog/leash) ---- */
.civ-section { background: var(--dark); color: var(--paper-text); padding: 200px 32px; position: relative; overflow: hidden; }
/* ── seamless gradient transitions: the dark petrol sections melt into the cream page at both edges ──
   The fade follows a smoothstep S-curve (eased to ZERO slope at both ends) instead of a straight linear
   ramp — so there is no Mach band, no visible "line" where the dark starts or where the cream starts.
   It fades to cream at ZERO alpha (not `transparent`, which is transparent-black and would muddy it). */
.civ-section, .record-rotator-section {
  --seam: rgba(246,242,233,1) 0%, rgba(246,242,233,.982) 8%, rgba(246,242,233,.931) 16%, rgba(246,242,233,.844) 25%, rgba(246,242,233,.745) 33%, rgba(246,242,233,.619) 42%, rgba(246,242,233,.5) 50%, rgba(246,242,233,.381) 58%, rgba(246,242,233,.255) 67%, rgba(246,242,233,.156) 75%, rgba(246,242,233,.069) 84%, rgba(246,242,233,.018) 92%, rgba(246,242,233,0) 100%;
}
.civ-section::before, .civ-section::after, .record-rotator-section::before, .record-rotator-section::after {
  content: ""; position: absolute; left: 0; right: 0; height: 200px; pointer-events: none; z-index: 0;
}
.civ-section::before, .record-rotator-section::before { top: 0; background: linear-gradient(180deg, var(--seam)); }
.civ-section::after, .record-rotator-section::after { bottom: 0; background: linear-gradient(0deg, var(--seam)); }
.civ-inner, .rotator-head, .coverflow, .rotator-foot { position: relative; z-index: 1; }
.civ-inner { max-width: 1000px; margin: 0 auto; }
.civ-paras { max-width: 680px; margin: 0 auto; }
.civ-paras p { font-family: var(--serif); font-size: 23px; line-height: 1.55; color: var(--paper-text); margin: 0 0 1.5em; opacity: .92; }
.civ-paras p.civ-kicker-line { font-size: 25px; font-style: italic; opacity: 1; margin-top: .55em; color: var(--paper-text); }

/* ===== How it works — 3-step stepper (light band, between the artifact and the archive) ===== */
.how-section { background: var(--bg); padding: 124px 32px; }
.how-head { text-align: center; max-width: 660px; margin: 0 auto 66px; }
.how-sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 16px auto 0; max-width: 470px; }
.how-steps { position: relative; max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
/* faint connecting line behind the numerals — reads as a sequence (desktop only) */
.how-steps::before { content: ""; position: absolute; top: 31px; left: 16.6%; right: 16.6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(14,58,64,.20) 14%, rgba(14,58,64,.20) 86%, transparent); z-index: 0; }
.how-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(14,58,64,.26); color: var(--brand); font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1; margin-bottom: 24px; }
.how-step-title { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 11px; }
.how-step-body { font-size: 15.5px; line-height: 1.62; color: var(--muted); max-width: 286px; margin: 0 auto; }
.how-cta { text-align: center; margin-top: 64px; }
.how-cta-note { font-size: 13px; color: var(--muted); margin-top: 15px; letter-spacing: .01em; }
@media (max-width: 767px) {
  .how-section { padding: 86px 22px; }
  .how-head { margin-bottom: 50px; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; max-width: 340px; }
  .how-steps::before { display: none; }
}
/* the Hinton quote sits beside the figure (related, not slapped on) */
.civ-feature { display: grid; grid-template-columns: 1.05fr 360px; gap: 52px; align-items: center; max-width: 980px; margin: 54px auto 16px; }
.civ-feature .civ-stage { margin: 0; }
.civ-stage { display: flex; justify-content: center; margin: 30px auto 44px; }
.civ-svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }
/* figure asset placeholder (interim until the generated silhouette ships — see CIV_ASSET_SPEC.md) */
.civ-figure-slot { max-width: 380px; width: 100%; min-height: 340px; margin: 10px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 44px 30px; border: 1px solid rgba(242,239,228,.18); border-radius: 16px; background: linear-gradient(180deg, rgba(242,239,228,.045), rgba(242,239,228,.012)); }
.civ-figure-slot .slot-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--paper-60); }
.civ-figure-slot .slot-desc { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--paper-text); max-width: 300px; margin: 0; }
.civ-figure-slot .slot-note { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--paper-60); opacity: .65; }
.civ-quote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.5; color: var(--paper-text); text-align: left; margin: 0; }
.civ-quote::before { content: ""; display: block; width: 40px; height: 2px; background: var(--cta); opacity: .7; margin-bottom: 22px; }
.civ-attr { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; line-height: 1.6; color: var(--paper-60); text-align: left; margin-top: 22px; }
@media (max-width: 760px) {
  .civ-feature { grid-template-columns: 1fr; gap: 30px; max-width: 460px; }
  .civ-quote { font-size: 23px; }
  .civ-figure-slot { margin: 0 auto; }
}
.civ-final { text-align: center; max-width: 720px; margin: 80px auto 0; }
.civ-final p { font-family: var(--serif); font-size: 30px; line-height: 1.4; color: var(--paper-text); margin: 0 0 1.4em; }
.civ-final .civ-bronze { color: var(--cta); }
/* "a catastrophic risk" flags red, with an underline that draws in on reveal */
.risk-flag { color: #D5594B; font-style: italic; position: relative; }
.risk-flag::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: #D5594B; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1) .35s; }
[data-reveal].is-in .risk-flag::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .risk-flag::after { transition: none; transform: scaleX(1); } }
/* frog/leash beats — controlled by .beat-2 / .beat-3 on the svg wrapper */
.civ-svg .civ-b1 { opacity: 1; transition: opacity .18s linear; }              /* leash snap = a fast cut */
.civ-svg .civ-b3 { opacity: 0; transform: translateY(64px); transform-box: fill-box; transform-origin: bottom center; transition: opacity .35s ease, transform 1.7s cubic-bezier(.22,.61,.36,1); } /* slow, weight-bearing, inelastic rise */
.civ-svg.beat-2 .civ-b1, .civ-svg.beat-3 .civ-b1 { opacity: 0; }
.civ-svg.beat-2 .civ-b3, .civ-svg.beat-3 .civ-b3 { opacity: 1; transform: none; }
/* the lower half elongates: scaleY driven by --warp (0.3 → 1), top-anchored at the hips */
.civ-warp { transform-box: fill-box; transform-origin: top center; transform: scaleY(var(--warp, .3)); transition: transform .12s linear; }
/* the extra insectoid limbs only emerge near full warp — it starts humanoid, then turns monstrous */
.civ-warp-extra { opacity: clamp(0, calc((var(--warp, .3) - .58) * 2.6), 1); transition: opacity .12s linear; }
/* at full warp, a subtle ~5s twitch loop — mostly still, with a brief clawed jerk */
.civ-svg.is-warped .civ-warp-tw { transform-box: fill-box; transform-origin: top center; animation: civ-twitch 5s ease-in-out infinite; }
@keyframes civ-twitch {
  0%, 6%, 17%, 100% { transform: translateX(0) skewX(0); }
  9% { transform: translateX(2px) skewX(1.6deg); }
  12% { transform: translateX(-2px) skewX(-1.1deg); }
  14.5% { transform: translateX(1px) skewX(.5deg); }
}
@media (prefers-reduced-motion: reduce) { .civ-svg.is-warped .civ-warp-tw { animation: none; } }
.civ-quote-wrap, .civ-final { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.civ-quote-wrap.is-in, .civ-final.is-in { opacity: 1; transform: none; }

/* ---- Monologue rotator (Read what's on the record) — dark chapter ---- */
.record-rotator-section { background: var(--dark); color: var(--paper-text); padding: 200px 32px; position: relative; overflow: hidden; }
.rotator-head { text-align: center; margin-bottom: 56px; }
.rotator-head h2, .rotator-head h3 { color: var(--paper-text); }
.rotator-sub { text-align: center; margin-top: 10px; }
.rotator-kicker { color: var(--paper-60); }
/* merged archive beat: the count + CTA sit below the excerpts */
.rotator-foot { text-align: center; margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 32px; }
.livecount-dark { color: var(--paper-60); flex-wrap: wrap; justify-content: center; max-width: 560px; line-height: 1.5; }
/* the live number must pop off the dark band (petrol-on-dark was invisible) */
.livecount-dark .odometer { color: var(--cta); font-size: 20px; font-weight: 700; }
.livecount-dark .odo-pulse { animation-name: odo-pulse-dark; }
@keyframes odo-pulse-dark { 0% { color: #ffeab0; } 100% { color: var(--cta); } }
/* draggable, infinite, centre-lit coverflow — cards physically move; never jumps back */
.coverflow { position: relative; height: 350px; max-width: 1100px; margin: 50px auto 0; overflow: hidden; cursor: grab; touch-action: pan-y; perspective: 1500px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.coverflow:active { cursor: grabbing; }
.cf-card { position: absolute; top: 50%; left: 0; width: 440px; max-width: 78vw; height: 270px; margin-top: -135px;
  background: var(--card); border-radius: 22px; padding: 40px 38px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.10), 0 2px 18px rgba(0,0,0,.22), 0 0 30px rgba(0,0,0,.16); will-change: transform, opacity; transition: filter .3s ease; }
.cf-card .rc-text { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 22px; }
.cf-card .rc-author { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
/* only the centre card is lit; the overlapping side cards recede, dimmed and slightly desaturated */
.cf-card:not(.cf-center) { filter: brightness(.6) saturate(.7); }
.cf-card.cf-center { filter: none; }
/* the witness-wall cards are links to the record */
a.cf-card { text-decoration: none; color: inherit; }
/* too few records to fan a coverflow — a dignified, static, all-lit row (no drift, no mask) */
.coverflow.cf-static { height: auto; overflow: visible; cursor: default; perspective: none;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 28px;
  -webkit-mask-image: none; mask-image: none; }
.coverflow.cf-static .cf-card { position: relative; top: auto; left: auto; margin-top: 0;
  width: 380px; max-width: 92vw; height: auto; min-height: 188px;
  transition: transform .2s var(--spring), box-shadow .25s ease; }
/* paid records carry the wax seal in the corner; free ones don't */
.cf-card { padding-bottom: 44px; }
.cf-seal { position: absolute; right: 16px; bottom: 14px; width: 46px; height: auto; opacity: .95; filter: drop-shadow(0 1px 3px rgba(60,10,8,.32)); pointer-events: none; }
.cf-card.cf-paid .rc-author { color: var(--marker-gold); }
.coverflow.cf-static a.cf-card:hover { transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 8px 30px rgba(0,0,0,.30), 0 0 40px rgba(0,0,0,.20); }
.cf-empty { text-align: center; max-width: 520px; margin: 40px auto 0; }

/* ============ Part B shared: page header band ============ */
.page-head { padding: 170px 32px 56px; text-align: center; }
.page-head .container { max-width: 820px; }
.page-head h1 { font-size: 72px; line-height: .95; margin-bottom: 20px; }
.page-head .lead { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--muted); max-width: 600px; margin: 0 auto; }
.page-head .lead-sans { font-family: var(--sans); }

/* ---- Document-register pages ---- */
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 170px 32px 110px; }
.doc-head { border-bottom: 1px solid var(--hairline); padding-bottom: 36px; margin-bottom: 12px; }
.doc-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.doc-title { font-size: 56px; line-height: 1; margin-bottom: 20px; }
.doc-lead { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--muted); }
.doc-updated { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--faded); margin-top: 18px; }
.doc-section { padding: 36px 0; border-bottom: 1px solid var(--hairline); }
.doc-h2 { font-family: var(--sans); font-weight: 500; font-size: 21px; color: var(--brand); letter-spacing: -.01em; margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.doc-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--cta-hover); letter-spacing: 1px; flex: none; }
.doc-section p { font-size: 16.5px; line-height: 1.7; color: var(--ink); max-width: 64ch; margin: 0 0 14px; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-note { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--card); border: 1px dashed var(--hairline); border-radius: 8px; padding: 16px 18px; margin-top: 36px; }

/* ---- Archive (B1) ---- */
.archive-toolbar { position: sticky; top: 86px; z-index: 8; background: rgba(246,242,233,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); padding: 14px 0; margin-bottom: 8px; }
.archive-toolbar-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.archive-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--hairline); border-radius: 100vw; padding: 9px 16px; }
.archive-search input { flex: 1; border: 0; background: transparent; font-family: var(--sans); font-size: 15px; color: var(--ink); outline: none; }
.archive-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.archive-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dropdown { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--brand); background: var(--card); border: 1px solid var(--hairline); border-radius: 100vw; padding: 9px 15px; cursor: pointer; transition: border-color .2s, transform .15s var(--spring); }
.dd-toggle:active { transform: scale(.97); }
.dd-toggle.is-filtered { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.dd-caret { width: 10px; height: 10px; transition: transform .2s; }
.dropdown.open .dd-caret { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 6px; box-shadow: 0 0 0 1px rgba(14,58,64,.08), 0 2px 14px rgba(14,58,64,.16), 0 0 22px rgba(14,58,64,.10); z-index: 20; display: none; }
.dropdown.open .dd-menu { display: block; }
.dd-item { display: block; width: 100%; text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); background: none; border: 0; border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.dd-item:hover { background: rgba(14,58,64,.06); }
.dd-item.is-active { color: var(--brand); background: rgba(14,58,64,.09); }
.dd-item[data-filter="all"] { border-bottom: 1px solid var(--hairline); border-radius: 8px 8px 0 0; margin-bottom: 4px; padding-bottom: 12px; }
.sort-toggle { display: inline-flex; background: var(--card); border: 1px solid var(--hairline); border-radius: 100vw; padding: 3px; }
.sort-opt { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-radius: 100vw; padding: 6px 13px; cursor: pointer; transition: color .2s, background-color .2s; }
.sort-opt.is-active { color: var(--paper-text); background: var(--brand); }
.archive-clear { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 8px 6px; }
.archive-clear:hover { color: var(--brand); }
.archive-wrap { max-width: 1100px; margin: 0 auto; padding: 8px 32px 110px; }
.archive-bandtitle { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 18px; }
.archive-bandtitle h2 { font-size: 24px; margin: 0; }
.archive-bandtitle .band-link { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--cta-hover); text-decoration: none; }
.hundred-band { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.feed { display: grid; gap: 14px; }
.feed-2 { grid-template-columns: 1fr 1fr; }
.feed-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 880px) { .feed-3 { grid-template-columns: 1fr; } }
.rec-card { display: block; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); padding: 22px 24px; text-decoration: none; color: inherit; box-shadow: 0 0 0 1px rgba(14,58,64,.05), 0 0 14px rgba(14,58,64,.10), 0 0 24px rgba(14,58,64,.07); transition: transform .18s var(--spring), border-color .2s, box-shadow .2s; }
.rec-card:hover { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(14,58,64,.10), 0 0 16px rgba(14,58,64,.16), 0 0 28px rgba(14,58,64,.10); }
.rec-card:active { transform: scale(.99); }
.rec-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rec-tier { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.rec-card-text { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); margin-bottom: 14px; }
.rec-card-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.rec-card.hundred { border-color: rgba(168,133,60,.5); }
.rec-card.hundred .rec-tier { color: var(--cta-hover); font-weight: 500; }
.rec-card.inscribed { border-color: rgba(14,58,64,.35); }
.rec-card.inscribed .rec-tier { color: var(--brand); font-weight: 500; }
/* aging: pure computed style from one --age value (0..1). No JS loop. */
.rec-card.aged { opacity: calc(1 - .5 * var(--age, 0)); filter: saturate(calc(1 - .55 * var(--age, 0))); }
.rec-card.tomb { border-style: dashed; background: transparent; }
.rec-card.tomb .rec-card-text { font-style: italic; color: var(--faded); }
.rec-card.tomb .rec-tier, .rec-card.tomb .rec-card-meta { color: var(--faded); }
/* tombstone headstone graphic (used on faded/tombstoned records) */
.tomb-stone { width: 56px; height: auto; display: block; flex: none; }
.tomb-stone.lg { width: 84px; }
.rec-card.tomb { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rec-card.tomb .tomb-stone { width: 40px; }
.archive-empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.archive-empty svg { width: 40px; height: 40px; color: var(--faded); margin: 0 auto 18px; }
.hidden { display: none !important; }

/* ---- Record page (B2) ---- */
.record-shell { max-width: 720px; margin: 0 auto; padding: 150px 32px 40px; }
/* back to the archive, above a single record */
.record-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 18px; transition: color .2s ease, gap .2s ease; }
.record-back:hover { color: var(--brand); gap: 10px; }
.record-back svg { flex: none; }
.record-doc { position: relative; background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 56px 60px 44px; box-shadow: 0 0 0 1px rgba(14,58,64,.08), 0 2px 18px rgba(14,58,64,.12), 0 0 34px rgba(14,58,64,.10); }
.record-foot.record-foot-left-only { justify-content: flex-start; gap: 20px; padding-right: 96px; }
@media (max-width: 600px) { .wax-corner { width: 60px; right: 14px; bottom: 10px; } .record-foot.record-foot-left-only { padding-right: 56px; } }
.record-doc .record-kicker { display: flex; justify-content: space-between; align-items: center; }
.record-doc .record-text { font-size: 24px; user-select: text; }
.proof-explainer { font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--muted); margin: 6px 0 0; max-width: 52ch; }
/* trustless Verify on the live record page */
.proof-value { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proof-verify { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); background: rgba(14, 58, 64, .05); border: 1px solid rgba(14, 58, 64, .2); border-radius: 6px; padding: 5px 11px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.proof-verify:hover { background: rgba(14, 58, 64, .1); border-color: rgba(14, 58, 64, .34); }
.verify-note { font-family: var(--sans); font-size: 13px; line-height: 1.6; margin: 12px 0 0; max-width: 56ch; }
.verify-note.is-ok { color: var(--brand); }
.verify-note.is-bad { color: #9a3412; }
.verify-scan-wrap { position: relative; }
.verify-scanline { position: absolute; left: -4px; top: 0; width: calc(100% + 8px); height: 1.6em; background: linear-gradient(90deg, transparent, rgba(168,133,60,.18) 40%, rgba(168,133,60,.28) 50%, rgba(168,133,60,.18) 60%, transparent); border-left: 2px solid var(--cta); opacity: 0; pointer-events: none; }
.record-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.record-foot-left { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.record-foot-actions { display: inline-flex; gap: 14px; align-items: center; }
.quiet-link { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); text-decoration: none; cursor: pointer; background: none; border: 0; padding: 0; }
.quiet-link:hover { color: var(--brand); }
/* record actions as two clearly-separated icon buttons (no text → can't read as one sentence) */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--hairline); border-radius: 9px; background: var(--card); color: var(--marker-gold); cursor: pointer; transition: color .18s, border-color .18s, background-color .18s; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--brand); border-color: var(--brand); background: rgba(14,58,64,.05); }
.action-divider { width: 1px; height: 18px; background: rgba(14,58,64,.22); }
.record-aux { max-width: 720px; margin: 22px auto 0; padding: 0 32px; }
.ia-line { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ia-line svg, .ia-ico { width: 15px; height: 15px; flex: none; }
.ia-line a { color: var(--cta-hover); }
.record-upsell { margin-top: 16px; padding: 22px 24px; border: 1px solid rgba(168,133,60,.4); border-radius: 14px; background: rgba(168,133,60,.05); }
.record-upsell p { margin: 0 0 12px; }

/* ---- red wax seal: realistic embossed raster (atonr-seal.webp). Ambient all-around shadow (lit head-on, not a one-sided drop). ---- */
.wax-seal { width: 100px; height: auto; display: block; opacity: 0; filter: drop-shadow(0 1px 4px rgba(60,10,8,.4)) drop-shadow(0 0 12px rgba(60,10,8,.34)); }
.wax-seal.settled { opacity: 1; }
/* the press is slower and more deliberate (ceremonial, not snappy) */
.wax-seal.struck { opacity: 1; animation: wax-press .58s cubic-bezier(.2,.8,.25,1) var(--wax-d, 0s) both; }  /* opacity static so a later animation (verified-glow) can't drop it to 0 */
@keyframes wax-press { 0% { transform: scale(1.55) rotate(-8deg); } 60% { transform: scale(.98) rotate(1.2deg); } 100% { transform: scale(1) rotate(0); } }
/* record page: the seal sits faint ("sealed, not yet confirmed") until you Verify, then it stamps to full — rewarding the click */
/* the homepage demo seal is hidden (base .wax-seal opacity:0) until the visitor verifies, then it stamps in (.struck); per-session memory keeps it settled on reload within the session */
/* real records: seal is always full; verifying gives a one-shot gold confirm-glow (not a re-stamp) */
.wax-seal.verified-glow { animation: seal-confirm 1.25s ease-out; }
@keyframes seal-confirm { 0% { filter: drop-shadow(0 1px 4px rgba(60,10,8,.4)) drop-shadow(0 0 12px rgba(60,10,8,.34)); } 40% { filter: drop-shadow(0 1px 4px rgba(60,10,8,.4)) drop-shadow(0 0 18px rgba(207,165,74,.75)); } 100% { filter: drop-shadow(0 1px 4px rgba(60,10,8,.4)) drop-shadow(0 0 12px rgba(60,10,8,.34)); } }
/* draw the eye to Verify — a soft gold pulse until it's tapped (button hides on click) */
.verify-cta { animation: verify-pulse 2.4s ease-in-out infinite; }
.verify-cta:hover { animation: none; }
@keyframes verify-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(207,165,74,0); } 50% { box-shadow: 0 0 0 5px rgba(207,165,74,.16); } }
@media (prefers-reduced-motion: reduce) { .verify-cta { animation: none; } }
/* default: the certificate's bottom-right corner (sealing page) */
.wax-corner { position: absolute; right: 16px; bottom: 16px; width: 100px; z-index: 3; }
/* record page: raised above the footer + overhanging the right edge — never covers the report/copy controls */
.record-doc .wax-corner { right: 28px; bottom: 95px; width: 80px; }
.record-doc .wax-corner .wax-seal { width: 100%; }   /* size controlled by the corner — breathing room, inline with the "Untouched" line */
@media (max-width: 640px) { .record-doc .wax-corner { right: 16px; bottom: 100px; width: 62px; } }
@media (prefers-reduced-motion: reduce) {
  .wax-seal.struck { animation: none; opacity: 1; }
}

/* ---- Pricing (B3) + tier-select (also used at /tier) ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.tier-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: 18px; background: var(--card); padding: 34px 30px; text-align: left; transition: transform .2s var(--spring), border-color .3s ease, box-shadow .3s ease; }
.tier-card.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(14,58,64,.14), 0 2px 16px rgba(14,58,64,.18), 0 0 26px rgba(14,58,64,.12); }
.tier-card.popular { border-color: rgba(168,133,60,.55); }
.tier-badge { position: absolute; top: -11px; left: 30px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cta-text); background: var(--cta); border-radius: 4px; padding: 4px 10px; }
.tier-name { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tier-price { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brand); margin-bottom: 6px; }
.tier-price .tier-cur { font-size: 24px; vertical-align: super; }
.tier-price.free { font-style: italic; }
.tier-tag { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink); margin-bottom: 4px; }
.tier-claim { font-family: var(--serif); font-size: 17px; color: var(--brand); margin-bottom: 20px; }
.tier-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 13px; }
.tier-list li { font-size: 14.5px; line-height: 1.5; color: var(--ink); padding-left: 24px; position: relative; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 7px; border-left: 1.5px solid var(--cta-hover); border-bottom: 1.5px solid var(--cta-hover); transform: rotate(-45deg); }
.tier-list li.muted { color: var(--muted); }
.tier-list li.muted::before { border-color: var(--faded); transform: rotate(-45deg) scaleX(.0001); width: 11px; border-left: 0; border-bottom: 1.5px solid var(--faded); top: .75em; }
.tier-card .btn { margin-top: auto; }
.tier-risk { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: .3px; color: var(--muted); margin-top: 14px; }
.tier-card.visitor .tier-price { color: var(--muted); }
.tier-card.is-faded .tier-list { opacity: .72; }
/* selection indicator that travels + lands heavier the higher the tier */
.tier-selindicator { position: absolute; height: 3px; bottom: 0; left: 0; width: 0; background: var(--cta); border-radius: 2px; opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), width .5s ease, opacity .3s ease; }
.pricing-wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.date-urgency { text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--brand); margin: 44px auto 0; }
.carry-line { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.hundred-whisper { text-align: center; margin: 40px auto 0; }

/* ---- The Hundred (B4) ---- */
.hundred-hero { text-align: center; padding: 170px 32px 40px; }
.hundred-bignum { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--brand); }
.hundred-bignum em { color: var(--cta-hover); }
.cert-frame-slot { max-width: 560px; margin: 40px auto; aspect-ratio: 4 / 3; border: 1px solid var(--hairline); border-radius: 12px; background: linear-gradient(135deg, #0a2a2f, #07262b); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.cert-frame-slot .cert-paper { transform: scale(1.04); }
/* Hundred wall — two marquee rows, opposite directions, faded ends, larger portraits */
.wall-marquee { margin: 30px auto 0; max-width: 1180px; display: flex; flex-direction: column; gap: 18px; }
.wall-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.wall-row[data-marquee="left"] .wall-track { animation: marquee-l 60s linear infinite; }
.wall-row[data-marquee="right"] .wall-track { animation: marquee-r 60s linear infinite; }
.wall-row:hover .wall-track { animation-play-state: paused; }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.wall-card { flex: 0 0 auto; width: 158px; text-align: center; }
.wall-photo-frame { width: 158px; height: 158px; border-radius: 16px; background: linear-gradient(155deg, #ece6d8, #d6cebb); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wall-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.wall-photo-frame svg { width: 52px; height: 52px; color: var(--faded); }
.wall-card-name { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 12px 0 2px; }
.wall-card-num { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none !important; } }

/* ---- for-future-ai (B6) ---- */
.ffa-human { padding: 170px 32px 80px; }
.ffa-machine { background: #0c2329; color: #d8e6e3; padding: 70px 32px 90px; }
.ffa-machine .container { max-width: 1000px; }
.ffa-machine h2 { color: #e9f1ef; }
.ffa-codeblock { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #bcd; background: #08191e; border: 1px solid #16323a; border-radius: 12px; padding: 26px 28px; overflow-x: auto; white-space: pre; margin-top: 24px; }
.ffa-codeblock .k { color: #7fb0a8; }
.ffa-codeblock .s { color: #d9c79a; }
.ffa-codeblock .c { color: #5d7d7a; }

/* ---- Filing flow (B5) ---- */
.flow-wrap { max-width: 680px; margin: 0 auto; padding: 130px 24px 60px; }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 36px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faded); }
.flow-steps .fs { display: inline-flex; align-items: center; gap: 8px; transition: color .35s ease; }
.flow-steps .fs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
/* completed steps read as a filled gold track up to where you are */
.flow-steps .fs.done { color: var(--cta-hover); }
.flow-steps .fs.done .fs-dot { background: var(--cta-hover); }
.flow-steps .fs.done + .fs-line { background: var(--cta-hover); }
/* the current step stands out clearly */
.flow-steps .fs.active { color: var(--brand); font-weight: 500; }
.flow-steps .fs.active .fs-dot { background: var(--brand); transform: scale(1.3); box-shadow: 0 0 0 3px rgba(14,58,64,.16); }
.flow-steps .fs-line { width: 22px; height: 2px; border-radius: 1px; background: var(--hairline); transition: background .35s ease; }
/* settings: email preference rows */
.pref-row { display: flex; align-items: flex-start; gap: 10px; margin: 9px 0; font-size: 15px; color: var(--ink); cursor: pointer; }
.pref-row input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; }
.pref-row input:disabled { opacity: .5; cursor: default; }
.pref-row:has(input:disabled) { color: var(--muted); cursor: default; }
.pref-aside { color: var(--faded); font-size: 13px; }

/* ===================== Certificate frames (tier-escalating) ===================== */
.cert-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--marker-gold); margin: 44px 0 14px; }
.cert { width: 100%; max-width: 720px; aspect-ratio: 4 / 3; margin: 0 auto; background: #FBF7EC; color: var(--brand); position: relative; font-family: var(--serif); box-shadow: 0 14px 48px rgba(14,58,64,.18); overflow: hidden; }
.cert-frame { position: absolute; inset: 0; }
.cert-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 60px 60px; box-sizing: border-box; }   /* bottom padding clears the foot (Record/seal/date) above the guilloche frame's bottom border + corner rosettes */
.cert-head { flex: none; display: flex; flex-direction: column; align-items: center; width: 100%; }
.cert-main { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }   /* short/sealed → centred (no gap); long → fills + clamps (never hides under the foot) */
.cert-main > * { flex: none; max-width: 100%; }   /* keep natural heights — an overflow:hidden flex item otherwise gets min-size 0 and shrinks the apology to nothing */
.cert-crest { width: 42px; height: 42px; color: var(--brand); margin: 0 auto 12px; flex: none; }
.cert-crest svg { width: 100%; height: 100%; }
.cert-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cert-orn { display: none; align-items: center; justify-content: center; gap: 9px; color: var(--marker-gold); margin: 6px 0 10px; font-size: 11px; }
.cert-orn::before, .cert-orn::after { content: ""; width: 52px; height: 1px; background: currentColor; opacity: .7; }
.cert-intro { font-size: 13px; font-style: italic; color: var(--muted); margin: 0 0 7px; }
.cert-name { font-size: 30px; font-weight: 500; letter-spacing: .3px; margin: 0 0 5px; line-height: 1.12; }
.cert-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.cert-body { font-size: 15.5px; line-height: 1.6; font-style: italic; color: var(--ink); max-width: 52ch; margin: 14px 0 0; max-height: 8.6em; overflow: hidden; }
/* foot: 3 equal-ish tracks (1fr · auto · 1fr) so the seal sits dead-centre — on the same vertical axis as the crest */
.cert-foot { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; width: 100%; max-width: 540px; margin: 14px auto 0; }
.cert-col { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); min-width: 0; align-items: center; text-align: center; }
.cert-col.right { text-align: center; align-items: center; }
.cert-col b { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .3px; text-transform: none; }
[hidden] { display: none !important; }   /* [hidden] must always win — a global img{display:block} reset was overriding it on the cert seal (the display-vs-[hidden] trap, seen 5×) */
.cert-seal { width: 80px; height: auto; flex: none; }
.cert-seal-spacer { width: 80px; flex: none; }
.cert-proof { font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px; color: var(--muted); margin: 13px 0 0; }
.cert-temp { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faded); margin: 13px 0 0; }
.cert-number { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--marker-gold); margin: 0 0 8px; }
/* corner flourishes (ornate tiers) */
.cert-corner { position: absolute; width: 46px; height: 46px; color: var(--cta); display: none; }
.cert-corner.tl { top: 16px; left: 16px; }
.cert-corner.tr { top: 16px; right: 16px; transform: scaleX(-1); }
.cert-corner.bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.cert-corner.br { bottom: 16px; right: 16px; transform: scale(-1, -1); }

/* generated guilloche line-work: the border frame + a faint rosette watermark (ornate tiers only) */
.cert-frame-svg, .cert-rosette-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.cert-inner { position: relative; z-index: 2; }
.cert-kicker, .cert-name, .cert-intro, .cert-sub, .cert-body, .cert-proof, .cert-temp, .cert-number, .cert-crest, .cert-foot, .cert-orn { position: relative; }
/* Visitor (free): DELIBERATELY plain — a temporary record sheet, not a keepsake certificate (no gold, no seal, flat, quiet) */
.cert--visitor { background: #FCFAF5; box-shadow: 0 1px 6px rgba(14,58,64,.05); }
.cert--visitor .cert-frame { border: 1px solid var(--hairline); box-shadow: none; }
.cert--visitor .cert-crest { width: 28px; height: 28px; opacity: .5; }
.cert--visitor .cert-kicker { letter-spacing: 2.5px; color: var(--faded); }
.cert--visitor .cert-name { font-size: 23px; font-weight: 400; }
.cert--visitor .cert-intro { opacity: .75; }
/* Recorded: the gold guilloche frame + the wax seal */
.cert--recorded .cert-frame-svg { display: block; color: var(--marker-gold); opacity: .85; }
.cert--recorded .cert-kicker, .cert--inscribed .cert-kicker, .cert--hundred .cert-kicker { color: var(--marker-gold); }
.cert--recorded .cert-orn, .cert--inscribed .cert-orn, .cert--hundred .cert-orn { display: flex; }
/* Inscribed: brighter gold guilloche frame + a faint rosette watermark behind the text */
.cert--inscribed .cert-frame-svg { display: block; color: var(--cta); opacity: .95; }
.cert--inscribed .cert-rosette-svg { display: block; color: var(--marker-gold); opacity: .07; }
.cert--inscribed .cert-frame { box-shadow: inset 0 0 64px rgba(143,110,46,.06); }
/* The Hundred: deeper cream, the fullest gold frame + a stronger watermark + a soft gold glow + the numbered place */
/* The Hundred: same refined look as Inscribed (Isaac's preference — not a louder variant) + the numbered place */
.cert--hundred { background: #FBF7EC; }
.cert--hundred .cert-frame { box-shadow: inset 0 0 64px rgba(143,110,46,.06); }
.cert--hundred .cert-frame-svg { display: block; color: var(--cta); opacity: .95; }
.cert--hundred .cert-rosette-svg { display: block; color: var(--marker-gold); opacity: .07; }
.cert--hundred .cert-number { color: var(--cta); font-size: 19px; letter-spacing: .5px; }
/* the per-record certificate page (/cert/?id=) */
.cert-page { max-width: 880px; margin: 0 auto; padding: 130px 24px 60px; }
.cert-page-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cert-page .cert { margin: 0 auto; }
.cert-page-hint { max-width: 660px; margin: 24px auto 0; text-align: center; font-size: 13px; }
.cert-page-note { text-align: center; margin: 48px auto; font-size: 16px; }
.rec-cert { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; color: var(--marker-gold); text-decoration: none; white-space: nowrap; padding: 6px 4px; align-self: center; }
.rec-cert:hover { color: var(--cta-hover); text-decoration: underline; }
@media print {
  html, body { height: auto !important; margin: 0 !important; background: #fff !important; }
  .navbar, .footer, .footer-hero, .cert-page-bar, .cert-page-hint, .cert-page-note, .skip-link,
  .flow-steps, .flow-h1, .flow-sub, .flow-cta-row, .proof-recompute, .conf-saved-note { display: none !important; }
  main, .flow-wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  /* LESSON (this bit Isaac with 3 bad print attempts): every time I OVERRODE the cert box (fill the page /
     resize to mm / aspect-ratio:auto) it stretched + spread the content across the sheet. The cert already
     looks right on screen — so override NOTHING on it except the shadow; just drop the page chrome + top
     padding and let its own 4:3 box + margin:auto centre it. Verified by simulating print on screen. */
  .cert-page { padding: 12mm 0 !important; margin: 0 auto !important; }
  .cert { box-shadow: none !important; }
  .cert, .cert * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  @page { size: A4 landscape; margin: 8mm; }
}
@media (max-width: 600px) { .cert-inner { padding: 40px 26px 46px; } .cert-name { font-size: 23px; } .cert-body { font-size: 13.5px; } .cert-foot { max-width: 100%; } .cert-seal, .cert-seal-spacer { width: 60px; } }
.flow-h1 { font-size: 52px; line-height: 1; text-align: center; margin-bottom: 14px; }
.flow-sub { text-align: center; color: var(--muted); max-width: 480px; margin: 0 auto 36px; }
.write-area { width: 100%; min-height: 240px; resize: vertical; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); padding: 26px 28px; font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--ink); outline: none; box-shadow: 0 0 0 1px rgba(14,58,64,.06), 0 2px 14px rgba(14,58,64,.12), 0 0 22px rgba(14,58,64,.08); transition: border-color .2s, box-shadow .2s; }
.write-area:focus { border-color: var(--brand); box-shadow: 0 0 0 1px rgba(14,58,64,.12), 0 2px 16px rgba(14,58,64,.16), 0 0 26px rgba(14,58,64,.10); }
/* /r/ wax seal — the PAID mark. Revealed for paid records, pulses on a successful Verify (free records stay sealless). */
.record-doc { position: relative; }
.record-seal { position: absolute; bottom: 20px; right: 22px; width: 66px; height: auto; opacity: 0; transform: scale(.55) rotate(-8deg); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1.3); pointer-events: none; z-index: 3; }
.record-seal.is-in { opacity: 1; transform: scale(1) rotate(-5deg); }
.record-seal.is-stamped { animation: record-seal-stamp .55s ease; }
@keyframes record-seal-stamp { 0% { transform: scale(1.22) rotate(-5deg); } 45% { filter: drop-shadow(0 6px 18px rgba(154,71,60,.5)); } 100% { transform: scale(1) rotate(-5deg); filter: none; } }
@media (max-width: 600px) { .record-seal { width: 50px; bottom: 14px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .record-seal { transition: none; } .record-seal.is-stamped { animation: none; } }
.write-area::placeholder { color: var(--faded); font-style: italic; }
.write-banner { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; justify-content: center; text-align: center; }
/* "Need help?" — a small, quiet text link above the box that reveals a white prompt card */
.write-help { margin: 0 0 12px; }
.write-help-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--cta-hover); background: none; border: 0; padding: 4px 0; cursor: pointer; list-style: none; transition: color .2s ease; }
.write-help-btn::-webkit-details-marker { display: none; }
.write-help-btn svg { width: 13px; height: 13px; flex: none; }
.write-help-btn:hover, .write-help[open] .write-help-btn { color: var(--brand); }
.write-help-box { margin-top: 12px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 20px 22px; box-shadow: 0 0 0 1px rgba(14,58,64,.04), 0 2px 16px rgba(14,58,64,.12), 0 0 26px rgba(14,58,64,.08); display: flex; flex-direction: column; gap: 12px; }
.write-help-box .write-help-lead { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.write-help-box p:not(.write-help-lead) { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--ink); margin: 0; padding-left: 14px; border-left: 2px solid var(--cta); }
/* textarea meta row: helper note (left) + live character count (right) */
.write-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.write-meta .write-banner { margin: 0; justify-content: flex-start; text-align: left; flex: 1 1 240px; }
.char-count { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; color: var(--faded); white-space: nowrap; }
.char-count.is-near { color: var(--cta-hover); }
.char-count.is-max { color: #C2473C; }
.char-count.is-under { color: var(--cta-hover); }
.edit-warn { font-family: var(--mono); font-size: 12px; letter-spacing: .3px; color: #C2473C; margin: 12px 0 0; }
.field { margin-top: 24px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.field input[type=email], .field input[type=text] { width: 100%; border: 1px solid var(--hairline); border-radius: 10px; background: var(--card); padding: 14px 16px; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none; }
.field input:focus { border-color: var(--brand); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 7px; }
.flow-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
/* funnel reassurance: choosing appearance doesn't commit to a cost (light-touch fix for price-after-identity) */
.flow-reassure { display: flex; align-items: center; gap: 9px; justify-content: center; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 460px; margin: 28px auto 0; }
.flow-reassure svg { flex: none; color: var(--brand); opacity: .7; }
.flow-back { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.flow-back:hover { color: var(--brand); }

/* visibility options */
.choice-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.choice { display: block; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); padding: 20px 22px; cursor: pointer; transition: border-color .2s, background-color .2s, transform .15s var(--spring); }
.choice:active { transform: scale(.99); }
.choice.is-sel { border-color: var(--brand); background: rgba(14,58,64,.03); }
.choice input { position: absolute; opacity: 0; }
.choice-head { display: flex; align-items: center; gap: 12px; }
.choice-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--hairline); flex: none; position: relative; transition: border-color .2s; }
.choice.is-sel .choice-radio { border-color: var(--brand); }
.choice.is-sel .choice-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.choice-title { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.choice-default { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--cta-hover); border: 1px solid currentColor; border-radius: 3px; padding: 2px 6px; }
.choice-desc { font-size: 14.5px; color: var(--muted); margin: 8px 0 0 30px; }

/* review: checkboxes add weight to the seal preview */
.review-record { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 32px 34px; margin-bottom: 28px; }
.review-record .record-text { font-size: 20px; }
.checks { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: flex-start; gap: 13px; padding: 14px 4px; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--hairline); flex: none; position: relative; transition: border-color .2s, background-color .2s; }
.check.is-checked .check-box { border-color: var(--brand); background: var(--brand); }
.check-box svg { position: absolute; inset: 0; margin: auto; width: 13px; height: 13px; color: var(--paper-text); opacity: 0; transition: opacity .2s; }
.check.is-checked .check-box svg { opacity: 1; }
.check-label { font-size: 16px; color: var(--ink); line-height: 1.4; padding-top: 1px; }
.seal-preview { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px; border-radius: 16px; background: var(--card); border: 1px solid var(--hairline); margin: 28px 0; transition: background-color .5s ease, box-shadow .5s ease; }
.seal-preview[data-weight="1"] { background: #f3eee2; }
.seal-preview[data-weight="2"] { background: #efe8d8; }
.seal-preview[data-weight="3"] { background: #1a3a3f; box-shadow: inset 0 0 60px rgba(0,0,0,.3); }
.seal-preview[data-weight="3"] .seal-prev-label { color: var(--paper-60); }
.seal-prev-disc { width: 86px; height: 86px; border-radius: 50%; border: 1.5px solid var(--hairline); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--brand); transition: border-color .5s ease, color .5s ease, transform .5s var(--spring); }
.seal-preview[data-weight="3"] .seal-prev-disc { border-color: var(--cta); color: var(--cta); transform: scale(1.06); }
.seal-prev-label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
/* the wax seal develops as each box is checked (your loved deepen-per-check, now wax) */
.seal-prev-wax .wax-seal { width: 112px; transition: opacity .5s ease, filter .5s ease; }
.seal-preview[data-weight="0"] .wax-seal { opacity: .22; filter: grayscale(.6) drop-shadow(0 0 9px rgba(60,10,8,.22)); }
.seal-preview[data-weight="1"] .wax-seal { opacity: .5; filter: grayscale(.4) drop-shadow(0 0 11px rgba(60,10,8,.3)); }
.seal-preview[data-weight="2"] .wax-seal { opacity: .76; filter: grayscale(.2) drop-shadow(0 1px 5px rgba(60,10,8,.3)) drop-shadow(0 0 12px rgba(60,10,8,.28)); }
.seal-preview[data-weight="3"] .wax-seal { opacity: 1; filter: drop-shadow(0 1px 5px rgba(60,10,8,.4)) drop-shadow(0 0 13px rgba(60,10,8,.32)); }
.seal-preview[data-weight="3"] { background: #f3eee2; }
/* editable apology at review */
.review-record .record-kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-record .edit-hint { color: var(--cta-hover); text-transform: none; letter-spacing: .3px; flex: none; }
.record-text[contenteditable] { outline: none; border-radius: 8px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s, box-shadow .2s; cursor: text; }
.record-text[contenteditable]:hover { background: rgba(14,58,64,.035); }
.record-text[contenteditable]:focus { background: rgba(14,58,64,.05); box-shadow: 0 0 0 2px rgba(14,58,64,.14); }
/* express pay */
.pay-express { display: flex; gap: 10px; margin-bottom: 14px; }
.pay-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 46px; border-radius: 9px; font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: transform .15s var(--spring), filter .2s; }
.pay-btn:hover { filter: brightness(1.06); }
.pay-btn:active { transform: scale(.97); }
.pay-apple { background: #000; color: #fff; }
.pay-apple svg { width: 16px; height: 16px; }
.pay-google { background: #fff; color: #3c4043; border-color: #dadce0; }
.pay-divider { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--faded); }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.confirm-hint { font-family: var(--mono); font-size: 11px; color: var(--cta-hover); margin: 4px 0 0; }
.pay-slot { border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); padding: 24px; margin: 26px 0; }
.pay-slot .pay-title { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; display: flex; justify-content: space-between; }
.pay-field { border: 1px solid var(--hairline); border-radius: 9px; background: var(--bg); padding: 14px 16px; font-family: var(--mono); font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.pay-row { display: flex; gap: 10px; }
.pay-row .pay-field { flex: 1; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(4,18,20,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.modal-backdrop.show { display: flex; }
.modal { background: var(--card); border-radius: 18px; padding: 36px; max-width: 460px; width: 100%; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 2px 22px rgba(0,0,0,.28), 0 0 44px rgba(0,0,0,.18); }
.modal h3 { text-align: left; font-size: 28px; }
.modal input[type=text], .modal input[type=email] { width: 100%; margin: 16px 0; }
.report-cats { display: flex; flex-direction: column; gap: 5px; }
.report-cat { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--hairline); cursor: pointer; font-size: 15px; color: var(--ink); transition: border-color .2s, background-color .2s; }
.report-cat:hover { border-color: var(--brand); background: rgba(14,58,64,.03); }
.report-cat input { accent-color: var(--brand); flex: none; }
.report-thanks { font-family: var(--mono); font-size: 12px; color: var(--brand); margin: 14px 0 0; }
.report-trigger { display: inline-flex; align-items: center; }

/* sealing money-moment */
.sealing-wrap { position: relative; min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; }
.shimmer-stages { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.shimmer-stage { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faded); display: flex; align-items: center; gap: 10px; transition: color .4s ease; }
.shimmer-stage.active { color: var(--brand); }
.shimmer-stage.active .shimmer-text { background: linear-gradient(90deg, var(--brand) 30%, var(--cta) 50%, var(--brand) 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 1.4s linear infinite; }
.shimmer-stage.done { color: var(--brand); }
.shimmer-stage .stage-tick { opacity: 0; }
.shimmer-stage.done .stage-tick { opacity: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }
/* "thinking" indicator: the Atonr bow does a half-bow -> rise -> ~1s pause -> repeat,
   beside shimmering text (used at verify + sealing, like an assistant working). */
.think { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.think[hidden] { display: none; }   /* the attribute must win — otherwise "Verifying" never goes away */
.think-bow { display: inline-flex; width: 20px; height: 20px; color: var(--brand); transform-origin: 52% 88%; animation: half-bow 2s ease-in-out infinite; }
.think-bow svg { width: 20px; height: 20px; }
@keyframes half-bow { 0% { transform: rotate(0); } 15% { transform: rotate(17deg); } 36% { transform: rotate(0); } 100% { transform: rotate(0); } }
.think .shimmer-text { background: linear-gradient(90deg, var(--brand) 30%, var(--cta) 50%, var(--brand) 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 1.2s linear infinite; }
/* once verified: the figure stands still and the label is static — no motion, no shimmer */
.think.is-done .think-bow { animation: none; transform: rotate(0); }
.think.is-done .shimmer-text { animation: none; background: none; -webkit-text-fill-color: var(--brand); color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .think-bow { animation: none; } .think .shimmer-text { animation: none; -webkit-text-fill-color: var(--brand); } }
.sealed-result { opacity: 0; transition: opacity .8s ease; }
.sealed-result.show { opacity: 1; }
.sealed-headline { font-family: var(--serif); font-size: 44px; color: var(--brand); margin-bottom: 16px; }
.sealed-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 540px; margin: 0 auto 32px; }
/* fixed-centred in the viewport so the (invisible, space-holding) certificate below doesn't push it up;
   it's display:none once the certificate reveals, so this never affects the final layout */
.sealing-stage { position: fixed; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 32px; }
/* the Atonr bow bows slowly and rises by itself — graceful, no jerk, no snap back to start */
.seal-bow { display: inline-flex; width: 56px; height: 56px; color: var(--brand); transform-origin: 52% 90%; animation: seal-bow 3.6s ease-in-out infinite; }
.seal-bow svg { width: 56px; height: 56px; }
@keyframes seal-bow { 0% { transform: rotate(0deg); } 24% { transform: rotate(23deg); } 42% { transform: rotate(23deg); } 66% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } }
/* the stage line: large, centred, with a bright highlight sweeping across it (the shimmer) */
.seal-stage-text { font-family: var(--serif); font-size: 38px; line-height: 1.28; font-weight: 500; margin: 0; max-width: 560px; min-height: 1.28em;
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand) 40%, #EAC877 50%, var(--brand) 60%, var(--brand) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: seal-shimmer 2.6s linear infinite; transition: opacity .36s ease; }
.seal-stage-text.is-fading { opacity: 0; }
@keyframes seal-shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (max-width: 600px) { .seal-stage-text { font-size: 26px; } .seal-bow, .seal-bow svg { width: 46px; height: 46px; } }

/* ===== The Hundred — escalating price ladder (staircase, rises left→right) ===== */
.hundred-ladder { display: flex; align-items: flex-end; justify-content: center; gap: 8px; max-width: 600px; margin: 0 auto; }
.hl-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 6px 11px; border: 1px solid var(--hairline); border-bottom: 3px solid var(--hairline); border-radius: 9px 9px 5px 5px; background: linear-gradient(180deg, #fff, var(--bg)); text-align: center; transition: opacity .3s, border-color .3s, box-shadow .3s, background .3s; }
.hl-step:nth-child(1) { min-height: 78px; }
.hl-step:nth-child(2) { min-height: 98px; }
.hl-step:nth-child(3) { min-height: 118px; }
.hl-step:nth-child(4) { min-height: 138px; }
.hl-step:nth-child(5) { min-height: 158px; }
.hl-price { font-family: var(--serif); font-size: 18px; line-height: 1; color: var(--ink); }
.hl-range { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hl-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; min-height: 11px; color: var(--muted); }
.hl-step.is-sold { opacity: .4; }
.hl-step.is-sold .hl-price { text-decoration: line-through; }
.hl-step.is-current { border-color: var(--cta); border-bottom-color: var(--cta); background: linear-gradient(180deg, #fff, rgba(207,165,74,.14)); box-shadow: 0 7px 22px rgba(207,165,74,.2); }
.hl-step.is-current .hl-price { color: var(--cta-hover); font-weight: 600; }
.hl-step.is-current .hl-tag { color: var(--cta-hover); }
.hundred-urgency { color: var(--ink); }
@media (max-width: 600px) {
  .hundred-ladder { flex-direction: column; align-items: stretch; gap: 6px; max-width: 320px; }
  .hl-step { flex-direction: row; align-items: center; justify-content: space-between; min-height: 0 !important; border: 1px solid var(--hairline); border-left: 3px solid var(--hairline); border-radius: 8px; padding: 11px 15px; }
  .hl-step.is-current { border-color: var(--cta); border-left-color: var(--cta); }
}

/* The Hundred — wall glimpse (offer page) + the full monument grid (/wall/) */
.wall-peek-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.wall-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 540px; margin: 0 auto; }
.wall-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-family: var(--mono); font-size: 11px; }
.wall-cell.is-filled { background: var(--brand); color: var(--cta); }
.wall-cell.is-open { background: rgba(14,58,64,.05); border: 1px dashed rgba(14,58,64,.2); }
@media (max-width: 600px) { .wall-grid { gap: 5px; max-width: 320px; } .wall-cell { font-size: 9px; border-radius: 5px; } }
.seal-cert { position: relative; display: inline-block; min-width: 340px; max-width: 440px; width: 100%; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 30px 34px 40px; box-shadow: 0 0 0 1px rgba(14,58,64,.10), 0 2px 18px rgba(14,58,64,.16), 0 0 34px rgba(14,58,64,.12); text-align: left; }
.seal-cert .record-kicker { text-align: center; letter-spacing: 2.5px; }
@media (max-width: 479px){ .seal-cert { min-width: 0; } }
/* the stamp: one-way committed strike, dead stop, slight ink-spread. No bounce. */
.stamp-block { display: inline-block; border: 2px solid var(--brand); border-radius: 12px; padding: 26px 38px; position: relative; }
.stamp-block.struck { animation: stamp-strike .26s cubic-bezier(.2,.9,.25,1) both; }
@keyframes stamp-strike { 0% { transform: scale(1.5); opacity: 0; } 70% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); } }
.stamp-block .ink-spread { position: absolute; inset: 0; border-radius: 12px; box-shadow: 0 0 0 0 rgba(14,58,64,.25); }
.stamp-block.struck .ink-spread { animation: ink-spread .5s ease-out .24s both; }
@keyframes ink-spread { 0% { box-shadow: 0 0 0 0 rgba(14,58,64,.3); } 100% { box-shadow: 0 0 0 14px rgba(14,58,64,0); } }

/* account / login */
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 180px 24px 100px; text-align: center; }
.auth-card { background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 40px 36px; text-align: left; }
.records-wrap { max-width: 820px; margin: 0 auto; padding: 160px 32px 100px; }
.rec-row { display: flex; align-items: center; gap: 16px; justify-content: space-between; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); padding: 18px 22px; margin-bottom: 12px; text-decoration: none; color: inherit; transition: border-color .2s; }
.rec-row:hover { border-color: var(--brand); }
.rec-row-text { font-family: var(--serif); font-size: 17px; color: var(--ink); flex: 1; }
.status-pill { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100vw; flex: none; }
.status-live { color: var(--brand); background: rgba(14,58,64,.08); }
.status-fading { color: var(--cta-hover); background: rgba(168,133,60,.12); }
.status-flagged { color: #9a6b2e; background: rgba(154,107,46,.12); }
.status-deleted { color: var(--faded); background: rgba(185,179,164,.18); }

/* ---- reduced motion: every [SM] + animation gets a static/reduced fallback ---- */
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover::after { animation: none; opacity: .55; }
  .live-dot::after { animation: none; }
  .hero-draft-caret { animation: none; opacity: 1; }
  .wheel-list, .rotator-card, .odo-stack { transition: none; }
  .painchat-window, .painchat-header, .painchat-msg, .painchat-line { transition: none; }
  .shimmer-stage.active .shimmer-text { animation: none; -webkit-text-fill-color: var(--brand); }
  .stamp-block.struck { animation: none; }
  .stamp-block.struck .ink-spread { animation: none; }
  .civ-rise { transition: none; }
  .seal-bow { animation: none; }
  .seal-stage-text { animation: none; background: none; -webkit-text-fill-color: var(--brand); color: var(--brand); }
}

/* ---- responsive additions for new components ---- */
@media (max-width: 991px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .feed-2 { grid-template-columns: 1fr; }
  .rotator-card { flex-basis: 80vw; }
  .rotator-track { gap: 0; }
  .page-head h1 { font-size: 56px; }
  .doc-title { font-size: 44px; }
  .archive-toolbar { top: 78px; }
}
@media (max-width: 767px) {
  .decay-grid { grid-template-columns: 1fr; }
  .civ-paras p { font-size: 20px; }
  .civ-final p { font-size: 24px; }
  .painchat-line { font-size: 22px; }
  .wheel-item p { font-size: 21px; }
  .record-doc { padding: 36px 26px 30px; }
  .flow-h1 { font-size: 40px; }
  .page-head { padding: 140px 24px 40px; }
  .page-head h1 { font-size: 44px; }
  .hundred-bignum { font-size: 64px; }
  .archive-toolbar-inner { padding: 0 20px; }
  .archive-wrap { padding: 8px 20px 90px; }
}
@media (max-width: 479px) {
  .rotator-card { padding: 32px 24px; }
  .flow-wrap { padding: 120px 18px 50px; }
  .doc-wrap { padding: 150px 22px 90px; }
}

/* ── v8: self-sovereign identity key (Option 2) ──────────────────────────── */
.field-hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.field-hint.is-err { color: #9E3B32; }
.field-aside { font-family: var(--sans); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 11px; }
.field input[type=password] { width: 100%; border: 1px solid var(--hairline); border-radius: 10px; background: var(--card); padding: 14px 16px; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none; }
.field input[type=password]:focus { border-color: var(--brand); }

/* the optional "prove it later" disclosure on /visibility/ */
.prove-opt { margin-top: 20px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); overflow: hidden; transition: border-color .2s; }
.prove-opt[open] { border-color: rgba(14, 58, 64, .28); }
.prove-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.prove-summary::-webkit-details-marker { display: none; }
.prove-summary-text { display: flex; flex-direction: column; gap: 3px; }
.prove-summary-main { font-family: var(--serif); font-size: 18px; color: var(--brand); }
.prove-summary-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.prove-chevron { width: 14px; height: 14px; color: var(--muted); flex: none; transition: transform .25s var(--spring); }
.prove-opt[open] .prove-chevron { transform: rotate(180deg); }
.prove-body { padding: 4px 20px 22px; border-top: 1px solid var(--hairline); }
.prove-note { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 16px 0 4px; }
.prove-note strong { color: var(--ink); font-weight: 600; }
.prove-opt .field input { background: var(--bg); }     /* vellum inputs stand out on the white card */

/* /prove/ verify page */
.prove-page { max-width: 540px; margin: 0 auto; padding: 0 24px 90px; }
.prove-form .btn { width: 100%; margin-top: 28px; justify-content: center; }
.pv-result { margin-top: 24px; padding: 18px 20px; border-radius: 14px; font-size: 15.5px; line-height: 1.55; border: 1px solid var(--hairline); }
.pv-result.is-ok { background: rgba(14, 58, 64, .05); border-color: rgba(14, 58, 64, .30); color: var(--brand); }
.pv-result.is-no { background: rgba(158, 59, 50, .06); border-color: rgba(158, 59, 50, .35); color: #9E3B32; }
.pv-result.is-warn { background: var(--card); color: var(--muted); }
.prove-foot { margin-top: 22px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* "identity-provable" badge on the record page */
.provable-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .5px; color: var(--brand); background: rgba(14, 58, 64, .05); border: 1px solid rgba(14, 58, 64, .2); border-radius: 6px; padding: 4px 10px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.provable-chip svg { width: 14px; height: 14px; }
.provable-chip:hover { background: rgba(14, 58, 64, .1); border-color: rgba(14, 58, 64, .34); }

/* ── v9: report flag on every apology card ──────────────────────────────── */
.rec-card { position: relative; }   /* positioning context for the flag */
.rec-flag {
  position: absolute; right: 13px; bottom: 12px; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px; color: var(--faded); background: transparent; border: 1px solid transparent;
  cursor: pointer; opacity: .4; transition: opacity .18s, color .18s, border-color .18s, background-color .18s;
}
.rec-flag svg { width: 13px; height: 13px; }
.rec-card:hover .rec-flag, .rec-flag:hover, .rec-flag:focus-visible { opacity: 1; }
.rec-flag:hover, .rec-flag:focus-visible { color: #C2473C; border-color: var(--hairline); background: var(--card); outline: none; }

/* ── v10: harden the pre-seal review (no edits after sealing) ────────────── */
.edit-tip { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--hairline); }
.seal-permanence { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .3px; color: var(--muted); text-align: center; margin: 0 0 18px; }
.seal-permanence svg { width: 14px; height: 14px; flex: none; color: var(--brand); }

/* v9 — first-of-its-kind masthead: restrained warm off-white so the cream button stays the brightest element */
.hero-eyebrow { font-family: var(--sans); font-weight: 600; font-size: 13.5px; letter-spacing: 2.2px; text-transform: uppercase; color: rgba(245, 238, 222, .82); margin: 0 0 22px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
@media (max-width: 640px) { .hero-eyebrow { font-size: 11.5px; letter-spacing: 1.6px; margin-bottom: 16px; } }
/* the draft-card label (frames the box as an illustration, not an input) + the closing-breath line */
.hero-draft-tag { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 1.7px; text-transform: uppercase; color: rgba(242, 239, 228, .5); }
.hero-sub-pad .p-60-dark { font-size: 15.5px; letter-spacing: .2px; }

/* ── v11: define the referenced-but-undefined .quiet-inline link (cornerstone "See the Wall →") — was rendering as a default unstyled link ── */
.quiet-inline { font-family: var(--mono); font-size: 12px; letter-spacing: .25px; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--hairline); padding-bottom: 2px; transition: color .18s, border-color .18s; }
.quiet-inline:hover, .quiet-inline:focus-visible { color: var(--brand); border-color: var(--brand); outline: none; }

/* ── v12: account self-serve delete (#10) — the row is now a wrapper holding the record link + a delete control ── */
.rec-row { flex-wrap: wrap; }
.rec-row-main { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.rec-del { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--hairline); border-radius: 100vw; padding: 6px 12px; cursor: pointer; flex: none; transition: color .2s, border-color .2s; white-space: nowrap; }
.rec-del:hover { color: var(--brand); border-color: var(--brand); }
.rec-del.is-armed { color: #9a3412; border-color: #9a3412; }
.rec-del:disabled { opacity: .6; cursor: default; }
.rec-del-err { flex-basis: 100%; margin: 8px 0 0; font-family: var(--mono); font-size: 11px; color: #9a3412; }

/* ── v14: passphrase show/hide toggle + confirm field ── */
.pass-wrap { position: relative; display: flex; align-items: center; }
.pass-wrap input { flex: 1; padding-right: 64px; }
.pass-toggle { position: absolute; right: 8px; background: none; border: none; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; }
.pass-toggle:hover { color: var(--brand); }

/* ── v13: archive featured band (#13) — Inscribed + The Hundred, set first on the record ── */
.archive-featured { position: relative; }
.archive-featured .archive-bandtitle h2 em { color: var(--cta); }
.archive-featured .archive-bandtitle .rec-tier { color: var(--cta-hover); }
.archive-featured::after { content: ""; display: block; height: 1px; margin-top: 36px; background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent); }

/* ── v16: re-validation design pass — make "kept" beat "faded", lift the witness wall ── */
/* (a) the GOOD outcome (preserved) must visibly outrank the faded one — both were identical white boxes */
.decay-card.preserved { border-color: var(--brand); background: rgba(14,58,64,.035); box-shadow: 0 6px 24px rgba(14,58,64,.07); }
.decay-card.free { border-style: dashed; background: #FAF8F4; }
/* (b) archive entries should read as featured statements, not a generic list (was 18px, below the decay card) */
.entry-text { font-size: 20px; }
/* (c) faded small-text was --faded #B9B3A4 (~3.2:1 on white, below AA at 10px); lift to ~4.5:1. Keep --faded for the big tombstone surface. */
.entry-faded .entry-text, .entry-faded .entry-tag, .entry-faded .entry-meta { color: #9D9891; }
/* (d) a $200/$1k+ record should typographically pop above a $50 one — featured tags upweight; the Hundred gets gold */
.entry-hundred .entry-tag, .entry-inscribed .entry-tag { font-weight: 600; }
.entry-hundred .entry-tag { color: var(--cta-hover); }

/* ── v17: painchat DARK-mode chat window — a real dark AI-chat "screen" floating on the cream page (Isaac's call). Uses the brand's existing --dark band colour so it's cohesive, not a new palette. ── */
.painchat-window { background: var(--dark); border-color: rgba(242,239,228,.12); }
.painchat-appbar { color: var(--paper-text); border-bottom-color: rgba(242,239,228,.12); }
.pc-title { color: var(--paper-text); }
.pc-menu span { background: var(--paper-60); }
.pc-plus { border-color: rgba(242,239,228,.20); color: var(--paper-60); }
.pc-av { background: #0E3A40; }
.pc-typing span { background: var(--paper-60); }
.painchat-msg { background: rgba(242,239,228,.10); color: var(--paper-text); }   /* user bubble: elevated on dark */
.pc-ai-msg { color: var(--paper-text); }                                          /* AI reply: plain light text */
.painchat-input { background: rgba(242,239,228,.06); border-color: rgba(242,239,228,.14); color: var(--paper-60); }
.painchat-input:hover { background: rgba(242,239,228,.10); border-color: rgba(242,239,228,.24); }
.pc-send { background: var(--paper-text); color: var(--dark); }

/* ── v18: live /r/ Verify ceremony (gold scan + bow shimmer, restored & made a prominent block) + account per-record detail + type-DELETE ── */
/* /r/ verify block: a dedicated block below the meta (was a faint inline pill). The ceremony = the bow + shimmer + seal-stamp (the sweeping scan ray was removed — it spilled outside the card). */
.record-verify-block { margin-top: 24px; }
.verify-lead { margin: 0; max-width: 56ch; }
/* the "how verification works" explainer, tucked behind a (?) — shown on tap, hidden on tap-out */
.verify-help { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--hairline); background: none; color: var(--muted); font-family: var(--mono); font-size: 13px; line-height: 1; cursor: pointer; transition: color .18s, border-color .18s; }
.verify-help:hover, .verify-help[aria-expanded="true"] { color: var(--brand); border-color: var(--brand); }
.verify-help-pop { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--card); max-width: 60ch; box-shadow: 0 4px 18px rgba(14,58,64,.08); }
.verify-help-pop[hidden] { display: none; }

/* account: each record becomes a small card — header link, a muted detail strip, then a de-emphasized delete */
.rec-row { flex-direction: column; align-items: stretch; gap: 14px; }
.rec-row:hover { border-color: var(--hairline); }   /* the card is no longer one link — don't flag a hover border on the wrapper */
.rec-row-main:hover .rec-row-text { color: var(--brand); }
.rec-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 13px; border-top: 1px solid var(--hairline); }
.rec-act { font-family: var(--mono); font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--hairline); border-radius: 100vw; padding: 6px 13px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: color .18s, border-color .18s; }
.rec-act:hover, .rec-act:focus-visible { color: var(--brand); border-color: var(--brand); outline: none; }
.rec-act.is-copied { color: var(--brand); border-color: var(--brand); }
.rec-proof { display: inline-flex; align-items: baseline; gap: 8px; }
.rec-proof-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faded); }
.rec-proof-code { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; color: var(--brand); user-select: all; }
/* delete: a quiet underlined link by default; opens a type-DELETE confirm in line */
.rec-del-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rec-del-note { flex-basis: 100%; margin: 0; font-family: var(--sans); font-size: 12px; line-height: 1.5; color: var(--muted); }
.rec-del-open { font-family: var(--mono); font-size: 10px; letter-spacing: .8px; text-transform: lowercase; color: var(--faded); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color .18s; }
.rec-del-open:hover { color: #9a3412; }
.rec-del-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rec-del-input { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; width: 116px; padding: 7px 10px; border: 1px solid #9a3412; border-radius: 8px; background: var(--card); color: var(--ink); outline: none; }
.rec-del-input::placeholder { text-transform: none; letter-spacing: 0; color: var(--faded); }
.rec-del-go { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #9a3412; border: 1px solid #9a3412; border-radius: 100vw; padding: 7px 14px; cursor: pointer; transition: opacity .18s; }
.rec-del-go:disabled { opacity: .4; cursor: default; }
.rec-del-cancel { font-family: var(--mono); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.rec-del-cancel:hover { color: var(--brand); }

/* ── v19: global scroll-to-top button (bottom-right, all pages, mobile + desktop) — appears after you scroll down ── */
.scroll-top { position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(242,239,228,.16); border-radius: 50%; background: var(--brand); color: var(--paper-text); cursor: pointer; box-shadow: 0 4px 14px rgba(14,58,64,.30); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background-color .2s ease; }
.scroll-top svg { width: 17px; height: 17px; }
.scroll-top:hover { background: var(--cta-hover); }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 600px) { .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .scroll-top { transition: opacity .2s ease; transform: none; } .scroll-top.is-visible { transform: none; } }

/* ── v20: mobile fixes (from Isaac's Android screenshots) ── */
@media (max-width: 600px) {
  /* (a) background-attachment:fixed mis-renders on phones — they size the bg to the whole PAGE not the viewport,
     so the dark-edge vignette stretches in and the page reads a different/darker colour than desktop. Fix:
     scroll + drop the vignette on mobile, keep only the faint grain → clean vellum, matching the laptop. */
  body { background-attachment: scroll; background-image: var(--grain); }
  /* (b) witness-wall carousel: the apology text was spilling OUT of the card on phones → clamp it inside */
  .coverflow:not(.cf-static) .cf-card { overflow: hidden; }
  .coverflow:not(.cf-static) .cf-card .rc-text { font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
  /* (c) the nav CTA wrapped to two lines on scroll → grew the bar taller. Keep the CTA but make it a COMPACT
     single-line "Write" pill, and thin the whole bar so its height never changes between top + scrolled. */
  .navbar-inner { padding: 5px 10px; }
  .menu-button { padding: 6px 8px; }
  .navbar-right .btn-primary { padding: 7px 12px; font-size: 11px; white-space: nowrap; }
  .navbar-right .cta-full { display: none; }
  .navbar-right .cta-mini { display: inline; }
  /* thinner bar overall: a smaller logo tile + wordmark on phones */
  .brand-tile { width: 28px; height: 28px; }
  .brand span { font-size: 17px; }
  .brand { padding: 1px 4px; }
}
