@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fredoka-400.ttf") format("truetype");
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fredoka-500.ttf") format("truetype");
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fredoka-600.ttf") format("truetype");
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-700.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/nunito-400.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/nunito-500.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/nunito-600.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/nunito-700.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-800.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/nunito-italic-400.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/nunito-italic-600.ttf") format("truetype");
}

:root {
  --navy: #0e0f24;
  --navy-700: #34346a;
  --navy-500: #abafdb;
  --navy-300: #7479ad;
  --leaf: #a8d27e;
  --leaf-600: #88b85f;
  --white: #ffffff;
  --paper: #171933;
  --cloud: #272b54;
  --stone: #373b6e;
  --ash: #4b5092;
  --teal: #009688;
  --teal-700: #007a6e;
  --teal-050: #0f2f3a;
  --orange: #ff9300;
  --orange-700: #e07e00;
  --amber: #ffc107;
  --amber-700: #e0a800;
  --coral: #f0624d;
  --coral-700: #d44a37;
  --pink: #e91e63;
  --pink-700: #c70d50;
  --mint: #16233a;
  --bg: var(--paper);
  --bg-fresh: #13142a;
  --surface: #21244a;
  --surface-alt: var(--cloud);
  --border: var(--stone);
  --border-strong: var(--ash);
  --fg1: #eceefc;
  --fg2: var(--navy-500);
  --fg3: var(--navy-300);
  --ink: #eceefc;
  --fg-on-color: #ffffff;
  --primary: var(--teal);
  --primary-hover: var(--teal-700);
  --primary-tint: var(--teal-050);
  --accent-warm: var(--orange);
  --accent-pop: var(--pink);
  --glass: rgba(23, 25, 51, .86);
  --glass-top: rgba(23, 25, 51, .5);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;
  --text-2xl: 36px;
  --text-3xl: 48px;
  --text-4xl: 64px;
  --text-5xl: 84px;
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-body: 1.6;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-extra: 800;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .55);
  --shadow-pop: 0 10px 26px rgba(240, 98, 77, .22);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 360ms;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.is-route-leaving #main,
body.is-route-entering #main {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
  mask: var(--icon-url) center / contain no-repeat;
}

.icon-download {
  --icon-url: url("/assets/icons/ui/download.svg");
}

.icon-mail {
  --icon-url: url("/assets/icons/ui/mail.svg");
}

.icon-arrow-right {
  --icon-url: url("/assets/icons/ui/arrow-right.svg");
}

.icon-lock {
  --icon-url: url("/assets/icons/ui/lock-keyhole.svg");
}

.icon-brand-x {
  --icon-url: url("/assets/icons/brand/x.svg");
}

.icon-brand-bluesky {
  --icon-url: url("/assets/icons/brand/bluesky.svg");
}

.icon-brand-patreon {
  --icon-url: url("/assets/icons/brand/patreon.svg");
}

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--leaf);
  color: var(--navy);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: var(--r-pill);
  border: 3px solid var(--paper);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ash);
}

@keyframes avRise {
  from { transform: translateY(14px); opacity: .9; }
  to { transform: none; opacity: 1; }
}

@keyframes avPop {
  0% { transform: scale(.94); opacity: 0; }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes avFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes avToastIn {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--leaf);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-weight: var(--w-extra);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.wrap {
  max-width: 1160px;
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

.wrap.narrow {
  max-width: 760px;
}

.wrap.wide {
  max-width: 940px;
}

.page-shell {
  opacity: 1;
  transition: opacity 120ms var(--ease-out);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-shell {
    transition: none;
  }
}

.h1,
.h2,
.h3,
.h4,
.hero h1,
.home-hero h1,
.section-heading h2,
.featured-entry h3,
.entry-card h3,
.entry-header h1,
.district-card h3,
.timeline-band h2,
.timeline-list h3,
.character-hero h1,
.character-body h2,
.resident-file h2,
.faq-band h2,
.footer-newsletter h2,
.system-page h1 {
  font-family: var(--font-display);
  color: var(--fg1);
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: var(--text-sm);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-top);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(150%) blur(12px);
  transition: all var(--dur) var(--ease-out);
}

.site-header.is-scrolled,
body:not([data-path="/"]) .site-header {
  background: var(--glass);
  border-bottom-color: var(--stone);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark strong {
  color: var(--teal);
  font-weight: var(--w-bold);
}

.footer-wordmark strong,
.site-footer .wordmark strong {
  color: var(--leaf);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.nav-button),
.site-nav button:not(.nav-button) {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: transparent;
  border: 0;
  transition: all var(--dur) var(--ease-out);
}

.site-nav > a:not(.nav-button):hover,
.site-nav > a:not(.nav-button).is-active {
  color: var(--teal);
  background: var(--teal-050);
}

.inline-form {
  margin: 0;
}

.nav-button,
.button,
.newsletter-form button {
  appearance: none;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
}

.nav-button,
.site-nav .nav-button {
  padding: 9px 18px;
  font-size: 13px;
}

.button,
.newsletter-form button {
  padding: 13px 26px;
  min-height: 48px;
  font-size: 15px;
}

.button.primary,
.newsletter-form button,
.nav-button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.button.primary:hover,
.newsletter-form button:hover,
.nav-button-primary:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
}

.button.secondary,
.nav-button-secondary,
.site-nav .nav-button-secondary,
.nav-button.secondary,
.nav-button-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--stone);
}

