/* Inside the Capsule — the Life Support store.
   Look: a flight manual read in the dark. Hardware-placard display type, a book serif for reading,
   mono for data. Black of space, one warm cabin-light accent, Earth blue only in the pictures. */
:root {
  --void: #05070a;
  --hull: #0d1116;
  --panel: #131920;
  --rule: rgba(236, 232, 220, 0.14);
  --rule-strong: rgba(236, 232, 220, 0.32);
  --paper: #ece8dc;
  --dim: #98a1aa;
  --amber: #ffb23e;
  --amber-ink: #1a1204;
  --orange: #ff5b2e;
  --display: 'Saira Extra Condensed', 'Arial Narrow', sans-serif;
  --read: 'Newsreader', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  /* The distance from the window edge to the content column's text: the header and the hero caption sit on it too. */
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
/* Big monitors (2026-11-16, a 2560px screen: a 1320px column of 19px text sat in the middle of an empty window with
   the header pinned to the far corners). The column widens and the type steps up with it. */
@media (min-width: 1800px) { :root { --max: 1560px; } html { font-size: 112.5%; } }
@media (min-width: 2300px) { :root { --max: 1800px; } html { font-size: 131.25%; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--paper);
  font-family: var(--read); font-size: 1.1875rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── type ── */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.86; margin: 0; }
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.label b { color: var(--amber); font-weight: 500; }
h2.section { text-wrap: balance; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: 0.9; margin: 0; }
.lede { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); max-width: 34em; color: #d6d2c6; }

/* ── header ── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--edge); background: linear-gradient(var(--void), rgba(5,7,10,0)); }
.top.solid { background: rgba(5,7,10,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-family: var(--display); font-weight: 800; font-size: 1.625rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand span { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--paper); opacity: 0.82; }
.nav a:hover { opacity: 1; color: var(--amber); }
.nav .hide-s { display: none; }
@media (min-width: 760px) { .nav .hide-s { display: inline; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 17px 20px; border: 1px solid var(--rule-strong); color: var(--paper); background: transparent; transition: background 0.18s, color 0.18s, border-color 0.18s; }
.btn:hover { border-color: var(--paper); }
.btn.buy { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); font-weight: 500; }
.btn.buy:hover { background: #ffc467; border-color: #ffc467; }
.btn.buy .price { font-family: var(--display); font-weight: 800; font-size: 1.625rem; letter-spacing: 0.02em; line-height: 0.8; }
.btn.soon { border-style: dashed; color: var(--dim); cursor: default; }
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(5px); }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: drift 26s ease-out both; }
@keyframes drift { from { transform: scale(1.3) translate(10%, -1%); } to { transform: scale(1.22) translate(8%, 0); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,0.9) 0%, rgba(5,7,10,0.45) 44%, rgba(5,7,10,0) 70%), linear-gradient(0deg, var(--void) 0%, rgba(5,7,10,0) 34%); }
.hero .in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 7vh, 84px); padding-top: 120px; }
.hero h1 { font-size: clamp(3.75rem, 10.4vw, 10.5rem); max-width: 4.9em; }
@media (max-width: 899px) { .hero img.bg { animation: none; transform: none; object-position: 58% 30%; } .hero::after { background: linear-gradient(0deg, var(--void) 8%, rgba(5,7,10,0.7) 46%, rgba(5,7,10,0.1) 78%); } }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { margin: 22px 0 30px; max-width: 24em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* The hero's words are never hidden behind an animation: a paused or background tab must still show them. */
.hero .caption { position: absolute; right: var(--edge); bottom: 22px; z-index: 2; text-align: right; display: none; }
@media (min-width: 900px) { .hero .caption { display: block; } }

/* ── which video ── */
.band { padding: clamp(64px, 10vw, 140px) 0; }
.band + .band { border-top: 1px solid var(--rule); }
.band-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .band-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.wall { display: grid; gap: clamp(12px, 1.6vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .wall { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--hull); border: 1px solid var(--rule); aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.4s; filter: saturate(0.92) brightness(0.86); }
.tile:hover img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,10,0.94) 0%, rgba(5,7,10,0.2) 46%, rgba(5,7,10,0) 62%); }
.tile .placard { position: absolute; top: 0; left: 0; z-index: 2; background: var(--void); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 7px 11px 6px; }
.tile .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 15px; display: grid; gap: 8px; }
.tile h3 { font-family: var(--read); font-weight: 500; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.22; margin: 0; max-width: 26em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile.wide h3 { font-size: clamp(1.1875rem, 1.9vw, 1.75rem); max-width: 22em; }
/* Rows of a fixed height on wide screens (wide + one, then three): placed AFTER the base tile rule so it wins. */
@media (min-width: 1040px) { .wall { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(250px, 25vw, 390px); } .tile { grid-column: span 4; aspect-ratio: auto; } .tile.wide { grid-column: span 8; } }
.tile .go { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--amber); }

