/* ============================================================
   RentGuard CA  —  Civic-Pop Dossier
   ------------------------------------------------------------
   Cream paper · ink · dusty rose alarm · sage protected
   Bricolage Grotesque (display) · Public Sans (body) · Geist Mono
   ============================================================ */

:root {
  --paper:        #F4EEE3;
  --paper-2:      #EDE5D6;
  --paper-3:      #E2D9C8;
  --ink:          #161614;
  --ink-2:        #2B2A26;
  --ink-3:        #585650;
  --rose:         #D85A4A;   /* alarm / illegal */
  --rose-deep:    #B53D2E;
  --sage:         #6B8264;   /* protected / legal */
  --sage-deep:    #4F6649;
  --orange:       #E89548;   /* secondary CTA */
  --rule:         rgba(22,22,20,0.18);
  --rule-strong:  rgba(22,22,20,0.42);

  --font-display: "Bricolage Grotesque", "Times New Roman", serif;
  --font-body:    "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --w-max:   1240px;
  --gutter:  clamp(20px, 5vw, 56px);
  --radius:  3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "kern";
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--rose); text-underline-offset: 3px; }
button { font: inherit; }

/* paper grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── Typography ─────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 92%;
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 0;
  font-size: clamp(54px, 11vw, 168px);
  text-wrap: balance;
}
.display__alt {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
  font-stretch: 100%;
}
.display--med { font-size: clamp(38px, 6vw, 76px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 38ch;
  color: var(--ink-2);
  margin: 28px 0 32px;
}
.lede strong { color: var(--ink); font-weight: 700; }

/* ─── Header ─────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,238,227,0.92);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand__seal { color: var(--ink); }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand__name em {
  font-style: italic;
  color: var(--rose);
  font-weight: 500;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-desktop {
  display: flex; align-items: center; gap: 28px;
  font-size: 15px;
}
.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav-desktop a:not(.nav-cta):hover::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--rose);
}
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 14px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--rose); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--ink);
  width: 44px; height: 44px;
  border-radius: var(--radius);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--gutter) 18px;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile.is-open { display: flex; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 32px var(--gutter) 60px;
  position: relative;
}
.hero__rule {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-bottom: clamp(40px, 8vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.hero__copy { position: relative; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__panel {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: 8px 8px 0 var(--ink);
}
.panel__stamp {
  position: absolute;
  top: -22px; right: -18px;
  color: var(--rose-deep);
  transform: rotate(-12deg);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}
.panel__stat {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.panel__stat:first-of-type { border-top: 0; padding-top: 4px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num span {
  font-size: 0.55em;
  color: var(--rose);
  margin-left: 2px;
  font-weight: 500;
  font-style: italic;
}
.stat__lbl {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.45;
  max-width: 32ch;
}
.stat__lbl sup { color: var(--rose); font-weight: 700; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { box-shadow: 6px 6px 0 var(--ink); }
}

/* ─── Pull quote ─────────────────────────────────────────── */
.pullquote {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 60px var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, transparent, rgba(216,90,74,0.05) 50%, transparent);
}
.pullquote p:first-child {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.pull__open, .pull__close {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose);
  font-weight: 700;
  font-size: 1.4em;
}
.pull__source {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 28px 0 0;
}

/* ─── Section heads ──────────────────────────────────────── */
.section-head {
  max-width: var(--w-max);
  margin: 0 auto 40px;
  padding: 0 var(--gutter);
}

/* ─── Tools grid (entry cards) ───────────────────────────── */
.tools-grid {
  padding: 80px 0 40px;
  position: relative;
}
.tool-cards {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tool-card {
  position: relative;
  display: block;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.tool-card::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--paper-3);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.tool-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--rose-deep);
}
.tool-card:hover::after {
  background: var(--rose);
}
.tool-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.85;
  margin-bottom: 12px;
  color: var(--rose);
  letter-spacing: -0.03em;
}
.tool-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.15;
  max-width: 16ch;
}
.tool-card p { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; line-height: 1.5; }
.tool-card:hover p { color: var(--paper-2); }
.tool-card em { font-style: normal; font-weight: 700; color: var(--ink); }
.tool-card:hover em { color: var(--rose); }
.tool-card__go {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 880px) {
  .tool-cards { grid-template-columns: 1fr; }
}

/* ─── Tool sections ──────────────────────────────────────── */
.tool, .letter {
  padding: 80px var(--gutter);
  border-top: 1px solid var(--rule);
}
.tool--alt {
  background:
    linear-gradient(180deg, rgba(107,130,100,0.05), rgba(107,130,100,0.0));
}
.tool__head {
  max-width: var(--w-max);
  margin: 0 auto 32px;
}
.tool__sub {
  margin-top: 16px;
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
}
.tool__sub strong { color: var(--ink); }