.button.secondary:hover,
.nav-button:hover {
  border-color: var(--ash);
}

.nav-button-warm,
.site-nav .nav-button-warm,
.button.warm {
  background: var(--coral);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-pop);
}

.nav-button-warm:hover,
.site-nav .nav-button-warm:hover,
.button.warm:hover {
  background: var(--coral-700);
  transform: translateY(-1px);
}

.btn-icon {
  width: 15px;
  height: 15px;
}

.age-pill {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 12px;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  line-height: 1;
  border: 1.5px solid var(--coral);
  background: transparent;
  color: var(--coral);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}

.age-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.age-pill:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.age-pill-on-dark {
  color: #fff;
  border-color: #ff3f46;
  background: rgba(255, 63, 70, .16);
  box-shadow: 0 0 0 1px rgba(255, 63, 70, .18), 0 0 18px rgba(255, 63, 70, .18);
}

.age-pill-on-dark:hover {
  background: #ff3f46;
  border-color: #ff3f46;
  color: #fff;
}

.member-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 13px;
  color: var(--leaf);
  background: rgba(168, 210, 126, .12);
  border: 1.5px solid rgba(168, 210, 126, .36);
}

.member-pill.locked {
  color: var(--amber);
  background: rgba(255, 193, 7, .1);
  border-color: rgba(255, 193, 7, .42);
}

.member-pill.no-tier {
  color: var(--coral);
  background: rgba(240, 98, 77, .1);
  border-color: rgba(240, 98, 77, .42);
}

.menu-button {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--stone);
  border-radius: var(--r-md);
  width: 44px;
  height: 44px;
  color: var(--ink);
  font-weight: var(--w-extra);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stone);
}

.home-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--mint);
  z-index: 0;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  padding: 40px 28px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.home-hero h1 {
  font-size: 52px;
  line-height: 1.04;
  margin: 0 0 16px;
}

.home-hero h1 span {
  color: var(--teal);
}

.home-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--leading-body);
  color: var(--fg2);
  max-width: 440px;
  margin: 0;
}

.home-hero-img {
  min-height: 300px;
}

.home-hero-real-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stone);
}

.hero-grid {
  padding: 40px 28px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero.compact .wrap {
  padding: 48px 28px 12px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.04;
  margin: 14px 0 16px;
}

.hero.compact h1 {
  font-size: 64px;
  line-height: 1;
  max-width: 760px;
}

.hero h1 span {
  color: var(--teal);
}

.hero p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--leading-body);
  color: var(--fg2);
  max-width: 660px;
  margin: 0;
}

.hero.compact p:last-child {
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-art {
  min-height: 300px;
}

.map-card,
.photo-tile {
  height: 300px;
  width: 100%;
  border-radius: var(--r-xl);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.map-card::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 2px solid rgba(255, 255, 255, .3);
  z-index: 2;
}

.map-card::after {
  content: "Key art";
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 12px;
  color: var(--leaf);
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 2;
}

.map-card span {
  display: none;
}

.map-card span:first-child {
  display: block;
  position: absolute;
  left: 50%;
  top: calc(50% - 19px);
  width: 25px;
  height: 19px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--leaf);
  border-radius: 5px;
  z-index: 3;
}

.map-card span:first-child::before,
.map-card span:first-child::after {
  content: "";
  position: absolute;
  display: block;
}

.map-card span:first-child::before {
  top: 3px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--leaf);
}