/* ── the guide ── */
.guide { display: grid; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .guide { grid-template-columns: 0.8fr 1.2fr; } }
.cover { position: relative; width: min(100%, 30rem); justify-self: center; }
@media (min-width: 900px) { .cover { position: sticky; top: 110px; } }
.cover img { box-shadow: 0 40px 90px -30px rgba(47,143,255,0.38), 0 0 0 1px var(--rule); transform: rotate(-2.2deg); transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.cover:hover img { transform: rotate(0deg) scale(1.015); }
.cover .stamp { position: absolute; right: -14px; bottom: 34px; background: var(--orange); color: #130500; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; transform: rotate(3deg); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 26px 0; width: fit-content; max-width: 100%; }
.facts div { padding: 14px 26px 12px 0; margin-right: 26px; border-right: 1px solid var(--rule); }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: 3.25rem; line-height: 0.85; }
.contents { list-style: none; margin: 30px 0 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.contents a { display: grid; grid-template-columns: 2.2em auto 1fr; align-items: baseline; column-gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contents a:hover .cn { color: var(--amber); }
.contents .no { font-family: var(--mono); font-size: 0.6875rem; color: var(--dim); }
.contents .cn { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.5625rem; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.contents .ct { font-style: italic; color: var(--dim); font-size: 1rem; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .contents a { grid-template-columns: 2.2em 1fr; } .contents .cn { white-space: normal; } .contents .ct { grid-column: 2; text-align: left; white-space: normal; } }

/* ── eight questions ── */
.eight { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule-strong); }
@media (min-width: 760px) { .eight { grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); } }
@media (min-width: 1100px) { .eight { grid-template-columns: repeat(4, 1fr); } }
.eight li { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.eight .no { font-family: var(--display); font-weight: 800; font-size: 4rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--rule-strong); display: block; margin-bottom: 12px; }
.eight li:hover .no { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.eight strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6875rem; line-height: 1; letter-spacing: 0.02em; display: block; }
.eight span.q { font-style: italic; color: var(--dim); font-size: 1.0625rem; }

/* ── facts + faq ── */
.two { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.note h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 2.125rem; line-height: 1; margin: 0 0 10px; letter-spacing: 0.02em; }
.note p { margin: 0 0 26px; color: #d6d2c6; }
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 17px 34px 17px 0; position: relative; font-size: 1.25rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: 12px; font-family: var(--mono); font-size: 1.375rem; color: var(--amber); }
details[open] summary::after { content: '–'; }
details p { margin: 0 0 20px; color: #cfcbbf; max-width: 36em; }

/* ── craft page ── */
.craft-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.craft-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 22s ease-out both; }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.craft-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--void) 2%, rgba(5,7,10,0.5) 40%, rgba(5,7,10,0.15) 70%); }
.craft-hero.plain { min-height: 56svh; background:
  repeating-linear-gradient(90deg, transparent 0 79px, var(--rule) 79px 80px), repeating-linear-gradient(0deg, transparent 0 79px, var(--rule) 79px 80px), var(--hull); }
