/* We Landed Here: a dark, cinematic page in the style of a streaming title page.
   Full-bleed photo heroes, a script title, a row of journal entries like episodes. */

:root {
  --bg:          #000000;
  --surface:     #141414;
  --surface-2:   #232323;
  --surface-3:   #2f2f2f;
  --line:        #333333;
  --fg:          #FFFFFF;
  --fg-2:        #D9D9D9;
  --muted:       #A6A6A6;
  --light-btn:   #E5E5E5;
  --gold:        #E8A842;
  --terracotta:  #C4673F;
  --ok:          #6BAE75;
  --edge:        max(20px, min(66px, 4.6vw), env(safe-area-inset-left, 0px));
  --radius:      8px;
  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--fg); text-decoration: none; }

ul { list-style: none; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px; top: 12px; z-index: 300;
  background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: var(--radius);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-sm { font-size: 0.95rem; padding: 11px 22px; }
.btn-lg { font-size: 1.2rem; padding: 18px 40px; }

.btn-light { background: var(--light-btn); color: #000; }
.btn-light:hover { background: #FFFFFF; color: #000; }

.btn-dark { background: rgba(60, 60, 60, 0.85); color: var(--fg); }
.btn-dark:hover { background: rgba(85, 85, 85, 0.95); }

.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Navigation (sits over the hero) ---------- */

.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: max(20px, env(safe-area-inset-top, 0px)) var(--edge) 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta); flex-shrink: 0;
}

.nav-links { display: flex; gap: 40px; }

.nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--fg); }

.nav-cta { margin-left: auto; }

@media (max-width: 760px) {
  .site-nav { flex-wrap: wrap; gap: 12px 20px; padding-top: max(16px, env(safe-area-inset-top, 0px)); }
  .nav-links { order: 3; width: 100%; gap: 24px; }
  .nav-links a { font-size: 0.95rem; }
  .nav-cta { order: 2; }
}

@media (max-width: 380px) {
  .nav-logo { font-size: 1rem; }
  .nav-cta { padding: 9px 14px; font-size: 0.88rem; }
}

/* ---------- Title hero ---------- */

.show-hero {
  position: relative;
  min-height: max(620px, min(92vh, 900px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.show-hero.short { min-height: max(540px, min(76vh, 760px)); }

.show-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 22%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.6) 14%, transparent 38%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 28%, rgba(0, 0, 0, 0.25) 55%, transparent 75%);
}

.show-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(760px + var(--edge));
  padding: 140px var(--edge) 56px;
}

.show-title {
  font-family: 'Satisfy', cursive;
  font-weight: 400;
  font-size: clamp(3.6rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.show-kicker {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 22px 0.4em;
}

.show-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.95rem;
  color: var(--fg-2);
  margin-bottom: 14px;
}

.show-meta strong { font-weight: 600; color: var(--fg); }

.show-desc {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 14px;
}

.show-fine {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.show-desc + .show-actions { margin-top: 30px; }

.show-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.show-hero.no-img .show-hero-inner { padding-top: 180px; }

/* The craftsman skyline, as a small mark above the title. */

.show-mark {
  position: relative;
  width: min(250px, 62vw);
  aspect-ratio: 12 / 5;
  margin-bottom: 14px;
  --silhouette: #F2EADF;
  --window: #E8A842;
  --porch: rgba(0, 0, 0, 0.35);
}

.street { position: absolute; inset: 0; }

.street .sun {
  position: absolute;
  right: 8%;
  bottom: 50%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta);
}

.street .row {
  position: absolute;
  z-index: 1;
  left: 2%;
  right: -2%;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.house {
  flex: 0 0 auto;
  width: var(--w);
  height: var(--h);
  background:
    linear-gradient(var(--window) 0 0) 24% 72% / 15% 22% no-repeat,
    linear-gradient(var(--window) 0 0) 76% 72% / 15% 22% no-repeat,
    linear-gradient(var(--window) 0 0) 50% 30% / 9% 10% no-repeat,
    linear-gradient(var(--porch) 0 0) 50% 100% / 70% 6% no-repeat,
    var(--silhouette);
  clip-path: polygon(0% 44%, 50% 0%, 100% 44%, 93% 44%, 93% 100%, 7% 100%, 7% 44%);
}

.house.dark-windows {
  background:
    linear-gradient(var(--porch) 0 0) 50% 100% / 70% 6% no-repeat,
    linear-gradient(var(--window) 0 0) 24% 72% / 15% 22% no-repeat,
    linear-gradient(var(--window) 0 0) 76% 72% / 15% 22% no-repeat,
    var(--silhouette);
}

.house.low {
  clip-path: polygon(0% 52%, 50% 12%, 100% 52%, 94% 52%, 94% 100%, 6% 100%, 6% 52%);
}

.tree {
  flex: 0 0 auto;
  width: var(--w);
  height: var(--h);
  background:
    linear-gradient(var(--silhouette) 0 0) 50% 100% / 8% 52% no-repeat,
    radial-gradient(circle closest-side at 50% 36%, var(--silhouette) 0 97%, transparent 100%);
}

.ground {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--silhouette);
}

/* Phones: the photo sits on top, the text below it on black. */
@media (max-width: 720px) {
  .show-hero,
  .show-hero.short { display: block; min-height: 0; }

  .show-hero-img {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3.6;
  }

  .show-hero-shade {
    bottom: auto;
    aspect-ratio: 4 / 3.6;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, transparent 30%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.5) 22%, transparent 50%);
  }

  .show-hero-inner { padding: 0 20px 44px; margin-top: -72px; }
  .show-hero.no-img .show-hero-inner { margin-top: 0; padding-top: 150px; }

  .show-desc { font-size: 1.1rem; }
  .show-actions { gap: 12px; }
  .show-actions .btn-lg { flex: 1 1 140px; font-size: 1.05rem; padding: 16px 20px; }
}

