/* ════════════════════════════════════════════════════════════════════
   Watchers Bible · landing page
   Kindle Paperwhite paper: gray Carta page, graphite ink, grain.
   The site is paper art; the app it sells is the quiet one.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --paper:   #dbdcd6;
  --sheet:   #e7e8e2;
  --sheet-2: #cdd0c8;
  --ink:     #161713;
  --ink-mut: #4b4e47;
  --line:    rgba(22, 23, 20, 0.24);
  --graphite:#262822;
  --graph-2: #55574d;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --display: 'Fraunces', 'Literata', Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --shadow-card: 0 8px 20px rgba(22,23,20,0.12), 0 2px 5px rgba(22,23,20,0.06);
  --shadow-deep: 0 18px 44px rgba(22,23,20,0.22), 0 4px 10px rgba(22,23,20,0.1);
  /* the sheet texture: a BAKED tile (indexed PNG, eight quantized pigment
     grays, per-pixel crisp) — the exact bytes the app ships as
     --grain-fine, generated by the app repo's scripts/generate-paper-grain.mjs
     (--apply k8). A real Carta panel quantizes its speckle to 16 gray
     levels; smooth fractal noise reads as camera grain, quantized speckle
     reads as ink. Site and app are the same sheet of paper. */
  --paper-fine: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAGFBMVEUAAAAkJCRJSUltbW2SkpK2trbb29v////S/FSRAAAACHRSTlMPDw8PDw8PD6+RQ9UAABy+SURBVHjaNZsLciS7CkQB8dn/jh3nVPu+iDcej11dkiDJTFDc5mS/9+5d8sdm93ROddXbvarLmJvOt71d+ypq8ipypmcruuZVxPLnvumKqHv8Rsy7rdysetFvc2beq+vu96pj48V1zNVcZs7FvY3k1+ttV7yY6Kg38aLzvc3M6szJuZvIiazpG39wp3hIxO3NRtTOe/s2lh+L3Y2Ld5ebHRWXtW8yIvPudUxP3Ua+mtr3+HtsvmVX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3GAS/JX59CPBine8gRMa6EmZDSoPr6948NK4DvOvA4/O6HCdkDxVOIvB9nMy7Ci2XxHAkTs9Uwj45KCo1yYlAp8u9gmpHZ6S09U2TeeuOim6PFFfV5GRG6xveg/GEw0Xzddm1UrU9ixHZkSxw4M9hetuh39UK3XQq0drabnUqOPGUgAz289IrUqWeGYHoQBeTCV7DcPbei5OSUAS2isHrltAC4eybGLLDbaJ/1R/1i+mNBP4u/9E7Vxk5XM6xi9wBdFi0vOqop+Zu2Nwfxzq8JeLNlHjfRKXwPfNdSKSpOM7wfC1LyN78wsBRcew0OyLMhTAc8PUnvfsa3jiiCc9ybJvBIBE1AK9NE91kL9ggwL0vRt8Lp1V4+i4DcncO1anHjRsp5VIm4EpZzsiZ/fSTnaTxsixVq7XXuU4JBvTXJxR2vV8kIfqeUk4CpqMJepTnlHZ5k3EcooUgw4CBDCgIJhreoP4V7N8BaCY57huu/hpvZAKJzMUAX4y8s+s4wgxFrqQx/IkUTWcugCW++G6Y0cNPjd31HgZ36Lib5V2hxr6C4TvVet4tAI9/Q8gaHaKdbTyEnfdq2VwaloCkE6mgGyH7GVjxySEbnKNlRGSnt1y9Z4qJxiFBDNlomPj4EUh5jA5CTzJqe9xRLySMJKpNIZQgzWPYhWNeemT5r+PZGzu2zlqVCOTtZS5InoMY0CMLBSjvHLGR73y+9xi9O8W+xrkDKmo7rFrPTkp8fZV0ezF6GbZzJEyfEkPBKRTrJ2NhioFRPJ1mr92+9k6g1oK0fC14elBac+9n/n/eBseMIqNo5rcmxLa+JHezMEjx62jWOT3G7B8e8DriBYBJ0OhWhDN6ttiedx450vpm2+mT6qQRh95I9nqJ1y2dhgkWGHa1x77Ic2QoLNNkGE1WbijYVNemPr367yrw89WHy2reaSfrUMTV/Qc2zeBg3EkSFQAAAABJRU5ErkJggg==");
  --paper-fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.028' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='0.05'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

/* keyboard users skip the page chrome */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 95;
  background: var(--graphite); color: #eceee6;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 12px 20px; border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--paper-fine), var(--paper-fiber);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* frontlight halo, corner falloff and floor shading, fixed to the
   viewport — and STILL, like the panel it imitates: a real Paperwhite's
   frontlight never breathes, and e-ink never moves. The eink refresh
   flash below stays finite, so it keeps the panel's one honest motion. */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 24%),
    radial-gradient(120% 100% at 50% 30%, transparent 62%, rgba(22, 23, 20, 0.04) 100%),
    linear-gradient(0deg, rgba(22,23,20,0.045), transparent 16%);
  z-index: 1;
}

main { position: relative; z-index: 2; }

::selection { background: rgba(38,40,34,0.16); }

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

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-center { text-align: center; }

