/* ==================================================================
   Leya Petrovani Miller: personal site
   Brand system 2026-11-02, site redesign 2026-11-03.
   Fonts: Fraunces (display, SOFT 100, the stand-in for Instagram's
   Poster), DM Sans (body and UI, the stand-in for Classic), Space Mono
   (small labels). Self-hosted latin subsets; no third-party requests.
   Color: butter yellow is the signature. Yellow never carries text on
   cream: it is a FILL with ink on it (13:1), like the Reel header box.
   No em dashes anywhere on the site.
   ================================================================== */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-var-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-var-italic-latin.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dmsans-var-latin.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dmsans-var-italic-latin.woff2') format('woff2'); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('fonts/spacemono-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #FEFBEF;
  --ink: #1E1B18;
  --warm-100: #F4F1E6;
  --warm-200: #E9E4D6;
  --warm-300: #D7D0BE;
  --warm-500: #5F5B52;
  --warm-600: #67635A;
  --warm-700: #46433C;

  --highlight: #EFE29C;
  --highlight-press: #E8D883;
  --butter: #F3E7B3;
  --mulberry: #6E4352;

  --text-secondary: var(--warm-600);
  --text-muted: var(--warm-500);
  --border: var(--warm-200);
  --border-strong: var(--warm-300);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(30, 27, 24, 0.05);
  --shadow-md: 0 4px 16px -6px rgba(30, 27, 24, 0.12);

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--highlight);
    text-decoration-thickness: 0.4em; text-underline-offset: -0.22em; text-decoration-skip-ink: none;
    transition: color var(--dur-fast) var(--ease-soft); }