.map-card span:first-child::after {
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 8px;
  background: var(--leaf);
  clip-path: polygon(0 100%, 38% 48%, 60% 72%, 80% 42%, 100% 100%);
}

.section-block {
  padding: 64px 28px 84px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2,
.faq-band h2,
.timeline-band h2,
.footer-newsletter h2,
.system-page h1 {
  font-size: 42px;
}

.featured-entry {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone);
  margin-bottom: 28px;
}

.featured-entry:hover,
.entry-card:hover,
.character-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.featured-media {
  position: relative;
  display: block;
  min-height: 340px;
  background: var(--navy);
}

.featured-media.has-no-cover,
.cover-empty {
  background:
    radial-gradient(circle at 22% 20%, rgba(224, 92, 66, .28), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(82, 159, 145, .24), transparent 38%),
    linear-gradient(135deg, #171d21, #24262a 52%, #141517);
}

.cover-empty {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-media .cover-empty {
  min-height: 340px;
}

.latest-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-pop);
}

.locked-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(13, 16, 20, .78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.featured-media img,
.entry-card img,
.entry-cover img,
.entry-media img,
.entry-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-entry > div {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--fg2);
  font-family: var(--font-body);
  font-weight: var(--w-bold);
  font-size: 13px;
  margin: 0 0 14px;
}

.featured-entry h3 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.featured-entry p:not(.meta),
.entry-card p,
.district-card p,
.character-card p {
  color: var(--fg2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--teal);
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 15px;
}

.text-link::after {
  content: "→";
  transition: transform var(--dur) var(--ease-out);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entry-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease-out);
}

.entry-card a {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.entry-card img {
  height: 168px;
}

.entry-card .cover-empty {
  flex: 0 0 auto;
  height: 168px;
}

.entry-card .meta {
  margin: 0 0 10px;
  padding: 20px 22px 0;
  font-size: 12.5px;
}

.entry-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 22px 9px;
}

.entry-card p {
  margin: 0;
  padding: 0 22px 24px;
  font-size: 14.5px;
  line-height: 1.55;
}

.entry-card.is-locked img {
  background: #1b1d1f;
}

.older-posts {
  margin-top: 48px;
}

.older-posts-toggle {
  width: 100%;
  border: 0;
  border-top: 1.5px solid var(--stone);
  border-bottom: 1.5px solid var(--stone);
  background: transparent;
  color: var(--fg1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: var(--w-bold);
  text-align: left;
}

.older-posts-toggle span:last-child {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--stone);
  background: var(--surface);
  color: var(--fg1);
  flex: none;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.older-posts-toggle span:last-child::before,
.older-posts-toggle span:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.older-posts-toggle span:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.older-posts.is-open .older-posts-toggle span:last-child {
  border-color: var(--teal);
  color: var(--teal);
  transform: rotate(45deg);
}

.older-posts-list {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: max-height 260ms var(--ease-out), opacity 170ms var(--ease-out), transform 220ms var(--ease-out);
}

.older-posts-list.is-open {
  max-height: 2200px;
  opacity: 1;
  transform: translateY(0);
}

.older-posts-list[hidden] {
  display: none;
}

.older-posts-list ol {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  display: grid;
}

.older-posts-list li {
  border-bottom: 1px solid rgba(55, 59, 110, .72);
}

.older-posts-list a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.older-posts-list a:hover {
  color: var(--teal);
  transform: translateX(4px);
}

.older-posts-list time {
  color: var(--fg3);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--w-bold);
}

.older-posts-list strong {
  color: inherit;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--w-semibold);
  line-height: 1.2;
}

.older-post-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.older-post-lock {
  width: 16px;
  height: 16px;
  transform: translateY(1px);
}

.older-posts-list li.is-locked a {
  color: var(--amber);
}

@media (prefers-reduced-motion: reduce) {
  .older-posts-list,
  .older-posts-toggle span:last-child,
  .older-posts-list a,
  .faq-item,
  .faq-answer,
  .faq-question,
  .faq-question span {
    animation: none;
    transition: none;
  }

  .faq-item {
    opacity: 1;
    transform: none;
  }
}

.entry-header {
  padding: 36px 28px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fg2);
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 14px;
  margin-bottom: 28px;
}

.back-link::before {
  content: "←";
  color: currentColor;
}

.back-link:hover {
  color: var(--teal);
}