/* ── book cover intro ─────────────────────────────────────────────── */
.cover {
  position: fixed; inset: 0; z-index: 90;
  display: flex;
  perspective: 1600px;
  pointer-events: none;
}
html.skip-cover .cover { display: none; }
.cover-half {
  flex: 1;
  background:
    var(--paper-fine),
    linear-gradient(160deg, #262822 0%, #1d1f1a 60%, #161713 100%);
  box-shadow: 0 0 60px rgba(22,23,20,0.5);
  transition: transform 1.05s var(--ease-out);
  will-change: transform;
  backface-visibility: hidden;
}
.cover-left  { transform-origin: right center; border-right: 1px solid rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; }
.cover-right { transform-origin: left center; }
.cover.open .cover-left  { transform: rotateY(-104deg); }
.cover.open .cover-right { transform: rotateY(104deg); }
.cover.done { display: none; }
.cover-emblem { text-align: center; color: #eceee6; padding: 20px; }
.cover-seal {
  display: inline-flex; width: 92px; height: 92px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: rgba(236,238,230,0.06);
  border: 1px solid rgba(236,238,230,0.25);
  margin-bottom: 18px;
}
.cover-seal img { width: 58px; height: 58px; object-fit: contain; }
.cover-title { display: block; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: 0.06em; }
.cover-sub { display: block; margin-top: 6px; font-size: 13px; font-style: italic; opacity: 0.72; }

/* e-ink refresh flash (repeat visits) — kept out of hit-testing until it runs */
.eink-flash { position: fixed; inset: 0; z-index: 89; background: #cfd1ca; opacity: 0; visibility: hidden; pointer-events: none; }
.eink-flash.run { visibility: visible; animation: eink 0.5s ease-out 1; }
@keyframes eink { 0% {opacity: 0;} 18% {opacity: 0.9;} 55% {opacity: 0.35;} 100% {opacity: 0;} }

/* ── ribbon bookmark scroll progress ──────────────────────────────── */
.ribbon {
  position: fixed; top: 0; right: 14px; width: 9px; height: 100%;
  z-index: 60; pointer-events: none;
}
.ribbon-fill {
  height: 0%;
  background: var(--graphite);
  background-image: var(--paper-fine);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
  box-shadow: -1px 2px 4px rgba(22,23,20,0.25);
}

/* ── top bar ──────────────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  background: rgba(231,232,226,0.88);
  background-image: var(--paper-fine), var(--paper-fiber);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-seal {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 5px rgba(22,23,20,0.25);
}
.brand-seal img { width: 25px; height: 25px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: 0.01em; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn-ink {
  background: var(--graphite); color: #eceee6;
  padding: 13px 26px;
  box-shadow: 0 6px 16px rgba(22,23,20,0.28), inset 0 1px 0 rgba(255,255,255,0.09);
}
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22,23,20,0.32), inset 0 1px 0 rgba(255,255,255,0.09); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ink underline that draws itself */
.ink-link {
  color: var(--ink); text-decoration: none; font-weight: 600;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-size: 0% 1.5px; background-position: 0 100%;
  transition: background-size 0.35s var(--ease-out);
  padding-bottom: 2px;
}
.ink-link:hover { background-size: 100% 1.5px; }
.footer-links a { color: var(--ink-mut); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 6px; }
.footer-links a:hover { color: var(--ink); background: rgba(22,23,20,0.06); }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 128px 0 0;
  overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 48px; align-items: center;
  width: 100%;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mut); margin-bottom: 18px; font-weight: 600;
}
.hero-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero-title span { display: inline-block; }
.hero-sub { max-width: 46ch; font-size: 17.5px; color: var(--ink-mut); margin-bottom: 30px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badge { display: inline-block; width: 176px; transition: transform 0.25s var(--ease-out); }
.badge:hover { transform: translateY(-3px); }
.badge-box { fill: var(--graphite); stroke: rgba(236,238,230,0.25); stroke-width: 1; }
.badge { color: #eceee6; }
.badge-mark { color: #eceee6; }
.badge-top { fill: #b9bcae; font-family: 'Literata', serif; font-size: 9.5px; letter-spacing: 0.14em; }
.badge-name { fill: #f2f3ec; font-family: 'Literata', serif; font-size: 17px; font-weight: 600; }
.badge-row .badge { box-shadow: var(--shadow-card); border-radius: 10px; }
.apk-line { margin-top: 16px; font-size: 14.5px; color: var(--ink-mut); }
.apk-line .ink-link { color: var(--ink); }

.hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sun { position: absolute; top: 14%; right: 30%; width: 120px; height: 120px; opacity: 0.8; }
.sun svg { width: 100%; height: 100%; animation: sun-turn 90s linear infinite; transform-origin: 60px 60px; }
@keyframes sun-turn { to { transform: rotate(360deg); } }

.dove { position: absolute; width: 58px; top: 22%; left: -80px; opacity: 0; }
.dove-flyby.fly { animation: dove-fly 14s var(--ease-out) 1 forwards; }
@keyframes dove-fly {
  0%   { transform: translate(0, 0) rotate(2deg); opacity: 0; }
  6%   { opacity: 0.85; }
  30%  { transform: translate(32vw, -9vh) rotate(-4deg); }
  60%  { transform: translate(60vw, 4vh) rotate(3deg); opacity: 0.8; }
  88%  { transform: translate(86vw, -6vh) rotate(-2deg); opacity: 0.5; }
  100% { transform: translate(108vw, 0) rotate(0deg); opacity: 0; }
}
.dove-wing { animation: wing-flap 0.9s ease-in-out infinite alternate; transform-origin: 28px 18px; }
@keyframes wing-flap { from { transform: rotate(-9deg); } to { transform: rotate(13deg); } }

.motes i {
  position: absolute; top: -10px; left: var(--x);
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--ink-mut); opacity: 0.09;
  animation: mote var(--d) linear var(--s) infinite;
}
@keyframes mote {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: 0.1; }
  85%  { opacity: 0.06; }
  100% { transform: translateY(78vh); opacity: 0; }
}

/* hero phone — a real screenshot in the frame, flipping like e-ink pages */
.hero-phone-col { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  position: relative;
  width: 272px;
  background: var(--paper);
  border: 3px solid var(--graphite);
  border-radius: 34px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  transform: rotate(2deg);
  background-image: var(--paper-fine), var(--paper-fiber);
}
.phone-hero { aspect-ratio: 720 / 1575; cursor: pointer; }
.screen-shots { position: absolute; inset: 0; padding: 0; background: var(--paper); }
.screen-shots .shot-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.screen-shots .shot-img.is-on { opacity: 1; }
.eink-wipe {
  position: absolute; inset: 0; z-index: 2;
  background: #cfd1ca; opacity: 0; pointer-events: none;
}
.phone-hero.wiping .eink-wipe { animation: eink 0.5s ease-out; }
.dots { display: flex; gap: 12px; }
.dot {
  position: relative;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--ink-mut); background: transparent;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}
.dot:hover::before { transform: scale(1.25); }
.dot.is-on::before { background: var(--graphite); border-color: var(--graphite); }
.phone-caption { font-size: 13px; font-style: italic; color: var(--ink-mut); }

/* diorama hills */
.diorama { position: relative; margin-top: auto; height: clamp(150px, 24vh, 250px); }
.hill { position: absolute; bottom: -2px; left: -2%; width: 104%; height: 100%; }
.hill-back  { opacity: 1; }
.hill-mid   { height: 82%; }
.hill-front { height: 64%; }

/* torn divider between chapters */
.torn-divider { position: relative; z-index: 3; height: 54px; margin-top: -1px; background: var(--paper); }
.torn-divider svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ── chapters ─────────────────────────────────────────────────────── */
.chapter { position: relative; padding: 96px 0 104px; }
.chapter-tint {
  background: var(--sheet);
  background-image: var(--paper-fine), var(--paper-fiber);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 10px 24px rgba(22,23,20,0.05), inset 0 -10px 24px rgba(22,23,20,0.05);
}
.chapter-label {
  text-align: center; font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-mut); margin-bottom: 14px;
}
.chapter-label::after {
  content: ""; display: block; width: 46px; height: 1px;
  background: var(--line); margin: 12px auto 0;
}
.chapter h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.14; letter-spacing: -0.01em;
  text-align: center; max-width: 22ch; margin: 0 auto 20px;
}
.lede { max-width: 62ch; margin: 0 auto 48px; text-align: center; color: var(--ink-mut); font-size: 17px; }

/* ink-soak reveal words — the ink is always present; it soaks by sharpening */
.ink-soak span { opacity: 1; filter: blur(5px); transition: filter 0.7s ease var(--wd, 0s); }
.ink-soak.in span, html.skip-motion .ink-soak span { filter: blur(0); }

/* page-lift reveal for sections/cards */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.rv.in, html.skip-motion .rv { opacity: 1; transform: none; }

/* ── chapter one: compare ─────────────────────────────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
}
.card-sheet {
  background: var(--sheet);
  background-image: var(--paper-fine), var(--paper-fiber);
  box-shadow: var(--shadow-card);
}
.cmp { padding: 30px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.cmp-lcd { background: #e8edf7; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.cmp-lcd::after {
  content: ""; position: absolute; top: -60%; left: -30%; width: 60%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: rotate(8deg);
}
.cmp-screen { flex: 1; border-radius: 12px; padding: 18px; min-height: 210px; }
.cmp-lcd .cmp-screen { background: #f4f7ff; box-shadow: 0 0 0 3px #b9c4da, 0 4px 14px rgba(70,90,140,0.25); font-family: system-ui, sans-serif; }
.lcd-title { font-size: 13px; font-weight: 700; color: #33415e; margin-bottom: 10px; letter-spacing: 0.02em; }
.lcd-text { font-size: 12px; color: #46536f; line-height: 1.5; margin-bottom: 10px; }
.lcd-text.small { opacity: 0.75; font-size: 11px; }
.lcd-ad {
  display: flex; align-items: center; gap: 8px;
  background: #d9dfeb; border: 1px dashed #9aa7c2; border-radius: 6px;
  padding: 8px 10px; font-size: 10.5px; color: #5b6a8c; margin-bottom: 10px;
}
.lcd-ad span {
  background: #b9c4da; color: #33415e; font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 3px; letter-spacing: 0.08em;
}
.cmp-paper .cmp-screen {
  background: var(--paper);
  background-image: var(--paper-fine), var(--paper-fiber);
  box-shadow: inset 0 0 0 1px var(--line), 0 4px 14px rgba(22,23,20,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.paperverse { font-size: 17px; line-height: 1.7; max-width: 26ch; }
.paperverse-ref { font-size: 12px; font-style: italic; color: var(--ink-mut); margin-top: 10px; }
.quill-flourish { width: 170px; margin-top: 12px; }
.quill-path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .quill-path, html.skip-motion .quill-path { animation: quill-draw 1.4s var(--ease-out) 0.4s forwards; }
@keyframes quill-draw { to { stroke-dashoffset: 0; } }
.cmp-label {
  text-align: center; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mut); font-weight: 600;
}

/* letterpress stat chips */
.stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 40px 0 18px; }
.stat {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink);
  padding: 12px 20px; border-radius: 10px;
  background: var(--sheet-2);
  background-image: var(--paper-fine);
  box-shadow: inset 0 2px 5px rgba(22,23,20,0.22), inset 0 -1px 0 rgba(255,255,255,0.55);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  opacity: 0; transform: scale(1.12);
}
.stat.in { animation: stamp-in 0.5s var(--ease-out) forwards; }
.stat.in:nth-child(2) { animation-delay: 0.12s; }
.stat.in:nth-child(3) { animation-delay: 0.24s; }
.stat.in:nth-child(4) { animation-delay: 0.36s; }
@keyframes stamp-in {
  0% { opacity: 0; transform: scale(1.18); }
  70% { opacity: 1; transform: scale(0.985); }
  100% { opacity: 1; transform: scale(1); }
}
.footnote { text-align: center; font-size: 13px; color: var(--ink-mut); opacity: 0.85; max-width: 60ch; margin: 0 auto; font-style: italic; }

