/* 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;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--paper);
  font-family: var(--read); font-size: 19px; 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: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.label b { color: var(--amber); font-weight: 500; }
h2.section { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7vw, 92px); line-height: 0.9; margin: 0; }
.lede { font-size: clamp(19px, 1.7vw, 23px); 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(--gutter); 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: 26px; text-transform: uppercase; letter-spacing: 0.04em; }
.brand span { font-family: var(--mono); font-size: 10px; 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: 12px; 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: 13px; 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: 26px; 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(13%, -1%); } to { transform: scale(1.22) translate(11%, 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(60px, 10.4vw, 168px); 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; }
.hero .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(--gutter); 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(17px, 1.35vw, 20px); 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(19px, 1.9vw, 28px); 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: 11px; 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: center; }
@media (min-width: 900px) { .guide { grid-template-columns: 0.8fr 1.2fr; } }
.cover { position: relative; max-width: 420px; justify-self: center; }
.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: 11px; 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: 52px; line-height: 0.85; }
.contents { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0 28px; border-top: 1px solid var(--rule); }
@media (min-width: 700px) { .contents { grid-template-columns: 1fr 1fr; } }
.contents a { display: flex; align-items: baseline; 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: 11px; color: var(--dim); width: 2.2em; }
.contents .cn { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 25px; line-height: 1; letter-spacing: 0.02em; }
.contents .ct { font-style: italic; color: var(--dim); font-size: 16px; margin-left: auto; text-align: right; }

/* ── 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: 64px; 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: 27px; line-height: 1; letter-spacing: 0.02em; display: block; }
.eight span.q { font-style: italic; color: var(--dim); font-size: 17px; }

/* ── 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: 34px; 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: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: 12px; font-family: var(--mono); font-size: 22px; 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: 130px 0 clamp(28px, 5vh, 60px); }
.craft-hero h1 { font-size: clamp(58px, 11vw, 168px); }
.craft-hero .tag { font-style: italic; font-size: clamp(22px, 2.4vw, 32px); 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: 15px; 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: 12px; color: var(--amber); letter-spacing: 0.1em; }
.checklist strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: 0.02em; }
.checklist span { display: block; font-style: italic; color: var(--dim); font-size: 17px; 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: 16px; 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; }

/* ── footer ── */
footer { border-top: 1px solid var(--rule); padding: 44px 0 60px; color: var(--dim); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: baseline; }
footer a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }

/* 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: 22px; white-space: nowrap; }
  .brand span { display: none; }
  .nav { gap: 16px; font-size: 11px; white-space: nowrap; }
}