.entry-header h1 {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.entry-header > p:last-of-type {
  font-size: 20px;
  line-height: var(--leading-body);
  color: var(--fg2);
  margin: 0 0 12px;
}

.entry-cover {
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 30px auto 44px;
}

.entry-cover-locked {
  background: #1b1d1f;
}

.entry-locked-panel {
  margin-top: -10px;
  padding: 0 28px 42px;
  text-align: center;
}

.entry-locked-panel h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.entry-locked-panel p {
  max-width: 620px;
  margin: 0 auto 20px;
  color: var(--fg2);
  font-size: 17px;
  line-height: 1.65;
}

.entry-body {
  font-size: 18px;
  line-height: 1.72;
}

.entry-body p {
  color: var(--fg1);
  margin: 0 0 22px;
}

.entry-body h2 {
  font-size: 28px;
  margin: 14px 0 16px;
}

.entry-body blockquote {
  margin: 8px 0 28px;
  padding: 20px 28px;
  border-left: 4px solid var(--leaf);
  background: var(--mint);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.entry-body blockquote p {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}

.entry-body ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.entry-body li {
  margin-bottom: 9px;
}

.entry-media {
  margin: 8px 0 30px;
}

.entry-media img,
.entry-media video {
  height: 300px;
  background: var(--cloud);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.entry-media figcaption {
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  font-size: 13.5px;
  color: var(--fg3);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

.entry-media figcaption a {
  color: var(--leaf);
  font-weight: var(--w-extra);
}

.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 52px 28px 84px;
}

.prev-next a {
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: box-shadow var(--dur) var(--ease-out);
}

.prev-next a:hover {
  box-shadow: var(--shadow-md);
}

.prev-next span {
  display: block;
  color: var(--teal);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 12.5px;
  letter-spacing: .06em;
  margin-bottom: 7px;
}

.prev-next strong {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 17px;
  line-height: 1.25;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.district-card {
  min-height: 240px;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--teal);
}

.district-card.tone-leaf { border-top-color: var(--leaf); }
.district-card.tone-amber { border-top-color: var(--amber); }
.district-card.tone-coral { border-top-color: var(--coral); }
.district-card.tone-pink { border-top-color: var(--pink); }
.district-card.tone-orange { border-top-color: var(--orange); }

.district-count {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--w-bold);
}

.district-card h3 {
  font-size: 30px;
  margin: 18px 0 12px;
}

.district-card span {
  color: var(--teal);
  font-weight: var(--w-extra);
}

.timeline-band {
  background: var(--navy);
  color: #fff;
  padding: 80px 28px 88px;
}

.timeline-band .wrap {
  max-width: 920px;
}

.timeline-band h2 {
  color: #fff;
  font-size: 44px;
  margin-top: 12px;
  text-align: center;
}

.timeline-band .eyebrow {
  color: var(--leaf);
  display: block;
  text-align: center;
}

.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 44px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, .16);
}

.timeline-list article {
  display: flex;
  gap: 22px;
  position: relative;
}

.timeline-list article > span {
  flex: none;
  width: 40px;
  color: transparent;
  position: relative;
}

.timeline-list article > span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid rgba(255, 255, 255, .5);
}

.timeline-list article.is-current > span::before {
  width: 22px;
  height: 22px;
  left: 8px;
  background: var(--leaf);
  border-color: var(--leaf);
  box-shadow: 0 0 0 6px rgba(168, 210, 126, .18);
}

.timeline-list article.is-planned > span::before {
  border-color: var(--amber);
}

.timeline-list article div {
  flex: 1;
}

.timeline-list strong {
  display: inline-flex;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 3px 9px;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.timeline-list article.is-current strong,
.timeline-list article.is-planned strong {
  color: var(--navy);
  background: var(--leaf);
}

.timeline-list article.is-planned strong {
  background: var(--amber);
}

.timeline-list h3 {
  color: #fff;
  font-size: 21px;
  margin: 8px 0 6px;
}

.timeline-list p {
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

.cast-tools {
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cast-tools label {
  display: grid;
  gap: 7px;
  flex: 1 1 280px;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: var(--w-bold);
  font-size: 14px;
  color: var(--fg2);
}

.cast-tools input,
.cast-tools select,
.newsletter-form input {
  width: 100%;
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--stone);
  outline: none;
}

.cast-tools input:focus,
.cast-tools select:focus,
.newsletter-form input:focus {
  border-color: var(--teal);
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
}

.character-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease-out);
}

.character-card[hidden] {
  display: none;
}

.character-card a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 20px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--teal-050);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 22px;
  flex: none;
}

