/* RISCON Labs — Field skin (2026-09-26, Claude)
 *
 * Reference: Kunumi Institute (kunuminst.org), Awwwards Honorable Mention 2026-04-02.
 * Taken as principles only: the first screen is a field of points; one glass prompt is also
 * the menu; the same material can be seen as a field, an index of cards, or a single line;
 * small, quiet type with mono tags. No code, images, marks or wording come from the reference.
 * Korean is set in Pretendard (no serif). Each size has its own tracking and line height.
 */

:root {
  color-scheme: light;
  --fx-ground: #e8e8e6;
  --fx-ink: #121315;
  --fx-ink-2: #3a3c41;
  --fx-mute: #6e7178;
  --fx-line: rgba(18, 19, 21, .12);
  --fx-line-2: rgba(18, 19, 21, .24);
  --fx-dot: #121315;
  --fx-accent: #3552d6;
  --fx-accent-ink: #1f3196;
  --fx-accent-soft: rgba(53, 82, 214, .14);
  --fx-on-accent: #ffffff;
  --fx-glass: rgba(62, 64, 70, .74);
  --fx-glass-ink: #fafbfd;
  --fx-glass-mute: rgba(251, 251, 250, .74);
  --fx-glass-line: rgba(255, 255, 255, .14);
  --fx-glass-hi: rgba(255, 255, 255, .14);
  --fx-panel: rgba(250, 250, 248, .66);
  --fx-panel-line: rgba(18, 19, 21, .08);
  --fx-card-ink: #141517;
  --fx-card-ink-fg: #f3f3f1;
  --fx-card-paper: #f8f8f5;
  --fx-card-paper-fg: #121315;
  --fx-veil: rgba(232, 232, 230, .55);
  --fx-shadow: 0 12px 40px rgba(18, 19, 21, .10);

  --fx-sans: "Geist", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --fx-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --fx-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Pretendard Variable", Pretendard, monospace;

  --fx-ease: cubic-bezier(.2, .7, .2, 1);
  --fx-gutter: clamp(16px, 4vw, 40px);
  --fx-max: 1160px;
  --fx-r-card: 18px;
  --fx-r-panel: 22px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --fx-ground: #0e0f11;
  --fx-ink: #eceef3;
  --fx-ink-2: #c3c5ca;
  --fx-mute: #8d9097;
  --fx-line: rgba(236, 236, 234, .12);
  --fx-line-2: rgba(236, 236, 234, .24);
  --fx-dot: #e8ebf3;
  --fx-accent: #93a6ff;
  --fx-accent-ink: #c3cdff;
  --fx-accent-soft: rgba(147, 166, 255, .16);
  --fx-on-accent: #0e0f11;
  --fx-glass: rgba(58, 60, 66, .66);
  --fx-glass-ink: #fafbfd;
  --fx-glass-mute: rgba(251, 251, 250, .72);
  --fx-glass-line: rgba(255, 255, 255, .10);
  --fx-glass-hi: rgba(255, 255, 255, .10);
  --fx-panel: rgba(22, 23, 26, .66);
  --fx-panel-line: rgba(236, 236, 234, .08);
  --fx-card-ink: #232428;
  --fx-card-ink-fg: #f3f3f1;
  --fx-card-paper: #ececea;
  --fx-card-paper-fg: #121315;
  --fx-veil: rgba(14, 15, 17, .55);
  --fx-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

/* Without the pre-paint script the page still follows the device. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --fx-ground: #0e0f11;
    --fx-ink: #eceef3;
    --fx-ink-2: #c3c5ca;
    --fx-mute: #8d9097;
    --fx-line: rgba(236, 236, 234, .12);
    --fx-line-2: rgba(236, 236, 234, .24);
    --fx-dot: #e8ebf3;
    --fx-accent: #93a6ff;
    --fx-accent-ink: #c3cdff;
    --fx-accent-soft: rgba(147, 166, 255, .16);
    --fx-on-accent: #0e0f11;
    --fx-glass: rgba(58, 60, 66, .66);
    --fx-glass-line: rgba(255, 255, 255, .10);
    --fx-glass-hi: rgba(255, 255, 255, .10);
    --fx-panel: rgba(22, 23, 26, .66);
    --fx-panel-line: rgba(236, 236, 234, .08);
    --fx-card-ink: #232428;
    --fx-card-paper: #ececea;
    --fx-veil: rgba(14, 15, 17, .55);
    --fx-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--fx-ground);
  color: var(--fx-ink);
  font: 400 16px/1.62 var(--fx-sans);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s var(--fx-ease), color .3s var(--fx-ease);
}
html[data-lang="ko"] body {
  font-family: var(--fx-ko);
  line-height: 1.75;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html:not([data-lang="ko"]) .ko-only { display: none !important; }
html[data-lang="ko"] .en-only { display: none !important; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--fx-accent); color: var(--fx-on-accent); }
:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 3px; border-radius: 8px; }
.fx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--fx-ink); color: var(--fx-ground); text-decoration: none; font-size: 14px; }
.fx-skip:focus { top: 12px; }

/* ------------------------------------------------------------------ field */
.fx-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
/* On the home page the field is the first screen: it takes the pointer only while the hero is in
   view, and vertical swipes still scroll the page. Everything above it lets pointer events through
   except the controls themselves. */
.fx-page--home.fx-hero-in .fx-field { pointer-events: auto; touch-action: pan-y; cursor: grab; }
.fx-page--home.fx-hero-in .fx-field.is-dragging { cursor: grabbing; }
.fx-page--home.fx-hero-in .fx-field.is-pointing { cursor: pointer; }
.fx-page--home .fx-main { pointer-events: none; }
.fx-page--home .fx-read { pointer-events: auto; }
.fx-page:not(.fx-page--home) .fx-field { opacity: .5; }
:root[data-theme="dark"] .fx-page:not(.fx-page--home) .fx-field { opacity: .42; }

.fx-main, .fx-foot, .fx-hero { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ top */
.fx-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--fx-gutter);
  pointer-events: none;
}
.fx-top > * { pointer-events: auto; }
.fx-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font: 600 15px/1 var(--fx-sans);
  letter-spacing: -.015em;
  color: var(--fx-ink);
}
.fx-brand svg { width: 18px; height: 18px; flex: none; }
.fx-brand-light { font-weight: 400; color: var(--fx-mute); }
.fx-lang { display: flex; align-items: center; gap: 2px; font: 500 11.5px/1 var(--fx-mono); letter-spacing: .06em; }
.fx-lang button { appearance: none; border: 0; background: none; color: var(--fx-mute); padding: 10px 6px; cursor: pointer; letter-spacing: inherit; }
.fx-lang button[aria-pressed="true"] { color: var(--fx-ink); }
.fx-lang span { color: var(--fx-line-2); }

/* ------------------------------------------------------------------ glass pill (prompt / nav) */
.fx-pill {
  display: grid;
  grid-template-rows: auto 0fr;
  background: var(--fx-glass);
  color: var(--fx-glass-ink);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--fx-glass-line);
  border-radius: 28px;
  box-shadow: var(--fx-shadow);
  overflow: hidden;
  transition: grid-template-rows .34s var(--fx-ease), border-radius .34s var(--fx-ease), opacity .3s var(--fx-ease), transform .3s var(--fx-ease);
}
.fx-pill.is-open { grid-template-rows: auto 1fr; border-radius: 22px; }
.fx-pill-row { display: flex; align-items: center; gap: 4px; min-height: 50px; padding: 5px 6px 5px 18px; min-width: 0; }
.fx-pill-panel { min-height: 0; overflow: hidden; }
.fx-pill-panel-inner { padding: 6px 18px 18px; border-top: 1px solid var(--fx-glass-line); }
.fx-more {
  appearance: none;
  margin-left: auto;
  flex: none;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--fx-glass-hi);
  color: var(--fx-glass-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s var(--fx-ease), transform .3s var(--fx-ease);
}
.fx-more:hover { background: rgba(255, 255, 255, .24); }
.fx-more svg { width: 16px; height: 16px; }
.fx-pill.is-open .fx-more { transform: rotate(90deg); }

