/* Looking for Citizens: flight-deck marketing site.
   Dark-first. Palette tokens mirror the app (Theme.swift). Cyan is reserved for the primary action,
   links, selection and focus. Green and amber only ever mean "filled" and "open" seats. */

/* Type: Saira Stencil One (display: wordmark and page titles, large and short text only) and Quantico Bold
   (headings, labels, buttons, nav). Body text is the system font. Licences: /assets/fonts/OFL-fonts.txt.
   Saira Stencil One has a single weight (400): use it at font-weight 400 so the browser never fakes a bold. */
@font-face {
  font-family: "Saira Stencil One";
  src: url("/assets/fonts/saira-stencil-one.v1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quantico";
  src: url("/assets/fonts/quantico-bold.v1.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks shown until the web fonts arrive (or if they never do): Arial Bold scaled to the
   measured advance widths of the site's own strings, with the web fonts' ascent and descent, so the swap
   barely moves anything. Where Arial is missing these faces fail and the system stack below takes over. */
@font-face {
  font-family: "LFC Display Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 400;
  size-adjust: 99.3%;
  ascent-override: 114.3%;
  descent-override: 44.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "LFC Head Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700;
  size-adjust: 99.2%;
  ascent-override: 107.1%;
  descent-override: 37%;
  line-gap-override: 0%;
}

:root {
  --bg: #0a1d29;
  --card: #12303f;
  --card-deep: #0e2735;
  --accent: #3cc8f0;
  --accent-hover: #7adcf6;
  --filled: #45d9a0;
  --open: #ffb43c;
  --muted: #9fb8c7;
  --text: #ffffff;
  --stroke: #2b4a5b;       /* decorative outlines only, never text */
  --stroke-strong: #4a6b7d; /* chip outlines (non-text, 3:1 on the background) */

  --font-display: "Saira Stencil One", "LFC Display Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Quantico", "LFC Head Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: 16px;
  --max: 1160px;
  --c: 16px; /* clipped-corner size */
  --b: 1px;  /* clipped-corner border width */
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(60, 200, 240, 0.10), transparent 60%),
    linear-gradient(rgba(60, 200, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 200, 240, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: 0 0, -1px -1px, -1px -1px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
strong { font-weight: 650; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--accent); color: var(--bg); font-weight: 650;
  padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }

/* ---- Clipped-corner "flight deck" shape: 45 degree cuts at top-right and bottom-left.
   The shape lives in pseudo-elements so focus rings and content are never clipped. */
.deck { position: relative; isolation: isolate; --stroke-c: var(--stroke); --fill-c: var(--card); }
.deck::before, .deck::after { content: ""; position: absolute; z-index: -1; }
.deck::before {
  inset: 0;
  background: var(--stroke-c);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.deck::after {
  inset: var(--b);
  background: var(--fill-c);
  clip-path: polygon(0 0, calc(100% - (var(--c) - var(--b) * 0.42)) 0, 100% calc(var(--c) - var(--b) * 0.42), 100% 100%, calc(var(--c) - var(--b) * 0.42) 100%, 0 calc(100% - (var(--c) - var(--b) * 0.42)));
}

/* ---- Header */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(43, 74, 91, 0.7); background: rgba(10, 29, 41, 0.78); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(10px); } }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.brand-mark { flex: none; width: 32px; height: 32px; border-radius: 7px; }
/* The wordmark scales down between 390px and 360px wide so mark, wordmark and nav always fit on one row. */
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(0.85rem, 10.4vw - 23.7px, 1.05rem); letter-spacing: 0.01em; white-space: nowrap; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
.nav-optional { display: none; }
@media (min-width: 520px) { .nav-optional:nth-child(2) { display: list-item; } }
@media (min-width: 760px) { .nav-optional { display: list-item; } .site-nav a { padding: 0 14px; } }
@media (max-width: 359px) { .brand-name { font-size: 0.85rem; } .brand { gap: 8px; } .header-row { gap: 8px; } .site-nav ul { gap: 0; } .site-nav a { padding: 0 5px; font-size: 0.9rem; } .btn, .cta-soon { padding: 8px 20px; font-size: 1rem; } }

/* ---- Type helpers */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }
.label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); color: var(--muted); max-width: 40em; }
.section-lede { color: var(--muted); font-size: 1.05rem; max-width: 40em; }

/* ---- Buttons. Primary action is the only filled cyan element. */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  color: var(--bg);
  --c: 14px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.btn:hover { color: var(--bg); }
.btn:hover::before { background: var(--accent-hover); }
.btn-ghost { color: var(--text); }
.btn-ghost::before { background: var(--stroke-strong); }
.btn-ghost::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--bg);
  clip-path: polygon(0 0, calc(100% - (var(--c) - 0.42px)) 0, 100% calc(var(--c) - 0.42px), 100% 100%, calc(var(--c) - 0.42px) 100%, 0 calc(100% - (var(--c) - 0.42px)));
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost:hover::before { background: var(--accent); }
.btn-arrow { flex: none; }
.cta-block { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.cta-soon {
  --stroke-c: var(--stroke-strong); --fill-c: var(--card-deep); --c: 14px;
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text);
}
.cta-soon-wrap { display: grid; gap: 14px; justify-items: start; }
.cta-note { max-width: 34em; font-size: 0.92rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .btn::before, .btn::after { transition: background-color 0.18s ease; }
}