.avatar.large {
  width: 128px;
  height: 128px;
  border-radius: var(--r-xl);
  font-size: 52px;
}

.character-card h3 {
  font-size: 17px;
  line-height: 1.15;
  margin: 0;
}

.character-card div p {
  margin: 3px 0 0;
  font-weight: var(--w-bold);
  font-size: 13px;
}

.character-card > a > p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.tag {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--mint);
  color: var(--leaf);
}

.character-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.character-hero-grid {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 26px;
  align-items: end;
  padding: 32px 28px 30px;
}

.character-hero-grid .back-link {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .7);
}

.character-hero h1 {
  color: #fff;
  font-size: 52px;
  margin-bottom: 10px;
}

.character-hero p:last-child {
  color: rgba(255, 255, 255, .82);
  font-weight: var(--w-bold);
}

.character-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  padding: 40px 28px 84px;
}

.character-body h2 {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg3);
  margin: 28px 0 12px;
}

.character-body section > h2:first-child {
  margin-top: 0;
}

.character-body p {
  color: var(--fg1);
  font-size: 18px;
  line-height: 1.7;
}

.callout,
.secret-callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 18px 0;
}

.callout {
  background: var(--mint);
  border: 1px solid var(--leaf);
}

.secret-callout {
  background: var(--navy);
}

.callout strong,
.secret-callout strong {
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--leaf);
}

.secret-callout strong {
  color: var(--coral);
}

.callout p,
.secret-callout p {
  margin: 0;
}

.callout p {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}

.secret-callout p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trait-list span {
  font-family: var(--font-body);
  font-weight: var(--w-bold);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--stone);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  text-transform: capitalize;
}

.resident-file {
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 24px;
  position: sticky;
  top: 90px;
  align-self: start;
}

.resident-file h2 {
  color: var(--teal);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.resident-file dl {
  border-top: 1px solid var(--stone);
  margin: 0 0 18px;
}

.resident-file dt {
  padding-top: 14px;
  font-family: var(--font-body);
  font-weight: var(--w-extra);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fg3);
}

.resident-file dd {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 16px;
}

.faq-band {
  background: var(--bg-fresh);
  border-top: 1px solid var(--stone);
  padding: 80px 28px 88px;
}

.faq-band .wrap {
  max-width: 980px;
}

.faq-band h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 36px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  perspective: 900px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--stone);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.985);
  animation: faqItemIn 420ms var(--ease-out) forwards;
  animation-delay: calc(var(--faq-index, 0) * 45ms);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}

@keyframes faqItemIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.faq-item.is-open {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}

.faq-question:hover {
  background: rgba(82, 159, 145, .08);
}

.faq-question span {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 14px;
  color: var(--navy-300);
  flex: none;
  width: 26px;
  transform-origin: center;
  transition: color 180ms var(--ease-out), transform 220ms var(--ease-out);
}

.faq-item.is-open .faq-question span {
  color: var(--teal);
  transform: scale(1.08);
}

.faq-question strong {
  flex: 1;
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 18px;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 24px 22px 66px;
  opacity: 0;
  transform: translateY(-8px);
  transition: height 260ms var(--ease-out), opacity 180ms var(--ease-out), transform 220ms var(--ease-out);
}

.faq-item.is-open .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  color: var(--fg2);
  font-size: 15.5px;
  margin: 0;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 28px;
}

.footer-newsletter h2 {
  color: #fff;
  font-size: 38px;
  line-height: 1.08;
}

.footer-newsletter p,
.footer-columns p,
.footer-legal small {
  color: rgba(255, 255, 255, .7);
}

.footer-newsletter p {
  margin-top: 12px;
  max-width: 440px;
  font-size: 16px;
}

.newsletter-form {
  width: 100%;
}

.newsletter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-email {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
  display: block;
}

.mail-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .6);
}

.newsletter-form input {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  padding-left: 44px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .48);
}

.newsletter-form button {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.newsletter-form button:hover {
  background: var(--coral-700);
  transform: translateY(-1px);
}

.newsletter-form .form-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .45);
  font-size: 12.5px;
}

