:root {
  --bg: #F2EFE8;
  --surface: #F7F4EE;
  --ink: #17130D;
  --ink-soft: #403A30;
  --muted: #6E675A;
  --hairline: #DDD7C9;
  --hairline-strong: #BFB8A6;

  --dark: #0B0B0B;
  --dark-panel: #131210;
  --paper: #F2EFE8;
  --paper-muted: #B4AE9F;
  --dark-hairline: rgba(242, 239, 232, 0.16);
  --dark-hairline-strong: rgba(242, 239, 232, 0.34);

  --accent: #C1121F;
  --accent-deep: #9E0F19;
  --accent-bright: #E63340;
  --accent-wash: #F3D8D8;
  --on-accent: #F7F4EE;

  --r: 8px;

  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;

  --fs-body: 1.0625rem;
  --fs-lead: 1.28rem;
  --fs-kicker: 0.78rem;
  --fs-meta: 0.85rem;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 220ms;

  --header-h: 68px;
  --gutter: clamp(20px, 4.5vw, 44px);
  --section-pad: clamp(4.75rem, 10vw, 8.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
[hidden] { display: none !important; }

a {
  color: var(--ink);
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.sec-index {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
}

.lede {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
}

.outcome {
  font-family: var(--font-display);
  font-size: 1.26em;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
}

.rule { border: 0; border-top: 1px solid var(--hairline); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.js .site-header { animation: headerDrop 0.7s var(--ease) 0.05s backwards; }
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

.portal { display: none; }
.js .portal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--dark);
  overflow: hidden;
  animation: portalRun 2.5s var(--ease) forwards;
}
@keyframes portalRun {
  0%, 78% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
body.is-portal-lock { overflow: hidden; }

.portal-shapes { position: absolute; inset: 0; }
.ps {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.2vmin;
  height: 3.2vmin;
  background: var(--accent);
  opacity: 0;
  transform-origin: center;
  animation: portalShape 1.75s var(--ease) var(--d, 0s) forwards;
}
.ps.is-rect { width: 2.3vmin; height: 4.6vmin; }
.ps.is-square { width: 2.6vmin; height: 2.6vmin; }
.ps.is-circle { border-radius: 50%; }
.ps.is-tri {
  width: 0;
  height: 0;
  background: transparent;
  border-left: 1.9vmin solid transparent;
  border-right: 1.9vmin solid transparent;
  border-bottom: 3.4vmin solid var(--accent);
}
.ps.is-cross {
  width: 3vmin;
  height: 3vmin;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 26% no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 26% 100% no-repeat;
}
@keyframes portalShape {
  0% { transform: translate(var(--tx), var(--ty)) scale(0.4) rotate(var(--r)); opacity: 0; }
  18% { opacity: 1; }
  60% { transform: translate(0, 0) scale(1.15) rotate(var(--r)); opacity: 1; }
  100% { transform: translate(0, 0) scale(2.7) rotate(var(--r)); opacity: 0; }
}

.portal-rings { position: absolute; inset: 0; }
.portal-rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34vmin;
  height: 34vmin;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: portalRing 2s var(--ease) var(--rd, 0.45s) forwards;
}
.portal-rings i:nth-child(2) { --rd: 0.8s; border-color: rgba(242, 239, 232, 0.35); width: 30vmin; height: 30vmin; }
.portal-rings i:nth-child(3) { --rd: 1.1s; width: 26vmin; height: 26vmin; }
@keyframes portalRing {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

.portal-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-align: center;
  opacity: 0;
  animation: portalTitle 2.2s var(--ease) 0.5s forwards;
}
.portal-title span { color: var(--accent-bright); }
@keyframes portalTitle {
  0% { opacity: 0; transform: scale(0.86); }
  22% { opacity: 1; }
  76% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .js .portal { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--on-accent); }

.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: #000; color: var(--bg); }
.dark .btn-solid { background: var(--paper); color: var(--dark); }
.dark .btn-solid:hover { background: #fff; color: var(--dark); }

.btn-ghost { border-color: var(--hairline-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.dark .btn-ghost { border-color: var(--dark-hairline-strong); color: var(--paper); }
.dark .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

.spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(242, 239, 232, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

.dark { background: var(--dark); color: var(--paper); }
.dark .kicker, .dark .sec-index { color: var(--paper-muted); }
.dark .lede { color: var(--paper-muted); }
.dark .h2, .dark .h3, .dark .outcome { color: var(--paper); }
.dark a { color: var(--paper); }
.dark a:hover { color: var(--accent-bright); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--paper);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header.is-scrolled {
  background: rgba(242, 239, 232, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.34rem;
  letter-spacing: 0.02em;
  color: currentColor;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}
.wordmark-year { color: var(--accent); font-size: 0.8em; font-weight: 600; letter-spacing: 0.08em; }

.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.5rem); }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: currentColor;
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-nav a:hover { border-bottom-color: currentColor; }
.site-nav a[aria-current="true"] { border-bottom-color: var(--accent); }
.site-nav .btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  border-radius: var(--r);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--paper);
  border-top: 1px solid var(--dark-hairline);
  padding: 1.25rem var(--gutter) 1.75rem;
  display: grid;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0.25rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid var(--dark-hairline);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a .m-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 300;
}

.you-are-here {
  position: fixed;
  left: var(--gutter);
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: rgba(242, 239, 232, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
}
.you-are-here .yah-mark { color: var(--accent); }
.you-are-here .yah-sep { color: var(--hairline-strong); }
.you-are-here a {
  color: var(--ink);
  text-decoration: none;
}
.you-are-here a:hover { color: var(--accent); }
.you-are-here .yah-here { color: var(--ink); }
.dark .you-are-here {
  background: rgba(11, 11, 11, 0.85);
  border-color: var(--dark-hairline);
  color: var(--paper-muted);
}
.dark .you-are-here a { color: var(--paper); }
.dark .you-are-here a:hover { color: var(--accent-bright); }
.dark .you-are-here .yah-here { color: var(--paper); }
.dark .you-are-here .yah-sep { color: var(--dark-hairline-strong); }

.hero {
  background: var(--dark);
  color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: var(--section-pad);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-kicker::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.hero-kicker span {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(3.2rem, 12vw, 9rem);
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .year { color: var(--accent); }

.hero-claim {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  max-width: 34ch;
  color: var(--paper);
}

.hero-facts {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--dark-hairline);
}
.hero-fact {
  padding: 1.15rem 1.25rem 1.15rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-left: 1px solid var(--dark-hairline);
}
.hero-fact:first-child { border-left: 0; padding-left: 0; }
.hero-fact svg { width: 1.15rem; height: 1.15rem; color: var(--accent-bright); flex: none; margin-top: 0.15rem; }
.hero-fact .hf-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}
.hero-fact .hf-value { font-size: 1rem; font-weight: 600; color: var(--paper); margin-top: 0.2rem; }

.hero-actions {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contents { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.contents-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--dark-hairline-strong);
}
.contents-head .kicker { color: var(--paper-muted); letter-spacing: 0.28em; }
.contents-head .contents-count {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--paper-muted);
  font-weight: 600;
}

.contents-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.contents-list li { border-bottom: 1px solid var(--dark-hairline); }
.contents-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.15rem;
  color: var(--paper);
  text-decoration: none;
  transition: padding var(--dur) var(--ease);
}
.contents-list a:hover { color: var(--paper); padding-left: 0.35rem; }
.contents-list .c-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--paper-muted);
  font-weight: 600;
  width: 2.2rem;
  flex: none;
  transition: color var(--dur) var(--ease);
}
.contents-list .c-title { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; flex: 1; }
.contents-list .c-arrow {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent-bright);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contents-list a:hover .c-arrow { opacity: 1; transform: translateX(0); }
.contents-list a:hover .c-num { color: var(--accent-bright); }