/* ── chapter two: ad slot + stamp ─────────────────────────────────── */
.adslot-stage { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 12px 0 8px; }
.adslot {
  position: relative; width: min(340px, 86vw); height: 62px;
  background: var(--sheet-2);
  background-image: var(--paper-fine);
  border: 1px solid var(--line); border-radius: 6px;
  transform: rotate(-1.6deg);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
}
.adslot-tag {
  position: absolute; top: -9px; left: 10px;
  background: var(--graphite); color: #eceee6;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 7px; border-radius: 3px;
}
.adslot-text { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mut); text-align: center; padding: 0 26px; }
.stamp {
  font-family: var(--display); font-size: clamp(19px, 2.6vw, 26px);
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 6px;
  padding: 12px 26px;
  transform: rotate(-2deg) scale(1.15); opacity: 0;
  mix-blend-mode: multiply;
  mask-image: var(--paper-fine), linear-gradient(#000, #000);
  -webkit-mask-image: var(--paper-fine), linear-gradient(#000, #000);
}

/* the never-note: a pasted slip of ad-speak, struck through in ink */
.never-note {
  max-width: 46ch; margin: 0 auto;
  font-style: italic; font-size: 16.5px; line-height: 2;
  color: var(--ink);
  background: var(--paper);
  background-image: var(--paper-fine), var(--paper-fiber);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 20px 28px;
  transform: rotate(1.1deg);
  box-shadow: var(--shadow-card);
}
.never-note s {
  color: var(--ink-mut);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--graphite);
  white-space: nowrap;
}
.stamp.in { animation: stamp-land 0.55s var(--ease-out) forwards; }
@keyframes stamp-land {
  0% { opacity: 0; transform: rotate(-2deg) scale(1.35); }
  65% { opacity: 1; transform: rotate(-2deg) scale(0.97); }
  100% { opacity: 0.92; transform: rotate(-2deg) scale(1); }
}

/* ── chapter three: features ──────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px 22px;
  overflow: hidden;
}
.feature h3 { font-family: var(--display); font-weight: 500; font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-mut); }
.ink-icon { width: 34px; height: 34px; margin-bottom: 16px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-half { fill: var(--ink); stroke: none; }
/* page-corner peel on hover */
.feature::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 34px; height: 34px;
  background: linear-gradient(315deg, var(--paper) 47%, #d6d8d0 50%, rgba(22,23,20,0.16) 52%, transparent 56%);
  filter: drop-shadow(-2px -2px 3px rgba(22,23,20,0.14));
  transform: scale(0.001); transform-origin: bottom right;
  transition: transform 0.28s var(--ease-out);
}
.feature:hover::after { transform: scale(1); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.feature { transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out); }

/* ── chapter four: marquee + shelf ────────────────────────────────── */
.tongues-marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0; margin-bottom: 56px;
  font-style: italic; font-size: 15px; color: var(--ink-mut); opacity: 0.6;
}
.tongues-track { display: inline-block; animation: drift 44s linear infinite; }
.tongues-marquee:hover .tongues-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

