:root {
  --bg-canvas: #f3f0fa;
  --bg-white: #ffffff;
  --bg-plum-deep: #2a182f;
  --bg-plum-mid: #4a2a52;
  --bg-surface: rgba(255, 255, 255, 0.78);
  --bg-surface-plum: rgba(54, 30, 61, 0.72);
  --bg-surface-hover: rgba(255, 255, 255, 0.94);
  --text-primary: #334155;
  --text-heading: #1f1626;
  --text-muted: #585266;
  --text-on-plum: #f6f3fb;
  --text-muted-plum: #d9cfe6;
  --accent-primary: #673d70;
  --accent-secondary: #8c5998;
  --accent-soft: #e6ddf2;
  --border-subtle: rgba(103, 61, 112, 0.22);
  --border-plum: rgba(243, 240, 250, 0.22);
  --radius-card: 20px;
  --radius-btn: 0px;
  --max-width: 1100px;
  --measure: 70ch;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 14px 34px -6px rgba(34, 18, 40, 0.14);
  --glow-accent: 0 0 26px -6px rgba(103, 61, 112, 0.32);
  --glass-backdrop: blur(16px) saturate(160%);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

body {
  margin: 0;
  font-family: Charter, Cambria, Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-kinetic), opacity 0.25s var(--ease-kinetic);
}

a:hover {
  color: var(--bg-plum-deep);
}

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

.band-plum :focus-visible,
.site-footer :focus-visible {
  outline-color: #f3f0fa;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-plum-deep);
  color: var(--text-on-plum);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prose {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.prose-left {
  max-width: var(--measure);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.22;
  margin-top: 0;
  overflow-wrap: break-word;
  hyphens: none;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.38rem);
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.kicker,
.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.11em;
  font-size: 0.92rem;
  color: var(--accent-primary);
  display: inline-block;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.band-plum .kicker,
.band-plum .small-caps {
  color: var(--accent-soft);
}

.band-plum h1,
.band-plum h2,
.band-plum h3,
.band-plum h4 {
  color: var(--text-on-plum);
}

.band-plum {
  color: var(--text-on-plum);
}

.band-plum p,
.band-plum li {
  color: var(--text-muted-plum);
}

.band-plum a {
  color: #f3f0fa;
}

/* Top Night-Sky Tagline & Static Header */
.sky-ribbon {
  background: var(--bg-plum-deep);
  color: var(--text-muted-plum);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(243, 240, 250, 0.12);
}

.sky-ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sky-tagline {
  margin: 0;
  font-variant: small-caps;
  letter-spacing: 0.1em;
}

.sky-note {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

.site-header {
  position: static;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-heading);
  margin-right: auto;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-canvas);
  flex-shrink: 0;
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-primary);
  border-bottom-color: transparent;
  transform: rotate(-35deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  top: 7px;
  right: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-heading);
}

.brand-sub {
  font-size: 0.74rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  border-radius: 0;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease-kinetic), color 0.25s var(--ease-kinetic);
}

.menu-toggle:hover {
  background: var(--accent-primary);
  color: var(--bg-white);
}

/* Outlined Square-Ended Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.55rem;
  border: 1.5px solid var(--accent-primary);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--accent-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), background-color 0.3s var(--ease-kinetic), color 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
}

.btn:hover {
  background: var(--accent-primary);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.btn-light {
  border-color: #f3f0fa;
  color: #f3f0fa;
}

.btn-light:hover {
  background: #f3f0fa;
  color: var(--bg-plum-deep);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

/* Alternating Bands with Restrained Diagonal/Curved Edges */
.band {
  position: relative;
  padding: 4.5rem 0;
}

.band-lilac {
  background-color: var(--bg-canvas);
}

.band-white {
  background-color: var(--bg-white);
}

.band-plum {
  background: linear-gradient(135deg, #27152c 0%, #3e2247 52%, #522e5c 100%);
  background-size: 180% 180%;
  animation: meridianShift 16s ease infinite;
}

.edge-diagonal-top {
  clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
  padding-top: 6rem;
  margin-top: -28px;
}

.edge-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding-bottom: 6rem;
}

.edge-arch-top {
  clip-path: ellipse(130% 100% at 50% 100%);
  padding-top: 6rem;
  margin-top: -24px;
}

@keyframes meridianShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Section */
.hero-band {
  background: radial-gradient(circle at 14% 18%, rgba(103, 61, 112, 0.14), transparent 44%),
              radial-gradient(circle at 86% 80%, rgba(140, 89, 152, 0.12), transparent 48%),
              var(--bg-canvas);
  padding: 4.25rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-lead {
  font-size: 1.16rem;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  max-width: 54ch;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-figure {
  margin: 0;
  position: relative;
}

.image-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-plum-deep);
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--border-subtle);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) brightness(0.95);
  transition: transform 0.6s var(--ease-kinetic);
}

