/*
 * ff-world.css - the Foggy Flow redesign (Jeffrey, 2026-10-20, rev 2).
 *
 * A black room with pearl-white, faintly iridescent particles in it. Words
 * appear at the centre of the screen and fade in and out - pinned inside their
 * well, so nothing is ever seen travelling up or down. NO FRAMES: the cards
 * and panels of the first draft drew borders and glass boxes around text;
 * they are gone. Type and spacing carry the hierarchy, with a soft shadow
 * keeping words readable over the cloud behind them.
 *
 * The nav is part of the same language: transparent bar, small letter-spaced
 * links, the calligraphy mark and "FoggyFlow" in the display serif.
 *
 * Everything is decoration over a plain page: with no JavaScript (no .ff-js
 * on the html element) the acts are ordinary sections with their still
 * pictures - and so again in lite mode.
 */

:root {
  --ff-bg: #000000;
  --ff-ink: #f2efe9;
  --ff-mute: #f2efe9;
  --ff-faint: #f2efe9;
  --ff-line: rgba(242, 239, 233, 0.16);
  --ff-pearl: linear-gradient(100deg, #f6f1e8 0%, #cfe0f2 34%, #f3d8e6 67%, #dff0e4 100%);
  --ff-display: "Cormorant Garamond", "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --ff-body: "Inter", "Noto Sans TC", -apple-system, "Segoe UI", sans-serif;
  --ff-space: clamp(1.25rem, 4vw, 3.5rem);
  --ff-panel-w: 58rem;
  --ff-shadow: 0 1px 24px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.6);
}

html { background: var(--ff-bg); }
body {
  /* Lite's video-like stand-in: a slow-looking fog gradient instead of a flat
     black (the WebGL world plays its own film over this). */
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(52, 62, 92, 0.32), transparent 62%),
    radial-gradient(900px 620px at 12% 35%, rgba(96, 62, 88, 0.2), transparent 60%),
    radial-gradient(1100px 800px at 55% 110%, rgba(38, 56, 84, 0.28), transparent 65%),
    linear-gradient(180deg, #04060b 0%, #070a12 55%, #04060b 100%);
  background-attachment: fixed;
  color: var(--ff-ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body::selection { background: rgba(207, 224, 242, 0.28); }

.ff-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- the particle canvas ------------------------------------------------ */

.ff-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ff-scene__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* The film is a sunlit forest; this keeps the pearl dust and the white
     type readable over it. */
  filter: brightness(0.62) saturate(0.9);
}
/* A soft dark pool between film and canvas: the middle of the screen - where
   the dust and the words live - sinks into shadow while the mist keeps its
   light at the edges. */
.ff-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(115% 85% at 50% 42%,
    rgba(4, 6, 11, 0.62), rgba(4, 6, 11, 0.28) 62%, rgba(4, 6, 11, 0.08) 100%);
}
.ff-scene__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .ff-scene__bg { display: none; }
}
html:not(.ff-webgl) .ff-scene { display: none; }

/* ---- HUD: loader, chapter rail, lite link ------------------------------- */

.ff-hud { font-family: var(--ff-body); }
.ff-hud__loader {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--ff-mute);
  text-shadow: var(--ff-shadow);
}
.ff-hud__loader[hidden] { display: none; }

.ff-rail {
  position: fixed;
  right: clamp(0.9rem, 2.5vw, 2.2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ff-rail__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 0.2rem;
}
.ff-rail__num {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--ff-faint);
  transition: color 200ms ease;
}
.ff-rail__label {
  font-family: var(--ff-display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--ff-faint);
  text-decoration: none;
  opacity: 0;
  transition: opacity 220ms ease, color 200ms ease;
}
.ff-rail__item:hover .ff-rail__label,
.ff-rail__item:focus-within .ff-rail__label,
.ff-rail__item.is-on .ff-rail__label { opacity: 1; }
.ff-rail__item.is-on .ff-rail__label,
.ff-rail__item.is-on .ff-rail__num { color: var(--ff-ink); }
.ff-rail__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ff-faint);
  transition: background 200ms ease, transform 200ms ease;
}
.ff-rail__item.is-on .ff-rail__dot {
  background: var(--ff-ink);
  transform: scale(1.35);
}
@media (max-width: 899px) { .ff-rail { display: none; } }

/* ---- acts, wells, panels ------------------------------------------------- */

.ff-act {
  position: relative;
  z-index: 1;
  padding: var(--ff-space) 1.25rem;
}
.ff-act--logo {
  min-height: 440vh;
  padding: 0;
}
.ff-act__still { display: none; }
.ff-act__still--logo {
  position: absolute;
  left: 50%;
  top: 38vh;
  transform: translateX(-50%);
  width: min(72vw, 480px);
  height: auto;
}