.shelf-stage { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.shelf {
  display: flex; align-items: flex-end; justify-content: center; gap: 7px;
  min-height: 120px; padding: 0 10px;
  flex-wrap: nowrap; overflow: hidden;
}
.spine {
  position: relative;
  width: var(--w); height: var(--h);
  background: linear-gradient(180deg, var(--graph-2), var(--graphite));
  background-image: var(--paper-fine), linear-gradient(180deg, var(--graph-2), var(--graphite));
  border-radius: 3px 3px 1px 1px;
  box-shadow: inset -2px 0 3px rgba(0,0,0,0.25), inset 1px 0 1px rgba(255,255,255,0.14), 0 2px 4px rgba(22,23,20,0.2);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(46px); opacity: 0;
  transition: transform 0.6s var(--ease-out) calc(var(--d) * 0.09s), opacity 0.5s ease calc(var(--d) * 0.09s);
}
.in .spine, html.skip-motion .spine { transform: translateY(0); opacity: 1; }
.spine-lean { transform: translateY(46px) rotate(7deg); }
.in .spine-lean { transform: translateY(0) rotate(7deg); }
.spine-lean-l { transform: translateY(46px) rotate(-6deg); margin-right: 10px; }
.in .spine-lean-l { transform: translateY(0) rotate(-6deg); }
.spine span {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #eceee6; font-weight: 600; max-height: 86%; overflow: hidden;
}
.spine-ghost { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
.spine-ghost span { color: var(--ink-mut); }
.shelf-tag {
  align-self: flex-end; margin-left: 14px; margin-bottom: 8px;
  font-size: 11.5px; font-style: italic; color: var(--ink-mut); opacity: 0;
  transition: opacity 0.6s ease 1.4s;
}
.in ~ .shelf-board .shelf-tag, .shelf-stage.in .shelf-tag { opacity: 1; }
.shelf-board {
  height: 13px; margin-top: -1px;
  background: linear-gradient(180deg, #b3b6ab, #9d9f94);
  background-image: var(--paper-fine), linear-gradient(180deg, #b3b6ab, #9d9f94);
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(22,23,20,0.28), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ── chapter six: pop-up spread ───────────────────────────────────── */
.spread {
  position: relative; max-width: 620px; margin: 0 auto;
  min-height: 560px; perspective: 1400px;
}
.spread-page {
  position: absolute; top: 6%; bottom: 6%; width: 50%;
  background: var(--sheet);
  background-image: var(--paper-fine), var(--paper-fiber);
  box-shadow: var(--shadow-deep);
  transition: transform 1s var(--ease-out) 0.15s;
  z-index: 1;
}
.spread-left  { left: 0; border-radius: 12px 2px 2px 12px; transform-origin: right center; border-right: 1px solid var(--line); }
.spread-right { right: 0; border-radius: 2px 12px 12px 2px; transform-origin: left center; border-left: 1px solid var(--line); }
.spread.open .spread-left  { transform: rotateY(-142deg); }
.spread.open .spread-right { transform: rotateY(142deg); }
.popup {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transform: translateY(46px) rotateX(9deg); opacity: 0;
  transform-origin: bottom center;
  transition: transform 0.8s var(--ease-out) 0.7s, opacity 0.6s ease 0.7s;
}
.spread.open .popup { transform: none; opacity: 1; }
.theme-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tchip {
  font-family: var(--serif); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); background: var(--sheet-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center;
  box-shadow: 0 2px 5px rgba(22,23,20,0.12);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s;
}
.tchip:hover { transform: translateY(-2px); }
.tchip.is-on { background: var(--graphite); color: #eceee6; border-color: var(--graphite); }
.mini-phone {
  width: 192px; aspect-ratio: 720 / 1575;
  border-radius: 24px; border: 2.5px solid var(--graphite);
  box-shadow: var(--shadow-deep);
  position: relative; overflow: hidden;
  transition: background 0.45s ease;
}
/* the four real home screens, one per theme, swapped by [data-t] */
.mini-phone .mini-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.mini-phone[data-t="dawn"]  .mini-shot[data-shot="dawn"],
.mini-phone[data-t="ember"] .mini-shot[data-shot="ember"],
.mini-phone[data-t="vigil"] .mini-shot[data-shot="vigil"],
.mini-phone[data-t="paper"] .mini-shot[data-shot="paper"] { opacity: 1; }
/* real theme palettes, as the backdrop while a screenshot loads */
.mini-phone[data-t="dawn"]  { background: #f8f1de; }
.mini-phone[data-t="ember"] { background: #2b1a10; }
.mini-phone[data-t="vigil"] { background: #0a0d18; }
.mini-phone[data-t="paper"] { background: #dbdcd6; }
.spread-note { text-align: center; margin-top: 26px; font-size: 13.5px; font-style: italic; color: var(--ink-mut); }

/* ── footer ───────────────────────────────────────────────────────── */
.footer { padding: 84px 0 56px; position: relative; }
.wax-seal { position: relative; width: 96px; height: 96px; margin: 0 auto 18px; filter: drop-shadow(0 6px 12px rgba(22,23,20,0.3)); }
.wax-seal img {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; object-fit: contain;
  filter: grayscale(1) brightness(1.6); opacity: 0.9;
}
.footer-brand { font-family: var(--display); font-size: 20px; font-weight: 500; }
.footer-links { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; }
.colophon { font-size: 13px; font-style: italic; color: var(--ink-mut); opacity: 0.8; }

/* the publisher's imprint — where a book names its printer */
.imprint {
  max-width: 460px; margin: 0 auto 30px;
  padding: 26px 0 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.imprint-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-mut); margin-bottom: 16px;
}
.imprint-mark { display: block; width: 150px; height: auto; margin: 0 auto 14px; }
.imprint-about { font-size: 13.5px; line-height: 1.7; color: var(--ink-mut); }
.imprint-links {
  margin-top: 12px; display: flex; align-items: baseline;
  justify-content: center; gap: 10px;
}
.imprint-sep { font-size: 13px; color: var(--ink-mut); opacity: 0.7; }
.imprint-mail {
  display: inline-block;
  font-size: 13px; color: var(--ink-mut); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.imprint-mail:hover { color: var(--ink); border-color: var(--ink); }

/* ── ink blot easter egg ──────────────────────────────────────────── */
.blot {
  position: fixed; z-index: 80; pointer-events: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,23,20,0.5) 0%, rgba(22,23,20,0.28) 55%, transparent 72%);
  transform: translate(-50%, -50%) scale(0);
  animation: blot-grow 0.65s var(--ease-out) forwards;
}
.blot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(22,23,20,0.3);
  animation: blot-ring 0.65s var(--ease-out) forwards;
}
@keyframes blot-grow { 0% { transform: translate(-50%,-50%) scale(0); } 60% { transform: translate(-50%,-50%) scale(1.15); } 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.75; } }
@keyframes blot-ring { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

/* ── focus + a11y ─────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; border-radius: 4px; }

/* ── reduced motion: everything settles instantly ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .ink-soak span, .spine, .stat, .stamp { opacity: 1 !important; transform: none !important; filter: none !important; }
  .quill-path { stroke-dashoffset: 0; }
  .dove { display: none; }
}

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .badge-row { justify-content: center; }
  .hero-phone-col { order: 2; }
  .sun { top: 5%; right: 0; width: 92px; height: 92px; opacity: 0.45; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sun { top: 4%; right: -18px; width: 88px; height: 88px; opacity: 0.35; }
  .chapter { padding: 72px 0 80px; }
  .compare { grid-template-columns: 1fr; }
  .cmp-lcd { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .phone { width: 246px; }
  .ribbon { right: 7px; width: 6px; }
  .topbar { padding: 10px 14px; }
  .brand-name { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════════════
   v2 · richer paper life — clouds, flock, lantern, flourishes,
   ghost numerals, marginalia, folio, flutter, sheen, living grain
   ════════════════════════════════════════════════════════════════════ */

/* living grain: the sheet itself very slowly breathes */
body::after {
  content: ""; position: fixed; inset: -60%; z-index: 1; pointer-events: none;
  background-image: var(--paper-fine); background-size: 220px 220px;
  opacity: 0.55;
  animation: grain-drift 110s ease-in-out infinite;
  will-change: transform;
}
@keyframes grain-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(-1.6%, 1.2%, 0); }
  50%      { transform: translate3d(1.1%, -0.9%, 0); }
  75%      { transform: translate3d(-0.8%, -1.5%, 0); }
}

/* cut-paper clouds drifting through the frontlight */
.cloud { position: absolute; pointer-events: none; }
.cloud svg { width: 100%; height: auto; }
.cloud-1 { top: 11%; left: 2.5%; width: 150px; opacity: 0.55; animation: cloud-drift 120s ease-in-out infinite; }
.cloud-2 { top: 33%; right: 9%; width: 108px; opacity: 0.4;  animation: cloud-drift 160s ease-in-out infinite reverse; }
@keyframes cloud-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(44px, -10px, 0); }
}

/* the dove flock: same path, staggered and offset — kept above the hero copy */
.dove-2 { top: 19%; width: 44px; --fly-dur: 17s; --fly-delay: 2.2s; }
.dove-3 { top: 9%; width: 34px; --fly-dur: 19s; --fly-delay: 3.6s; opacity: 0.85; }
.dove-flyby.fly { animation: dove-fly var(--fly-dur, 14s) var(--ease-out) var(--fly-delay, 0s) 1 forwards; }

/* lantern flicker in the paper panel */
.cmp-paper .cmp-screen { position: relative; }
.lantern { position: absolute; top: 14px; right: 14px; width: 26px; opacity: 0.9; }
.lantern-flame { animation: flame-sway 3.4s ease-in-out infinite; transform-origin: 12px 20px; }
@keyframes flame-sway {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.95; }
  30%      { transform: scaleY(1.12) scaleX(0.94); opacity: 1; }
  60%      { transform: scaleY(0.94) scaleX(1.05); opacity: 0.8; }
}
.lantern-glow {
  position: absolute; top: -8px; right: -6px; width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), rgba(255,255,255,0) 65%);
  animation: glow-flicker 4.6s ease-in-out infinite; pointer-events: none;
}
@keyframes glow-flicker {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  30%      { opacity: 0.8;  transform: scale(1.07); }
  55%      { opacity: 0.55; }
  72%      { opacity: 0.85; transform: scale(1.03); }
}

