/* Cold Harbor landing page, version 3: direction A, "After hours".
   Ported from the Claude Design canvas (direction-a.dc.html and frames.dc.html, 2026-11-30).
   Tokens follow Code/store/DESIGN.md sections 2.1, 2.4 and 1A, so the store can take this page over. */

@font-face {
  font-family: "Marcellus";
  src: url("/fonts/marcellus-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: optional;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: optional;
}
@font-face {
  font-family: "Figures";
  src: url("/fonts/public-sans-figures-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: optional;
  unicode-range: U+0030-0039;
}

@property --lamp-k { syntax: "<number>"; inherits: false; initial-value: 1; }

:root {
  color-scheme: dark;
  --color-wall: #171512;
  --color-wall-raised: #211e1a;
  --color-bone: #ece6da;
  --color-bone-lit: #f6f2ea;
  --color-bone-pressed: #ded7c9;
  --color-bone-muted: #a9a194;
  --color-pewter: #8c857a;
  --color-hairline: #38332d;
  --color-lamp: #fff1da;
  --color-brass: #82734f;

  --color-limestone: #e0d9cc;
  --color-limestone-lit: #eae4d8;
  --color-limestone-ink: #171512;
  --color-limestone-muted: #554e45;
  --color-limestone-rule: #736b5f;
  --color-limestone-hairline: #c9c1b1;

  --font-display: "Figures", "Marcellus", serif;
  --font-sans: "Public Sans", system-ui, sans-serif;

  --text-hero: clamp(2.25rem, 1.35rem + 3.7vw, 4.75rem);
  --text-display-l: clamp(1.875rem, 1.567rem + 1.315vw, 2.75rem);
  --text-display-m: clamp(1.375rem, 1.243rem + 0.563vw, 1.75rem);
  --text-lede: clamp(1.1875rem, 1.1215rem + 0.282vw, 1.375rem);
  --text-body: clamp(1.0625rem, 1.0375rem + 0.1vw, 1.125rem);
  --text-title: 1.0625rem;
  --text-ui: 1rem;
  --text-small: 0.9375rem;
  --text-micro: 0.875rem;
  --text-wordmark: 1.375rem;
  --text-numeral: clamp(3rem, 2.5rem + 2.2vw, 4.5rem);
  --text-figure: clamp(1.25rem, 1.125rem + 0.5vw, 1.625rem);
  --text-price: clamp(3rem, 2.25rem + 3vw, 4.5rem);

  --space-gutter: clamp(1.25rem, 0.625rem + 2.6vw, 3rem);
  --space-section: clamp(4rem, 2.9375rem + 4.5vw, 7rem);
  --space-head: clamp(2rem, 1.75rem + 1vw, 3rem);
  --space-col: clamp(3rem, 6vw, 6rem);
  --container: 76rem;
  --radius: 2px;
  --header-h: 4rem;

  --lamp: rgb(255 241 218 / 0.11);
  --shadow-piece: 0 24px 36px -12px rgb(0 0 0 / 0.8), 0 4px 8px rgb(0 0 0 / 0.5);
  --dur-ui: 160ms;
  --ease-ui: cubic-bezier(0.2, 0, 0, 1);
  --ease-lamp: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (width >= 64rem) { :root { --header-h: 5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-wall); color: var(--color-bone); font-family: var(--font-sans);
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
       -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--color-wall); font-size: var(--text-body); line-height: 1.6; overflow-x: clip; }
main { overflow-x: clip; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; font-synthesis: none; margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
p, li { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea, summary { font: inherit; color: inherit; }
[id] { scroll-margin-top: 1rem; }

a { color: var(--color-bone); text-decoration-line: underline; text-decoration-color: var(--color-pewter);
    text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
a:hover { text-decoration-color: var(--color-bone); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--color-bone); outline-offset: 2px; box-shadow: 0 0 0 2px var(--color-wall); }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--space-gutter)); margin-inline: auto; padding-inline: var(--space-gutter); }
.nw { white-space: nowrap; }

.skip { position: absolute; left: var(--space-gutter); top: -4rem; z-index: 50; padding: 0.75rem 1rem;
        background: var(--color-bone); color: var(--color-wall); font-weight: 600; text-decoration: none; }
.skip:focus { top: 0.5rem; }

/* Film grain (DESIGN.md 1A.2): one fixed layer over the page. */
body::after { content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none;
              background: url("/assets/grain.png") 0 0 / 128px 128px; contain: strict; }
@media print { body::after { content: none; } }
@media (forced-colors: active) { body::after { content: none; } }
@media (prefers-contrast: more) { body::after { content: none; } }

/* Header */
.top { border-bottom: 1px solid var(--color-hairline); }
.top__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: "Marcellus", serif; font-size: var(--text-wordmark); line-height: 1; letter-spacing: 0.02em;
            color: var(--color-bone); text-decoration: none; }