/* Static worlds: no JS, no WebGL, or lite mode - show the stills. */
html:not(.ff-webgl) .ff-act__still { display: block; }
html:not(.ff-webgl) .ff-act__still--ring { display: none; }
html:not(.ff-webgl) .ff-act--logo {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
html:not(.ff-webgl) .ff-act__still--logo {
  position: static;
  transform: none;
}

/* A well is the scroll room around one scene. Rev 8 (Jeffrey): the words
   themselves are FIXED on the screen and only fade - they never travel. */
.ff-well { position: relative; }
.ff-panel {
  width: 100%;
  max-width: var(--ff-panel-w);
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.25rem);
}
.ff-panel--hero { max-width: 46rem; }

html.ff-webgl .ff-well { min-height: 300vh; }
html.ff-webgl .ff-well .ff-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ff-panel__head { margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); }

.ff-eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ff-faint);
  text-shadow: var(--ff-shadow);
}
.ff-title {
  margin: 0 0 1.1rem;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 5.8vw, 4.1rem);
  line-height: 1.28;
  letter-spacing: 0.035em;
  /* Every word is white (rev 15, Jeffrey). */
  color: var(--ff-ink);
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.8));
}
.ff-lead {
  margin: 0 0 1.6rem;
  max-width: 42rem;
  color: var(--ff-mute);
  font-size: clamp(1.02rem, 1.55vw, 1.16rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.022em;
  text-shadow: var(--ff-shadow);
}
.ff-lead--slim { max-width: 38rem; margin-bottom: 0; }
/* Half the display size (rev 15, Jeffrey): a sentence-length title earns
   its place at a smaller scale. */
.ff-title.ff-title--half { font-size: clamp(1.15rem, 2.9vw, 2.05rem); }

/* The scene heads sit dead centre (rev 15, Jeffrey: a lead drifting to the
   left of its title reads as broken). */
.ff-seq__head { text-align: center; }
.ff-seq__head .ff-lead { margin-left: auto; margin-right: auto; }
.ff-seq__head .ff-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }

/* Narrow screens (rev 15, Jeffrey): smaller type and tighter bands so the
   head, the figure and the caption never touch at any aspect ratio. */