.craft-hero .in { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: clamp(28px, 5vh, 60px); }
.craft-hero h1 { font-size: clamp(3.625rem, 11vw, 10.5rem); }
.craft-hero .tag { font-style: italic; font-size: clamp(1.375rem, 2.4vw, 2rem); color: #d6d2c6; margin: 14px 0 0; }
.craft { display: grid; gap: clamp(28px, 5vw, 72px); padding-top: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) { .craft { grid-template-columns: 1.15fr 0.85fr; align-items: start; } .buybox { position: sticky; top: 92px; } }
.buybox { background: var(--panel); border: 1px solid var(--rule); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 12px; }
.buybox .btn { width: 100%; }
.buybox .or { text-align: center; margin: 6px 0 2px; }
.buybox p.small { font-size: 0.9375rem; color: var(--dim); margin: 6px 0 0; line-height: 1.45; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.checklist li { display: grid; grid-template-columns: 3em 1fr; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.checklist .no { font-family: var(--mono); font-size: 0.75rem; color: var(--amber); letter-spacing: 0.1em; }
.checklist strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.625rem; line-height: 1; letter-spacing: 0.02em; }
.checklist span { display: block; font-style: italic; color: var(--dim); font-size: 1.0625rem; margin-top: 3px; }
.films { display: grid; gap: 12px; margin-top: 18px; }
.film { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; text-decoration: none; border: 1px solid var(--rule); background: var(--hull); }
.film img { width: 132px; height: 82px; object-fit: cover; }
.film span { font-size: 1rem; line-height: 1.3; padding-right: 12px; }
.film:hover { border-color: var(--rule-strong); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── look inside: real pages laid out on the dark table ── */
.pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.page { display: grid; gap: 8px; text-decoration: none; color: var(--dim); }
.page img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; object-position: top; display: block; background: #fbfaf6; border: 1px solid var(--rule-strong); box-shadow: 0 18px 40px rgba(0,0,0,0.55); transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s; }
.page:nth-child(odd) img { transform: rotate(-1.2deg); }
.page:nth-child(even) img { transform: rotate(0.9deg) translateY(10px); }
.page:hover img { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: 0 26px 60px rgba(0,0,0,0.7); }
.page .label { margin-top: 14px; }
.page .pc { font-size: 0.9375rem; line-height: 1.4; color: var(--paper); }
@media (max-width: 900px) {
  .pages { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(62vw, 300px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 28px; margin: 0 calc(-1 * var(--gutter)); }
  .page { scroll-snap-align: center; }
}

/* ── things the book will tell you ── */
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); }
.facts-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 10px; padding: 26px 0; border-top: 1px solid var(--rule); }
.facts-list .no { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 2.75rem; line-height: 0.9; color: var(--amber); }
.facts-list p { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.35; color: var(--paper); }
.facts-list a { text-decoration: none; justify-self: start; }
.facts-list a:hover b { color: var(--paper); }
@media (max-width: 760px) { .facts-list { grid-template-columns: 1fr; } }

/* ── the exhibits: three sheets, shown from the top ── */
.exhibits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.exhibit { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.ex-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; border: 1px solid var(--rule-strong); background: #fbfaf6; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.ex-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.exhibit:hover .ex-img img { transform: scale(1.04); }
.exhibit .label { margin-top: 12px; }
.exhibit h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.875rem; line-height: 1; letter-spacing: 0.02em; text-wrap: balance; }
.exhibit p { margin: 0; color: #d6d2c6; font-size: 1.0625rem; line-height: 1.45; }
@media (max-width: 820px) { .exhibits { grid-template-columns: 1fr; } .ex-img { aspect-ratio: 16 / 10; } }

/* ── the refund promise, wherever the buy button is ── */
.refund { margin: 16px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--dim); max-width: 34em; }
.refund b { color: var(--paper); font-weight: 500; }
.buybox .refund { margin-top: 4px; }
.cta-band.closing .refund { flex-basis: 100%; margin: 0; color: var(--amber-ink); opacity: 0.85; }
.cta-band.closing .refund b { color: var(--amber-ink); font-weight: 600; }

/* ── a spacecraft page opens on the video the visitor came from ── */
.watched { border-left: 3px solid var(--amber); padding: 4px 0 4px 20px; margin: 0 0 clamp(24px, 3vw, 40px); display: grid; gap: 6px; }
.watched p { margin: 0; }
.watched-t { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; color: var(--paper); }
.watched-n { color: var(--dim); font-style: italic; }

/* ── the closing line after a section ── */
.cta-band { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--hull); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta-line { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1; letter-spacing: 0.01em; }
.cta-band .cta { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* The last one, directly above the footer, is the page's closing call: a full amber band, so it cannot be read as
   part of the footer beneath it (2026-11-16: both were the same dark panel and ran together). */
.cta-band.closing { background: var(--amber); color: var(--amber-ink); border: 0; padding: clamp(48px, 6vw, 88px) 0; }
.cta-band.closing .cta-line { font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-band.closing .btn { border-color: var(--amber-ink); color: var(--amber-ink); }
.cta-band.closing .btn:hover { background: rgba(26, 18, 4, 0.1); }
.cta-band.closing .btn.buy { background: var(--amber-ink); color: var(--amber); border-color: var(--amber-ink); }
.cta-band.closing .btn.buy:hover { background: #000; border-color: #000; }
/* Directly under the closing band the footer does not repeat the buy button. */
.cta-band.closing ~ footer .foot-brand .btn { display: none; }

/* ── the phone buy bar ── */
.buybar { display: none; }
@media (max-width: 760px) {
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 7, 10, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--rule-strong); transform: translateY(110%); transition: transform 0.3s ease; }
  .buybar.on { transform: none; }
  .buybar-t { display: grid; min-width: 0; }
  .buybar-t strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
  .buybar-t span { font-family: var(--mono); font-size: 0.6875rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: none; padding: 12px 16px; }
  footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .buybar, .page img { transition: none; } }

/* ── footer ── */
footer { border-top: 1px solid var(--rule); padding: 64px 0 48px; color: var(--dim); font-size: 0.9375rem; line-height: 1.55; background: var(--hull); }
.foot { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr)); gap: 40px clamp(24px, 4vw, 64px); align-items: start; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 2.125rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--paper); text-decoration: none; }
.foot-brand p { margin: 14px 0 22px; max-width: 34ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h2 { margin: 0 0 6px; }
.foot-col p { margin: 0; }
.foot-col a, .foot-legal a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--rule); justify-self: start; overflow-wrap: anywhere; }
.foot-col a:hover { border-color: var(--amber); color: var(--amber); }
.foot-legal { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* Hidden only once the script has run, so a page with no script still shows everything. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition-duration: 0s; }
  .hero img.bg, .craft-hero img.bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* Phone header: one line each, nothing wraps. */
@media (max-width: 759px) {
  .brand strong { font-size: 1.375rem; white-space: nowrap; }
  .brand span { display: none; }
  .nav { gap: 16px; font-size: 0.6875rem; white-space: nowrap; }
}