/* ---- Hero */
.hero { padding-block: 32px 48px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero h1, .page-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.35rem, 1.1rem + 6.2vw, 4.9rem);
  line-height: 1.02; letter-spacing: -0.02em;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--text);
  padding: 5px 12px; border: 1px solid var(--stroke-strong);
}
@media (min-width: 960px) {
  .hero { padding-block: 56px 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; }
  .hero-copy { gap: 28px; }
  /* Two columns: size the title to its column so each line ("Find your crew.", about 7em wide) stays on one line. */
  .hero h1 { font-size: clamp(3.5rem, 0.15rem + 6.2vw, 4.9rem); }
}

/* Crew roster readout: the hero seat animation lives here. Meaning is in the text. */
.roster { --c: 18px; width: 100%; max-width: 460px; padding: 16px 18px 18px; margin-top: 4px; }
.roster-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.roster-count { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seat { display: grid; gap: 2px; justify-items: start; padding-left: 10px; border-left: 2px solid var(--stroke); }
.seat.is-filled { border-left-color: var(--filled); }
.seat.is-open { border-left-color: var(--open); }
.seat .dot { margin-bottom: 8px; }
.seat-role { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.seat-state { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.is-filled .seat-state { color: var(--filled); }
.is-open .seat-state { color: var(--open); }

.dot { position: relative; display: block; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--stroke-strong); }
.dot-fill { position: absolute; inset: 2px; border-radius: 50%; background: var(--filled); }
.is-filled > .dot, .dot.is-filled { border-color: var(--filled); }
.is-open > .dot, .dot.is-open { border-color: var(--open); }
.ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--open); opacity: 0; pointer-events: none; }

/* ---- Phone mock (HTML and CSS only; no screenshots, no artwork) */
.hero-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; width: 56px; height: 56px; pointer-events: none;
  border: 2px solid var(--stroke-strong); opacity: 0.8;
}
.hero-visual::before { top: -14px; left: max(0px, calc(50% - 190px)); border-right: 0; border-bottom: 0; }
.hero-visual::after { bottom: -14px; right: max(0px, calc(50% - 190px)); border-left: 0; border-top: 0; }
.phone {
  position: relative; width: 100%; max-width: 330px; height: 580px;
  border: 2px solid var(--stroke-strong); border-radius: 44px; padding: 10px;
  background: var(--bg);
  box-shadow: 0 0 0 6px rgba(18, 48, 63, 0.55);
  overflow: hidden;
}
.phone-island { position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #02090e; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); padding: 56px 12px 0; }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.m-title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
.m-seg { display: inline-flex; border: 1px solid var(--stroke-strong); font-size: 0.78rem; font-weight: 650; }
.m-seg b, .m-seg i { font-style: normal; padding: 4px 10px; }
.m-seg b { background: var(--accent); color: var(--bg); }
.m-seg i { color: var(--muted); }
.m-filters { display: flex; gap: 6px; margin-bottom: 14px; overflow: hidden; }
.m-chip { flex: none; font-size: 0.78rem; font-weight: 600; padding: 4px 11px; border: 1px solid var(--stroke-strong); border-radius: 999px; color: var(--text); white-space: nowrap; }
.m-chip.is-sel { border-color: var(--accent); color: var(--accent); }
.m-chip-sm { font-size: 0.72rem; padding: 2px 9px; }
.m-card { --c: 18px; --fill-c: var(--card); padding: 14px 14px 12px; display: grid; gap: 8px; margin-bottom: 12px; }
.m-card-top { display: flex; justify-content: space-between; gap: 8px; }
.m-kicker { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.m-when { font-size: 0.78rem; font-weight: 650; }
.m-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.15; }
.m-host { font-size: 0.8rem; color: var(--muted); margin-top: -4px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.m-roles { display: grid; gap: 7px; margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--stroke); }
.m-role { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; font-size: 0.82rem; }
.m-role-name { font-weight: 650; }
.m-slots { display: inline-flex; gap: 5px; }
.m-role-count { font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.m-role-count.is-open { color: var(--open); }
.slot { display: block; width: 16px; height: 16px; --c: 5px; --b: 2px; }
.slot.is-filled { --stroke-c: var(--filled); --fill-c: var(--filled); }
.slot.is-empty { --stroke-c: var(--open); --fill-c: var(--card); }
.m-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.m-foot-note { font-size: 0.78rem; color: var(--muted); }
.m-join { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; color: var(--bg); background: var(--accent); padding: 5px 16px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.m-card-2 { opacity: 0.95; }

/* ---- Sections */
.section { padding-block: 56px; }
.section.tight { padding-block: 8px 72px; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; justify-items: start; }
.section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); max-width: 18em; }
@media (min-width: 960px) { .section { padding-block: 88px; } .section-head { margin-bottom: 48px; } }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { padding: 28px 24px 26px; display: grid; gap: 10px; align-content: start; --c: 22px; }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--stroke-strong); letter-spacing: -0.02em; margin-bottom: 6px; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* Features */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
.feature { padding: 24px 22px 24px; display: grid; gap: 10px; align-content: start; --c: 18px; }
.feature h3 { font-size: 1.22rem; line-height: 1.2; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.icon { color: var(--text); margin-bottom: 4px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* FAQ */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } .faq-wrap .section-head { position: sticky; top: 24px; margin-bottom: 0; } }
.faq { display: grid; gap: 10px; }
.faq details { --c: 14px; position: relative; isolation: isolate; }
.faq details::before, .faq details::after { content: ""; position: absolute; z-index: -1; }
.faq details::before { inset: 0; background: var(--stroke); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.faq details::after { inset: 1px; background: var(--card); clip-path: polygon(0 0, calc(100% - (var(--c) - 0.42px)) 0, 100% calc(var(--c) - 0.42px), 100% 100%, calc(var(--c) - 0.42px) 100%, 0 calc(100% - (var(--c) - 0.42px))); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; min-height: 56px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 40em; }

/* Final CTA */
.final-card { --c: 28px; --stroke-c: var(--stroke-strong); --fill-c: var(--card); padding: 40px 24px 44px; display: grid; gap: 18px; justify-items: start; }
.final-card h2 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem); max-width: 14em; }
.seats-static { display: flex; gap: 12px; margin-bottom: 6px; }
.seats-static .dot { width: 26px; height: 26px; }
@media (min-width: 760px) { .final-card { padding: 64px 56px 68px; } }