@media (max-width: 700px) {
  .ff-title { font-size: clamp(1.75rem, 7.5vw, 2.6rem); line-height: 1.32; }
  .ff-lead { font-size: 1rem; line-height: 1.75; }
  html.ff-webgl .ff-seq__head { top: 10vh; max-width: 88vw; }
  html.ff-webgl .ff-seq__head .ff-title { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  html.ff-webgl .ff-seq__rail { bottom: 24vh; }
  .ff-seq__text { font-size: 0.95rem; line-height: 1.7; }
  .lcd-nav__mark { height: 30px; }
  .lcd-nav__word { font-size: 1.15rem; }
  .lcd-nav__pill { gap: 0.9rem; }
  .lcd-nav__pill a { font-size: 0.66rem; letter-spacing: 0.12em; }
  .lcd-nav__lang { font-size: 0.66rem; }
}
/* The closing words keep their own column beside the logo (rev 15). */
html.ff-webgl #ff-start .ff-panel > * { max-width: 24rem; }
@media (max-width: 700px) {
  /* No room beside the closing logo on a phone - the words drop to the
     bottom band, same as the station captions (rev 15). */
  html.ff-webgl #ff-start .ff-panel {
    justify-content: flex-end;
    padding-bottom: 6vh;
  }
}
.ff-facts li b {
  color: var(--ff-ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- words arriving (rev 14): a depth-y, staggered entrance -------------
   The panel still fades by scroll; inside it the lines come FORWARD out of
   the fog - a small push in Z, a blur settling - so the words feel part of
   the 3D room instead of pasted onto it. */
html.ff-webgl [data-ff-reveal] { opacity: 0; }
html.ff-webgl .is-live [data-ff-reveal],
html.ff-webgl .is-on [data-ff-reveal] {
  animation: ff-reveal 1.05s cubic-bezier(0.22, 0.8, 0.24, 1) both;
  animation-delay: calc(var(--ff-i, 0) * 160ms);
}
html.ff-webgl .is-on .ff-seq__num,
html.ff-webgl .is-on .ff-seq__title,
html.ff-webgl .is-on .ff-seq__text {
  animation: ff-reveal 1.05s cubic-bezier(0.22, 0.8, 0.24, 1) both;
}
html.ff-webgl .is-on .ff-seq__title { animation-delay: 140ms; }
html.ff-webgl .is-on .ff-seq__text { animation-delay: 280ms; }
@keyframes ff-reveal {
  from {
    opacity: 0;
    transform: perspective(1100px) translate3d(0, 26px, -90px);
    filter: blur(9px);
  }
  to {
    opacity: 1;
    transform: perspective(1100px) translate3d(0, 0, 0);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.ff-webgl [data-ff-reveal],
  html.ff-webgl .is-on .ff-seq__num,
  html.ff-webgl .is-on .ff-seq__title,
  html.ff-webgl .is-on .ff-seq__text {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

.ff-note {
  margin: 1.4rem 0 0;
  max-width: 46rem;
  color: var(--ff-faint);
  font-size: 0.95rem;
  text-shadow: var(--ff-shadow);
}

/* ---- chat buttons and pay row (lcd snippets, restyled) ------------------- */

.ff-chat { margin: 1.6rem 0 0; }
.ff-chat .lcd-chat { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.ff-chat .lcd-btn,
.lcd-chat.ff-chat .lcd-btn {
  flex: 0 0 auto;
  width: fit-content;
  min-height: 48px;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--ff-line);
  background: rgba(242, 239, 233, 0.05);
  color: var(--ff-ink);
  font-family: var(--ff-body);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.ff-chat .lcd-btn:hover,
.ff-chat .lcd-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(242, 239, 233, 0.13);
  border-color: rgba(242, 239, 233, 0.34);
}
.ff-chat .lcd-btn svg { width: 1.15em; height: 1.15em; }

.ff-pay { margin: 1.7rem 0 0; }
.ff-pay .lcd-pay { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.ff-pay .lcd-pay__label { color: var(--ff-faint); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.ff-pay .lcd-pay__list { display: flex; gap: 1.15rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ff-pay .lcd-pay__item--brand { padding: 0; border-color: transparent; background: none; }
.ff-pay .lcd-pay__brand { height: 30px; width: auto; display: block; }
.ff-pay .lcd-pay__mark,
.ff-pay .lcd-pay__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ff-mute);
}
.ff-pay .lcd-pay__mark b { font-weight: 500; color: var(--ff-ink); }
.ff-pay .lcd-pay__note { margin: 0.8rem 0 0; color: var(--ff-faint); font-size: 0.85rem; }

/* ---- act 1 facts -------------------------------------------------------- */

.ff-facts {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.ff-facts li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ff-mute);
  text-shadow: var(--ff-shadow);
}
.ff-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ff-pearl);
}

/* ---- sequence acts (process, works, fitted story) ------------------------ */

.ff-act--seq { padding-bottom: 0; }
.ff-seq__viewport {
  position: relative;
  width: 100%;
  max-width: var(--ff-panel-w);
  margin: 0 auto;
}
.ff-seq__head {
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
}
.ff-seq__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}
.ff-seq__station {
  position: relative;
  padding: 0.5rem 0;
  text-align: center;
}
.ff-seq__num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ff-faint);
  text-shadow: var(--ff-shadow);
}
.ff-seq__title {
  margin: 0 0 0.55rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
  text-shadow: var(--ff-shadow);
}
.ff-seq__text {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--ff-mute);
  text-shadow: var(--ff-shadow);
}
.ff-seq__still {
  margin: 1rem auto 0;
  width: min(100%, 300px);
  border-radius: 12px;
  display: block;
}
/* In the enhanced world the picture in a station is only a mask for the
   particles and a fallback for lite mode (rev 5: the real 3D model is the
   display, never a pasted image). */
html.ff-webgl .ff-seq__still { display: none; }
.ff-seq__view {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.75rem;
  color: var(--ff-ink);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--ff-line);
  text-shadow: var(--ff-shadow);
}
.ff-seq__view:hover,
.ff-seq__view:focus-visible { border-bottom-color: var(--ff-ink); }
.ff-seq__rail {
  margin: 1.6rem auto 0;
  width: min(100%, 30rem);
  height: 2px;
  border-radius: 2px;
  background: rgba(242, 239, 233, 0.12);
  overflow: hidden;
}
html.ff-webgl .ff-seq__rail {
  /* Restored (rev 15): the line rides above the caption at the bottom.
     Rev 20 (Jeffrey): lifted a little more. */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20vh;
  margin: 0 auto;
}
/* The works caption is taller (number, title, line and the viewer link), so
   its rule rides higher still - the same air above the words in every act
   (rev 20: "raise the white line a little"). */
