/*
 * c4rd.therealmc.dev: ink on paper, in Plex, as the app is - skel's site's, as C4RD is skel's
 * (docs/design/README.md - Colour, Type). Light or dark as the reader's system is, or as
 * the header's switch says (data-theme, ADR-0146); the roles are the app's, by the same names. Phone first: one column, 16px from the edges, then wider.
 */
@font-face { font-family: 'Plex Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Plex Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/plex-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'Plex Sans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/plex-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); }

:root {
  --background: #FBFBFA;
  --ink: #1C1B19;
  --surface: #FFFFFF;
  --tile: #EFEDEA;          /* surfaceVariant */
  --grey: #6B6963;          /* onSurfaceVariant */
  --line: #E0DEDB;          /* outline */
  --chip: #E6E3DF;          /* secondaryContainer */
  --error: #A3372B;
  --bezel: #1C1B19;
  --shadow: 0 1px 2px rgb(28 27 25 / 0.06), 0 12px 32px -8px rgb(28 27 25 / 0.22);
  --gutter: 16px;
  --sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light dark;
}
/* Dark: as the system is, unless the switch says light - or because the switch says dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #171614;
    --ink: #ECE9E4;
    --surface: #1F1E1B;
    --tile: #26241F;
    --grey: #918D86;
    --line: #2E2C29;
    --chip: #34312C;
    --error: #D98071;
    --bezel: #0A0A09;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -8px rgb(0 0 0 / 0.7);
  }
}
:root[data-theme="dark"] {
  --background: #171614;
  --ink: #ECE9E4;
  --surface: #1F1E1B;
  --tile: #26241F;
  --grey: #918D86;
  --line: #2E2C29;
  --chip: #34312C;
  --error: #D98071;
  --bezel: #0A0A09;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -8px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(34px, 6.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(27px, 3.8vw, 40px); line-height: 1.12; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0 0 14px; text-wrap: pretty; }
strong { font-weight: 600; }
em { font-style: italic; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
/* The glyph's outline, defined once a page for the marks and icons to use. */
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--background); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

svg.symbol { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -0.2em; }
.quiet, .fine { color: var(--grey); }
.fine { font: 400 13px/1.6 var(--mono); letter-spacing: 0.01em; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 400 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--grey); max-width: 38em; }
/* Where a store's button will be, until the store lists it. */
.soon { font-weight: 600; color: var(--ink); margin: 28px 0 0; }
.section-lead { color: var(--grey); max-width: 40em; margin-top: 12px; }

/* ------------------------------------------------------------ buttons: the app's ink pill */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--background);
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button:active { transform: scale(0.98); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button.ghost:hover { border-color: var(--ink); }
.button.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button.inverse { background: var(--background); color: var(--ink); border-color: var(--background); }
/* The page you are on: outlined, not dimmed, so it still reads. */
.button[aria-current] { pointer-events: none; background: transparent; color: var(--ink); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }

/* ------------------------------------------------------------ header and footer */

.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--background) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg.mark { width: 26px; height: 30px; }
.brand svg.wordmark { height: 17px; width: auto; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--grey); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--tile); }
/* A page not shown yet: its name, dimmed, not a link. */
.link-off { padding: 8px 12px; font-size: 15px; color: var(--grey); opacity: 0.45; cursor: default; }
/* Light or dark: the moon while light, the sun while dark - what pressing it turns to. */
.theme-switch {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--ink); cursor: pointer;
}
.theme-switch[hidden] { display: none; }
.theme-switch:hover { background: var(--tile); }
.theme-switch svg { width: 22px; height: 22px; }
.theme-switch[aria-pressed="true"] svg:first-child, .theme-switch[aria-pressed="false"] svg:last-child { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: var(--tile); }
.menu summary svg { width: 24px; height: 24px; }
.menu nav {
  position: absolute; right: 0; top: 50px; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  display: grid;
}
.menu nav a, .menu nav .link-off { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-size: inherit; }
.menu nav a:hover, .menu nav a[aria-current] { background: var(--tile); }
@media (max-width: 400px) { .top .button.small { display: none; } }
@media (min-width: 860px) {
  .nav { display: flex; }
  .menu { display: none; }
}

.bottom { border-top: 1px solid var(--line); margin-top: 0; padding: 40px 0 48px; }
.bottom-row { display: grid; gap: 18px; }
.bottom .brand { margin: 0; color: var(--grey); }
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.bottom nav a { text-decoration: none; color: var(--grey); }
.bottom nav a:hover { color: var(--ink); text-decoration: underline; }
.bottom nav .link-off { padding: 0; font-size: inherit; }
.quiet-line { color: var(--grey); font-size: 15px; margin: 0; }
/* As Settings ends in the app: Made by TheRealMcDev, in Plex Mono. */
.signature { margin: 0; font: 400 12px/1.6 var(--mono); color: var(--grey); }
.signature a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.signature a:hover { color: var(--ink); }
/* TheRealMcDev's mark in the line's own colour, as therealmc.dev draws it: its logo as a mask. */
.signature-mark { flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: url('/assets/therealmc.svg') center / contain no-repeat; mask: url('/assets/therealmc.svg') center / contain no-repeat; }