/* quill flourish drawing itself under every chapter heading */
.h2-flourish { display: block; width: 150px; height: 18px; margin: -8px auto 30px; overflow: visible; }
.h2-flourish path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.h2-flourish.in path { animation: quill-draw 1.3s var(--ease-out) forwards; }

/* ghost chapter numerals behind headings */
.ghost-numeral {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(calc(-50% + var(--drift, 0px)));
  font-family: var(--display); font-weight: 300; line-height: 1;
  font-size: clamp(170px, 24vw, 300px);
  color: var(--ink); opacity: 0.05;
  pointer-events: none; user-select: none; z-index: 0;
  white-space: nowrap;
}
.chapter > .wrap { position: relative; z-index: 1; }

/* ink marginalia in the margins, gently swaying */
.marginalia { position: absolute; opacity: 0.16; pointer-events: none; z-index: 0; }
.marginalia svg { width: 100%; height: auto; overflow: visible; }
.m-star    { top: 130px; right: 4%;    width: 26px; }
.m-glasses { bottom: 160px; left: 3%;  width: 44px; }
.m-vine    { top: 420px; right: 3.5%;  width: 30px; }
.m-bird    { top: 210px; right: 4%;    width: 36px; }
.sway { animation: marginalia-sway 9s ease-in-out infinite alternate; transform-origin: top center; }
@keyframes marginalia-sway {
  from { transform: rotate(-2.2deg) translateY(0); }
  to   { transform: rotate(2.2deg) translateY(6px); }
}

/* folio page number, bottom-left, like a book leaf */
.folio {
  position: fixed; left: 18px; bottom: 14px; z-index: 55;
  font-style: italic; font-size: 12px; color: var(--ink-mut);
  opacity: 0.8; pointer-events: none;
}

/* paper flutter burst when a theme is tried on */
.flutter {
  position: absolute; width: 8px; height: 10px; z-index: 6;
  background: var(--sheet); border-radius: 1px;
  box-shadow: 0 1px 3px rgba(22,23,20,0.4);
  opacity: 0; pointer-events: none;
}
.flutter.go { animation: flutter-burst 0.95s var(--ease-out) forwards; }
@keyframes flutter-burst {
  0%   { opacity: 0.9; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0;   transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(0.5); }
}

/* light sheen sweeping the ink badges on hover */
.badge { position: relative; overflow: hidden; }
.badge::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 46%; height: 180%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-170%) skewX(-18deg); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.3s ease;
  pointer-events: none;
}
.badge:hover::after { transform: translateX(360%) skewX(-18deg); opacity: 1; }

/* hero phone tilts toward the cursor */
.phone-hero { will-change: transform; }
.hero-phone-col { perspective: 900px; }

@media (max-width: 1020px) {
  .marginalia { display: none; }
  .ghost-numeral { font-size: 150px; top: 44px; }
  /* doves would fly across the hero copy on narrow screens */
  .dove { display: none; }
}
@media (max-width: 640px) {
  .folio { display: none; }
  .cloud-2 { display: none; }
  .cloud-1 { width: 110px; top: 10%; left: 3%; }
}

/* ════════════════════════════════════════════════════════════════════
   v3 · choreographed motion — masked rises, side slides, staggered
   deals, scroll-locked drift. Every hidden state lives inside .js +
   prefers-reduced-motion: no-preference, so no-JS and reduced-motion
   visitors simply get the finished page.
   ════════════════════════════════════════════════════════════════════ */