/* ---------- Shelf (section with a title, like "Episodes") ---------- */

main { display: block; }

.shelf { padding: 48px var(--edge) 24px; }

.shelf-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.season-pill,
.season-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(455px, 100%);
  background: var(--surface-3);
  border-radius: var(--radius);
  padding: 18px 26px 18px 34px;
  margin-bottom: 26px;
  font-size: 1.4rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.season-pill:hover,
.season-select:hover { background: #3a3a3a; }

.season-pill strong { font-weight: 600; }

.season-select { padding: 0; }

.season-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--fg);
  font: inherit;
  padding: 18px 64px 18px 34px;
  cursor: pointer;
  outline: none;
}

.season-select select option { background: var(--surface-2); color: var(--fg); font-size: 1rem; }
.season-select:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }
.season-select .chev { position: absolute; right: 26px; pointer-events: none; }

@media (max-width: 500px) {
  .season-pill { padding: 14px 18px 14px 22px; font-size: 1.15rem; }
  .season-select { font-size: 1.15rem; }
  .season-select select { padding: 14px 56px 14px 22px; }
  .season-select .chev { right: 18px; }
}

/* ---------- Entry cards ("episodes") ---------- */

.ep-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

.ep-row > .ep { scroll-snap-align: start; }

@media (max-width: 1100px) { .ep-row { grid-auto-columns: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 800px)  { .ep-row { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 520px)  { .ep-row { grid-auto-columns: 82%; gap: 14px; } }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 22px;
  align-items: start;
}

@media (max-width: 1100px) { .ep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .ep-grid { grid-template-columns: 1fr; gap: 36px; } }

.ep { display: block; min-width: 0; scroll-margin-top: 24px; }
.ep[hidden] { display: none; }

.ep-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 14px;
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ep-thumb.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.ep-thumb.empty::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.ep-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 0.8rem;
  color: var(--fg-2);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
}

.ep-link:hover .ep-thumb img { transform: scale(1.04); }
.ep-link:hover .ep-title { text-decoration: underline; text-underline-offset: 3px; }

.ep-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.ep-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.ep-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted); flex-shrink: 0;
}

.ep-tag { color: var(--fg-2); font-weight: 500; }

.ep-body,
.ep-snippet {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fg-2);
}

.ep-body p { margin-bottom: 0.7rem; }
.ep-body p:last-child { margin-bottom: 0; }

.ep-snippet {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep .remove {
  margin-top: 10px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.jempty { padding: 40px 0; color: var(--muted); font-size: 1.1rem; }
.jempty[hidden] { display: none; }

/* Our Journey page: one entry per row, full width, big photos. */

.ep-stack {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 1000px;
}

.ep-stack .ep-thumb {
  aspect-ratio: auto;
  background: var(--surface);
  margin-bottom: 22px;
  border-radius: var(--radius);
}

.ep-stack .ep-thumb img {
  height: auto;
  max-height: 82vh;
  object-fit: cover;
}

.ep-stack .ep-thumb.two img { aspect-ratio: 3 / 4; height: 100%; }
.ep-stack .ep-thumb.empty { aspect-ratio: 16 / 9; }

.ep-stack .ep-caption { font-size: 0.95rem; padding: 40px 20px 14px; }

.ep-stack .ep-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.ep-stack .ep-meta { font-size: 0.95rem; margin-bottom: 14px; }
.ep-stack .ep-body { font-size: 1.15rem; line-height: 1.7; max-width: 760px; }
.ep-stack .ep-body p { margin-bottom: 1rem; }
.ep-stack .ep + .ep { padding-top: 0; }

@media (max-width: 520px) {
  .ep-stack { gap: 52px; }
  .ep-stack .ep-thumb { margin-left: -20px; margin-right: -20px; border-radius: 0; }
  .ep-stack .ep-body { font-size: 1.05rem; }
}

/* ---------- Details (who we are + what we are looking for) ---------- */

.details {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 80px;
  padding: 56px var(--edge);
  border-top: 1px solid var(--surface-2);
  margin-top: 40px;
}

.details-lead { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }

.details-main p:not(.details-lead) {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 640px;
}

.detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.detail-list li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--surface-2);
  font-size: 1.05rem;
  line-height: 1.45;
}