.tool__form {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; margin-top: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input, .field select {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23161614' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(216,90,74,0.18);
}

@media (max-width: 720px) {
  .tool__form { grid-template-columns: 1fr; gap: 18px; }
}

/* ─── Verdict card ───────────────────────────────────────── */
.verdict {
  max-width: 920px;
  margin: 36px auto 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.verdict[data-status="alarm"] {
  background: linear-gradient(180deg, rgba(216,90,74,0.14), rgba(216,90,74,0.04));
  border-color: var(--rose-deep);
}
.verdict[data-status="ok"] {
  background: linear-gradient(180deg, rgba(107,130,100,0.14), rgba(107,130,100,0.04));
  border-color: var(--sage-deep);
}
.verdict[data-status="warn"] {
  background: linear-gradient(180deg, rgba(232,149,72,0.14), rgba(232,149,72,0.04));
  border-color: #B96E2C;
}
.verdict__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.verdict__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.verdict[data-status="alarm"] .verdict__title { color: var(--rose-deep); }
.verdict[data-status="ok"] .verdict__title { color: var(--sage-deep); }

.verdict__readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 16px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.readout__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.readout__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.readout__val--rose { color: var(--rose-deep); }
.readout__val--sage { color: var(--sage-deep); }

.verdict__explain {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.verdict__explain strong { color: var(--ink); }

.verdict__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
  margin-top: 8px;
}
.verdict__actions a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 9px 14px;
  background: var(--paper);
  color: var(--ink);
}
.verdict__actions a:hover { background: var(--ink); color: var(--paper); }

.verdict__cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}

/* ─── Letter ─────────────────────────────────────────────── */
.letter__preview {
  max-width: 920px;
  margin: 36px auto 0;
}
.letter__paper {
  background: #FBF7EE;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: 6px 6px 0 var(--ink);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  position: relative;
  overflow: hidden;
}
.letter__paper::before {
  content: "DRAFT";
  position: absolute;
  top: 18px; right: -28px;
  transform: rotate(28deg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: rgba(216,90,74,0.10);
  letter-spacing: 0.1em;
  pointer-events: none;
}
.letter__paper pre { margin: 0; font: inherit; color: var(--ink); white-space: pre-wrap; }
.letter__actions {
  display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap;
}
.letter__disclaimer {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 22px;
  max-width: 70ch;
}

/* ─── Law ────────────────────────────────────────────────── */
.law {
  padding: 80px 0 60px;
  border-top: 1px solid var(--rule);
}
.law-grid {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.law-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--paper-2);
}
.law-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.law-card p { font-size: 16px; line-height: 1.55; margin: 0 0 14px; color: var(--ink-2); }
.law-card strong { color: var(--ink); }
.law-card__cites {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.law-card__cites li { padding: 4px 0; }
.law-card--accent {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.law-card--accent h3 { color: var(--paper); }
.law-card--accent p { color: var(--paper-3); }
.law-card--accent strong { color: var(--rose); }
.law-card--accent em { color: var(--rose); font-style: italic; }

@media (max-width: 720px) { .law-grid { grid-template-columns: 1fr; } }

/* ─── Help ───────────────────────────────────────────────── */
.help {
  padding: 60px 0;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(107,130,100,0.06), transparent);
}
.help-list {
  list-style: none;
  padding: 0 var(--gutter);
  margin: 0 auto;
  max-width: var(--w-max);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.help-list li {
  border-left: 3px solid var(--sage);
  padding: 4px 0 4px 18px;
}
.help-list h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.help-list p { margin: 0 0 6px; font-size: 14.5px; color: var(--ink-2); }
.help-list a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--sage-deep);
  border-bottom: 1px solid var(--sage-deep);
}
@media (max-width: 720px) { .help-list { grid-template-columns: 1fr; } }

/* ─── Sources ────────────────────────────────────────────── */
.sources {
  padding: 80px 0 80px;
  border-top: 1px solid var(--rule);
}
.sources-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.sources-list li { padding: 10px 0; border-top: 1px dashed var(--rule); }
.sources-list li:first-child { border-top: 1px solid var(--ink); padding-top: 16px; }
.sources-list strong { color: var(--ink); }

/* ─── Footer ─────────────────────────────────────────────── */
.foot {
  background: var(--ink);
  color: var(--paper-2);
  padding: 60px var(--gutter) 40px;
}
.foot__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 32px;
}
.foot__brand { display: flex; gap: 14px; align-items: flex-start; color: var(--paper-2); }
.foot__brand .brand__seal { color: var(--paper); flex-shrink: 0; }
.foot__brand p { margin: 0; font-size: 14.5px; line-height: 1.5; max-width: 28ch; }
.foot__brand a { color: var(--rose); }
.foot__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 10px;
  font-weight: 600;
}
.foot__col p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--paper-3); }
.foot__col a { color: var(--rose); }
@media (max-width: 880px) {
  .foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot__inner { grid-template-columns: 1fr; }
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1), transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* hero load-in */
.hero__copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.46s; }

.hero__panel {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s 0.55s cubic-bezier(0.2,0.8,0.2,1) forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* print: clean letter only */
@media print {
  body * { visibility: hidden; }
  .letter__paper, .letter__paper * { visibility: visible; }
  .letter__paper { position: absolute; inset: 0; box-shadow: none; border: none; padding: 1in; }
  .letter__paper::before { display: none; }
}