.fx-menu-links { display: grid; padding: 8px 0 10px; }
.fx-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 2px;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -.015em;
  color: var(--fx-glass-mute);
  border-bottom: 1px solid var(--fx-glass-line);
}
html[data-lang="ko"] .fx-menu-links a { font-size: 18px; letter-spacing: -.02em; }
.fx-menu-links a small { font: 500 11px/1 var(--fx-mono); letter-spacing: .06em; opacity: .7; }
.fx-menu-links a:hover, .fx-menu-links a[aria-current="page"] { color: var(--fx-glass-ink); }
.fx-settings { display: grid; gap: 8px; padding-top: 12px; }
.fx-setting { display: flex; align-items: center; gap: 10px; }
.fx-setting-name { flex: 0 0 76px; font-size: 13px; color: var(--fx-glass-mute); }
.fx-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.fx-seg button { appearance: none; border: 0; background: none; color: var(--fx-glass-mute); height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.fx-seg button[aria-pressed="true"] { background: var(--fx-glass-ink); color: #1b1c1f; }

/* the top navigation pill (every page; on home it appears once the hero has scrolled away) */
.fx-navpill {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  width: max-content;
  max-width: calc(100vw - 2 * var(--fx-gutter));
}
.fx-navpill .fx-pill-row { padding-left: 8px; min-height: 46px; }
.fx-navlinks { display: flex; align-items: center; gap: 2px; min-width: 0; }
.fx-navlinks a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: -.005em;
  color: var(--fx-glass-mute);
  white-space: nowrap;
}
.fx-navlinks a:hover { color: var(--fx-glass-ink); }
.fx-navlinks a[aria-current="page"] { color: var(--fx-glass-ink); background: var(--fx-glass-hi); }
.fx-navcurrent { display: none; padding: 0 8px; font-size: 14px; white-space: nowrap; }
.fx-navpill .fx-more { width: 36px; height: 36px; }
.fx-navpill .fx-pill-panel-inner { min-width: min(360px, calc(100vw - 2 * var(--fx-gutter))); }
.fx-navpill .fx-menu-links { display: none; }
.fx-page--home.fx-hero-in .fx-navpill { opacity: 0; pointer-events: none; transform: translate(-50%, -10px); }

/* ------------------------------------------------------------------ home hero */
.fx-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 86px var(--fx-gutter) 26px;
  pointer-events: none;
}
.fx-hero > * { pointer-events: auto; }
.fx-hero-top { justify-self: start; max-width: min(47rem, 100%); }
.fx-eyebrow {
  margin: 0 0 14px;
  font: 500 11.5px/1.3 var(--fx-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fx-mute);
}
html[data-lang="ko"] .fx-eyebrow { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-statement {
  margin: 0;
  font: 500 clamp(30px, 4.2vw, 58px)/1.04 var(--fx-sans);
  letter-spacing: -.038em;
  color: var(--fx-ink);
}
html[data-lang="ko"] .fx-statement { font-family: var(--fx-ko); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; font-size: clamp(28px, 3.7vw, 50px); }
.fx-statement .fx-quiet { color: var(--fx-mute); }
.fx-hero-note { margin: 16px 0 0; max-width: 30em; font-size: 15px; color: var(--fx-ink-2); }

.fx-hero-center {
  align-self: center;
  justify-self: center;
  width: min(800px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fx-prompt { width: min(620px, 100%); }
.fx-prompt .fx-pill-row { min-height: 56px; padding-left: 20px; }
.fx-prompt-lead { color: var(--fx-glass-mute); font-size: 15.5px; white-space: nowrap; flex: none; }
html[data-lang="ko"] .fx-prompt-lead { font-size: 15px; }
.fx-topic {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px 4px;
  margin: 0 2px;
  min-width: 0;
  flex: 0 1 auto;
  cursor: pointer;
  color: var(--fx-glass-ink);
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 8px;
}
html[data-lang="ko"] .fx-topic { font-size: 15px; font-weight: 600; margin: 0; padding-right: 1px; }
/* 한국어는 "결정에 대해"처럼 주제와 조사를 붙여 쓴다 */
html[data-lang="ko"] .fx-prompt-lead.ko-only { margin-left: -4px; }
.fx-topic > span { display: inline-block; transition: opacity .22s var(--fx-ease), transform .22s var(--fx-ease); border-bottom: 1px solid rgba(255, 255, 255, .35); }
.fx-topic.is-swapping > span { opacity: 0; transform: translateY(7px); }
.fx-prompt .fx-menu-links a { font-size: 21px; }
html[data-lang="ko"] .fx-prompt .fx-menu-links a { font-size: 19px; }

.fx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fx-chip {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--fx-accent-soft);
  color: var(--fx-accent-ink);
  font: 500 11px/1 var(--fx-mono);
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .2s var(--fx-ease), color .2s var(--fx-ease);
}
.fx-chip:hover { background: rgba(53, 82, 214, .24); }
.fx-chip[aria-pressed="true"] { background: var(--fx-accent); color: var(--fx-on-accent); }

.fx-hero-bottom {
  justify-self: center;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fx-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: var(--fx-glass);
  color: var(--fx-glass-ink);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--fx-glass-line);
  box-shadow: var(--fx-shadow);
}
.fx-card-body { min-width: 0; transition: opacity .25s var(--fx-ease), transform .25s var(--fx-ease); }
.fx-card.is-swapping .fx-card-body { opacity: 0; transform: translateY(6px); }
.fx-card-meta { margin: 0 0 3px; font: 500 11px/1.35 var(--fx-mono); letter-spacing: .05em; color: var(--fx-glass-mute); text-transform: uppercase; }
html[data-lang="ko"] .fx-card-meta { font-family: var(--fx-ko); font-size: 12px; letter-spacing: 0; text-transform: none; }
.fx-card-text { margin: 0; font-size: 15px; line-height: 1.45; }
html[data-lang="ko"] .fx-card-text { line-height: 1.6; }
.fx-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--fx-glass-ink);
  color: #17181b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.fx-card-link svg { width: 12px; height: 12px; }
.fx-modes { display: flex; gap: 8px; }
.fx-mode {
  appearance: none;
  border: 1px solid var(--fx-glass-line);
  cursor: pointer;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--fx-glass);
  color: var(--fx-glass-ink);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 13px;
  transition: background-color .2s var(--fx-ease), color .2s var(--fx-ease);
}
.fx-mode[aria-pressed="true"] { background: var(--fx-ink); color: var(--fx-ground); border-color: transparent; }
.fx-cue {
  position: absolute;
  left: var(--fx-gutter);
  bottom: 30px;
  font: 500 11px/1 var(--fx-mono);
  letter-spacing: .06em;
  color: var(--fx-mute);
  text-decoration: none;
  text-transform: uppercase;
}
html[data-lang="ko"] .fx-cue { font-family: var(--fx-ko); font-size: 12px; letter-spacing: 0; text-transform: none; }