/* hero title: words rise out of their own line masks */
.ht-mask {
  display: inline-block; overflow: hidden;
  padding-bottom: 0.09em; margin-bottom: -0.09em;
  vertical-align: bottom;
}
.ht-word { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* ── press feedback under the hand ─────────────────────────────── */
  .btn:active, .tchip:active, .badge:active { transform: translateY(1px) scale(0.98); transition-duration: 140ms; }
  .dot:active::before { transform: scale(0.85); }

  /* ── hero load sequence: settled in under two seconds ──────────── */
  .js .ht-word {
    transform: translateY(112%);
    animation: word-rise 850ms var(--ease-expo) forwards;
    animation-delay: calc(480ms + var(--w, 0) * 90ms);
  }
  .js .hero .eyebrow { opacity: 0; transform: translateY(12px); animation: load-rise 600ms var(--ease-out) 430ms forwards; }
  .js .hero-sub { opacity: 0; transform: translateY(14px); animation: load-rise 650ms var(--ease-out) 840ms forwards; }
  .js .hero .badge-row .badge { opacity: 0; transform: translateY(16px); animation: load-rise 650ms var(--ease-out) forwards; }
  .js .hero .badge-row .badge:nth-child(1) { animation-delay: 950ms; }
  .js .hero .badge-row .badge:nth-child(2) { animation-delay: 1030ms; }
  .js .hero .apk-line { opacity: 0; animation: load-rise 600ms var(--ease-out) 1130ms forwards; }
  .js .hero-phone-col { opacity: 0; transform: translateX(56px) rotate(3deg); animation: phone-in 1100ms var(--ease-expo) 700ms forwards; }

  /* ── chapter furniture arrives in reading order ────────────────── */
  .js .chapter-label, .js .lede:not([data-fill]) {
    opacity: 0; transform: translateY(14px);
    transition: opacity 650ms var(--ease-out), transform 750ms var(--ease-out);
  }
  .js .chapter-label.in, .js .lede.in { opacity: 1; transform: none; }

  /* ── chapter one: the two pages slide in from opposite sides ───── */
  .js .cmp { opacity: 0; transition: opacity 850ms var(--ease-expo), transform 950ms var(--ease-expo); }
  .js .cmp-lcd { transform: translateX(-46px); }
  .js .cmp-paper { transform: translateX(46px); }
  .js .compare.in .cmp { opacity: 1; transform: none; }
  .js .compare.in .cmp-paper { transition-delay: 130ms; }

  /* the paper-comfort statement inks itself in as you scroll */
  .js .lede[data-fill] span { color: rgba(22, 23, 20, 0.45); transition: color 450ms ease; }
  .js .lede[data-fill] span.is-inked { color: var(--ink); }

  /* ── chapter two: the slip settles like fresh paste ────────────── */
  .js .adslot { opacity: 0; transform: translateY(22px) rotate(1deg); transition: opacity 750ms var(--ease-expo), transform 900ms var(--ease-expo); }
  .js .adslot-stage.in .adslot { opacity: 1; transform: rotate(-1.6deg); }
  .js .never-note { opacity: 0; transform: translateY(26px) rotate(4.2deg); transition: opacity 750ms var(--ease-expo) 150ms, transform 900ms var(--ease-expo) 150ms; }
  .js .adslot-stage.in .never-note { opacity: 1; transform: rotate(1.1deg); }

  /* ── chapter three: the cards deal in row by row ───────────────── */
  .js .feature {
    opacity: 0; transform: translateY(26px);
    transition: opacity 700ms var(--ease-expo), transform 850ms var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 75ms);
  }
  .js .feature-grid.in .feature { opacity: 1; transform: none; }

  /* ── chapter six: the chips cascade once the pop-up stands ─────── */
  .js .spread:not(.open) .tchip { opacity: 0; }
  .js .spread.open .tchip {
    opacity: 0; transform: translateY(14px);
    animation: chip-in 550ms var(--ease-out) forwards;
    animation-delay: calc(980ms + var(--i, 0) * 70ms);
  }
}

@keyframes word-rise { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes phone-in { to { opacity: 1; transform: none; } }
@keyframes chip-in { to { opacity: 1; transform: none; } }

/* ════════════════════════════════════════════════════════════════════
   v4 · feature chapters — the home-screen widget, the 7:00 knock,
   the concordance. Same contract as v3:
   hidden states live only inside .js + prefers-reduced-motion:
   no-preference, so no-JS and reduced-motion visitors get the
   finished page.
   ════════════════════════════════════════════════════════════════════ */

/* ── honest store badges: the iOS chip and the Play "soon" tag ────── */
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 57px; padding: 0 22px;
  border: 1.5px dashed var(--line); border-radius: 10px;
  color: var(--ink-mut); font-style: italic; font-size: 14px;
  background: var(--sheet);
  background-image: var(--paper-fine);
}
.badge-soon svg { width: 19px; height: 19px; stroke: var(--ink-mut); }

/* ── chapter four: widget home screen + notification ──────────────── */
.widget-stage {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 20px;
  margin: 0;
}
.wg-panel {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 24px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.wg-home { background-color: var(--paper); background-image: var(--paper-fine), var(--paper-fiber); }
.wg-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink);
}
.wg-sig { width: 40px; height: 12px; }
.wg-widget {
  background: var(--sheet);
  background-image: var(--paper-fine), var(--paper-fiber);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 15px 17px 13px;
}
.wg-midrow { display: flex; gap: 12px; align-items: stretch; }
.wg-compact { flex: 1.05; display: flex; flex-direction: column; }
.wg-compact .wg-verse { font-size: 12.5px; margin-top: 6px; }
.wg-compact .wg-eyebrow { font-size: 8.5px; letter-spacing: 0.12em; }
.wg-apps {
  flex: 1; border: 1.5px dashed var(--line); border-radius: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px;
  padding: 16px 14px; align-content: center; justify-items: center;
}
.wg-apps i { width: 17px; height: 17px; border-radius: 6px; border: 1.5px solid var(--ink-mut); opacity: 0.3; }
.wg-eyebrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--graph-2);
}
.wg-spark { width: 10px; height: 10px; fill: var(--graph-2); flex-shrink: 0; }
.wg-verse { font-size: 15.5px; line-height: 1.62; margin-top: 8px; }
.wg-brand {
  display: flex; align-items: center; gap: 5px; margin-top: 11px;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mut);
}
.wg-brand .wg-spark { width: 8px; height: 8px; }
.wg-dock {
  display: flex; justify-content: center; gap: 12px;
  width: fit-content; margin: 2px auto 0; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--sheet); background-image: var(--paper-fine);
  box-shadow: var(--shadow-card);
}
.wg-dock i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-mut); opacity: 0.45; }
.wg-dock i:first-child { background: var(--graphite); border-color: var(--graphite); opacity: 1; }
.notif-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sheet);
  background-image: var(--paper-fine), var(--paper-fiber);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 15px 17px;
}
.notif-seal {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.notif-seal img { width: 22px; height: 22px; object-fit: contain; filter: grayscale(1) brightness(1.7); }
.notif-app { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mut); }
.notif-title { font-size: 15px; font-weight: 600; margin-top: 3px; }
.notif-text { font-size: 13.5px; line-height: 1.55; margin-top: 2px; }
.notif-action { font-size: 12px; font-style: italic; color: var(--ink-mut); margin-top: 9px; }
.wg-side { max-width: 58ch; font-size: 14.5px; line-height: 1.75; color: var(--ink-mut); margin-top: 2px; }