/* ------------------------------------------------------------ devices: the screens in their frames */

.device { margin: 0; flex: none; }
.device picture { display: block; }
.device img { width: 100%; }
.device.phone {
  width: 100%; max-width: 280px; padding: 7px; border-radius: 34px;
  background: var(--bezel); box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device.phone { box-shadow: var(--shadow), inset 0 0 0 1px #3A3733; } }
:root[data-theme="dark"] .device.phone { box-shadow: var(--shadow), inset 0 0 0 1px #3A3733; }
.device.phone img { border-radius: 27px; background: var(--background); }
.device.phone.turned { max-width: 640px; border-radius: 30px; }
.device.phone.turned img { border-radius: 23px; }
.device.browser {
  width: 100%; max-width: 560px; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
/* A CV: a printed page, white whatever the theme, as paper is. */
.device.page {
  width: 100%; max-width: 250px; border-radius: 4px; overflow: hidden;
  background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
/* A browser's top: three dots, as every window has. */
.device.browser::before {
  content: ''; display: block; height: 30px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 15px, var(--line) 5px, transparent 5.5px),
    radial-gradient(circle at 36px 15px, var(--line) 5px, transparent 5.5px),
    radial-gradient(circle at 54px 15px, var(--line) 5px, transparent 5.5px),
    var(--tile);
}

/* ------------------------------------------------------------ home: the hero */

.hero { padding: 48px 0 0; overflow: hidden; }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-mark { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 30px; color: var(--ink); }
.hero-mark .mark { width: auto; height: clamp(96px, 16vw, 148px); }
.hero-mark .wordmark { height: clamp(26px, 4vw, 38px); width: auto; }
.hero h1 { max-width: 15em; }
/* You: the one word underlined in ink, as it would be said. */
.hero h1 .yours-word { font-style: normal; text-decoration: underline; text-decoration-thickness: 0.09em; text-underline-offset: 0.14em; }
.hero .lead { margin: 20px auto 0; }
.hero .actions { justify-content: center; }

/* A laptop's short screen: the hero tighter, so the phones are in sight before any scrolling. */
@media (min-width: 900px) and (max-height: 920px) {
  .hero { padding-top: 28px; }
  .hero-mark { gap: 12px; margin-bottom: 20px; }
  .hero-mark .mark { height: 100px; }
  .hero-mark .wordmark { height: 26px; }
  .hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
  .hero .lead { margin-top: 14px; }
  .hero .actions { margin: 22px 0 12px; }
  .fan { margin-top: 30px; }
}

/* Three phones, fanned: Me in front, a card and a CV behind. */
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; margin: 44px auto 0; height: clamp(360px, 92vw, 560px); max-width: 980px; padding: 0 var(--gutter); }
.fan > div { position: absolute; top: 0; width: clamp(200px, 52vw, 270px); }
.fan .device.phone { max-width: none; }
.fan-centre { z-index: 2; }
.fan-left { transform: translateX(-62%) translateY(36px) rotate(-7deg); opacity: 0.96; }
.fan-right { transform: translateX(62%) translateY(36px) rotate(7deg); opacity: 0.96; }
.fan::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 3; background: linear-gradient(to bottom, transparent, var(--background)); pointer-events: none; }
@media (min-width: 720px) {
  .fan-left { transform: translateX(-88%) translateY(48px) rotate(-8deg); }
  .fan-right { transform: translateX(88%) translateY(48px) rotate(8deg); }
}

/* ------------------------------------------------------------ home: three ways in */

.ways { padding: 72px 0 32px; }
.ways h2 { max-width: 16em; }
.ways-grid { display: grid; gap: 20px; margin-top: 36px; }
.way {
  display: grid; gap: 24px; align-content: start; padding: 26px 26px 0; border-radius: 24px;
  background: var(--tile); overflow: hidden;
}
.way h3 { margin: 14px 0 8px; font-size: 22px; }
.way p { color: var(--grey); margin: 0; }
.way .device { justify-self: center; margin-bottom: -60px; }
.way .device.phone { max-width: 240px; }
.way .device.browser { max-width: 320px; margin-bottom: -40px; }
/* A way on to more about it: words and an arrow, in ink. */
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.more:hover { text-decoration: underline; }
.tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--background); }
.tile svg { width: 28px; height: 28px; }
/* A tablet: each card its words beside its screen; wider still, the three side by side. */
@media (min-width: 640px) and (max-width: 899px) {
  .way { grid-template-columns: 1fr 230px; align-items: start; padding-bottom: 0; }
  .way .device { margin-top: 0; }
  .way .device.browser { max-width: 260px; }
}
@media (min-width: 900px) { .ways-grid { grid-template-columns: repeat(3, 1fr); } .way { min-height: 640px; } }