.about-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.about-main {
  max-width: 76ch;
  display: grid;
  gap: 1.35rem;
}
.about-main p { color: var(--ink-soft); }

.about-stat {
  margin-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: end;
  max-width: 100%;
}
.about-stat .stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 6.5vw, 4.6rem);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.about-stat .stat-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 0.4rem;
}

.disciplines {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
}
.disciplines li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 1rem;
  margin-right: 1rem;
  border-right: 1px solid var(--hairline-strong);
}
.disciplines li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.worlds {
  position: relative;
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}
.worlds .container { position: relative; }
.w-num {
  position: absolute;
  top: 2rem;
  right: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14rem, 42vw, 30rem);
  line-height: 0.75;
  letter-spacing: -0.05em;
  color: var(--accent);
  user-select: none;
  pointer-events: none;
  opacity: 0.92;
}
.worlds-head {
  position: relative;
  max-width: 760px;
  padding-top: clamp(5rem, 12vw, 9rem);
}
.worlds-head .kicker { margin-bottom: 1rem; }
.worlds-head .h2 { color: var(--paper); }
.worlds-head .lede { margin-top: 1.2rem; color: var(--paper-muted); max-width: 52ch; }

.worlds-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--section-pad);
}
.world-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.9rem, 4vw, 3rem);
  border: 1px solid var(--dark-hairline-strong);
  border-radius: var(--r);
  background: transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.world-panel:hover { border-color: var(--paper); background: var(--dark-panel); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.world-panel .wp-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}