a.wordmark { display: inline-flex; align-items: center; min-height: 44px; }

/* Buttons and stand-alone links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem;
       border: 0; border-radius: var(--radius); background: var(--color-bone); color: var(--color-wall);
       font-size: var(--text-ui); font-weight: 500; line-height: 1.25; text-decoration: none; text-align: center;
       cursor: pointer; transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.btn:hover { background: var(--color-bone-lit); }
.btn:active { background: var(--color-bone-pressed); }
.btn--secondary { background: transparent; color: var(--color-bone); border: 1px solid var(--color-pewter); }
.btn--secondary:hover { background: rgb(236 230 218 / 0.06); border-color: var(--color-bone); }
.btn--secondary:active { background: rgb(236 230 218 / 0.1); }
.btn--header { min-height: 44px; padding: 0 1rem; font-size: var(--text-small); }
.link-cta { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-ui); text-underline-offset: 6px; }

/* Hero window (DESIGN.md 6.6, the veil) */
.hero__window { position: relative; height: clamp(300px, 48vw, 620px); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 24% 30%; }
.hero__veil { position: absolute; inset: auto 0 0; height: 75%;
              background: linear-gradient(to top, var(--color-wall) 6%, rgb(23 21 18 / 0.82) 42%, rgb(23 21 18 / 0)); }
.hero__foot { position: absolute; inset: auto 0 0; padding-bottom: clamp(20px, 3vw, 40px); }
.hero h1 { font-size: var(--text-hero); line-height: 1.06; letter-spacing: -0.005em; max-width: 14ch;
           text-shadow: 0 1px 2px rgb(23 21 18 / 0.7), 0 0 18px rgb(23 21 18 / 0.75), 0 0 40px rgb(23 21 18 / 0.6); }
.hero__wall { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: flex-end; justify-content: space-between; padding-top: 1.5rem; }
.hero__text { flex: 1 1 420px; max-width: 34rem; }
.lede { font-size: var(--text-lede); line-height: 1.5; color: var(--color-bone-muted); max-width: 34rem; }
.lede--after-h2 { margin-top: 1rem; }
.lede--bone { color: var(--color-bone); }
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }

.facts { flex: 1 1 360px; max-width: 34rem; display: grid; grid-template-columns: auto auto auto;
         border-top: 1px solid var(--color-hairline); }
.facts > div { padding: 1rem 0.75rem 0; }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { padding-right: 0; }
.facts > div + div { border-left: 1px solid var(--color-hairline); }
.facts dt { font-size: var(--text-micro); color: var(--color-bone-muted); }
.facts dd { margin-top: 2px; font-family: var(--font-sans); font-size: var(--text-figure); font-weight: 500; line-height: 1.3;
            font-variant-numeric: tabular-nums; }

/* Sections */
.section { margin-top: var(--space-section); }
.section h2, .band h2 { font-size: var(--text-display-l); line-height: 1.15; }
.brass-divider { height: 1px; margin-bottom: clamp(3rem, 2.5rem + 2vw, 4rem);
                 background: linear-gradient(to right, rgb(130 115 79 / 0), var(--color-brass) 12%, var(--color-brass) 88%, rgb(130 115 79 / 0)); }
.caption { margin-top: 0.5rem; font-size: var(--text-small); line-height: 1.5; color: var(--color-bone-muted); }

/* Five ways to frame it: the swipe row (owner direction 2026-11-30) */
.frames { --row-pad: max(var(--space-gutter), calc((100% - var(--container)) / 2));
          list-style: none; margin: 0.5rem 0 0; display: flex; gap: clamp(32px, 4vw, 64px);
          overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
          padding: 56px var(--row-pad) 32px; scroll-padding-inline: var(--row-pad);
          scrollbar-width: thin; scrollbar-color: var(--color-pewter) transparent;
          view-timeline: --row block; }
.frames:focus-visible { outline-offset: -2px; box-shadow: none; }
.frames::-webkit-scrollbar { height: 6px; }
.frames::-webkit-scrollbar-track { background: transparent; }
.frames::-webkit-scrollbar-thumb { background: var(--color-pewter); border-radius: 3px; }
.frame { flex: 0 0 clamp(264px, 74vw, 400px); scroll-snap-align: start; position: relative; }
.frame__lamp { position: absolute; left: -30%; right: -30%; top: -18%; height: 110%; pointer-events: none;
               background: radial-gradient(ellipse 50% 48% at 50% 42%, var(--lamp), rgb(255 241 218 / 0) 72%); }