/* ── chapter five: the concordance demo ───────────────────────────── */
.search-demo {
  max-width: 620px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden; cursor: pointer;
}
.sd-field {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  background: var(--paper); background-image: var(--paper-fine), var(--paper-fiber);
  border-bottom: 1px solid var(--line);
}
.sd-glass { width: 18px; height: 18px; flex-shrink: 0; }
.sd-query { font-size: 16.5px; min-height: 1.45em; }
.sd-caret { width: 2px; height: 1.15em; background: var(--ink); display: inline-block; margin-left: 1px; vertical-align: text-bottom; }
.sd-pill {
  margin-left: auto; flex-shrink: 0;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--ink-mut); border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 8px;
}
.sd-status {
  padding: 9px 18px;
  font-size: 11.5px; font-style: italic; letter-spacing: 0.05em; color: var(--ink-mut);
  border-bottom: 1px solid rgba(22,23,20,0.12);
}
.sd-head {
  padding: 14px 18px 4px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mut);
}
.sd-row { padding: 12px 18px 13px; border-bottom: 1px solid rgba(22,23,20,0.1); }
.sd-ref {
  display: block; margin-bottom: 3px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--graph-2);
}
.sd-text { font-size: 15px; line-height: 1.62; }
.search-demo mark { background: rgba(38,40,34,0.16); color: inherit; border-radius: 3px; padding: 0 2px; }
.sd-tail { padding: 12px 18px 16px; font-size: 13px; font-style: italic; text-align: center; color: var(--ink-mut); }

/* marginalia for the new chapters */
.m-bell { top: 140px; right: 4%;    width: 26px; }
.m-lens { bottom: 180px; left: 3%;  width: 30px; }

/* ── v4 choreography (same contract as v3) ────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .badge-row .badge-soon {
    opacity: 0; transform: translateY(16px);
    animation: load-rise 650ms var(--ease-out) 1030ms forwards;
  }

  /* chapter four: panels slide from their sides, cards deal in, the
     knock drops into the shade from above */
  .js .wg-panel {
    opacity: 0; transition: opacity 850ms var(--ease-expo), transform 950ms var(--ease-expo);
  }
  .js .wg-home { transform: translateX(-46px); }
  .js .wg-notif { transform: translateX(46px); }
  .js .widget-stage.in .wg-panel { opacity: 1; transform: none; }
  .js .widget-stage.in .wg-notif { transition-delay: 130ms; }
  .js .wg-widget, .js .notif-card {
    opacity: 0; transform: translateY(24px);
    transition: opacity 700ms var(--ease-expo), transform 850ms var(--ease-expo);
    transition-delay: calc(300ms + var(--i, 0) * 120ms);
  }
  .js .widget-stage.in .wg-widget, .js .widget-stage.in .notif-card { opacity: 1; transform: none; }
  .js .widget-stage.in .notif-card { transition-delay: 620ms; }

  /* chapter five: the demo rises, then JS retypes the query while the
     rows stand down; removing .sd-anim deals them back in */
  .js .search-demo {
    opacity: 0; transform: translateY(28px);
    transition: opacity 750ms var(--ease-expo), transform 900ms var(--ease-expo);
  }
  .js .search-demo.in { opacity: 1; transform: none; }
  .js .search-demo .sd-row, .js .search-demo .sd-head, .js .search-demo .sd-tail, .js .search-demo .sd-status {
    transition: opacity 600ms var(--ease-expo), transform 700ms var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 95ms);
  }
  .js .search-demo.sd-anim .sd-row, .js .search-demo.sd-anim .sd-head,
  .js .search-demo.sd-anim .sd-tail, .js .search-demo.sd-anim .sd-status {
    opacity: 0; transform: translateY(10px);
    transition-delay: 0ms;
  }
  .js .sd-caret { animation: caret-blink 1.05s steps(1) infinite; }
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ── v4 responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .widget-stage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wg-panel { padding: 18px 14px 14px; }
  .widget-stage { gap: 14px; }
  .wg-apps { display: none; }
  .badge-soon { min-height: 50px; padding: 0 16px; font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════════
   CHAPTER EIGHT · THE GIVING
   The offering: two InstaPay codes on white cards (QRs scan from white,
   never from paper gray), and the listing request styled like a ledger
   form. The quiet/listed choice wears the ink stamp — the same wax-seal
   graphite the Ad-free stamp uses — not the app's gold: this page has
   no gold, only ink.
   ════════════════════════════════════════════════════════════════════ */

#give { scroll-margin-top: 76px; }
/* the deep link from the app's Give button lands on the codes themselves,
   not the chapter heading, so the stage carries its own scroll margin */
.give-stage { scroll-margin-top: 76px; }
.m-lamp { bottom: 210px; right: 3.5%; width: 32px; }

.give-stage {
  max-width: 620px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px 26px;
}
.give-eyebrow {
  font-family: var(--display); font-size: 21px; font-weight: 500;
  letter-spacing: 0.01em; margin-bottom: 6px;
}
.give-note { font-size: 14px; color: var(--ink-mut); max-width: 46ch; margin: 0 auto; }

.give-qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.give-qr {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: 0 2px 8px rgba(22,23,20,0.08);
}
.give-qr figcaption {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mut); text-align: center; margin-bottom: 8px;
}
.give-qr a { display: block; border-radius: 8px; overflow: hidden; }
.give-qr img { display: block; width: 100%; height: auto; }
.give-qr-hint {
  display: block; text-align: center; font-size: 11.5px; font-style: italic;
  color: var(--ink-mut); opacity: 0.8; margin-top: 8px;
}
.give-insta { font-size: 12.5px; color: var(--ink-mut); line-height: 1.6; max-width: 52ch; margin: 18px auto 0; }

/* the arrival pulse when the app's Give button lands here (finite, one-shot) */
@keyframes qr-arrive {
  0%   { transform: translateY(10px) scale(0.985); box-shadow: 0 0 0 0 rgba(38,40,34,0.30); }
  60%  { transform: none; }
  100% { transform: none; box-shadow: 0 0 0 14px rgba(38,40,34,0); }
}
.give-arrive .give-qr { animation: qr-arrive 0.9s var(--ease-out) both; }
.give-arrive .give-qr:nth-child(2) { animation-delay: 0.12s; }

.give-list {
  max-width: 560px; margin: 26px auto 0;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px 24px;
  text-align: left;
}
.give-list-title { font-family: var(--display); font-size: 19px; font-weight: 500; }
.give-list-sub { font-size: 13.5px; color: var(--ink-mut); margin-top: 3px; }

