/* Negs — darkroom palette. The site is dark on purpose: it is a darkroom. */
:root {
  --bg: #0e0c0a;
  --bg-raise: #17130f;
  --line: rgb(239 230 214 / 0.12);
  --ink: #efe6d6;
  --ink-dim: #a89d8b;
  --warm: #f3c58a;
  --amber: #f2a54a;     /* edge print */
  --halation: #ff5a36;  /* red glow around highlights */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --frame-h: clamp(220px, 32vw, 420px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain on the page background only, behind the content so photos and video stay clean:
   one 128 px tile, no blending. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("img/grain.png");
  opacity: 0.07;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--warm); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Edge-print labels, like the markings along a strip of film. */
.edge {
  margin: 0 0 18px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.edge span { opacity: 0.6; margin: 0 0.3em; }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-dim); max-width: 38em; }
.narrow { max-width: 34em; }
.fine { font-size: 14px; color: var(--ink-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}
.btn:hover { box-shadow: 0 0 0 1px var(--ink), 0 0 28px rgb(255 90 54 / 0.55); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-dim); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 18px 34px; font-size: 18px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgb(14 12 10 / 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav nav a:not(.btn) { color: var(--ink-dim); text-decoration: none; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--ink); }
.nav-icon { display: flex; color: var(--ink-dim); }
.nav-icon:hover { color: var(--ink); }
.nav-icon svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 640px) { .nav nav a:not(.btn, .nav-icon), .nav .nav-download { display: none; } }

/* The wordmark glows like a highlight on film. */
.wordmark {
  font: italic 30px/1 var(--serif);
  text-decoration: none;
  color: #fff6ea;
  text-shadow: 0 0 1px #fff, 0 0 10px rgb(255 90 54 / 0.7), 0 0 26px rgb(255 90 54 / 0.35);
}

/* Hero */
.hero {
  padding-top: clamp(56px, 10vw, 120px);
  background: radial-gradient(60% 50% at 70% 0%, rgb(255 90 54 / 0.12), transparent 70%);
}
.hero { overflow-x: clip; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.95; margin-bottom: 28px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); }
.hero .cta-row { margin-top: 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }

/* "New: in your browser" pill above the headline. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgb(242 165 74 / 0.35);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pill b {
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--bg);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pill span { color: var(--amber); }
.pill:hover { border-color: var(--amber); box-shadow: 0 0 24px rgb(255 90 54 / 0.3); }

/* The web app in a browser window, turned towards the copy and bleeding off the right edge. */
.browser {
  position: relative;
  display: block;
  width: 130%;
  border-radius: 12px;
  overflow: hidden;
  background: #161616;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 50px 90px -30px rgb(0 0 0 / 0.9),
    0 0 100px rgb(255 90 54 / 0.16);
  transform: perspective(2200px) rotateY(-11deg) rotateX(3deg);
  transform-origin: 0 50%;
  transition: transform 0.7s cubic-bezier(.32, .72, 0, 1), box-shadow 0.7s;
}
.browser:hover, .browser:focus-visible {
  transform: perspective(2200px) rotateY(-4deg) rotateX(1deg);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 50px 90px -30px rgb(0 0 0 / 0.9),
    0 0 120px rgb(255 90 54 / 0.3);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #242424;
  border-bottom: 1px solid #000;
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 255 255 / 0.16); }
.browser-url {
  flex: 0 1 46%;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 7px;
  background: #161616;
  color: var(--ink-dim);
  font: 12px/1 var(--mono);
  text-align: center;
  white-space: nowrap;
}
.browser-url b { color: var(--ink); font-weight: 400; }
.browser img { width: 100%; }
.browser-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-80%, -50%) scale(0.96);
  box-shadow: 0 0 40px rgb(255 90 54 / 0.6);
  transition: opacity 0.35s, transform 0.35s;
}
.browser:hover .browser-cta, .browser:focus-visible .browser-cta { opacity: 1; transform: translate(-80%, -50%); }
@media (prefers-reduced-motion: reduce) { .browser, .browser-cta { transition: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .browser, .browser:hover { width: 100%; transform: none; }
  .browser-cta { display: none; }
}
@media (max-width: 480px) { .hero .edge { letter-spacing: 0.1em; } }
.cta-row.center { justify-content: center; }
.hero-credit {
  display: inline-block;
  margin: 28px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgb(242 165 74 / 0.3);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.hero-credit:hover { opacity: 1; }

/* Filmstrip gallery */
.strip {
  margin-top: clamp(48px, 7vw, 88px);
  overflow: hidden;
  border-block: 1px solid #000;
}
.strip-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 34px 0 40px;
  list-style: none;
  /* Sprocket holes along both edges of the strip. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='8' y='1' width='14' height='11' rx='2.5' fill='%230e0c0a'/%3E%3C/svg%3E") repeat-x left 8px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='8' y='1' width='14' height='11' rx='2.5' fill='%230e0c0a'/%3E%3C/svg%3E") repeat-x left bottom 8px,
    #1d1712;
}
.strip.is-drifting .strip-track { animation: drift var(--drift, 90s) linear infinite; }
.strip.is-drifting:hover .strip-track,
.strip.is-drifting:focus-within .strip-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

.strip:not(.is-drifting) { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip:not(.is-drifting) .frame { scroll-snap-align: center; }

.frame { position: relative; margin-right: 14px; }
.frame:first-child { margin-left: 14px; }
.strip.is-drifting .frame:first-child { margin-left: 0; }
.frame button {
  display: block;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
}
.frame img {
  height: var(--frame-h);
  width: auto;
  transition: filter 0.3s;
}
.frame button:hover img { filter: brightness(1.08); }
.frame-edge {
  position: absolute;
  left: 4px;
  bottom: -24px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.2em;
  color: var(--amber);
  opacity: 0.85;
  white-space: nowrap;
}

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) 0 0; }
.section h2 { font-size: clamp(38px, 6vw, 76px); line-height: 1; margin-bottom: 24px; }
.section h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }

/* Before/after slider */
.compare {
  position: relative;
  margin: 40px 0 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-raise);
  user-select: none;
  -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
  box-shadow: 0 0 12px rgb(0 0 0 / 0.5);
  pointer-events: none;
}
.compare-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font: 600 18px/1 var(--sans);
  letter-spacing: 0.1em;
}
.compare:has(input:focus-visible) .compare-handle::after { outline: 2px solid var(--amber); outline-offset: 3px; }
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare-label {
  position: absolute;
  top: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgb(14 12 10 / 0.6);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-label-before { left: 14px; }
.compare-label-after { right: 14px; color: var(--amber); }

/* Pair picker: a short strip of contact-sheet frames under the slider. */
.compare-picker {
  display: flex;
  gap: 14px;
  /* Room for the selected frame's outline, which the scroll container would clip. */
  margin: 23px -5px 0;
  padding: 5px 5px 24px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.compare-picker li { position: relative; flex: 0 0 auto; }
.compare-picker button {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #000;
  outline: 1px solid rgb(239 230 214 / 0.12);
  cursor: pointer;
  transition: outline-color 0.2s, box-shadow 0.2s;
}
.compare-picker img {
  display: block;
  width: clamp(120px, 18vw, 200px);
  height: auto;
  border-radius: 3px;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.compare-picker button:hover img,
.compare-picker button[aria-pressed="true"] img { opacity: 1; }
.compare-picker button[aria-pressed="true"] {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  box-shadow: 0 0 24px rgb(255 90 54 / 0.25);
}
.compare-picker button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.compare-picker .frame-edge { opacity: 0.5; }
.compare-picker button[aria-pressed="true"] + .frame-edge { opacity: 0.9; }

/* App window */
/* The screenshot has its own rounded, transparent corners, so the shadow follows its alpha. */
.window { margin-top: 48px; }
.window img {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.7)) drop-shadow(0 0 60px rgb(255 90 54 / 0.18));
}
.ticks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-dim);
  font-size: 15px;
}
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }

/* Speed: horizontal bars, Negs in the warm accent. --f is the bar's share of the longest. */
.bench {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 40px;
  margin: 48px 0 24px;
}
.bench figure { margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.bench figcaption { margin-bottom: 20px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bar-name { display: block; margin-bottom: 6px; font-size: 14px; color: var(--ink-dim); }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar {
  flex: none;
  width: calc((100% - 5.5em) * var(--f));
  min-width: 4px;
  height: 14px;
  border-radius: 0 4px 4px 0;
  background: #74695b;
}
.bar-value { font: 500 14px/1 var(--mono); color: var(--ink-dim); white-space: nowrap; }
.bars .negs .bar { background: var(--warm); }
.bars .negs .bar-name, .bars .negs .bar-value { color: var(--ink); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 40px;
  margin-top: 48px;
}
.features article { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.features p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.features .edge { display: block; margin-bottom: 14px; }
.feature-halation h3 {
  color: #fff6ea;
  text-shadow: 0 0 1px #fff, 0 0 8px rgb(255 90 54 / 0.75), 0 0 20px rgb(255 90 54 / 0.4);
}

/* Borders: three prints lying slightly askew on the table. */
.prints {
  display: grid;
  /* The 35mm frame is nearly square; a wider column keeps all four the same height. */
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  margin-top: 48px;
}
.prints figure { margin: 0; transition: transform 0.4s cubic-bezier(.32, .72, 0, 1); }
.prints figure:nth-child(1) { transform: rotate(-1.6deg); }
.prints figure:nth-child(2) { transform: rotate(0.8deg) translateY(12px); }
.prints figure:nth-child(3) { transform: rotate(-0.6deg); }
.prints figure:nth-child(4) { transform: rotate(1.2deg) translateY(6px); }
.prints figure:hover { transform: none; }
.prints img { width: 100%; box-shadow: 0 24px 40px -16px rgb(0 0 0 / 0.8); }
.prints figcaption { margin: 18px 0 0; text-align: center; }
@media (max-width: 760px) {
  .prints { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* Stock shelf */
.shelf { display: grid; gap: 32px; margin-top: 40px; }
.shelf h3 { font: 500 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 9px 14px;
  border: 1px solid rgb(242 165 74 / 0.35);
  border-radius: 3px;
  background: rgb(242 165 74 / 0.06);
  color: var(--amber);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chips small { margin-left: 6px; font-size: 10px; letter-spacing: 0.12em; opacity: 0.6; }
.chips-paper li { border-color: var(--line); background: rgb(239 230 214 / 0.04); color: var(--ink); }

/* Video (loaded on click) */
.video {
  position: relative;
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-raise);
}
.video img, .video video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  transition: box-shadow 0.25s;
}
.play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--bg); }
.play:hover { box-shadow: 0 0 40px rgb(255 90 54 / 0.6); }

/* Credits */
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.credit {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-raise);
  text-decoration: none;
  transition: border-color 0.25s;
}
.credit:hover { border-color: rgb(242 165 74 / 0.5); }
.credit h3 { font: italic 32px/1.1 var(--serif); margin-bottom: 10px; }
.credit p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* Download */
.download { text-align: center; }
.download h2 { font-size: clamp(56px, 10vw, 140px); }
.download .edge { text-align: center; }
.install { list-style: none; padding: 0; margin: 40px 0 0; text-align: left; }
.install li { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.install .edge { display: block; margin-bottom: 14px; text-align: left; }
.install code, .fine code { font: 14px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
[data-panel="linux"] .install { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.install .cmd { margin: 16px 0; }
.install p + p { margin-top: 12px; }
.install-note { max-width: 40em; margin: 8px auto 0; }
.fine a { color: var(--ink); text-decoration-color: rgb(242 165 74 / 0.5); text-underline-offset: 3px; }
.fine a:hover { text-decoration-color: var(--amber); }

/* Platform picker: three edge-print tabs, the detected system first. */
.platforms { margin-top: 72px; }
.tabs {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
}
.js .tabs { display: flex; }
.tabs button {
  display: grid;
  gap: 5px;
  min-width: clamp(92px, 20vw, 150px);
  padding: 12px 18px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.tabs b { font: 600 16px/1 var(--sans); }
.tabs small { font: 500 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 28px rgb(255 90 54 / 0.35);
}
.panel { padding-top: 8px; }
.panel[hidden] { display: none; }
.js .panel-title { display: none; }
.panel-title { margin: 56px 0 20px; font: italic 40px/1 var(--serif); color: var(--warm); }
.panel .cta-row { margin-top: 0; }
.panel:not([hidden]) { animation: panel-in 0.4s cubic-bezier(.32, .72, 0, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .panel:not([hidden]) { animation: none; } }

/* Copyable Linux install commands, including multi-line AppImage instructions. */
.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-raise);
  text-align: left;
}
.cmd[hidden] { display: none; }
.cmd-prompt { color: var(--amber); font: 500 14px var(--mono); user-select: none; }
.cmd code { overflow-x: auto; white-space: pre; scrollbar-width: none; color: var(--ink); font: 14px/1.4 var(--mono); }
.cmd-copy {
  flex: none;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font: 600 13px var(--sans);
  cursor: pointer;
  transition: box-shadow 0.25s;
}
.cmd-copy:hover { box-shadow: 0 0 20px rgb(255 90 54 / 0.5); }
.hero-meta { margin-bottom: 4px; }
.hero-also { margin-top: 4px; }
.hero-also a { color: var(--ink); text-decoration-color: rgb(242 165 74 / 0.5); text-underline-offset: 3px; }
.hero-also a:hover { text-decoration-color: var(--amber); }

/* FAQ */
.faq > * { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 0;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--ink-dim); }

/* Footer */
.footer { margin-top: clamp(80px, 12vw, 160px); padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-dim); font-size: 14px; }
.footer p { margin: 0; }
.footer-legal { display: flex; flex-basis: 100%; gap: 10px; font-size: 12px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--ink); text-decoration: underline; }

/* Legal information stays quiet, but readable and directly linkable. */
.legal-page { max-width: 780px; padding-top: 56px; padding-bottom: 24px; }
.legal-back { color: var(--ink-dim); font-size: 14px; }
.legal-page h1 { font-size: clamp(40px, 7vw, 64px); margin: 32px 0; }
.legal-page h2 { font-size: 32px; margin: 48px 0 20px; }
.legal-page h3 { font-size: 18px; margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-dim); }
.legal-page section { scroll-margin-top: 24px; }
.legal-page address { font-style: normal; }
.legal-draft { border-left: 2px solid var(--amber); padding-left: 16px; }

/* Lightbox */
.lightbox {
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: transparent;
  color: var(--ink);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(8 7 6 / 0.94); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin: 16px 0 0; text-align: center; }
.lightbox-close {
  position: fixed;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