/* ------------------------------------------------------------------ index overlay */
.fx-index {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 22px 0 22px;
  background: var(--fx-veil);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--fx-ease), visibility 0s linear .3s;
}
.fx-index.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--fx-ease); }
.fx-index:focus { outline: none; }
.fx-index-head { padding: 0 var(--fx-gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fx-index-title { margin: 0; font-size: 15px; font-weight: 500; }
.fx-index-nav { display: flex; align-items: center; gap: 8px; flex: none; }
.fx-index-nav .fx-index-count { margin: 0 4px 0 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-inav {
  appearance: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--fx-glass-line);
  background: var(--fx-glass);
  color: var(--fx-glass-ink);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: opacity .2s var(--fx-ease), background-color .2s var(--fx-ease), color .2s var(--fx-ease);
}
.fx-inav svg { width: 16px; height: 16px; }
.fx-inav:disabled { opacity: .32; cursor: default; }
.fx-inav:not(:disabled):hover { background: var(--fx-accent); color: var(--fx-on-accent); border-color: transparent; }
.fx-inav:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
.fx-index-row {
  align-self: center;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--fx-gutter);
  padding: 10px var(--fx-gutter) 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fx-index-row::-webkit-scrollbar { display: none; }
/* 데스크톱: 카드에 걸리지 않고 흘러간다(휠·끌기는 JS 가 부드럽게 움직인다). 폰은 카드마다 선다. */
@media (hover: hover) and (pointer: fine) { .fx-index-row { cursor: grab; scroll-snap-type: none; } }
.fx-index-row.is-free { scroll-snap-type: none; }
.fx-index-row.is-drag { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.fx-index-row.is-drag .fx-icard { cursor: grabbing; }
@media (pointer: coarse) { .fx-inav { display: none; } }
.fx-icard {
  flex: 0 0 min(330px, 80vw);
  height: min(430px, 64svh);
  scroll-snap-align: start;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--fx-ease), transform .5s var(--fx-ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.fx-index.is-open .fx-icard { opacity: 1; transform: none; }
.fx-icard-top { display: flex; justify-content: space-between; font: 500 11px/1.3 var(--fx-mono); letter-spacing: .05em; text-transform: uppercase; opacity: .78; }
.fx-icard-name { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.fx-icard-q { margin: 0; font-size: 15px; line-height: 1.5; }
html[data-lang="ko"] .fx-icard-q { line-height: 1.65; }
.fx-icard-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 11px/1 var(--fx-mono); letter-spacing: .04em; opacity: .8; }
.fx-icard-foot svg { width: 16px; height: 16px; flex: none; }
.is-ink { background: var(--fx-card-ink); color: var(--fx-card-ink-fg); }
.is-paper { background: var(--fx-card-paper); color: var(--fx-card-paper-fg); }
.is-accent { background: var(--fx-accent); color: var(--fx-on-accent); }
.is-glass { background: var(--fx-glass); color: var(--fx-glass-ink); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--fx-glass-line); }
.fx-close {
  appearance: none;
  justify-self: center;
  border: 1px solid var(--fx-glass-line);
  cursor: pointer;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--fx-glass);
  color: var(--fx-glass-ink);
  font-size: 13.5px;
}

/* ------------------------------------------------------------------ reading layout */
.fx-wrap { width: min(var(--fx-max), 100% - 2 * var(--fx-gutter)); margin-inline: auto; }
.fx-main { padding-bottom: 12px; }
.fx-head { padding: clamp(104px, 14vw, 150px) 0 24px; }
.fx-title {
  margin: 0;
  max-width: 16em;
  font: 500 clamp(34px, 4.6vw, 64px)/1.03 var(--fx-sans);
  letter-spacing: -.04em;
}
html[data-lang="ko"] .fx-title { font-family: var(--fx-ko); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; font-size: clamp(31px, 4vw, 54px); }
.fx-lede { display: grid; gap: 14px; max-width: 42em; margin-top: 26px; }
.fx-lede p { margin: 0; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; letter-spacing: -.01em; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-lede p { font-size: clamp(16.5px, 1.35vw, 18px); line-height: 1.8; letter-spacing: -.018em; }
.fx-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.fx-fact { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--fx-panel); border: 1px solid var(--fx-panel-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.fx-fact dt { font: 500 10.5px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute); }
html[data-lang="ko"] .fx-fact dt { font-family: var(--fx-ko); font-size: 11.5px; letter-spacing: 0; text-transform: none; }
.fx-fact dd { margin: 0; font-size: 14px; font-weight: 500; }
.fx-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.fx-toc a {
  display: inline-flex; gap: 8px; align-items: baseline;
  padding: 8px 13px; border-radius: 999px;
  text-decoration: none; font-size: 13.5px;
  color: var(--fx-ink-2);
  border: 1px solid var(--fx-line);
  transition: border-color .2s var(--fx-ease), color .2s var(--fx-ease);
}
.fx-toc a:hover { border-color: var(--fx-line-2); color: var(--fx-ink); }
.fx-toc a span:first-child { font: 500 11px/1 var(--fx-mono); color: var(--fx-mute); }

.fx-section {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 18px 40px;
  margin: 0 auto 18px;
  padding-top: 26px;
  scroll-margin-top: 80px;
}
.fx-section-head { padding-top: 4px; }
.fx-section--stack { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fx-section-body { min-width: 0; }
.fx-label {
  display: block;
  margin: 0 0 10px;
  font: 500 11.5px/1.3 var(--fx-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fx-mute);
}
html[data-lang="ko"] .fx-label { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-h2 { margin: 0; font: 500 clamp(22px, 2.1vw, 29px)/1.18 var(--fx-sans); letter-spacing: -.025em; }
html[data-lang="ko"] .fx-h2 { font-family: var(--fx-ko); font-weight: 600; line-height: 1.32; letter-spacing: -.028em; font-size: clamp(21px, 1.95vw, 27px); }
.fx-panel {
  min-width: 0;
  background: var(--fx-panel);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--fx-panel-line);
  border-radius: var(--fx-r-panel);
  padding: clamp(18px, 3vw, 34px);
}
.fx-intro { margin: 0 0 22px; max-width: 46em; font-size: 16.5px; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-intro { font-size: 16px; }
.fx-note {
  margin: 22px 0 0;
  padding: 12px 15px;
  border: 1px dashed var(--fx-line-2);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fx-ink-2);
}
html[data-lang="ko"] .fx-note { line-height: 1.7; }
.fx-note a { color: var(--fx-accent-ink); }

/* rows */
.fx-rows { display: grid; }
.fx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 18px 0; border-top: 1px solid var(--fx-line); }
.fx-row:first-child { border-top: 0; padding-top: 2px; }
.fx-row:last-child { padding-bottom: 2px; }
.fx-num { font: 500 12px/1.6 var(--fx-mono); color: var(--fx-mute); padding-top: 3px; }
.fx-row h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
html[data-lang="ko"] .fx-row h3 { font-size: 17.5px; letter-spacing: -.02em; }
.fx-row p { margin: 0; color: var(--fx-ink-2); }

/* ladder */
.fx-ladder { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 14px; align-items: start; }
.fx-steps { display: grid; gap: 6px; }
.fx-step {
  appearance: none;
  text-align: left;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 1px 10px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--fx-panel-line);
  background: var(--fx-panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: background-color .2s var(--fx-ease), border-color .2s var(--fx-ease), color .2s var(--fx-ease);
}
.fx-step:hover { border-color: var(--fx-line-2); }
.fx-step[aria-selected="true"] { background: var(--fx-ink); color: var(--fx-ground); border-color: transparent; }
.fx-step-code { font: 500 12px/1.5 var(--fx-mono); }
.fx-step strong { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.fx-step small { grid-column: 2; font-size: 13px; line-height: 1.45; color: var(--fx-mute); }
.fx-step[aria-selected="true"] small { color: inherit; opacity: .7; }
.fx-detail {
  position: sticky;
  top: 88px;
  border-radius: 18px;
  padding: 22px;
  background: var(--fx-card-ink);
  color: var(--fx-card-ink-fg);
  display: grid;
  gap: 16px;
}
.fx-detail-top { display: flex; justify-content: space-between; font: 500 11px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.fx-detail h3 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
html[data-lang="ko"] .fx-detail h3 { font-weight: 600; letter-spacing: -.03em; }
.fx-detail dl { margin: 0; display: grid; gap: 12px; }
.fx-detail dt { font: 500 11px/1.3 var(--fx-mono); letter-spacing: .05em; text-transform: uppercase; opacity: .62; margin-bottom: 4px; }
html[data-lang="ko"] .fx-detail dt { font-family: var(--fx-ko); font-size: 12px; letter-spacing: 0; text-transform: none; }
.fx-detail dd { margin: 0; font-size: 15px; line-height: 1.55; }
html[data-lang="ko"] .fx-detail dd { line-height: 1.72; }
.fx-detail a { color: inherit; }

/* poles */
.fx-poles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.fx-pole { border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.fx-pole-top { font: 500 11px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.fx-pole h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
html[data-lang="ko"] .fx-pole h3 { font-weight: 600; }
.fx-pole p { margin: 0; font-size: 15px; }

/* sites: a tour through the field (2026-09-26 night). The field is the page: it keeps full strength, and each
   world gets one screen — its name large, its center question on one card, whose language beneath, the long
   description folded away. Text sits on alternate sides so the camera can set the cluster on the other. */
.fx-page--sites .fx-field { opacity: 1; }
:root[data-theme="dark"] .fx-page--sites .fx-field { opacity: .94; }

.fx-tour-head {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 72px;
}
.fx-catalog { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 46em; margin: 34px 0 0; padding: 0; list-style: none; }
.fx-catalog a {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; font-size: 15.5px; letter-spacing: -.01em;
  color: var(--fx-ink-2);
  transition: color .2s var(--fx-ease);
}
.fx-catalog a span { font: 500 11px/1 var(--fx-mono); letter-spacing: .04em; color: var(--fx-mute); }
.fx-catalog a:hover { color: var(--fx-accent); }
.fx-cue-down {
  display: flex; align-items: center; gap: 12px;
  margin: 46px 0 0;
  font: 500 11.5px/1.3 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--fx-mute);
}
html[data-lang="ko"] .fx-cue-down { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-cue-down i { width: 1px; height: 36px; background: linear-gradient(var(--fx-mute), transparent); transform-origin: top; animation: fx-drip 2.6s var(--fx-ease) infinite; }
@keyframes fx-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.fx-stop {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.fx-stop.is-right { justify-content: flex-end; }
.fx-stop-body { width: min(540px, 100%); }
/* keep right-hand text clear of the rail at the window's edge */
.fx-stop.is-right .fx-stop-body { margin-right: max(0px, 136px - max(var(--fx-gutter), (100vw - var(--fx-max)) / 2)); }
.fx-stop-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin: 0 0 14px;
  font: 500 11.5px/1.3 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--fx-mute);
}
.fx-stop-meta b { font-weight: 500; color: var(--fx-accent); }
.fx-stop-meta > span:nth-child(2) { margin-left: -6px; }
html[data-lang="ko"] .fx-stop-meta .ko-only { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-stop-name {
  margin: 0 0 24px;
  font: 500 clamp(56px, 8.2vw, 120px)/.9 var(--fx-sans);
  letter-spacing: -.055em;
  color: var(--fx-ink);
}
.fx-stop-card { display: grid; gap: 18px; padding: 24px 26px 20px; border-radius: var(--fx-r-panel); box-shadow: var(--fx-shadow); }
.fx-stop-card .fx-label { margin: 0; color: inherit; opacity: .7; }
.fx-stop-q { margin: 0; font: 500 clamp(21px, 1.9vw, 26px)/1.3 var(--fx-sans); letter-spacing: -.022em; }
html[data-lang="ko"] .fx-stop-q { font-family: var(--fx-ko); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; letter-spacing: -.03em; }
.fx-stop-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; font: 500 11.5px/1.2 var(--fx-mono); letter-spacing: .03em; }
.fx-stop-foot > span { opacity: .72; }
.fx-stop-open, .fx-pillbtn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  color: inherit; text-decoration: none;
  font: 500 13px/1 var(--fx-sans); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s var(--fx-ease), border-color .2s var(--fx-ease);
}
.fx-stop-open:hover, .fx-pillbtn:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-color: color-mix(in srgb, currentColor 60%, transparent); }
.fx-stop-open svg, .fx-pillbtn svg { width: 13px; height: 13px; flex: none; }
.fx-stop-lang { margin: 18px 0 0; max-width: 34em; font-size: 14.5px; line-height: 1.55; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-stop-lang { line-height: 1.75; }
.fx-stop-lang b { font-weight: 600; color: var(--fx-ink); }
.fx-stop-more { margin-top: 10px; }
.fx-stop-more summary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 0;
  cursor: pointer; list-style: none;
  font: 500 11.5px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--fx-mute);
  transition: color .2s var(--fx-ease);
}
html[data-lang="ko"] .fx-stop-more summary { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-stop-more summary::-webkit-details-marker { display: none; }
.fx-stop-more summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font: 400 13px/1 var(--fx-sans); }
.fx-stop-more[open] summary::before { content: "\2212"; }
.fx-stop-more summary:hover { color: var(--fx-ink); }
.fx-stop-more p { margin: 4px 0 0; max-width: 36em; font-size: 15px; line-height: 1.6; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-stop-more p { line-height: 1.8; }

.fx-map { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 110px 0 48px; }
.fx-map-panel { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; padding-top: 28px; border-top: 1px solid var(--fx-line-2); }
.fx-map-head .fx-label { margin-bottom: 14px; }
.fx-map-title { margin: 0; font: 500 clamp(34px, 4.4vw, 58px)/1.02 var(--fx-sans); letter-spacing: -.04em; }
html[data-lang="ko"] .fx-map-title { font-family: var(--fx-ko); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; font-size: clamp(30px, 3.8vw, 50px); }
.fx-map-text { margin: 18px 0 0; max-width: 32em; font-size: 16px; line-height: 1.6; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-map-text { line-height: 1.8; }
.fx-laws { margin: 0; padding: 0; list-style: none; }
.fx-laws li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-top: 1px solid var(--fx-line); font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
html[data-lang="ko"] .fx-laws li { font-weight: 600; letter-spacing: -.025em; }
.fx-laws li > span:first-child { font: 500 11px/1.9 var(--fx-mono); color: var(--fx-accent); }
.fx-map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fx-pillbtn { background: var(--fx-ink); color: var(--fx-ground); border-color: transparent; }
.fx-pillbtn:hover { background: var(--fx-accent); color: var(--fx-on-accent); border-color: transparent; }
.fx-pillbtn.is-quiet { background: transparent; color: var(--fx-ink); border-color: var(--fx-line-2); }
.fx-pillbtn.is-quiet:hover { background: var(--fx-accent-soft); color: var(--fx-ink); }
.fx-map-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--fx-mute); }

/* the rail: one dot per world at the window's edge, the current one named */
.fx-rail {
  position: fixed; right: max(14px, env(safe-area-inset-right)); top: 50%; z-index: 30;
  display: grid; gap: 2px;
  transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--fx-ease);
}
.fx-tour-in .fx-rail { opacity: 1; pointer-events: auto; }
.fx-rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  height: 24px; padding-left: 8px;
  text-decoration: none;
  font: 500 11px/1 var(--fx-mono); letter-spacing: .04em;
  color: var(--fx-mute);
}
.fx-rail a span { opacity: 0; transform: translateX(6px); white-space: nowrap; transition: opacity .25s var(--fx-ease), transform .25s var(--fx-ease); }
.fx-rail a:hover span, .fx-rail a:focus-visible span, .fx-rail a[aria-current="true"] span { opacity: 1; transform: none; }
.fx-rail a[aria-current="true"] { color: var(--fx-ink); }
.fx-rail i { flex: none; width: 7px; height: 7px; margin: 0 2px; border: 1px solid currentColor; border-radius: 50%; transition: transform .25s var(--fx-ease), background-color .25s var(--fx-ease), border-color .25s var(--fx-ease); }
.fx-rail a[aria-current="true"] i { transform: scale(1.4); background: var(--fx-accent); border-color: var(--fx-accent); box-shadow: 0 0 0 4px var(--fx-accent-soft); }

/* charter: laws on the ring (2026-09-26 night). Six clauses set large with no boxes, each turning the field's ring
   to its point; nine center questions on one orbit, read one at a time; the four ways of writing on the index
   cards' four surfaces. */
.fx-page--charter .fx-field { opacity: .9; }
:root[data-theme="dark"] .fx-page--charter .fx-field { opacity: .84; }
.fx-lawbook { padding-top: 40px; }
.fx-laws-head { max-width: 38em; }
.fx-law { min-height: 76vh; min-height: 76svh; display: flex; align-items: center; padding: 40px 0; }
.fx-law-body { width: min(560px, 100%); }
.fx-law-code { margin: 0 0 4px; font: 300 clamp(80px, 10.5vw, 156px)/.9 var(--fx-sans); letter-spacing: -.065em; color: var(--fx-accent); font-variant-numeric: tabular-nums; }
.fx-law-title { margin: 0 0 16px; font: 500 clamp(28px, 3vw, 42px)/1.08 var(--fx-sans); letter-spacing: -.035em; color: var(--fx-ink); }
html[data-lang="ko"] .fx-law-title { font-family: var(--fx-ko); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; font-size: clamp(26px, 2.7vw, 38px); }
.fx-law-text { margin: 0; max-width: 32em; font-size: 17px; line-height: 1.62; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-law-text { font-size: 16.5px; line-height: 1.85; }

.fx-orbit-sec, .fx-rules-sec { padding: 72px 0 24px; }
.fx-orbit-head { max-width: 40em; margin-bottom: 18px; }
.fx-orbit-ring { display: none; }
.fx-orbit-stage { display: grid; gap: 0; }
.fx-orbit-card { padding: 16px 0; border-top: 1px solid var(--fx-line); }
.fx-orbit-meta { margin: 0 0 6px; font: 500 11.5px/1.4 var(--fx-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-mute); }
html[data-lang="ko"] .fx-orbit-meta .ko-only { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.fx-orbit-meta b { font-weight: 500; color: var(--fx-accent); }
.fx-orbit-q { margin: 0; font: 500 17px/1.45 var(--fx-sans); letter-spacing: -.015em; }
html[data-lang="ko"] .fx-orbit-q { font-family: var(--fx-ko); font-weight: 600; line-height: 1.6; }
.fx-orbit-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 500 11.5px/1 var(--fx-mono); color: var(--fx-mute); text-decoration: none; }
.fx-orbit-open:hover { color: var(--fx-accent); }
.fx-orbit-open svg { width: 11px; height: 11px; }
.fx-orbit-nav { display: none; }

/* live: an ellipse of nine points turning round one question read large in the middle */
.fx-orbit.is-live { position: relative; display: grid; grid-template-rows: auto auto; gap: 26px; }
.fx-orbit.is-live .fx-orbit-ring { display: block; position: relative; height: clamp(300px, 46vh, 440px); margin: 0 3%; }
.fx-orbit.is-live .fx-orbit-ring::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--fx-line-2); border-radius: 50%; }
.fx-orbit-dot { position: absolute; left: 0; top: 0; width: 0; height: 0; cursor: pointer; will-change: transform, opacity; }
.fx-orbit-dot i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--fx-ink); background: var(--fx-ground); transition: background-color .3s var(--fx-ease), border-color .3s var(--fx-ease), box-shadow .3s var(--fx-ease); }
.fx-orbit-dot b { position: absolute; left: 14px; top: -8px; font: 500 11.5px/16px var(--fx-mono); letter-spacing: .03em; color: var(--fx-mute); white-space: nowrap; }
.fx-orbit-dot.is-on i { background: var(--fx-accent); border-color: var(--fx-accent); box-shadow: 0 0 0 7px var(--fx-accent-soft); }
.fx-orbit-dot.is-on b { color: var(--fx-accent); }
.fx-orbit.is-live .fx-orbit-stage { position: absolute; left: 50%; top: 0; width: min(760px, 78%); height: clamp(300px, 46vh, 440px); transform: translateX(-50%); display: grid; place-items: center; pointer-events: none; }
.fx-orbit.is-live .fx-orbit-card { grid-area: 1 / 1; padding: 0; border: 0; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--fx-ease), transform .45s var(--fx-ease); }
.fx-orbit.is-live .fx-orbit-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fx-orbit.is-live .fx-orbit-meta { margin-bottom: 14px; }
.fx-orbit.is-live .fx-orbit-q { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
html[data-lang="ko"] .fx-orbit.is-live .fx-orbit-q { font-size: clamp(22px, 2.4vw, 33px); line-height: 1.42; }
.fx-orbit.is-live .fx-orbit-open { margin-top: 18px; }
.fx-orbit.is-live .fx-orbit-nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
.fx-orbit-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fx-orbit-chip, .fx-orbit-step {
  appearance: none; cursor: pointer;
  height: 34px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--fx-line); background: transparent; color: var(--fx-ink-2);
  font: 500 12px/1 var(--fx-mono); letter-spacing: .03em;
  transition: background-color .2s var(--fx-ease), color .2s var(--fx-ease), border-color .2s var(--fx-ease);
}
.fx-orbit-chip:hover, .fx-orbit-step:hover { border-color: var(--fx-line-2); color: var(--fx-ink); }
.fx-orbit-chip[aria-pressed="true"] { background: var(--fx-accent); border-color: var(--fx-accent); color: var(--fx-on-accent); }
.fx-orbit-step { width: 34px; padding: 0; display: grid; place-items: center; flex: none; }
.fx-orbit-step svg { width: 14px; height: 14px; }