/* the quiet/listed tiles — selected wears the ink stamp */
.give-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.give-tile {
  position: relative; text-align: left; cursor: pointer;
  font-family: var(--serif); color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 15px 13px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.15s var(--ease-out);
}
.give-tile:hover { background: rgba(22,23,20,0.05); }
.give-tile:active { transform: scale(0.985); }
.give-tile .gt-glyph { width: 19px; height: 19px; display: block; color: var(--ink-mut); }
.give-tile .gt-check { display: none; position: absolute; top: 11px; right: 11px; width: 16px; height: 16px; }
.give-tile .gt-title { display: block; font-weight: 600; font-size: 15px; margin-top: 7px; }
.give-tile .gt-sub { display: block; font-size: 12.5px; color: var(--ink-mut); line-height: 1.45; margin-top: 2px; }
.give-tile.is-on { background: var(--graphite); border-color: var(--graphite); color: #eceee6; }
.give-tile.is-on .gt-glyph, .give-tile.is-on .gt-sub { color: rgba(236,238,230,0.78); }
.give-tile.is-on .gt-check { display: block; color: #eceee6; }
.give-tile:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; }

.give-quiet-note {
  font-size: 13.5px; font-style: italic; color: var(--ink-mut);
  text-align: center; max-width: 44ch; margin: 16px auto 0;
}

/* the listing form */
.give-form {
  margin-top: 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(219,220,214,0.45);
  padding: 20px 18px 18px;
}
@keyframes form-arrive {
  0% { transform: translateY(14px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.give-form.form-arrive { animation: form-arrive 0.5s var(--ease-out) both; }
.gf-title { font-weight: 600; font-size: 15px; }
.gf-sub { font-size: 12.5px; color: var(--ink-mut); margin-top: 2px; }
.gf-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-mut); margin-top: 14px; }
.gf-label em { font-weight: 400; }
.gf-input, .gf-area {
  width: 100%; margin-top: 5px;
  font-family: var(--serif); font-size: 15px; color: var(--ink);
  background: #f4f5f0; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.gf-area { resize: none; line-height: 1.55; }
.gf-input:focus, .gf-area:focus {
  outline: none; border-color: var(--graphite);
  box-shadow: 0 0 0 2px rgba(38,40,34,0.16);
}
.gf-input::placeholder, .gf-area::placeholder { color: var(--ink-mut); opacity: 0.65; }
.gv-honey { position: absolute; left: -6000px; opacity: 0; height: 0; width: 0; }

.gf-amount { display: flex; gap: 10px; margin-top: 5px; }
.gf-amount .gf-input { flex: 1; min-width: 0; margin-top: 0; font-variant-numeric: tabular-nums; }
.gf-cur { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.gf-cur button {
  font-family: var(--serif); font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--ink-mut); background: transparent; border: 0; padding: 0 14px;
}
.gf-cur button.is-on { background: var(--graphite); color: #eceee6; }
.gf-sent { font-size: 12.5px; color: var(--ink-mut); margin-top: 5px; font-variant-numeric: tabular-nums; }

.gf-proof-hint { font-size: 12.5px; color: var(--ink-mut); line-height: 1.55; margin-top: 16px; }
.gf-attach {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin-top: 6px; padding: 12px; cursor: pointer;
  font-family: var(--serif); font-size: 13.5px; font-weight: 500; color: var(--ink-mut);
  background: transparent; border: 1px dashed var(--line); border-radius: 10px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.gf-attach:hover { background: rgba(22,23,20,0.05); color: var(--ink); }
.gf-attach svg { width: 16px; height: 16px; }
.gf-preview {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px; padding: 10px;
  background: #f4f5f0; border: 1px solid var(--line); border-radius: 10px;
}
.gf-preview img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.gf-preview-text { flex: 1; min-width: 0; font-size: 13px; }
.gf-preview-text span { display: block; font-size: 12px; color: var(--ink-mut); }
.gf-remove {
  flex: none; cursor: pointer; font-family: var(--serif); font-size: 13px; font-weight: 500;
  color: var(--ink-mut); background: transparent; border: 0; border-radius: 999px; padding: 9px 13px;
}
.gf-remove:hover { background: rgba(22,23,20,0.06); color: var(--ink); }

.gf-error { font-size: 13.5px; font-weight: 600; color: #8c2f26; margin-top: 14px; }

/* ── the supporter wall: the same ledger the app reads, on the page ── */
.give-wall { margin-top: 18px; }
.give-wall-sub { font-size: 13.5px; color: var(--ink-mut); margin-top: 3px; max-width: 54ch; line-height: 1.6; }
.give-wall[hidden] { display: none; }
.wall-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-mut); margin: 20px 0 8px;
}
.wall-rows { list-style: none; border-top: 1px solid var(--line); }
.wall-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 2px; min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.wall-mark { flex: none; width: 20px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-mut); font-variant-numeric: tabular-nums; }
.wall-mark.is-podium { color: var(--ink); }
.wall-mark.is-dot span { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--graphite); margin: 0 auto; }
.wall-who { flex: 1 1 auto; min-width: 0; }
.wall-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-org { display: block; font-size: 12px; color: var(--ink-mut); line-height: 1.3; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-amt { flex: none; text-align: right; }
.wall-amt .a { display: block; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.wall-amt .d { display: block; font-size: 12px; color: var(--ink-mut); line-height: 1.3; margin-top: 1px; }
.wall-more {
  display: block; width: 100%; margin-top: 12px; padding: 11px 0;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.wall-more:hover { background: rgba(22, 23, 20, 0.05); }
.wall-more:active { transform: scale(0.995); }
.wall-note { font-size: 12px; color: var(--ink-mut); line-height: 1.6; margin-top: 16px; max-width: 58ch; }
.gf-fine { font-size: 12px; color: var(--ink-mut); line-height: 1.6; margin-top: 14px; }
.gf-submit {
  display: block; width: 100%; margin-top: 16px; cursor: pointer;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  background: var(--graphite); color: #eceee6; border: 0; border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 0 6px 16px rgba(22,23,20,0.28), inset 0 1px 0 rgba(255,255,255,0.09);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), opacity 0.2s;
}
.gf-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22,23,20,0.32), inset 0 1px 0 rgba(255,255,255,0.09); }
.gf-submit:disabled { opacity: 0.5; cursor: default; }

/* the thank-you */
.give-done { text-align: center; padding: 22px 6px 6px; }
.gd-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--graphite); color: #eceee6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 5px rgba(22,23,20,0.25);
}
.gd-seal svg { width: 26px; height: 26px; }
.gd-title { font-family: var(--display); font-size: 19px; font-weight: 500; margin-top: 12px; }
.gd-text { font-size: 13.5px; color: var(--ink-mut); max-width: 40ch; margin: 8px auto 0; line-height: 1.6; }
.gd-warn { font-weight: 600; color: #8c2f26; }

/* hidden-attribute guards (these classes set display, which would
   otherwise override [hidden]) */
.give-form[hidden], .give-done[hidden], .give-quiet-note[hidden], .give-choice[hidden],
.gf-preview[hidden], .gf-error[hidden], .gf-sent[hidden], .gd-warn[hidden], #gvFile[hidden] { display: none; }

@media (max-width: 520px) {
  .give-stage { padding: 24px 16px 20px; }
  .give-list { padding: 22px 16px 18px; }
  .give-choice { grid-template-columns: 1fr; }
  .give-qr-grid { gap: 12px; }
}