.world-panel .wp-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.world-panel .wp-desc { color: var(--paper-muted); max-width: 42ch; }
.world-panel .wp-events {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dark-hairline);
}
.world-panel .wp-events li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--dark-hairline);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}
.world-panel .wp-events .we-num { color: var(--accent-bright); }
.world-panel .wp-cta { margin-top: 1.2rem; }

.event-map { background: var(--bg); }
.map-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}
.map-head .kicker { margin-bottom: 1rem; }
.map-head .lede { color: var(--ink-soft); max-width: 60ch; }

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.map-filter {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.map-filter:hover { border-color: var(--ink); }
.map-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.map-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.map-lane.is-hidden { display: none; }
.lane-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.lane-head .lh-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
}
.lane-head .lh-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.map-route { list-style: none; margin: 0; padding: 0; position: relative; }
.map-route::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline-strong);
}
.map-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 0.25rem 0.9rem 3.4rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: padding var(--dur) var(--ease);
}
.map-node:last-child { border-bottom: 0; }
.map-node::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -7px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.map-node:hover { padding-left: 3.7rem; }
.map-node:hover::before { border-color: var(--ink); }
.map-node .mn-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  width: 2.6rem;
  flex: none;
}
.map-node .mn-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  flex: 1;
}
.map-node .mn-arrow {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.map-node:hover .mn-arrow { opacity: 1; transform: translateX(0); }
.map-node.is-active { background: var(--surface); }
.map-node.is-active::before { background: var(--accent); border-color: var(--accent); }
.map-node.is-active .mn-name { font-weight: 600; }

.map-info {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.map-info .mi-empty {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.map-info[hidden] { display: none; }
.mi-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.mi-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.mi-body { color: var(--ink-soft); max-width: 58ch; }
.mi-team {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1rem;
}
.mi-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--surface);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.explore-card:hover { border-color: var(--ink); background: var(--bg); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 11, 11, 0.12); }
.explore-card .ec-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.explore-card .ec-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
}
.explore-card .ec-desc { color: var(--ink-soft); max-width: 44ch; }
.explore-card .ec-events {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.explore-card .ec-cta {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}
.explore-card .ec-cta svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
.explore-card:hover .ec-cta svg { transform: translateX(4px); }

.world-hero {
  background: var(--dark);
  color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--dark-hairline);
}
.world-hero .kicker { margin-bottom: 1.2rem; color: var(--accent-bright); }
.world-hero .world-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 1.5rem;
}
.world-hero .world-lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--paper);
  max-width: 44ch;
}
.world-hero .world-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}
.world-hero .world-meta span b { color: var(--paper); font-weight: 600; }