#ff-works .ff-seq__rail { bottom: 24vh; }
.ff-seq__rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ff-pearl);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Enhanced worlds pin the sequence and crossfade its stations - a pure
   opacity fade at the centre of the screen, no movement. */
html.ff-webgl .ff-act--seq { padding: 0; }
html.ff-webgl .ff-act--seq {
  /* Rev 6: each step and product holds three times as long (one screen plus
     three screens of scroll per station). Rev 12 (Jeffrey): longer still -
     the solid and glass phases were too easy to scroll past. */
  min-height: calc(100vh + (var(--ff-stations, 4) - 1) * 340vh);
}
html.ff-webgl .ff-seq__viewport {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--ff-space) 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Rev 8: the words sit in the central band and fade in place - the title
   block above, the caption just below the model, never travelling. */
html.ff-webgl .ff-seq__head {
  /* Raised and narrowed (rev 15, Jeffrey): the words clear the model - and
     sit below the menu bar, never under it. */
  position: absolute;
  top: 11vh;
  left: 0;
  right: 0;
  max-width: 38rem;
  margin: 0 auto;
}
html.ff-webgl .ff-seq__list {
  /* Fills the fixed viewport, so a station's bottom: is the SCREEN's bottom
     (rev 15, Jeffrey: the caption belongs at the very bottom, not mid-air). */
  position: absolute;
  inset: 0;
  display: block;
}
html.ff-webgl .ff-seq__station {
  position: absolute;
  top: auto;
  bottom: 1.5vh;
  left: 0;
  right: 0;
  width: min(100%, 34rem);
  /* The caption takes the progress line's place at the bottom (rev 15). */
  margin: 0 auto;
  opacity: 0;
  transition: opacity 520ms ease;
  pointer-events: none;
}
html.ff-webgl .ff-seq__station.is-on {
  opacity: 1;
  pointer-events: auto;
}

/* ---- workshop cards, ways, credits (no frames, type and space only) ------ */

.ff-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.ff-card { padding: 0.25rem 0; }
.ff-card__mark {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--ff-faint);
  text-shadow: var(--ff-shadow);
}
.ff-card__swatches { display: inline-flex; gap: 0.32rem; margin-bottom: 0.75rem; }
.ff-card__swatches i {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.ff-card__swatches i:nth-child(1) { background: #f2efe9; }
.ff-card__swatches i:nth-child(2) { background: #c9d6e8; }
.ff-card__swatches i:nth-child(3) { background: #e8c9d6; }
.ff-card__swatches i:nth-child(4) { background: #c9e8d2; }
.ff-card__swatches i:nth-child(5) { background: #5a5f66; }
.ff-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  text-shadow: var(--ff-shadow);
}
.ff-card__text { margin: 0; color: var(--ff-mute); font-size: 0.95rem; text-shadow: var(--ff-shadow); }

.ff-more {
  display: inline-block;
  margin-top: 2.2rem;
  color: inherit;
  text-decoration: none;
}
.ff-more:hover .ff-more__go,
.ff-more:focus-visible .ff-more__go { color: var(--ff-ink); }
.ff-more b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
  text-shadow: var(--ff-shadow);
}
.ff-more span {
  display: block;
  max-width: 34rem;
  color: var(--ff-mute);
  text-shadow: var(--ff-shadow);
}
.ff-more i {
  display: inline-block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ff-faint);
  border-bottom: 1px solid var(--ff-line);
  padding-bottom: 0.2rem;
  transition: color 180ms ease;
}

.ff-ways {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.ff-way { padding: 0.25rem 0; }
.ff-way__num {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ff-faint);
}
.ff-way__title {
  margin: 0 0 0.5rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  text-shadow: var(--ff-shadow);
}
.ff-way__text { margin: 0; color: var(--ff-mute); font-size: 0.95rem; text-shadow: var(--ff-shadow); }

.ff-credits { margin-top: 0.4rem; }
.ff-credits__title {
  margin: 0 0 0.6rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.75rem;
  text-shadow: var(--ff-shadow);
}
.ff-credits__intro { margin: 0 0 1rem; color: var(--ff-mute); text-shadow: var(--ff-shadow); }
.ff-credits__costs {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.8rem;
  color: var(--ff-mute);
  text-shadow: var(--ff-shadow);
}
.ff-packs {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.ff-pack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ff-pack b { font-weight: 600; font-size: 0.98rem; text-shadow: var(--ff-shadow); }
.ff-pack i { font-style: normal; color: var(--ff-faint); font-size: 0.85rem; letter-spacing: 0.06em; }
.ff-credits__how { margin: 0; color: var(--ff-faint); font-size: 0.92rem; text-shadow: var(--ff-shadow); }

.ff-payfoot { margin-top: 1.8rem; }
.ff-notes {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--ff-faint);
  font-size: 0.92rem;
  text-shadow: var(--ff-shadow);
}

/* ---- fitted page: specs, hosts ------------------------------------------ */

.ff-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
}
.ff-specs li { padding: 0.25rem 0; }
.ff-specs b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  text-shadow: var(--ff-shadow);
}
.ff-specs span {
  display: block;
  margin-top: 0.4rem;
  color: var(--ff-faint);
  font-size: 0.88rem;
  text-shadow: var(--ff-shadow);
}

.ff-hosts { margin-top: 2.2rem; }
.ff-hosts__title {
  margin: 0 0 0.6rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.75rem;
  text-shadow: var(--ff-shadow);
}
.ff-hosts__list {
  margin: 1.1rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}
.ff-host {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
}
.ff-host b { font-weight: 600; text-shadow: var(--ff-shadow); }
.ff-host i { font-style: normal; color: var(--ff-faint); font-size: 0.82rem; letter-spacing: 0.05em; }
.ff-host__state {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ff-faint);
}