/* ---- Page header and prose (support, legal, 404) */
.page-head { padding-block: 48px 24px; }
.page-head .wrap { display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: clamp(2.1rem, 1.2rem + 4.4vw, 3.6rem); }
.notfound { padding-block: 72px 96px; }
.notfound .wrap { display: grid; gap: 22px; justify-items: start; }
.notfound h1 { font-size: clamp(2.1rem, 1.2rem + 4.4vw, 3.8rem); max-width: 14em; }
.stack { display: grid; gap: 16px; }
.panel { padding: 28px 24px; display: grid; gap: 14px; --c: 20px; }
.panel h2 { font-size: 1.5rem; }
.panel p, .plain li { color: var(--muted); max-width: 44em; }
.panel strong { color: var(--text); }
.plain { display: grid; gap: 10px; }
.plain li { padding-left: 18px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 2px; background: var(--accent); }
.mail { font-weight: 650; word-break: break-all; }

.legal-meta { font-size: 0.9rem; color: var(--muted); }
.prose { color: var(--muted); font-size: 1.02rem; max-width: 46em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); color: var(--text); margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--stroke); }
.prose h3 { font-size: 1.15rem; color: var(--text); margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 46em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--stroke-strong); }
.prose a { word-break: break-word; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.prose th { color: var(--text); }
.panel ol.plain { counter-reset: step; }
.panel ol.plain li { counter-increment: step; padding-left: 28px; }
.panel ol.plain li::before { content: counter(step) "."; width: auto; height: auto; background: none; top: 0; color: var(--accent); font-weight: 700; }
.panel code, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--text); }
.prose blockquote { margin-left: 0; padding-left: 16px; border-left: 2px solid var(--accent); }
.legal-body { padding-block: 8px 88px; }
.dev-banner { background: var(--open); color: var(--bg); font-weight: 700; padding: 10px var(--gutter); text-align: center; }

/* ---- Footer */
.site-footer { margin-top: 24px; padding-block: 40px 48px; border-top: 1px solid var(--stroke); background: var(--card-deep); }
.footer-grid { display: grid; gap: 24px; margin-bottom: 28px; }
.footer-name { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.footer-tag { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.fan-notice { color: var(--muted); font-size: 0.86rem; line-height: 1.6; max-width: 62em; padding-top: 24px; border-top: 1px solid var(--stroke); }
.fan-notice-link { border-top: 0; padding-top: 8px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } .footer-links { justify-content: flex-end; } }

/* ---- Motion hooks (progressive enhancement).
   Nothing is hidden unless boot.js added .js. If the animation script has not taken over
   after a few seconds, a CSS failsafe reveals everything. */
@keyframes lfc-failsafe { to { opacity: 1; transform: none; } }
.js .reveal, .js .pre { opacity: 0; animation: lfc-failsafe 1ms linear 3.5s forwards; }
.js-ready .reveal, .js-ready .pre { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .pre { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .js .reveal, .js .pre { opacity: 1; animation: none; }
  body { background: #fff; color: #000; }
}