.world-index {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--hairline);
}
.world-index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.world-index li { background: var(--surface); }
.world-index a {
  display: block;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  height: 100%;
}
.world-index .wi-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}
.world-index .wi-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
}

.event-detail {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding-block: clamp(2.75rem, 5.5vw, 4rem);
  border-bottom: 1px solid var(--hairline);
}
.event-detail:last-of-type { border-bottom: 0; }
.event-detail .ed-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.ed-side .ed-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.ed-side .ed-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.7rem;
}
.ed-main { max-width: 68ch; }
.ed-main .ed-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.ed-main p { color: var(--ink-soft); margin-bottom: 1.15rem; }
.ed-main .outcome { color: var(--ink); margin-bottom: 1.4rem; }
.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r);
  padding: 0.45rem 0.7rem;
}
.team-tag svg { width: 0.95rem; height: 0.95rem; color: var(--accent); }

.world-out {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.world-out .wo-text { max-width: 46ch; }
.world-out .wo-text p:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.world-out .wo-text p:last-child { color: var(--ink-soft); }

.info-page { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); padding-bottom: var(--section-pad); }
.info-head {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.info-head .kicker { margin-bottom: 1rem; }
.info-head .h2 { margin-bottom: 1.25rem; }
.info-head .lede { max-width: 60ch; }

.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.day { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.day-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.day-head .d-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--accent);
}
.day-head .d-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.day-rows { list-style: none; margin: 0; padding: 0; }
.day-rows li { padding: 1.05rem 0; border-bottom: 1px solid var(--hairline); }
.day-rows li:last-child { border-bottom: 0; }
.t-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.t-events { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.t-events.is-lunch {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.timeline-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--hairline);
}
.rule-list .r-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.rule-list .r-text { color: var(--ink-soft); max-width: 72ch; }
.rule-list .r-text strong { color: var(--accent-deep); font-weight: 600; }
.guidelines-close {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  max-width: 46ch;
  line-height: 1.5;
}

.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  color: var(--ink);
}
.faq-q:hover { color: var(--accent); }
.faq-q .q-icon {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] .faq-q .q-icon { transform: rotate(45deg); }
.faq-a { padding: 0 0.25rem 1.5rem; max-width: 68ch; color: var(--ink-soft); }
.faq-a .q-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.quiz { background: var(--dark); }
.quiz-head {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}
.quiz-head .kicker { margin-bottom: 1rem; color: var(--accent-bright); }
.quiz-head .h2 { color: var(--paper); margin-bottom: 1.25rem; }
.quiz-head .lede { color: var(--paper-muted); max-width: 60ch; }

.quiz-shell { width: 100%; margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: clamp(6rem, 12vw, 9rem); }
.quiz-screen { display: none; }
.quiz-screen.is-active { display: block; animation: qfade 0.45s var(--ease); }
@keyframes qfade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .quiz-screen.is-active { animation: none; } }

.quiz-intro .q-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  font-weight: 600;
  margin-bottom: 1rem;
}
.quiz-intro .h3 { color: var(--paper); margin-bottom: 1rem; }
.quiz-intro p { color: var(--paper-muted); max-width: 56ch; margin-bottom: 1.75rem; }