.detail-list li:last-child { border-bottom: 1px solid var(--surface-2); }

.detail-num {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.details-cream {
  --cream:      #F4E8CF;
  --cream-ink:  #2B1D10;
  --cream-soft: #5C4632;
  --cream-line: rgba(43, 29, 16, 0.14);
  background: var(--cream);
  color: var(--cream-ink);
  border-top: 0;
  padding-top: 72px;
  padding-bottom: 72px;
}

.details-cream .details-main p:not(.details-lead) { color: var(--cream-soft); }
.details-cream .detail-label { color: var(--cream-soft); }
.details-cream .detail-list li { border-color: var(--cream-line); }
.details-cream .detail-num { color: #A0661C; }
.details-cream :focus-visible { outline-color: var(--cream-ink); }

.details-cream + .contact-section { border-top: 0; }

@media (max-width: 860px) {
  .details { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 80px;
  padding: 56px var(--edge) 72px;
  border-top: 1px solid var(--surface-2);
  scroll-margin-top: 16px;
}

.contact-left > p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 32px;
}

.helpful-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--fg-2);
}

.helpful-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: calc(5px + 0.8em - 2px);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--muted);
}

.contact-respond {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-weight: 600;
}

.contact-respond::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); flex-shrink: 0;
}

.contact-right { min-width: 0; }

.form-group { margin-bottom: 20px; border: 0; min-width: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-input:focus { border-color: var(--fg); background: #2a2a2a; }
.form-input::placeholder { color: #7a7a7a; }

textarea.form-input { resize: vertical; min-height: 140px; line-height: 1.55; }

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input[type="file"].form-input { font-size: 0.9rem; }

.form-toggle-group { display: flex; flex-wrap: wrap; gap: 10px; }

.form-toggle-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.form-toggle {
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.form-toggle:hover { border-color: #555; }

.form-toggle-group input:checked + .form-toggle {
  background: var(--light-btn);
  border-color: var(--light-btn);
  color: #000;
}

.form-toggle-group input:focus-visible + .form-toggle { outline: 2px solid var(--fg); outline-offset: 2px; }

.contact-form .btn { margin-top: 6px; }

.form-privacy { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

.form-status { margin-top: 14px; font-size: 0.95rem; color: var(--gold); }
.form-status:empty { display: none; }

.thanks {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}

.thanks h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 6px; }
.thanks p { color: var(--fg-2); }

@media (max-width: 860px) {
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .btn-lg { width: 100%; }
}

/* ---------- Our Story body ---------- */

.story-body {
  max-width: calc(760px + 2 * var(--edge));
  padding: 24px var(--edge) 72px;
}

.story-body > p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 1.4rem;
}

.story-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--surface-2);
}

.story-cta p {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 24px;
}

/* ---------- Journal admin ---------- */

.admin {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-2);
  max-width: 720px;
  scroll-margin-top: 24px;
}

.admin[hidden] { display: none; }

.photo-preview { max-width: 200px; margin-top: 12px; border-radius: var(--radius); }
.photo-preview[hidden] { display: none; }

/* ---------- Newsletter ---------- */

.newsletter {
  margin-top: 48px;
  padding: 56px var(--edge);
  background: var(--surface);
  scroll-margin-top: 16px;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 80px;
  align-items: end;
}

.newsletter-copy .shelf-title { margin-bottom: 12px; }
.newsletter-copy p:not(.detail-label) { color: var(--fg-2); font-size: 1.1rem; }

.signup-form { display: flex; gap: 12px; }
.signup-form .form-input { flex: 1; min-width: 0; }
.signup-form .btn-lg { padding: 14px 26px; font-size: 1.05rem; }

.newsletter-thanks .big { font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.newsletter-thanks p:not(.big) { color: var(--fg-2); }

@media (max-width: 860px) {
  .newsletter-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .signup-form { flex-direction: column; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--surface-2);
  padding: 40px var(--edge);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-mark { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.footer-links a:hover { color: var(--fg); }

.legal {
  padding: 18px var(--edge) max(22px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--surface-2);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.legal .quiet-link { color: var(--muted); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Breathing room when the title is followed straight by the description. */
.show-title + .show-desc { margin-top: 18px; }