.image-frame:hover img {
  transform: scale(1.025);
}

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-4-5 { aspect-ratio: 4 / 5; }

.caption-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  line-height: 1.48;
}

.band-plum .caption-note {
  color: var(--text-muted-plum);
}

/* Editorial Split-Screen & Translucent Glass Panels */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.editorial-split-even {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 2rem;
}

.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.85rem;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.35s var(--ease-kinetic), box-shadow 0.35s var(--ease-kinetic), background-color 0.35s var(--ease-kinetic);
}

.glass-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  background: var(--bg-surface-hover);
}

.band-plum .glass-panel {
  background: var(--bg-surface-plum);
  border-color: var(--border-plum);
  color: var(--text-on-plum);
}

.band-plum .glass-panel:hover {
  background: rgba(68, 38, 76, 0.84);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.route-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.65rem;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.35s var(--ease-kinetic), box-shadow 0.35s var(--ease-kinetic);
}

.route-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.band-plum .route-card {
  background: var(--bg-surface-plum);
  border-color: var(--border-plum);
}

.route-card .image-frame {
  margin-bottom: 0.75rem;
}

.horizontal-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: center;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevation);
  margin-bottom: 1.75rem;
}

.band-plum .horizontal-card {
  background: var(--bg-surface-plum);
  border-color: var(--border-plum);
}

/* Provenance Timeline */
.timeline-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.65rem;
  border-left: 2px solid var(--accent-primary);
  display: grid;
  gap: 1.5rem;
}

.band-plum .timeline-list {
  border-left-color: rgba(243, 240, 250, 0.4);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.38rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid var(--bg-white);
}

.band-plum .timeline-item::before {
  background: #f3f0fa;
  border-color: var(--bg-plum-deep);
}

.timeline-label {
  font-variant: small-caps;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.band-plum .timeline-label {
  color: var(--accent-soft);
}

/* Comparison Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--bg-white);
  box-shadow: var(--shadow-elevation);
  margin: 1.75rem 0;
}

.journal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 580px;
}

.journal-table th,
.journal-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.journal-table thead th {
  background: var(--bg-canvas);
  color: var(--text-heading);
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.journal-table tbody tr:last-child td {
  border-bottom: none;
}

/* Host Question List & Badges */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-primary);
  font-size: 0.95rem;
}

.band-plum .check-list li::before {
  color: var(--accent-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag-pill {
  font-variant: small-caps;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(103, 61, 112, 0.08);
  color: var(--accent-primary);
}

.band-plum .tag-pill {
  border-color: var(--border-plum);
  background: rgba(243, 240, 250, 0.12);
  color: var(--text-on-plum);
}

/* Page Header for Subpages */
.page-intro {
  background: radial-gradient(circle at 82% 20%, rgba(103, 61, 112, 0.14), transparent 45%), var(--bg-canvas);
  padding: 3.5rem 0 3.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.breadcrumb a {
  text-decoration: none;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 20px -8px rgba(34, 18, 40, 0.1);
}

.faq-item summary {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

/* Contact Form & Local Letter Composer */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-heading);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(103, 61, 112, 0.18);
}

.letter-preview {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.35rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--text-heading);
  min-height: 220px;
}

.status-note {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--accent-primary);
  min-height: 1.4em;
}

/* Footer Colophon (Three-part, Identical Across All Pages) */
.site-footer {
  background: var(--bg-plum-deep);
  color: var(--text-muted-plum);
  padding: 3.75rem 0 2.75rem;
  border-top: 1px solid rgba(243, 240, 250, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: start;
}

.footer-heading {
  font-variant: small-caps;
  letter-spacing: 0.11em;
  font-size: 0.92rem;
  color: var(--text-on-plum);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
  color: var(--text-muted-plum);
}

.footer-col a {
  color: #f3f0fa;
  text-decoration-color: rgba(243, 240, 250, 0.45);
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
  font-size: 0.94rem;
}

.footer-base {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 240, 250, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted-plum);
}

/* Motion-Safe Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-plum { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .glass-panel, .route-card, .image-frame img { transition: none; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .editorial-split {
    grid-template-columns: 1fr;
  }
  .sticky-aside {
    position: static;
  }
  .horizontal-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-elevation);
    padding: 1rem 1.5rem 1.35rem;
    z-index: 90;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .primary-nav a {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
  }
  .band {
    padding: 3.25rem 0;
  }
  .edge-diagonal-top {
    clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%);
    padding-top: 4.25rem;
    margin-top: -16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }
  .glass-panel,
  .route-card,
  .horizontal-card {
    padding: 1.3rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}