.q-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--paper-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.q-bar { flex: 1; height: 1px; background: var(--dark-hairline); position: relative; }
.q-bar i {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.q-count-n { color: var(--accent-bright); }
.q-dimension {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.q-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  color: var(--paper);
  max-width: 26ch;
  margin-bottom: 2.5rem;
}

.slider-wrap { max-width: 640px; }
.range-row { position: relative; padding-top: 0.75rem; }
input[type="range"].quiz-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--dark-hairline-strong);
  border-radius: 0;
  margin: 0;
  cursor: pointer;
  outline-offset: 10px;
}
input[type="range"].quiz-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 26px;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  cursor: grab;
}
input[type="range"].quiz-range::-moz-range-thumb {
  width: 14px;
  height: 26px;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  cursor: grab;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.range-labels .rl-here { color: var(--paper); font-weight: 600; }
.range-active {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--paper);
  min-height: 1.6em;
}

.quiz-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.quiz-reveal .r-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--accent-bright);
  font-weight: 600;
  text-transform: uppercase;
}
.quiz-reveal .r-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 1rem 0 1.25rem;
}
.quiz-reveal .r-why {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--paper);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}
.r-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  max-width: 640px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-hairline);
  margin-bottom: 1.5rem;
}
.r-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
}
.r-meta b { color: var(--paper); font-weight: 600; }
.r-desc { color: var(--paper-muted); max-width: 56ch; margin-bottom: 1.5rem; }
.r-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.r-restart {
  background: none;
  border: 0;
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.5rem 0;
}
.r-restart:hover { color: var(--paper); }

.register-page { background: var(--bg); }
.reg-head {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}
.reg-head .kicker { margin-bottom: 1rem; color: var(--accent); }
.reg-head .h2 { margin-bottom: 1.25rem; }
.reg-head .lede { max-width: 60ch; }

.reg-shell { width: 100%; margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); padding-bottom: clamp(6rem, 12vw, 9rem); }
.reg-steps { display: flex; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 0.25rem 0; }
.reg-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.reg-step .rs-num {
  width: 26px;
  height: 26px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.reg-step + .reg-step::before {
  content: "";
  width: clamp(0.75rem, 2.5vw, 1.75rem);
  height: 1px;
  background: var(--hairline-strong);
  margin: 0 0.6rem;
}
.reg-step.is-here { color: var(--ink); }
.reg-step.is-here .rs-num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.reg-step.is-done { color: var(--ink); }
.reg-step.is-done .rs-num { border-color: var(--accent); color: var(--accent); }

.reg-screen { display: none; }
.reg-screen.is-active { display: block; }
.reg-screen .h3 { margin-bottom: 0.4rem; }
.reg-screen .rs-sub { color: var(--ink-soft); margin-bottom: 1.75rem; max-width: 58ch; }

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r);
  transition: border-color var(--dur) var(--ease);
}
.field input::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--accent); }
.field-error {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 0.4rem;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.rs-mention { margin-top: -1rem; }

.ev-group { margin-bottom: 1.75rem; }
.ev-group:last-child { margin-bottom: 0; }
.ev-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.ev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ev-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ev-card:hover { border-color: var(--hairline-strong); }
.ev-card.is-on { border-color: var(--accent); background: var(--accent-wash); }
.ev-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  padding: 1rem 1.1rem 0.4rem;
  cursor: pointer;
}
.ev-tick {
  grid-row: 1 / span 2;
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 3px;
  background: var(--paper);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  line-height: 1;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ev-tick::after { content: ""; font-size: 0.66rem; line-height: 1; }
.ev-card.is-on .ev-tick::after { content: "✓"; }
.ev-check { position: absolute; opacity: 0; pointer-events: none; }
.ev-card.is-on .ev-tick { background: var(--accent); border-color: var(--accent); }
.ev-check:focus-visible + .ev-card-body .ev-tick { outline: 2px solid var(--ink); outline-offset: 2px; }
.ev-main { display: flex; flex-direction: column; gap: 0.15rem; }
.ev-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.ev-team {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ev-blurb {
  grid-column: 2;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.ev-more {
  align-self: flex-start;
  margin: 0.2rem 0 0.9rem 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.ev-more:hover { text-decoration: underline; }
.ev-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}

.reg-team-blocks { display: grid; gap: 1.25rem; }
.reg-team-block {
  padding: 1.1rem 1.25rem 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--surface);
}
.reg-team-block .field-grid { margin-top: 0.5rem; }
.rtb-event-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.25rem;
}
.rtb-event-hint.is-warn { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-wash); }
.rtb-event {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r);
  background: var(--paper);
  margin-bottom: 0.75rem;
}
.rtb-event-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.rtb-event-path {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rtb-event-link {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.rtb-event-link:hover { text-decoration: underline; }
.rtb-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.75rem;
}

.review-team { margin-top: 1.5rem; }
.review-team .rtb-num { color: var(--ink); }
.review-team:first-of-type { margin-top: 0; }

.su-team {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}
.su-team:last-child { border-bottom: 0; padding-bottom: 0; }
.su-team > p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.su-team ul { list-style: none; margin: 0; padding: 0; }
.su-team li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; }