.newsletter-decoy {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.footer-columns {
  padding: 52px 28px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-columns p {
  max-width: 280px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-columns nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-columns h3 {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 16px;
}

.footer-columns nav a {
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  font-size: 14.5px;
  color: rgba(255, 255, 255, .72);
  transition: color var(--dur) var(--ease-out);
}

.footer-columns nav a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: all var(--dur) var(--ease-out);
}

.social-links a:hover {
  background: var(--leaf);
  color: var(--navy);
}

.brand-icon {
  width: 18px;
  height: 18px;
}

.footer-f95-link {
  width: fit-content;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .62);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.footer-f95-link:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

.footer-f95-link img {
  width: 122px;
  height: auto;
  object-fit: contain;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-legal .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.footer-legal small {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .55);
}

.footer-legal span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .55);
}

.footer-legal .age-pill {
  font-size: 13px;
  padding: 6px 12px;
  border-color: #ff3f46;
  background: rgba(255, 63, 70, .18);
  color: #fff;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(255, 63, 70, .18), 0 0 22px rgba(255, 63, 70, .22);
}

.footer-legal .age-pill:hover {
  background: #ff3f46;
  border-color: #ff3f46;
}

.system-page {
  min-height: 58vh;
  padding: 92px 28px;
}

.av-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 40, .5);
  backdrop-filter: blur(4px);
  animation: avFade var(--dur) var(--ease-out);
}

.av-modal {
  position: relative;
  width: min(460px, 100%);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-xl);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-lg);
  padding: 36px 36px 30px;
  animation: avPop var(--dur-slow) var(--ease-bounce);
}

.av-modal-download {
  width: min(520px, 100%);
}

.av-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 0;
  background: var(--cloud);
  color: var(--ink);
  font-weight: var(--w-extra);
}

.av-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: rgba(240, 98, 77, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 24px;
}

.av-modal-icon .icon {
  width: 27px;
  height: 27px;
}

.av-modal-icon-download {
  background: rgba(43, 151, 153, .13);
  color: var(--teal);
}

.av-modal h2 {
  font-size: 26px;
  margin: 8px 30px 12px 0;
}

.av-modal p {
  color: var(--fg2);
  font-size: 15.5px;
  line-height: var(--leading-body);
  margin: 0 0 14px;
}

.modal-newsletter-form {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--stone);
}

.modal-newsletter-form .newsletter-row {
  gap: 9px;
}

.modal-newsletter-form .newsletter-email {
  flex-basis: 260px;
}

.modal-newsletter-form input {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--stone);
}

.modal-newsletter-form input::placeholder {
  color: var(--fg3);
}

.modal-newsletter-form .mail-icon {
  color: var(--fg3);
}

.modal-newsletter-form .form-note {
  color: var(--fg2);
}

.av-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.av-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2100;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 13px 22px;
  box-shadow: var(--shadow-lg);
  animation: avToastIn var(--dur-slow) var(--ease-bounce);
  font-weight: var(--w-bold);
}

.system-page p {
  color: var(--fg2);
  font-size: 18px;
}

.coming-soon-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--navy);
}

.coming-soon-card {
  width: min(560px, 100%);
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--stone);
  box-shadow: var(--shadow-lg);
}

.coming-soon-card h1 {
  font-size: 42px;
  line-height: var(--leading-tight);
  margin: 8px 0 0;
}

.coming-soon-card p {
  color: var(--fg2);
  font-size: 18px;
  line-height: var(--leading-body);
  margin: 0;
}


@media (max-width: 1000px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-top: 1px solid var(--stone);
    background: var(--paper);
    padding: 12px 20px 18px;
    border: 1px solid var(--stone);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-button {
    display: flex;
  }

  .hero-grid,
  .home-hero-grid,
  .featured-entry,
  .footer-newsletter-grid,
  .footer-columns,
  .character-body {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .home-hero-img {
    order: -1;
  }

  .entry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resident-file {
    position: static;
  }
}

@media (max-width: 760px) {
  .wrap,
  .wrap.narrow,
  .wrap.wide {
    width: min(100% - 28px, 1160px);
  }

  .hero-grid,
  .home-hero-grid,
  .hero.compact .wrap,
  .section-block,
  .timeline-band,
  .faq-band,
  .footer-newsletter-grid,
  .footer-columns,
  .entry-header,
  .prev-next,
  .character-hero-grid,
  .character-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1,
  .home-hero h1,
  .hero.compact h1,
  .entry-header h1,
  .character-hero h1 {
    font-size: 42px;
  }

  .entry-grid,
  .prev-next,
  .newsletter-form,
  .footer-columns,
  .character-hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .entry-cover {
    height: 260px;
  }

  .entry-media img,
  .entry-media video {
    height: 240px;
  }

}