.ff-cta { margin-top: 2.2rem; }
.ff-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.1rem;
  color: var(--ff-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--ff-line);
  font-size: 0.92rem;
}
.ff-back:hover,
.ff-back:focus-visible { color: var(--ff-ink); border-bottom-color: var(--ff-ink); }

/* ---- the site nav over the mist ----------------------------------------- */

.lcd-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: opacity 320ms ease;
}
html.ff-js .lcd-nav {
  opacity: 0;
  pointer-events: none;
}
html.ff-js.ff-scrolled .lcd-nav {
  opacity: 1;
  pointer-events: auto;
}
.lcd-nav__brand { text-decoration: none; }
.lcd-nav__mark {
  width: auto;
  height: 44px;
  object-fit: contain;
}
.lcd-nav__word {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--ff-ink);
}
.lcd-nav__pill,
.lcd-nav__pill::after {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lcd-nav__pill { gap: 1.8rem; }
.lcd-pill__line { display: none; }
.lcd-nav__pill a {
  font-family: var(--ff-body);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.52);
  text-shadow: none;
  transition: color 180ms ease;
}
.lcd-nav__pill a:hover,
.lcd-nav__pill a[aria-current="page"] {
  color: var(--ff-ink);
  text-shadow: none;
}
.lcd-nav__lang {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.52);
}
.lcd-nav__lang:hover { color: var(--ff-ink); }
.lcd-nav__start {
  background: transparent;
  border: 1px solid var(--ff-line);
  color: var(--ff-ink);
}
.lcd-nav__start::after { display: none; }

/* ---- text arriving ------------------------------------------------------ */

/* Rev 6 (Jeffrey): words have no reveal of their own any more. Every text
   block fades in and out at the centre of the screen - panels and sequence
   heads through the fade pass, station captions through their crossfade - so
   a reader never sees words arrive from an edge. The lite page, with no
   JavaScript, simply shows everything. */

/* ---- focus and motion ---------------------------------------------------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(242, 239, 233, 0.85);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.ff-webgl .ff-seq__station {
    transition: none;
    opacity: 1;
  }
  .ff-chat .lcd-btn:hover { transform: none; }
}

@media (max-width: 749px) {
  body { font-size: 15.5px; }
  .ff-panel { padding: 0.5rem 0.25rem; }
  html.ff-webgl .ff-seq__station { width: 100%; }
  html.ff-webgl .ff-seq__still {
    top: 26%;
    left: 50%;
    width: min(56vw, 260px);
  }
  .ff-act__still--logo { width: min(82vw, 420px); }
  .lcd-nav__mark { height: 38px; }
  .lcd-nav__word { font-size: 1.3rem; }
}

/* ---- content pages wear the home page's clothes (rev 19) ----------------- */
body.ff-page {
  --lcd-bg: transparent;
  --lcd-ink: #f2efe9;
  --lcd-ink-soft: rgba(242, 239, 233, 0.78);
  --lcd-ink-faint: rgba(242, 239, 233, 0.55);
  --lcd-line: rgba(242, 239, 233, 0.16);
}
body.ff-page .ff-scene { display: block; }
body.ff-page main { position: relative; z-index: 1; }
body.ff-page main h1,
body.ff-page main h2,
body.ff-page main h3 {
  font-family: var(--ff-display);
  font-weight: 500;
}
body.ff-page [class*="__card"] {
  border-color: var(--ff-line);
  background: rgba(242, 239, 233, 0.03);
}