.frame__box { position: relative; aspect-ratio: 1 / 0.86; display: flex; align-items: center; }
.frame__box::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--color-wall); opacity: 0; }
.frame__box > * { width: 100%; }

.panel { position: relative; aspect-ratio: 14 / 11; background: linear-gradient(165deg, #ece6da, #e0dace 60%, #cfc8bb); }
.panel img, .fr-engraved__inner img { display: block; width: 100%; height: 100%; }

/* 1. Classic: mahogany, rope liner, black velvet */
.fr-classic { padding: 3.6%; background: linear-gradient(155deg, #7a3322, #4a170d 45%, #2c0c06);
              box-shadow: var(--shadow-piece), inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 0 0 1px rgb(0 0 0 / 0.35); }
.fr-classic__rope { padding: 1.4%; background: repeating-linear-gradient(135deg, #0f0d0c 0 2px, #2e2723 2px 4px, #0f0d0c 4px 6px);
                    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.5); }
.fr-classic__velvet { padding: 4.6%; background: radial-gradient(ellipse 80% 70% at 35% 25%, #252322, #0b0a0a 70%); }
.panel--classic { box-shadow: 0 1px 3px rgb(0 0 0 / 0.7); }

/* 2. Walnut: walnut frame, brass fillet, linen mat */
.fr-walnut { padding: 3%; background: linear-gradient(160deg, #4d3d31, #2e241d 55%, #1f1813);
             box-shadow: var(--shadow-piece), inset 0 1px 0 rgb(255 255 255 / 0.1); }
.fr-walnut__fillet { padding: 0.7%; background: linear-gradient(160deg, #b8a26b, #6f5f3a); }
.fr-walnut__linen { padding: 6%;
  background: repeating-linear-gradient(0deg, rgb(80 64 40 / 0.05) 0 1px, rgb(0 0 0 / 0) 1px 3px),
              repeating-linear-gradient(90deg, rgb(80 64 40 / 0.04) 0 1px, rgb(0 0 0 / 0) 1px 3px), #e8e1d2; }
.panel--walnut { box-shadow: 0 0 0 3px #f4efe6, 0 0 0 4px rgb(90 70 45 / 0.3); }

/* 3. Board: walnut board, brass rosettes */
.fr-board { padding: 6%; border-radius: 3px; background: linear-gradient(160deg, #5a4632, #33271d 55%, #221a14);
            box-shadow: var(--shadow-piece), inset 0 0 0 3px rgb(255 255 255 / 0.06), inset 0 0 0 6px rgb(0 0 0 / 0.3), inset 0 0 0 8px rgb(255 255 255 / 0.05); }
.panel--board { box-shadow: 0 8px 12px -4px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.55); }
.rosette { position: absolute; width: 2.4%; aspect-ratio: 1; border-radius: 50%;
           background: radial-gradient(circle at 35% 30%, #e8d49c, #86703c 70%); box-shadow: 0 1px 1px rgb(0 0 0 / 0.5); }
.rosette--tl { top: 3%; left: 2.4%; }
.rosette--tr { top: 3%; right: 2.4%; }
.rosette--bl { bottom: 3%; left: 2.4%; }
.rosette--br { bottom: 3%; right: 2.4%; }

/* 4. Engraved border: slim black frame, double rule and guilloche band cut into the stone */
.fr-engraved { padding: 1.8%; background: linear-gradient(160deg, #2c2926, #0d0c0b);
               box-shadow: var(--shadow-piece), inset 0 1px 0 rgb(255 255 255 / 0.14); }
.panel--engraved { padding: 3.2%; }
.fr-engraved__band { position: relative; height: 100%; padding: 1.3%; border: 2px solid #4a4038;
  background: repeating-linear-gradient(60deg, rgb(74 64 56 / 0.4) 0 1px, rgb(0 0 0 / 0) 1px 4px),
              repeating-linear-gradient(-60deg, rgb(74 64 56 / 0.4) 0 1px, rgb(0 0 0 / 0) 1px 4px); }
.fr-engraved__inner { height: 100%; border: 1px solid #4a4038; background: #e6e0d4; }
.diamond { position: absolute; width: 8px; height: 8px; background: #4a4038; transform: rotate(45deg); }
.diamond--tl { top: -5px; left: -5px; }
.diamond--tr { top: -5px; right: -5px; }
.diamond--bl { bottom: -5px; left: -5px; }
.diamond--br { bottom: -5px; right: -5px; }

/* 5. Shadow box: deep walnut box, the panel floating on linen */
.fr-shadow { padding: 3.2%; background: linear-gradient(160deg, #43342a, #221912 60%, #160f0b);
             box-shadow: var(--shadow-piece), inset 0 1px 0 rgb(255 255 255 / 0.08); }
.fr-shadow__linen { padding: 7%;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.03) 0 1px, rgb(0 0 0 / 0) 1px 3px),
              repeating-linear-gradient(90deg, rgb(0 0 0 / 0.1) 0 1px, rgb(0 0 0 / 0) 1px 3px), #2b2926;
  box-shadow: inset 0 10px 22px rgb(0 0 0 / 0.75), inset 0 0 0 1px rgb(0 0 0 / 0.6); }
.panel--shadow { box-shadow: 0 14px 20px -6px rgb(0 0 0 / 0.75), 0 3px 6px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.5); }

/* A mockup photo hung in place of a CSS frame (see README, "Swap in a mockup") */
.frame__photo { display: block; width: 100%; height: auto; box-shadow: var(--shadow-piece); }

/* Museum label (DESIGN.md 6.10) */
.label { position: relative; margin-top: 28px; }
.label::before { content: ""; display: block; width: 24px; height: 1px; background: var(--color-pewter); }
.label__name { margin-top: 12px; font-weight: 600; font-size: var(--text-title); }
.label__name + .label__meta { margin-top: 2px; }
.label__meta { font-size: var(--text-small); line-height: 1.5; color: var(--color-bone-muted); }

/* What we promise */
.promises { list-style: none; padding: 0; margin-top: var(--space-head); display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 48px; }
.promises li::before { content: ""; display: block; height: 1px;
                       background: linear-gradient(to right, var(--color-brass) 0 40px, var(--color-hairline) 40px); }
.promises h3 { margin-top: 20px; font-size: var(--text-display-m); line-height: 1.2; letter-spacing: 0.005em; }
.promises p { margin-top: 10px; color: var(--color-bone-muted); max-width: 30rem; }

/* Every face, from your photos */
.stipple { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 2rem var(--space-col); align-items: center; }
.stipple__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.stipple__fig .caption { margin-top: 12px; }
.specs { list-style: none; padding: 0; margin-top: 1.5rem; border-top: 1px solid var(--color-hairline); }
.specs li { padding: 14px 0; border-bottom: 1px solid var(--color-hairline); }

/* How it works (DESIGN.md 1A.9) */
.steps { list-style: none; padding: 0; margin-top: var(--space-head); display: grid;
         grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.steps__num { display: block; font-family: "Marcellus", serif; font-size: var(--text-numeral); line-height: 1; letter-spacing: 0.02em; color: var(--color-pewter); }
.steps h3 { font-family: var(--font-sans); font-size: var(--text-title); font-weight: 600; line-height: 1.35; }
.steps h3::before { content: ""; display: block; height: 1px; margin: 20px 0 16px;
                    background: linear-gradient(to right, var(--color-brass) 0 40px, var(--color-hairline) 40px); }
.steps p { margin-top: 8px; color: var(--color-bone-muted); }
.promise-line { margin-top: 48px; font-family: var(--font-display); font-size: var(--text-display-m); line-height: 1.2; }

/* Price, on the limestone panel (DESIGN.md 1A.8) */
.limestone { color-scheme: light; color: var(--color-limestone-ink); border-radius: var(--radius);
             background: radial-gradient(ellipse 80% 70% at 18% 0%, var(--color-limestone-lit), var(--color-limestone) 70%);
             padding: clamp(32px, 24px + 3vw, 64px) clamp(20px, 10px + 4vw, 64px);
             display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 2rem var(--space-col); align-items: center; }
.limestone a { color: var(--color-limestone-ink); text-decoration-color: var(--color-limestone-rule); text-underline-offset: 4px; }
.limestone a:hover { text-decoration-color: var(--color-limestone-ink); }
.limestone :focus-visible { outline-color: var(--color-limestone-ink); box-shadow: 0 0 0 2px var(--color-limestone); }
.limestone__line { margin-top: 1rem; max-width: 30rem; color: var(--color-limestone-muted); }
.limestone__ship { margin-top: 1rem; font-size: var(--text-small); line-height: 1.5; color: var(--color-limestone-muted); }

.no-js .slider { display: none; }   /* the html class is set before first paint, so neither swap shifts the layout */
.js .price-table { display: none; }
.slider__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; font-size: var(--text-title); }
.slider__count { font-size: 1.75rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.2; }
.slider input[type="range"] { display: block; width: 100%; height: 44px; margin: 8px 0 0; accent-color: var(--color-limestone-ink); cursor: pointer; }
.slider input[type="range"]:focus-visible { outline-offset: 2px; }
.slider__ends { display: flex; justify-content: space-between; font-size: var(--text-micro); color: var(--color-limestone-muted); font-variant-numeric: tabular-nums; }
.slider__price { margin-top: 20px; font-size: var(--text-price); line-height: 1; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.slider__unit { font-size: 1.25rem; font-weight: 400; letter-spacing: 0; color: var(--color-limestone-muted); }

.price-table { border-collapse: collapse; width: 100%; max-width: 20rem; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; caption-side: top; margin-bottom: 0.5rem; font-size: var(--text-small); color: var(--color-limestone-muted); }
.price-table th, .price-table td { text-align: left; padding: 0.375rem 0; border-bottom: 1px solid var(--color-limestone-hairline); }
.price-table th { font-weight: 600; }

/* Questions */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 1.5rem var(--space-col); align-items: start; }
.faq__list { border-bottom: 1px solid var(--color-hairline); }
.faq details { border-top: 1px solid var(--color-hairline); }
.faq summary { min-height: 44px; padding: 18px 4px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.faq summary::marker { color: var(--color-pewter); }
.faq summary:focus-visible { outline-offset: -2px; box-shadow: none; }
.faq details p { margin-bottom: 20px; color: var(--color-bone-muted); }

/* Start: the band with a room light */
.band { margin-top: var(--space-section); padding-block: var(--space-section); border-top: 1px solid var(--color-hairline);
        background: radial-gradient(ellipse 70% 60% at 18% 0%, rgb(255 241 218 / 0.08), rgb(255 241 218 / 0) 70%), var(--color-wall); }
.band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px var(--space-col); align-items: start; }
.band .lede { max-width: 30rem; }
.band__email { margin-top: 1.5rem; color: var(--color-bone-muted); }
.band__email a { text-underline-offset: 5px; }

.email-path { border-top: 1px solid var(--color-hairline); padding-top: 1.25rem; }
.email-path__title { font-weight: 600; }
.checklist { margin-top: 0.75rem; padding-left: 1.25rem; color: var(--color-bone-muted); }
.checklist li + li { margin-top: 0.375rem; }
.checklist li::marker { color: var(--color-pewter); }
.email-path__cta { margin-top: 1.75rem; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--text-small); font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 0 14px; background: var(--color-wall-raised);
  border: 1px solid var(--color-pewter); border-radius: var(--radius); color: var(--color-bone); font-size: 1rem; font-weight: 400; }
.form select { padding: 0 10px; }
.form textarea { padding: 12px 14px; resize: vertical; }
.form input:user-invalid, .form textarea:user-invalid { border-color: var(--color-bone); border-width: 2px; }
.btn--send { padding: 0 2rem; }
.hp { display: none; }

/* Footer */
.foot { background: var(--color-wall-raised); border-top: 1px solid var(--color-hairline); }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem 3rem; align-items: start; padding-block: 3rem; }
.foot__small { margin-top: 0.5rem; font-size: var(--text-small); line-height: 1.5; color: var(--color-bone-muted); }
.foot__small a { text-underline-offset: 4px; }
.foot__pledge { list-style: none; padding: 0; font-size: var(--text-small); line-height: 1.5; color: var(--color-bone-muted); }
.foot__pledge li + li { margin-top: 0.25rem; }
.foot__note { margin-top: 0; max-width: 30rem; }

/* Thanks and 404 */
.plain { padding-block: var(--space-section); }
.plain h1 { font-size: var(--text-display-l); line-height: 1.15; max-width: 20ch; }
.plain p { margin-top: 1rem; max-width: 34rem; color: var(--color-bone-muted); }
.plain .cta-group { margin-top: 2rem; }

/* Motion: CSS only, on the scroll timeline (DESIGN.md 1.2 lamp-on, 1A.4 reveal). Without support, nothing is hidden. */
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 10rem; animation-timing-function: var(--ease-ui); }
    .frame__lamp { animation: lamp-on linear both; animation-timeline: --row; animation-range: entry 10% cover 40%; animation-timing-function: var(--ease-lamp); }
    .frame__box::after { animation: undim linear both; animation-timeline: --row; animation-range: entry 10% cover 40%; animation-timing-function: var(--ease-lamp); }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 0.5rem; } to { opacity: 1; translate: 0 0; } }
@keyframes lamp-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes undim { from { opacity: 0.3; } to { opacity: 0; } }

@media (forced-colors: active) {
  .frame__lamp, .frame__box::after, .brass-divider { display: none; }
}
@media print {
  .limestone { background: #fff; color: #000; }
  .frame__lamp { display: none; }
}