/* ------------------------------------------------------------ features: words beside screens */

.feature { padding: 64px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-row { display: grid; gap: 40px; align-items: center; }
.feature-text h2 { margin-bottom: 16px; max-width: 14em; }
.feature-text > p { color: var(--grey); max-width: 34em; }
.feature-shots { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.feature-shots.pair .device.phone { max-width: 250px; }
/* Two phones side by side share the width they have, rather than run off the screen. */
.feature-shots.pair > .device { flex: 1 1 0; min-width: 0; }
.feature-shots.pair .device:nth-child(2) { margin-top: 48px; }
.feature-shots.stacked { flex-direction: column; align-items: center; gap: 22px; }
.points, .facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.points li, .facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.points li svg, .facts li svg { width: 24px; height: 24px; margin-top: 1px; }
.points li span { color: var(--grey); }
.points li strong { color: var(--ink); }
.turned-row { display: flex; justify-content: center; margin-top: 56px; }
@media (max-width: 560px) {
  .feature-shots.pair { gap: 12px; }
  .feature-shots.pair .device.phone { padding: 5px; border-radius: 26px; }
  .feature-shots.pair .device.phone img { border-radius: 21px; }
}
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .feature.flip .feature-text { order: 2; }
  .feature { padding: 96px 0; }
}

/* ------------------------------------------------------------ home: the CVs */

.kinds { padding: 72px 0; background: var(--tile); }
.kinds h2 { max-width: 14em; }
.kinds-grid { display: grid; gap: 28px; margin-top: 40px; }
.kind { display: grid; gap: 14px; justify-items: start; align-content: start; }
.kind .device.phone, .kind .device.page { max-width: 250px; justify-self: center; }
.kind h3 { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.kind p { color: var(--grey); margin: 0; }
@media (min-width: 640px) { .kinds-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 860px) { .kinds-grid { gap: 36px; } }

/* ------------------------------------------------------------ private: ink, the other way round */

.private { background: var(--ink); color: var(--background); padding: 80px 0; }
.private .kicker, .private p, .private .facts span { color: color-mix(in srgb, var(--background) 72%, var(--ink)); }
.private .facts strong { color: var(--background); }
.private h2 { margin-bottom: 16px; }
.private-inner { display: grid; gap: 48px; align-items: center; }
.private .button { margin-top: 30px; }
.private-shot { display: flex; justify-content: center; }
.private-shot .device.phone { max-width: 270px; background: #000; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 24px 60px -12px rgb(0 0 0 / 0.6); }
.private.slim { padding: 64px 0; }
@media (min-width: 900px) { .private-inner { grid-template-columns: 1.1fr 1fr; } }

/* ------------------------------------------------------------ copies: backups and sharing */

.copies { padding: 80px 0 72px; }
.copies h2 { max-width: 16em; }
.copies-grid { display: grid; gap: 16px; margin-top: 36px; }
.copy { padding: 24px; border-radius: 24px; background: var(--tile); }
.copy h3 { margin: 14px 0 8px; }
.copy p { color: var(--grey); margin: 0; }
@media (min-width: 640px) { .copies-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .copies-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.copies + .yours { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ yours: the icon in its colours */

.yours { padding: 80px 0; }
.yours-inner { display: grid; gap: 36px; align-items: center; }
.yours h2 { margin-bottom: 16px; }
.yours p { color: var(--grey); max-width: 34em; }
.icons { display: grid; grid-template-columns: repeat(4, max-content); gap: 14px; }
.icons > span { display: block; }
.app-icon { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -8px rgb(0 0 0 / 0.35); display: block; }
@media (min-width: 900px) {
  .yours-inner { grid-template-columns: 1fr 1.1fr; }
  .icons { justify-content: end; }
  .app-icon { width: 92px; height: 92px; border-radius: 26px; }
}

/* ------------------------------------------------------------ the beta: a band, a page, a form */

.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band-inner { display: grid; gap: 28px; align-items: center; padding: 40px; border-radius: 28px; background: var(--tile); }
.band h2 { margin-bottom: 12px; max-width: 16em; }
.band p:not(.kicker) { color: var(--grey); max-width: 36em; margin: 0; }
.band .app-icon { width: 92px; height: 92px; border-radius: 26px; }
@media (max-width: 560px) { .band-inner { padding: 28px 22px; } }
@media (min-width: 860px) { .band-inner { grid-template-columns: 1fr auto; padding: 48px 56px; } }

.page-head { padding: 64px 0 24px; }
.page-head h1 { margin-bottom: 18px; }
.page-head.note { padding: 96px 0 120px; }
.page-head .lead a { color: var(--ink); }

.beta-join { padding: 16px 0 64px; }
.beta-grid { display: grid; gap: 40px; align-items: start; }
/* Three steps, a card each, numbered big - each with the one button it needs. */
.beta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.beta-steps li { counter-increment: step; position: relative; padding: 24px 24px 24px 76px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.beta-steps li::before { content: counter(step); position: absolute; left: 24px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--background); font: 600 17px/1 var(--sans); }
.beta-steps h2 { font-size: 20px; margin: 4px 0 6px; }
.beta-steps p { margin: 0 0 16px; color: var(--grey); }
.beta-steps p:last-child { margin-bottom: 0; }
.beta-about h2 { font-size: 20px; margin: 0 0 14px; }
.beta-about h2 + * { margin-top: 0; }
.facts.small { gap: 12px; }
.facts.small span { color: var(--grey); }
.facts.small strong, .facts.small a { color: var(--ink); }
@media (min-width: 1040px) { .beta-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; } }

.faq { padding: 24px 0 80px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 22px/1 var(--mono); color: var(--grey); }
.faq details[open] summary::after { content: '−'; }
.faq details > p { color: var(--grey); margin: 0 0 20px; max-width: 40em; }
.faq details > p a { color: var(--ink); }

/* ------------------------------------------------------------ the tour */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips a { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.chips a:hover { background: var(--tile); border-color: var(--tile); }
.tour-part { padding: 56px 0; border-top: 1px solid var(--line); }
.tour-part h2 { display: flex; align-items: center; gap: 12px; }
.tour-part h2 svg { width: 32px; height: 32px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 40px 28px; margin-top: 36px; }
.gallery figure, .tour-part .wide { margin: 0; display: grid; gap: 14px; justify-items: center; align-content: start; }
.gallery .device.phone, .gallery .device.page { max-width: 250px; }
.gallery .device.phone.turned { max-width: 640px; }
.gallery figcaption, .tour-part .wide figcaption { color: var(--grey); font-size: 15px; line-height: 1.5; max-width: 250px; }
.gallery figcaption strong, .wide figcaption strong { color: var(--ink); }
/* A phone turned takes the rest of its row, beside the screens before it. */
.gallery .wide { grid-column: 1 / -1; align-self: center; }
.gallery .wide figcaption { max-width: 560px; text-align: center; }
@media (min-width: 1100px) { .gallery .wide { grid-column: span 3; } }

/* ------------------------------------------------------------ the privacy policy, set to be read */

.prose-page { padding: 56px 0 72px; }
.prose { font-size: 18px; line-height: 1.65; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 20px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 10px; }
.prose p:first-of-type em { color: var(--grey); }
.site-policy { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ the 404 */

.lost { color: var(--grey); margin-bottom: 28px; }
.lost .wordmark { width: auto; height: 44px; }

/* ------------------------------------------------------------ home: more to come soon */

/* The whole first screen: the name, large, out of the dark, and a line said quietly. */
.soon-hero { position: relative; display: grid; place-items: center; min-height: calc(100svh - 65px); padding: 48px 0 96px; }
.soon-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse clamp(200px, 46%, 660px) clamp(150px, 30%, 340px) at 50% 46%, color-mix(in srgb, var(--ink) 9%, transparent), transparent 70%);
  animation: soon-breathe 9s ease-in-out infinite;
}
.soon-hero .hero-inner { position: relative; }
.soon-hero .hero-mark { margin-bottom: clamp(28px, 4vw, 44px); }
.soon-hero .hero-mark .wordmark { height: clamp(72px, 15vw, 190px); animation: soon-surface 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.soon-hero h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 400; letter-spacing: 0.01em; color: var(--grey); animation: soon-surface 2s 1.1s ease-out both; }
.soon-line { margin: 18px 0 0; font: 400 13px/1.6 var(--mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--grey); opacity: 0.6; animation: soon-surface 2s 2.1s ease-out both; }
/* A thread down to what is below, drawn again and again. */
.soon-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: linear-gradient(var(--grey), transparent); transform-origin: top; animation: soon-cue 3.2s 3s ease-in-out infinite both; }
@keyframes soon-surface { from { opacity: 0; filter: blur(14px); transform: translateY(8px); } }
@keyframes soon-breathe { 50% { opacity: 0.45; transform: scale(1.06); } }
@keyframes soon-cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 70%, 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .soon-hero::before, .soon-hero .wordmark, .soon-hero h1, .soon-line, .soon-cue { animation: none; }
}