a:hover { color: var(--mulberry); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100;
             text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
img { max-width: 100%; }
::selection { background: var(--highlight); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

/* The big-type move: heavy Fraunces with one light italic phrase. */
.it { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
/* Yellow box that sits low, so it never covers the descenders of the line above. */
.mark { padding: 0 0.12em; margin: 0 -0.06em;
        background: linear-gradient(to bottom, transparent 0.22em, var(--highlight) 0.22em);
        box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.wrap { max-width: 1120px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }
.section { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.section-butter { background: var(--butter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-secondary); line-height: 1; margin: 0;
}
.eyebrow .rule { width: 2rem; height: 3px; background: var(--highlight); }
.section-butter .eyebrow { color: var(--mulberry); }
.section-butter .eyebrow .rule { background: var(--ink); }

.h-section { font-size: clamp(2.2rem, 5.4vw, 64px); line-height: 1.04; margin: 14px 0 20px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--text-secondary); max-width: 46ch; }

/* ---------- buttons: pills, no outline ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.01em; line-height: 1;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.6rem 1rem; font-size: 13px; }
.btn-md { padding: 0.75rem 1.35rem; font-size: 15px; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 17px; }
.btn-primary { background: var(--highlight); color: var(--ink); }
.btn-primary:hover { background: var(--highlight-press); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #3A3530; color: var(--paper); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.text-link { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: inset 0 -0.4em 0 var(--highlight); }
.text-link:hover { color: var(--mulberry); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  display: flex; align-items: center; gap: 9px; white-space: nowrap; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100;
  font-size: 20px; letter-spacing: -0.01em; color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wordmark .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--highlight); box-shadow: inset 0 0 0 1.5px var(--ink); flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--text-secondary); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -0.35em 0 var(--highlight); }

/* ---------- home hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(48px, 6vw, 80px); }
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 56px); align-items: center;
}
.hello { font-family: var(--font-display); font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1;
         font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 108px); line-height: 0.98; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 24px; }
.hero .lede { margin: 0 0 30px; max-width: 40ch; }
.hero .lede:has(+ .lede) { margin-bottom: 14px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero figure { margin: 0; }
.hero .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero img { display: block; width: 100%; height: clamp(360px, 44vw, 540px); object-fit: cover; object-position: 50% 30%; }

/* ---------- statement (big centered type) ---------- */
.statement { text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 5.6vw, 72px); line-height: 1.04; max-width: 15ch; margin: 18px auto 28px; }
.statement p { font-size: clamp(17px, 1.8vw, 19px); max-width: 58ch; margin: 0 auto 1em; color: var(--warm-700); }

/* ---------- beliefs ---------- */
.belief {
  display: grid; grid-template-columns: 56px 1fr; gap: 28px;
  padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.belief:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.belief .num { font-family: var(--font-mono); font-size: 15px; color: var(--mulberry); padding-top: 8px; }
.belief .claim { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100;
                 font-size: clamp(1.45rem, 3.2vw, 32px); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 10px; }
.belief p { margin: 0; color: var(--warm-700); max-width: 62ch; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 26px 26px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.card h3 { font-size: 24px; line-height: 1.15; margin: 0 0 10px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 14px; }
.card .more { margin-top: auto; }
.section-foot { margin-top: 32px; }

/* ---------- guides library ---------- */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide {
  position: relative; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.guide .cover { background: var(--butter); padding: 28px 24px 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; }
.guide .cover .kicker { color: var(--mulberry); }
.guide .cover h3 { font-size: 26px; line-height: 1.08; font-weight: 900; }
.guide .body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.guide .body p { font-size: 15.5px; color: var(--text-secondary); margin: 0 0 16px; }
.guide .status { margin-top: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.guide .status a { text-decoration: none; box-shadow: inset 0 -0.45em 0 var(--highlight); font-weight: 400; }
.guide-wide { grid-column: span 2; }
/* Exactly two guides: two equal columns, no empty third slot. */
@media (min-width: 621px) { .guides:has(> .guide:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }
/* While there is one guide, it runs full width: cover left, details right. */
.guide:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.guide:only-child .cover { min-height: 240px; padding: 36px 34px; }
.guide:only-child .cover h3 { font-size: clamp(30px, 4vw, 48px); }
.guide:only-child .body { padding: 34px; justify-content: center; }
.guide:only-child .body p { font-size: 17px; }
@media (max-width: 620px) { .guide:only-child { grid-template-columns: 1fr; } .guide:only-child .cover { min-height: 170px; } }

/* ---------- system map ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(32px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 104px); line-height: 0.98; font-weight: 900; letter-spacing: -0.03em; margin: 18px 0 24px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; background: var(--highlight); color: var(--ink); }
.chip-quiet { background: var(--warm-100); color: var(--text-secondary); }

.layers { position: relative; display: flex; flex-direction: column; gap: 0; }
.layer {
  position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 32px;
  padding: 34px 0; border-top: 1px solid var(--border-strong);
}
.layer:last-child { border-bottom: 1px solid var(--border-strong); }
.layer .label .n { font-family: var(--font-mono); font-size: 13px; color: var(--mulberry); display: block; margin-bottom: 8px; }
.layer .label h2 { font-size: clamp(1.6rem, 3vw, 34px); line-height: 1.05; }
.layer .content > p { color: var(--warm-700); max-width: 60ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; padding: 0; list-style: none; }
.pills li { background: #fff; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 15px; font-size: 15px; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 6px; padding: 0; list-style: none; }
.roles li { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 14px 16px; font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.roles li strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 18px; margin-bottom: 2px; }
.roles li.lead { grid-column: 1 / -1; background: var(--highlight); border-color: var(--highlight); color: var(--warm-700); }
.recs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.recs li { background: var(--butter); border-radius: var(--radius-md); padding: 16px 18px; font-family: var(--font-display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 17px; line-height: 1.4; color: var(--ink); }
@media (max-width: 620px) { .recs { grid-template-columns: 1fr; } }
.rules { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: r; }
.rules li { position: relative; padding: 14px 0 14px 46px; border-top: 1px dashed var(--border-strong); color: var(--warm-700); }
.rules li:first-child { border-top: 0; }
.rules li::before { counter-increment: r; content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--font-mono); font-size: 13px; color: var(--mulberry); }
.rules li strong { color: var(--ink); }
.loop { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); margin-top: 8px; }
.loop h2 { font-size: clamp(1.8rem, 3.6vw, 42px); line-height: 1.05; margin: 12px 0 14px; }
.loop h2 .mark { color: var(--ink); }
.loop p { color: color-mix(in srgb, var(--paper) 84%, transparent); max-width: 62ch; margin: 0; }
.loop .eyebrow { color: var(--highlight); }

/* ---------- the real artifact ---------- */
.artifact { margin: 0; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.artifact .bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.85rem; border-bottom: 1px solid var(--border); background: var(--warm-100);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.artifact .dots { display: inline-flex; gap: 0.3rem; flex: none; }
.artifact .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--warm-300); }
.artifact .body { background: var(--warm-100); padding: 22px 24px; font-family: var(--font-mono); font-size: 13.5px; line-height: 2; color: var(--text-secondary); }
.artifact .body .lead { color: var(--ink); }
.artifact .body .link { color: var(--ink); background: var(--highlight); padding: 0 0.2em; }
.artifact .body .faded { color: var(--text-muted); }
.artifact figcaption { padding: 0.75rem 0.95rem; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.45; color: var(--text-secondary); }

/* ---------- ladder (where I started) ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.ladder li { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 18px 18px 20px; }
.ladder li .step { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mulberry); }
.ladder li strong { display: block; font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 20px; line-height: 1.15; margin: 8px 0 6px; }
.ladder li span.d { font-size: 15px; color: var(--text-secondary); line-height: 1.5; display: block; }
.ladder li:last-child { background: var(--highlight); border-color: var(--highlight); }
.ladder li:last-child span.d { color: var(--warm-700); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid figure { margin: 0; position: sticky; top: 96px; }
.about-grid .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--warm-700); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 34px); margin: 40px 0 14px; }
.prose .pull { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(1.5rem, 3vw, 32px); line-height: 1.18; color: var(--ink); margin: 32px 0; }

/* ---------- signup ---------- */
.signup { scroll-margin-top: 72px; padding: clamp(56px, 7vw, 96px) var(--gutter); background: var(--butter); }
.signup-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.signup .eyebrow { color: var(--mulberry); }
.signup h2 { font-size: clamp(2.2rem, 5vw, 56px); line-height: 1.04; margin: 14px 0 16px; }
.signup h2 .mark { background: linear-gradient(to bottom, transparent 0.22em, var(--paper) 0.22em); }
.signup .promise { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--warm-700); }
.subscribe { width: 100%; text-align: left; }
.subscribe .row { display: flex; gap: 0.6rem; align-items: stretch; }
.subscribe label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.subscribe input[type="email"] {
  flex: 1; min-width: 0; padding: 0.8rem 1.15rem;
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid transparent; border-radius: 999px; outline: none;
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.subscribe input[type="email"]::placeholder { color: var(--text-muted); }
.subscribe input[type="email"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.subscribe .note { margin: 0.7rem 0 0; font-size: 14px; line-height: 1.5; color: var(--warm-700); }
.subscribe .error-note { display: none; margin: 0.6rem 0 0; font-size: 14px; font-weight: 600; color: var(--mulberry); }
.done { padding: 1rem 1.5rem; background: var(--paper); border-radius: var(--radius-md); font-size: 15px; color: var(--ink); text-align: left; }
.done strong { font-family: var(--font-display); font-weight: 800; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(44px, 5vw, 64px) var(--gutter) 36px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 40px; align-items: start; }
.footer-line { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.01em; line-height: 1.2; }
.footer-line .it { color: var(--highlight); }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links .kicker { color: var(--paper); opacity: 0.5; margin-bottom: 4px; }
.footer-links a { color: var(--paper); opacity: 0.85; text-decoration: none; }
.footer-links a:hover { color: var(--paper); opacity: 1; }
.site-footer :focus-visible { outline-color: var(--highlight); }
.colophon { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 246, 0.15);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: 0.55; }
.colophon .credit { font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards, .guides { grid-template-columns: 1fr 1fr; }
  .ladder { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 40%; }
  .layer { grid-template-columns: 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid figure { position: static; max-width: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-line { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; gap: 18px; font-size: 14px; overflow-x: auto; }
  .nav-links .btn { display: none; }
}
@media (max-width: 620px) {
  .wordmark { font-size: 17px; }
  .cards, .guides, .roles, .ladder { grid-template-columns: 1fr; }
  .guide-wide { grid-column: auto; }
  .belief { grid-template-columns: 1fr; gap: 6px; }
  .belief .num { padding-top: 0; }
  .subscribe .row { flex-direction: column; }
  .subscribe .btn { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero figure, .page-hero .wrap { animation: rise 0.7s var(--ease-soft) both; }
  .hero figure { animation-delay: 0.12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