.fx-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fx-rule { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 20px 20px 22px; border-radius: var(--fx-r-panel); }
.fx-rule-num { font: 500 11.5px/1 var(--fx-mono); letter-spacing: .05em; opacity: .75; }
.fx-rule h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
html[data-lang="ko"] .fx-rule h3 { font-weight: 600; }
.fx-rule p { margin: 0; font-size: 14px; line-height: 1.55; opacity: .86; }
html[data-lang="ko"] .fx-rule p { line-height: 1.75; }


/* record: the line of time (2026-09-26 night). Without scripts it is a plain list down a rule; with them the
   section pins while vertical scrolling runs along the field's line, each date a station riding its ring. */
.fx-page--record .fx-field { opacity: .9; }
:root[data-theme="dark"] .fx-page--record .fx-field { opacity: .86; }
.fx-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font: 500 10.5px/1.2 var(--fx-mono); letter-spacing: .05em; background: var(--fx-accent-soft); color: var(--fx-accent-ink); }
html[data-lang="ko"] .fx-tag { font-family: var(--fx-ko); font-size: 11px; letter-spacing: 0; }
:root[data-theme="dark"] .fx-tag { color: var(--fx-accent); }
.fx-tag.is-open, :root[data-theme="dark"] .fx-tag.is-open { background: transparent; border: 1px dashed var(--fx-line-2); color: var(--fx-mute); }