.reg-nav { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }

.reg-review {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.reg-review li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
}
.reg-review .rr-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.reg-review .rr-value { color: var(--ink); font-weight: 600; text-align: right; }
.reg-review .rr-value.is-muted { color: var(--muted); font-weight: 400; }

.reg-agree {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  cursor: pointer;
  max-width: 62ch;
}
.reg-agree input { margin-top: 0.35rem; accent-color: var(--accent); width: 16px; height: 16px; }
.reg-agree .ra-text { color: var(--ink-soft); font-size: 0.95rem; }

.reg-success { padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem; }
.reg-success .su-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.reg-success .su-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.reg-success .su-sub { color: var(--ink-soft); max-width: 56ch; margin-bottom: 2rem; }
.su-block {
  max-width: 560px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  background: var(--surface);
}
.su-block ul { list-style: none; margin: 0; padding: 0; }
.su-block li {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.su-block li:last-child { border-bottom: 0; }
.su-block li span:first-child {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  min-width: 130px;
}
.su-block li span:last-child { color: var(--ink); font-weight: 600; }
.demo-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}
.su-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.conclusion-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 30ch;
  text-wrap: balance;
}
.conclusion-see {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.contact-block {
  border: 1px solid var(--dark-hairline);
  border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-block .kicker { margin-bottom: 1rem; }
.contact-block .lede { margin-bottom: 0.5rem; color: var(--paper); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--dark-hairline);
}
.contact-list li:first-child { border-top: 0; }
.contact-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-bright);
  flex: none;
}
.contact-list a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.contact-list a:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 4px; }
.contact-list .c-type {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

.site-footer {
  background: var(--dark);
  color: var(--paper-muted);
  border-top: 1px solid var(--dark-hairline);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--paper);
  text-decoration: none;
}
.footer-wordmark .wordmark-year { color: var(--accent); }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--paper-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.footer-meta span { margin-inline: 0.4rem; color: var(--dark-hairline-strong); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { color: var(--paper); }
.footer-legal {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.4rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--dark-hairline);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--paper-muted);
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .contact-grid,
  .about-grid,
  .map-head,
  .map-info,
  .event-detail .ed-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .worlds-grid,
  .map-lanes,
  .explore-grid { grid-template-columns: 1fr; }
  .map-info { gap: 1rem; }

  .timeline-grid { grid-template-columns: 1fr; }
  .world-index ol { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --header-h: 60px; }

  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact {
    border-left: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--dark-hairline);
  }
  .hero-fact:last-child { border-bottom: 0; }

  .contents-list { grid-template-columns: 1fr; }
  .rule-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .ev-grid { grid-template-columns: 1fr; }

  .reg-step .rs-label { display: none; }
  .reg-step + .reg-step::before { width: 0.6rem; margin: 0 0.4rem; }
  .su-block li { flex-direction: column; gap: 0.15rem; }
  .su-block li span:first-child { min-width: 0; }

  .you-are-here { bottom: 0.75rem; left: 0.75rem; }
  .world-index ol { grid-template-columns: 1fr; }
}