.fx-chrono { position: relative; }
.fx-chrono-top { padding-top: 26px; }
.fx-chrono-h.is-future { margin-top: 30px; }
.fx-chrono-note { margin: 12px 0 0; max-width: 34em; font-size: 15px; line-height: 1.6; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-chrono-note { line-height: 1.8; }
.fx-stations { width: min(var(--fx-max), 100% - 2 * var(--fx-gutter)); margin: 26px auto 64px; padding: 0 0 0 22px; list-style: none; display: grid; gap: 28px; border-left: 1px solid var(--fx-line-2); }
.fx-station-date { margin: 0 0 8px; font: 500 24px/1 var(--fx-mono); letter-spacing: -.04em; color: var(--fx-ink); }
.fx-station-date small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .02em; color: var(--fx-mute); -webkit-text-stroke: 0; }
html[data-lang="ko"] .fx-station-date small { font-family: var(--fx-ko); letter-spacing: 0; }
.fx-station.is-current .fx-station-date { color: var(--fx-accent); }
/* an open question has no date yet: its number is drawn in outline, like its dotted ring */
.fx-station.is-open .fx-station-date { color: transparent; -webkit-text-stroke: 1px var(--fx-ink-2); }
.fx-station-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
html[data-lang="ko"] .fx-station-body h3 { font-weight: 600; }
.fx-station-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-station-body p { line-height: 1.75; }
.fx-station-body .fx-station-q { margin-bottom: 10px; font-size: 15.5px; line-height: 1.5; color: var(--fx-ink); }
html[data-lang="ko"] .fx-station-body .fx-station-q { line-height: 1.7; }
.fx-chrono-cue { display: none; }

.fx-chrono.is-live { height: calc(100vh + var(--steps, 10) * 44vh); }
.fx-chrono.is-live .fx-chrono-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fx-chrono.is-live .fx-chrono-top { position: absolute; top: clamp(80px, 11vh, 118px); left: 0; right: 0; margin-inline: auto; padding: 0; }
.fx-chrono.is-live .fx-chrono-h { position: absolute; top: 0; left: 0; max-width: 38em; transition: opacity .45s var(--fx-ease), transform .45s var(--fx-ease); }
.fx-chrono.is-live .fx-chrono-h.is-future { margin: 0; opacity: 0; transform: translateY(10px); pointer-events: none; }
.fx-chrono.is-future .fx-chrono-h.is-past { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.fx-chrono.is-future .fx-chrono-h.is-future { opacity: 1; transform: none; pointer-events: auto; }
.fx-chrono.is-live .fx-stations { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; border: 0; display: block; }
.fx-chrono.is-live .fx-station { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.fx-chrono.is-live .fx-station-date { position: absolute; left: -3px; bottom: 24px; margin: 0; white-space: nowrap; font-size: clamp(30px, 3.3vw, 46px); letter-spacing: -.055em; }
.fx-chrono.is-live .fx-station-date small { display: inline; margin: 0 0 0 10px; font-size: 13px; letter-spacing: .02em; }
.fx-chrono.is-live .fx-station-body { position: absolute; left: 0; top: 28px; width: min(300px, 70vw); }
.fx-chrono.is-live .fx-chrono-cue {
  display: flex; align-items: center; gap: 12px;
  position: absolute; left: 0; right: 0; bottom: 28px; width: min(var(--fx-max), 100% - 2 * var(--fx-gutter)); margin: 0 auto;
  font: 500 11.5px/1.3 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-mute);
  transition: opacity .4s var(--fx-ease);
}
html[data-lang="ko"] .fx-chrono.is-live .fx-chrono-cue { font-family: var(--fx-ko); font-size: 12.5px; letter-spacing: .01em; text-transform: none; }
.fx-chrono-cue i { width: 36px; height: 1px; background: linear-gradient(90deg, var(--fx-mute), transparent); transform-origin: left; animation: fx-drip-x 2.6s var(--fx-ease) infinite; }
@keyframes fx-drip-x { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.fx-chrono.is-moved .fx-chrono-cue { opacity: 0; }


/* home reading */
.fx-read { padding-top: 12px; }
.fx-bigtext { margin: 0 0 22px; max-width: 40em; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.5; letter-spacing: -.018em; }
html[data-lang="ko"] .fx-bigtext { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.75; letter-spacing: -.025em; }
.fx-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fx-pillar { border-radius: var(--fx-r-card); padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--fx-panel); border: 1px solid var(--fx-panel-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.fx-pillar strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.fx-pillar p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-pillar p { line-height: 1.7; }
.fx-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fx-door {
  min-height: 250px;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: transform .3s var(--fx-ease);
}
.fx-door:hover { transform: translateY(-3px); }
.fx-door-top { font: 500 11px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.fx-door h3 { margin: 0 0 8px; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
html[data-lang="ko"] .fx-door h3 { font-weight: 600; letter-spacing: -.035em; }
.fx-door p { margin: 0; font-size: 14px; line-height: 1.5; opacity: .86; }
html[data-lang="ko"] .fx-door p { line-height: 1.65; }
.fx-door-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.fx-door-link svg { width: 12px; height: 12px; }

/* definition: a ladder to climb (2026-09-26 night). Four sentences read one at a time under a reading light; a
   question and an audit set side by side; the auditor ladder standing bottom to top; the two endings splitting the
   screen in half. */
.fx-page--definition .fx-field { opacity: .82; }
:root[data-theme="dark"] .fx-page--definition .fx-field { opacity: .76; }
.fx-part-head { max-width: 40em; margin-bottom: 22px; }
.fx-creed, .fx-qa, .fx-climb, .fx-split { padding: 72px 0 24px; scroll-margin-top: 70px; }

.fx-creed-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding: 34px 0 30px; border-top: 1px solid var(--fx-line); transition: opacity .6s var(--fx-ease); }
.fx-creed-num { font: 500 12px/2.6 var(--fx-mono); letter-spacing: .04em; color: var(--fx-accent); }
.fx-creed-line { margin: 0 0 14px; max-width: 18em; font: 500 clamp(30px, 3.8vw, 54px)/1.06 var(--fx-sans); letter-spacing: -.042em; color: var(--fx-ink); }
html[data-lang="ko"] .fx-creed-line { font-family: var(--fx-ko); font-weight: 600; line-height: 1.24; letter-spacing: -.04em; font-size: clamp(27px, 3.3vw, 46px); }
.fx-creed-text { margin: 0; max-width: 40em; font-size: 17px; line-height: 1.62; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-creed-text { font-size: 16.5px; line-height: 1.85; }
.fx-creed-live .fx-creed-item { opacity: .24; }
.fx-creed-live .fx-creed-item.is-lit { opacity: 1; }

.fx-qa-pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.3fr); align-items: stretch; }
.fx-qa-cell { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 26px 26px 24px; border-radius: var(--fx-r-panel); }
.fx-qa-cell .fx-label { margin: 0; color: inherit; opacity: .72; }
/* a question is a doubt left open (dashed, like the record's open questions); an audit closes it (solid) */
.fx-qa-cell.is-q { border: 1px dashed var(--fx-line-2); }
.fx-qa-cell.is-a { background: var(--fx-card-ink); color: var(--fx-card-ink-fg); }
.fx-qa-big { margin: 0; font: 500 clamp(24px, 2.5vw, 36px)/1.14 var(--fx-sans); letter-spacing: -.032em; }
html[data-lang="ko"] .fx-qa-big { font-family: var(--fx-ko); font-weight: 600; line-height: 1.34; font-size: clamp(22px, 2.2vw, 31px); }
.fx-qa-arrow { display: grid; place-items: center; color: var(--fx-accent); }
.fx-qa-arrow svg { width: 28px; height: 28px; transform: rotate(45deg); }
.fx-qa-so { margin: 22px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
html[data-lang="ko"] .fx-qa-so { font-weight: 600; }
.fx-qa-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin-top: 26px; }
.fx-qa-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--fx-line); }
.fx-qa-row h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.fx-qa-row p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-qa-row p { line-height: 1.78; }
.fx-qa .fx-note { margin-top: 26px; }

.fx-climb-lede { margin: 12px 0 0; font-size: 16px; color: var(--fx-ink-2); }
.fx-climb .fx-ladder { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: end; }
/* the ladder stands: L0 at the foot, one rail up the side, a rung for every step; the rungs already climbed and the
   one in view are drawn in the accent, the ones above wait pale */
.fx-steps[data-climb] { display: flex; flex-direction: column-reverse; gap: 0; position: relative; padding-left: 30px; }
.fx-steps[data-climb]::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--fx-line-2); }
.fx-steps[data-climb] .fx-step { position: relative; padding: 13px 8px 13px 16px; border: 0; border-radius: 12px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: opacity .3s var(--fx-ease), background-color .2s var(--fx-ease); }
.fx-steps[data-climb] .fx-step::before { content: ""; position: absolute; left: -20px; top: 50%; width: 30px; height: 2px; border-radius: 2px; background: var(--fx-line-2); transition: background-color .3s var(--fx-ease); }
.fx-steps[data-climb] .fx-step:hover { background: var(--fx-accent-soft); }
.fx-steps[data-climb] .fx-step:not(.is-climbed):not([aria-selected="true"]) { opacity: .46; }
.fx-steps[data-climb] .fx-step.is-climbed::before, .fx-steps[data-climb] .fx-step[aria-selected="true"]::before { background: var(--fx-accent); }
.fx-steps[data-climb] .fx-step[aria-selected="true"] { background: transparent; color: var(--fx-ink); }
.fx-steps[data-climb] .fx-step[aria-selected="true"] .fx-step-code { color: var(--fx-accent); }
.fx-steps[data-climb] .fx-step[aria-selected="true"] strong { font-size: 21px; letter-spacing: -.02em; }
.fx-steps[data-climb] .fx-step[aria-selected="true"] small { color: var(--fx-ink-2); opacity: 1; }
.fx-detail-top b { font-weight: 500; }
.fx-climb .fx-detail { position: static; padding: 26px; border-radius: var(--fx-r-panel); }
.fx-climb .fx-detail h3 { font-size: clamp(28px, 3vw, 40px); }
.fx-climb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fx-climb-btn { appearance: none; cursor: pointer; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: inherit; font: 500 13.5px/1 var(--fx-sans); transition: background-color .2s var(--fx-ease), opacity .2s var(--fx-ease); }
.fx-climb-btn.is-up { background: var(--fx-card-ink-fg); color: var(--fx-card-ink); border-color: transparent; }
.fx-climb-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.fx-climb-btn.is-up:hover:not(:disabled) { background: var(--fx-glass-accent, #93a6ff); color: #0e0f11; }
.fx-climb-btn:disabled { opacity: .35; cursor: default; }

.fx-split-lede { margin: 12px 0 0; max-width: 42em; font-size: 16px; line-height: 1.6; color: var(--fx-ink-2); }
html[data-lang="ko"] .fx-split-lede { line-height: 1.8; }
.fx-split-halves { display: grid; grid-template-columns: 1fr 1fr; min-height: min(62vh, 560px); margin-top: 30px; }
.fx-half { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: clamp(28px, 5vw, 72px); }
.fx-half-top { font: 500 11.5px/1 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.fx-half h3 { margin: 0; font: 500 clamp(36px, 4.6vw, 68px)/.98 var(--fx-sans); letter-spacing: -.048em; }
html[data-lang="ko"] .fx-half h3 { font-family: var(--fx-ko); font-weight: 600; line-height: 1.16; letter-spacing: -.04em; font-size: clamp(32px, 4vw, 58px); }
.fx-half p { margin: 0; max-width: 24em; font-size: 18px; line-height: 1.5; opacity: .9; }
.fx-split-link { margin: 18px 0 0; font-size: 14.5px; }
.fx-split-link a { color: var(--fx-ink-2); }

/* the next chapter: every page ends on a door to the next, in the menu's order; the record leads back to the start */
.fx-next { padding: 64px 0 10px; }
.fx-next-link { display: grid; gap: 12px; padding: 30px 0 28px; border-top: 1px solid var(--fx-line-2); color: var(--fx-ink); text-decoration: none; }
.fx-next-link .fx-label { margin: 0; }
.fx-next-title { display: flex; align-items: center; gap: .22em; font: 500 clamp(52px, 8.4vw, 124px)/.92 var(--fx-sans); letter-spacing: -.056em; transition: color .3s var(--fx-ease); }
html[data-lang="ko"] .fx-next-title { font-family: var(--fx-ko); font-weight: 600; letter-spacing: -.05em; font-size: clamp(46px, 7.4vw, 108px); line-height: 1.02; }
.fx-next-arrow { display: inline-grid; place-items: center; width: .5em; height: .5em; }
.fx-next-arrow svg { width: 100%; height: 100%; transition: transform .35s var(--fx-ease); }
.fx-next-link:hover .fx-next-title, .fx-next-link:focus-visible .fx-next-title { color: var(--fx-accent); }
.fx-next-link:hover .fx-next-arrow svg { transform: translate(.08em, -.08em); }
.fx-next-text { max-width: 36em; font-size: 17px; line-height: 1.55; color: var(--fx-ink-2); }

/* charter orbit: the charter's one-line definition above each question */
.fx-orbit-def { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: var(--fx-ink-2); }
.fx-orbit.is-live .fx-orbit-def { max-width: 38em; margin: 0 auto 14px; font-size: 15.5px; }

/* cosmos moments (2026-09-27): a WebGL layer over the field and under the edge glow, drawn only while a moment runs —
   a passage, a comet, a star throwing off its shell, a ring's pulse. It never darkens the light page. */
.fx-cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; visibility: hidden; }
/* the passages between worlds on the sites tour: in the dark only, where the page is night already, and only when the
   layer can draw them; on the light ground (a white hole must not go dark) and without WebGL they take no room */
.fx-passage { display: none; }
:root[data-theme="dark"].fx-cosmos-live .fx-passage { display: block; height: 110vh; height: 110svh; }

/* ------------------------------------------------------------------ footer + family line */
.fx-foot { margin-top: 56px; }
.fx-foot-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 22px; }
.fx-foot-brand strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.fx-foot-brand p { margin: 6px 0 0; font-size: 13.5px; color: var(--fx-mute); }
.fx-foot-col { display: grid; gap: 7px; align-content: start; }
.fx-foot-col .fx-label { margin-bottom: 4px; }
.fx-foot-col a, .fx-foot-col p { margin: 0; font-size: 13.5px; color: var(--fx-ink-2); text-decoration: none; }
.fx-foot-col a:hover { color: var(--fx-ink); text-decoration: underline; text-underline-offset: 3px; }

.riscon-family-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 26px;
  padding: 16px var(--fx-gutter) 22px;
  border-top: 1px solid var(--fx-line);
  font: 500 11.5px/1.4 var(--fx-mono);
  letter-spacing: .04em;
}
.riscon-family-lab { display: inline-flex; align-items: center; gap: 6px; color: var(--fx-ink); text-decoration: none; }
.riscon-family-lab::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fx-accent); }
.riscon-family-lab svg { width: 11px; height: 11px; }
.riscon-family-rule { width: 26px; height: 1px; background: var(--fx-line-2); }
.riscon-family-sites { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.riscon-family-sites a { color: var(--fx-mute); text-decoration: none; }
.riscon-family-sites a:hover { color: var(--fx-ink); }

/* ------------------------------------------------------------------ rim: a black hole in the dark, a white hole in the light
 * A deep navy gathers at the edge of the screen, under the text and over the field of points — a navy glow round the
 * dark (black hole), a navy soot round the light (white hole). Its brightest part turns slowly
 * around the edge. It sits under the text, so no letter is tinted. (2026-09-26, 대표님: 테두리 그을음 — 블랙홀·화이트홀) */
@property --fx-rim-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.fx-rim { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.fx-rim {
  --rim-hot: 14, 28, 86;
  --rim-cool: 53, 82, 214;
  --rim-a1: .13;
  --rim-a2: .5;
  --rim-c1: .32;
  --rim-c2: .16;
  background:
    conic-gradient(from var(--fx-rim-a) at 50% 50%, rgba(var(--rim-hot), 0) 0deg, rgba(var(--rim-hot), var(--rim-c1)) 70deg, rgba(var(--rim-hot), 0) 150deg, rgba(var(--rim-cool), 0) 190deg, rgba(var(--rim-cool), var(--rim-c2)) 250deg, rgba(var(--rim-cool), 0) 320deg),
    radial-gradient(ellipse at 50% 50%, rgba(var(--rim-hot), 0) 50%, rgba(var(--rim-hot), var(--rim-a1)) 74%, rgba(var(--rim-hot), var(--rim-a2)) 100%);
  -webkit-mask: radial-gradient(ellipse at 50% 50%, transparent 50%, #000 92%);
  mask: radial-gradient(ellipse at 50% 50%, transparent 50%, #000 92%);
  animation: fx-rim-turn 90s linear infinite;
}
:root[data-theme="dark"] .fx-rim { --rim-hot: 30, 54, 150; --rim-cool: 70, 96, 220; --rim-a1: .12; --rim-a2: .5; --rim-c1: .4; --rim-c2: .2; mix-blend-mode: screen; }
@keyframes fx-rim-turn { to { --fx-rim-a: 360deg; } }
/* the white hole's core: in the light the middle glows a little brighter than the ground, so the light seems to
 * pour out toward the navy edge. Under the points. Not in the dark, where the middle stays a black hole. */
.fx-core { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .28) 32%, rgba(255, 255, 255, 0) 62%); }
:root[data-theme="dark"] .fx-core { display: none; }
@media (pointer: coarse) {
  .fx-rim { -webkit-mask: radial-gradient(ellipse at 50% 50%, transparent 58%, #000 96%); mask: radial-gradient(ellipse at 50% 50%, transparent 58%, #000 96%); }
}
@media (prefers-reduced-motion: reduce) { .fx-rim { animation: none !important; } }
@media (prefers-contrast: more) { .fx-rim, .fx-core { display: none; } }

/* ------------------------------------------------------------------ reveal */
.fx-js .fx-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--fx-ease), transform .7s var(--fx-ease); }
.fx-js .fx-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1040px) {
  .fx-pillars, .fx-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-foot-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .fx-section { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fx-ladder { grid-template-columns: minmax(0, 1fr); }
  .fx-detail { position: static; }
  .fx-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-climb .fx-ladder { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .fx-qa-pair { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fx-qa-arrow { height: 34px; }
  .fx-qa-arrow svg { transform: rotate(135deg); }
  .fx-qa-cell { min-height: 0; gap: 18px; }
  .fx-qa-rows { grid-template-columns: minmax(0, 1fr); }
  .fx-law { align-items: flex-end; min-height: 88vh; min-height: 88svh; padding: 42vh 0 40px; padding: 42svh 0 40px; }
  .fx-navlinks { display: none; }
  .fx-navcurrent { display: block; }
  .fx-navpill .fx-menu-links { display: grid; }
  .fx-rail { display: none; }
  .fx-stop, .fx-stop.is-right { justify-content: flex-start; align-items: flex-end; padding: 46vh 0 64px; padding: 46svh 0 64px; }
  .fx-stop.is-right .fx-stop-body { margin-right: 0; }
  .fx-map { align-items: flex-start; padding-top: 50vh; padding-top: 50svh; }
  .fx-map-panel { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; border: 1px solid var(--fx-panel-line); border-radius: var(--fx-r-panel); background: var(--fx-panel); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); }
}
@media (max-width: 640px) {
  .fx-pillars, .fx-poles, .fx-rules { grid-template-columns: minmax(0, 1fr); }
  .fx-rule { min-height: 0; }
  .fx-orbit.is-live .fx-orbit-ring { height: 250px; margin: 0; }
  .fx-orbit.is-live .fx-orbit-stage { width: 84%; height: 250px; }
  .fx-orbit-dot b { display: none; }
  .fx-orbit-dot.is-on b { display: block; }
  .fx-orbit-chips { display: none; }
  .fx-orbit.is-live .fx-orbit-ring, .fx-orbit.is-live .fx-orbit-stage { height: 330px; }
  .fx-orbit.is-live .fx-orbit-def { font-size: 13.5px; margin-bottom: 10px; }
  .fx-creed-item { grid-template-columns: minmax(0, 1fr); padding: 26px 0 24px; }
  .fx-creed-num { line-height: 1.6; margin-bottom: 8px; }
  .fx-split-halves { grid-template-columns: minmax(0, 1fr); }
  .fx-half { min-height: 44vh; min-height: 44svh; }
  .fx-doors { grid-template-columns: minmax(0, 1fr); }
  .fx-door { min-height: 190px; }
  .fx-hero { padding-top: 78px; padding-bottom: 20px; }
  .fx-hero-note { display: none; }
  .fx-chips { display: none; }
  .fx-prompt .fx-pill-row { padding-left: 16px; }
  .fx-prompt-lead, .fx-topic { font-size: 14.5px; }
  .fx-card { grid-template-columns: minmax(0, 1fr); }
  .fx-card-link { justify-self: start; }
  .fx-cue { display: none; }
  .fx-mode[data-mode="linear"] { display: none; }
  .fx-foot-panel { grid-template-columns: minmax(0, 1fr); }
  .fx-setting-name { flex-basis: 62px; }
  .fx-tour-head { padding-top: 96px; }
  .fx-catalog { gap: 8px 18px; }
  .fx-stop-name { margin-bottom: 18px; }
  .fx-stop-card { padding: 20px 20px 16px; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fx-js .fx-reveal { opacity: 1; transform: none; }
  .fx-cue-down i, .fx-chrono-cue i { animation: none; }
}
