:root {
  --gloom: #0b0b0f;
  --gloom-soft: #111016;
  --smoke: #2a242c;
  --amethyst: #6b1fa8;
  --amethyst-bright: #a85de0;
  --burgundy: #4b0f1a;
  --burgundy-bright: #8f263d;
  --gold: #d4af37;
  --gold-light: #f2d98c;
  --gold-pale: #f8ebbd;
  --cream: #f6efe4;
  --muted: #b9aeb9;
  --danger: #e66b79;
  --success: #78d6aa;
  --discord: #8c9eff;
  --panel: rgba(20, 16, 24, 0.84);
  --panel-solid: #17131b;
  --line: rgba(212, 175, 55, 0.28);
  --line-soft: rgba(255, 255, 255, 0.09);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel Decorative", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 86px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--gloom);
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 0%, rgba(107, 31, 168, 0.12), transparent 32rem),
    radial-gradient(circle at 85% 35%, rgba(75, 15, 26, 0.16), transparent 34rem),
    var(--gloom);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  min-width: 320px;
  overflow-x: hidden;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(168, 93, 224, 0.42);
  color: #fff;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--gloom);
  background: var(--gold-light);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-noise {
  position: fixed;
  z-index: 2000;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient-glow {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.11;
  pointer-events: none;
}

.ambient-glow-one {
  top: 18vh;
  left: -250px;
  background: var(--amethyst);
}

.ambient-glow-two {
  right: -250px;
  top: 58vh;
  background: var(--burgundy-bright);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(11, 11, 15, 0.9);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-kicker,
.mini-label,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.brand-kicker {
  color: var(--gold);
  font-size: 0.68rem;
}

.brand-name {
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.primary-nav a {
  position: relative;
  color: rgba(246, 239, 228, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--amethyst-bright));
  transition: right 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="location"] {
  color: #fff;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="location"]::after {
  right: 0;
}

.nav-cta {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.06);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.76);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 70% 20%, rgba(107, 31, 168, 0.16), transparent 32rem),
    linear-gradient(120deg, #09080d 0%, #0d0910 50%, #100912 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 68%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 43%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.06) contrast(1.04);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--gloom) 0%, rgba(11, 11, 15, 0.76) 17%, rgba(11, 11, 15, 0.12) 56%, rgba(11, 11, 15, 0.28) 100%),
    linear-gradient(0deg, rgba(11, 11, 15, 0.96) 0%, transparent 35%),
    radial-gradient(circle at 55% 30%, transparent 0 30%, rgba(0, 0, 0, 0.32) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 72px;
  padding-top: calc(var(--header-height) + 54px);
  padding-bottom: 110px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.75rem;
}

.hero h1,
.section h2,
.report-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(3.35rem, 7.2vw, 7.4rem);
  text-wrap: balance;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.48);
}

.hero h1::first-line {
  color: var(--gold-pale);
}

.hero-lede {
  max-width: 690px;
  margin: 29px 0 0;
  color: rgba(246, 239, 228, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.hero-actions,
.discord-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.text-button:focus-visible,
.primary-nav a:focus-visible,
.resource-card:focus-visible,
.space-card a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.button-gold {
  color: #160f09;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold) 58%, #a87416);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-gold:hover,
.button-gold:focus-visible {
  box-shadow: 0 17px 42px rgba(212, 175, 55, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-ghost {
  color: var(--cream);
  background: rgba(11, 11, 15, 0.48);
  border-color: rgba(246, 239, 228, 0.22);
  backdrop-filter: blur(8px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.button.is-pending {
  color: rgba(246, 239, 228, 0.78);
  background: rgba(11, 11, 15, 0.58);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: none;
}

.button.is-pending:hover,
.button.is-pending:focus-visible {
  color: var(--cream);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.58);
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-assurance span {
  color: var(--amethyst-bright);
}

.hero-welcome-card {
  position: relative;
  align-self: end;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px 28px 4px 28px;
  background:
    linear-gradient(145deg, rgba(34, 24, 38, 0.88), rgba(13, 11, 16, 0.86)),
    url("assets/ambient.webp") center/cover;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-welcome-card::before,
.hero-welcome-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-color: rgba(212, 175, 55, 0.34);
}

.hero-welcome-card::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 16px 0 0 0;
}

.hero-welcome-card::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 4px 0;
}

.card-glint {
  position: absolute;
  top: -60px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 93, 224, 0.52), transparent 68%);
  filter: blur(10px);
}

.mini-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.65rem;
}

.promise-word {
  margin: 4px 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.18;
}

.promise-word:nth-of-type(even) {
  color: var(--gold-light);
}

.jewel-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 15px;
}

.jewel-divider::before,
.jewel-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.jewel-divider::after {
  background: linear-gradient(90deg, var(--line), transparent);
}

.jewel-divider span {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #d79cff, var(--amethyst));
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(168, 93, 224, 0.75);
}

.promise-closing {
  margin: 0;
  color: rgba(246, 239, 228, 0.74);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: rgba(246, 239, 228, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue span:last-child {
  color: var(--gold);
  font-size: 1.05rem;
  animation: floatArrow 1.8s ease-in-out infinite;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.hero-ornament {
  position: absolute;
  z-index: 1;
  width: 260px;
  height: 260px;
  opacity: 0.14;
  background:
    radial-gradient(circle at center, transparent 25%, rgba(212, 175, 55, 0.45) 26% 27%, transparent 28%),
    conic-gradient(from 45deg, transparent 0 12%, rgba(212, 175, 55, 0.55) 12.5% 13%, transparent 13.5% 25%);
  border-radius: 50%;
}

.hero-ornament-left {
  left: -120px;
  bottom: -80px;
}

.hero-ornament-right {
  right: -130px;
  top: 10%;
}

.ticker {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #140e16, #1d0f20, #140e16);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  padding: 14px 0;
  color: rgba(246, 239, 228, 0.74);
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  animation: ticker 34s linear infinite;
}

.ticker.is-paused .ticker-track {
  animation-play-state: paused;
}

.ticker-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 14px;
  min-width: 112px;
  padding: 7px 11px;
  transform: translateY(-50%);
  border: 1px solid rgba(218, 180, 88, 0.3);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(11, 8, 13, 0.9);
  font: inherit;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ticker-control:hover,
.ticker-control:focus-visible {
  border-color: rgba(218, 180, 88, 0.62);
  color: #fff;
}

.ticker-track i {
  color: var(--amethyst-bright);
  font-style: normal;
  font-size: 0.64rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 680px) {
  .ticker-control {
    right: 8px;
    min-width: 98px;
    padding-inline: 9px;
    font-size: 0.62rem;
  }
}

.section h2,
.report-card h2 {
  font-size: clamp(2.75rem, 5.2vw, 5.2rem);
  text-wrap: balance;
}

.section p {
  color: rgba(246, 239, 228, 0.69);
}

.large-copy {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: rgba(246, 239, 228, 0.86) !important;
}

.welcome-section {
  background:
    radial-gradient(circle at 20% 60%, rgba(107, 31, 168, 0.1), transparent 28rem),
    linear-gradient(180deg, #0b0b0f, #0f0c12);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 86px;
  align-items: center;
}

.section-copy > p:not(.eyebrow) {
  max-width: 670px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.welcome-visual {
  position: relative;
  width: min(100%, 438px);
  max-width: 438px;
  justify-self: end;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--panel-solid);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 11, 15, 0.6), transparent 34%);
  pointer-events: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.values-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(11, 11, 15, 0.92), rgba(11, 11, 15, 0.94)),
    url("assets/ambient.webp") center/cover fixed;
}

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

.section-heading.centered {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered > p:last-child {
  max-width: 660px;
  margin-inline: auto;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.5fr);
  align-items: end;
  gap: 60px;
}

.section-heading.split > p {
  margin: 0 0 6px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 18px;
}

.value-card {
  position: relative;
  min-height: 308px;
  overflow: hidden;
  grid-column: span 2;
  padding: 28px 25px 25px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(37, 28, 42, 0.78), rgba(18, 15, 21, 0.88));
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.value-card:hover {
  transform: translateY(-7px);
  border-color: var(--line);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.value-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 31, 168, 0.24), transparent 66%);
}

.value-number {
  position: absolute;
  top: 14px;
  right: 20px;
  color: rgba(212, 175, 55, 0.2);
  font-family: var(--display);
  font-size: 2.6rem;
}

.value-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.05);
  font-size: 1.25rem;
}

.value-card h3,
.space-card h3,
.side-panel-card h3,
.resource-card h3,
.event-card h3,
.urgent-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.52rem;
  line-height: 1.12;
}

.value-card p {
  margin: 14px 0 0;
  font-size: 0.91rem;
  line-height: 1.62;
}

.spaces-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(75, 15, 26, 0.17), transparent 28rem),
    #0d0c11;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.space-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 242px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(30, 24, 34, 0.74), rgba(16, 14, 19, 0.9));
  transition: border-color 180ms ease, transform 180ms ease;
}

.space-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.33);
}

.space-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  min-height: 310px;
}

.space-art {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
}

.space-art::before,
.space-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50% 50% 12px 12px;
}

.space-art::after {
  inset: 34px;
  border-color: rgba(168, 93, 224, 0.22);
}

.space-art-foyer {
  background:
    linear-gradient(rgba(15, 10, 18, 0.28), rgba(15, 10, 18, 0.72)),
    url("assets/ambient.webp") center/cover;
}

.space-art-lounge {
  background: radial-gradient(circle at 50% 38%, rgba(168, 93, 224, 0.38), transparent 42%), #161019;
}

.space-art-ballroom {
  background: radial-gradient(circle at 50% 38%, rgba(212, 175, 55, 0.28), transparent 42%), #15110f;
}

.space-art-lantern {
  background: radial-gradient(circle at 50% 38%, rgba(143, 38, 61, 0.34), transparent 42%), #160e12;
}

.space-symbol {
  position: relative;
  z-index: 2;
  font-size: 3.3rem;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.3));
}

.space-copy {
  align-self: center;
  padding: 34px;
}

.space-copy p:not(.mini-label) {
  margin: 13px 0 18px;
}

.space-copy a {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.lounge-section {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 15% 30%, rgba(107, 31, 168, 0.14), transparent 32rem),
    radial-gradient(circle at 85% 70%, rgba(75, 15, 26, 0.18), transparent 28rem),
    #0a090d;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 24px;
}

.chat-window,
.side-panel-card {
  border: 1px solid var(--line-soft);
  background: rgba(19, 16, 22, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.chat-window {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.chat-channel {
  margin: 0;
  color: var(--cream) !important;
  font-weight: 800;
}

.chat-channel span {
  color: var(--gold);
}

.chat-topic {
  margin: 2px 0 0;
  font-size: 0.75rem;
}

.connection-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.72rem;
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a748;
  box-shadow: 0 0 0 4px rgba(212, 167, 72, 0.12);
}

.connection-pill[data-state="connected"] .connection-dot {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(120, 214, 170, 0.12);
}

.connection-pill[data-state="offline"] .connection-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(230, 107, 121, 0.12);
}

.chat-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.045);
}

.chat-notice > span {
  color: var(--gold-light);
}

.chat-notice p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.chat-notice strong {
  color: var(--cream);
}

.noscript-lounge-note {
  display: grid;
  gap: 8px;
  margin: 18px;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  color: rgba(246, 239, 228, 0.74);
  background: linear-gradient(145deg, rgba(107, 31, 168, 0.12), rgba(212, 175, 55, 0.045));
}

.noscript-lounge-note strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.noscript-lounge-note a {
  width: fit-content;
  color: var(--gold-light);
  font-weight: 700;
}

.chat-messages {
  height: 430px;
  overflow-y: auto;
  padding: 10px 22px 22px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
}

.message {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 8px;
  border-radius: 12px;
}

.message:hover {
  background: rgba(255, 255, 255, 0.02);
}

.message-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  color: var(--gold-light);
  background: linear-gradient(135deg, #2a172f, #151118);
  font-family: var(--display);
  font-size: 0.9rem;
}

.message-source-discord .message-avatar {
  border-color: rgba(140, 158, 255, 0.35);
  color: #c8d0ff;
  background: linear-gradient(135deg, #20284a, #151824);
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-height: 20px;
}

.message-meta strong {
  color: var(--cream);
  font-size: 0.86rem;
}

.message-time,
.message-pronouns {
  color: rgba(246, 239, 228, 0.38);
  font-size: 0.67rem;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-system,
.source-web {
  color: var(--gold-pale);
  background: rgba(212, 175, 55, 0.11);
}

.source-discord {
  color: #c8d0ff;
  background: rgba(140, 158, 255, 0.13);
}

.message-body p {
  margin: 4px 0 0;
  color: rgba(246, 239, 228, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-identity,
.chat-composer {
  border-top: 1px solid var(--line-soft);
  padding: 18px 20px;
}

.chat-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.55fr) auto;
  align-items: end;
  gap: 12px;
}

.chat-entry-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  color: rgba(246, 239, 228, 0.72);
  background: rgba(212, 175, 55, 0.045);
  font-size: 0.75rem;
  line-height: 1.5;
  cursor: pointer;
}

.chat-entry-consent input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--gold);
}

.chat-entry-consent strong {
  color: var(--cream);
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-group label,
.report-card label {
  color: rgba(246, 239, 228, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
}

.field-group label span,
.report-card label span {
  color: rgba(246, 239, 228, 0.4);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  color: var(--cream);
  border: 1px solid rgba(246, 239, 228, 0.13);
  border-radius: 12px;
  outline: none;
  background: rgba(6, 6, 9, 0.62);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 46px;
  padding: 10px 13px;
}

textarea {
  padding: 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.chat-composer textarea {
  min-height: 52px;
  max-height: 160px;
  resize: none;
}

.composer-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.composer-actions span {
  color: rgba(246, 239, 228, 0.4);
  font-size: 0.65rem;
}

.composer-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.composer-buttons .button {
  min-height: 44px;
  padding-inline: 16px;
}

.is-hidden {
  display: none !important;
}

.chat-side-panel {
  display: grid;
  align-content: start;
  gap: 20px;
}

.side-panel-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.side-panel-card > p:not(.mini-label),
.side-panel-card > div > p:not(.mini-label) {
  font-size: 0.88rem;
}

.bridge-steps {
  display: grid;
  gap: 17px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.bridge-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.bridge-steps li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.bridge-steps p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.52;
}

.fine-print {
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
  color: rgba(246, 239, 228, 0.46) !important;
  font-size: 0.72rem !important;
}

.moderation-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  background: linear-gradient(145deg, rgba(58, 21, 35, 0.38), rgba(18, 15, 21, 0.88));
}

.moderation-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.055);
  font-size: 1.45rem;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--gold-light);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.resources-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.06), transparent 30rem),
    linear-gradient(180deg, #0d0c11, #110d12);
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 70px;
  align-items: start;
}

.resources-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.urgent-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(230, 107, 121, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(75, 15, 26, 0.5), rgba(19, 15, 22, 0.88));
}

.urgent-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 107, 121, 0.35);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(230, 107, 121, 0.08);
}

.urgent-card p:not(.mini-label) {
  margin: 7px 0 0;
  font-size: 0.82rem;
}

.urgent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.urgent-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 13px;
  border: 1px solid rgba(246, 239, 228, 0.2);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(246, 239, 228, 0.055);
  font-size: 0.74rem;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.urgent-actions a:hover,
.urgent-actions a:focus-visible {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.resource-cards {
  display: grid;
  gap: 16px;
}

.resource-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  color: inherit;
  background: linear-gradient(145deg, rgba(31, 25, 35, 0.7), rgba(17, 14, 20, 0.88));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resource-card:hover {
  transform: translateX(7px);
  border-color: rgba(212, 175, 55, 0.32);
  background: linear-gradient(145deg, rgba(39, 28, 45, 0.78), rgba(18, 15, 21, 0.92));
}

.resource-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
  color: var(--gold-light);
  background: radial-gradient(circle, rgba(107, 31, 168, 0.18), rgba(11, 11, 15, 0.25));
  font-family: var(--display);
  font-size: 1.15rem;
}

.resource-card p:not(.mini-label) {
  margin: 7px 0 0;
  font-size: 0.85rem;
}

.resource-link {
  display: inline-block;
  margin-top: 11px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
}

.resource-card-coming {
  border-style: dashed;
}

.events-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(9, 8, 12, 0.9), rgba(11, 9, 13, 0.95)),
    url("assets/ambient.webp") center/cover fixed;
}

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

.event-card {
  position: relative;
  min-height: 250px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(32, 25, 36, 0.82), rgba(15, 13, 18, 0.9));
}

.event-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(212, 175, 55, 0.025), 0 0 0 40px rgba(107, 31, 168, 0.022);
}

.event-card-main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 285px;
  background:
    linear-gradient(100deg, rgba(11, 11, 15, 0.76), rgba(34, 15, 37, 0.8)),
    url("assets/brand-board.webp") 35% 28%/cover;
}

.event-date {
  width: 128px;
  height: 152px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 50% 50% 16px 16px;
  background: rgba(11, 11, 15, 0.78);
  box-shadow: var(--shadow-soft);
}

.event-date span {
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.75;
}

.event-date small {
  margin-top: 15px;
  color: var(--amethyst-bright);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.event-copy {
  position: relative;
  z-index: 1;
}

.event-copy h3 {
  font-size: 2rem;
}

.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 4px;
  padding: 8px 13px;
  border: 1px solid rgba(218, 180, 88, 0.34);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(218, 180, 88, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.launch-status::before {
  content: "◆";
  color: var(--amethyst-bright);
  font-size: 0.66rem;
  filter: drop-shadow(0 0 7px rgba(154, 82, 190, 0.72));
}

.launch-status[hidden] {
  display: none;
}

.event-copy > p:not(.mini-label):not(.launch-status) {
  max-width: 700px;
  margin: 12px 0 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}

.event-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: rgba(246, 239, 228, 0.72);
  background: rgba(11, 11, 15, 0.42);
  font-size: 0.69rem;
}

.event-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  font-size: 1.4rem;
}

.brand-gallery {
  background: linear-gradient(180deg, #0c0a0e, #0b0b0f);
}

.brand-board {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.035);
  box-shadow: var(--shadow);
}

.brand-board::before,
.brand-board::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  pointer-events: none;
}

.brand-board::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 20px 0 0 0;
}

.brand-board::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 20px 0;
}

.brand-board img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
}

.brand-board figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  padding: 13px 10px 5px;
  color: rgba(246, 239, 228, 0.46);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-board figcaption a {
  color: var(--gold-light);
  font-weight: 800;
}

.brand-board figcaption a:hover,
.brand-board figcaption a:focus-visible {
  color: var(--cream);
}

.brand-board figcaption a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.discord-section {
  padding-top: 40px;
  background: #0b0b0f;
}

.discord-panel {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(115deg, rgba(49, 23, 58, 0.86), rgba(19, 15, 22, 0.93)),
    url("assets/ambient.webp") center/cover;
  box-shadow: var(--shadow);
}

.discord-panel::after {
  content: "";
  position: absolute;
  top: -110px;
  right: 23%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 93, 224, 0.25), transparent 68%);
  pointer-events: none;
}

.discord-emblem,
.discord-copy,
.discord-widget-wrap {
  position: relative;
  z-index: 1;
}

.discord-emblem img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.45));
}

.discord-copy h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
}

.discord-copy > p:not(.eyebrow, .configuration-note) {
  max-width: 600px;
}

.configuration-note {
  margin: 18px 0 0;
  color: rgba(246, 239, 228, 0.46) !important;
  font-size: 0.72rem;
}

.configuration-note code {
  color: var(--gold-light);
}

.discord-widget-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 14px;
  background: #1e1f22;
}

.widget-placeholder {
  min-height: 265px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed rgba(246, 239, 228, 0.22);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(11, 11, 15, 0.32);
}

.widget-placeholder > span {
  color: var(--amethyst-bright);
}

.widget-placeholder p {
  margin: 0;
  font-size: 0.78rem;
}

.widget-placeholder strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.site-footer {
  position: relative;
  padding: 94px 0 26px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(107, 31, 168, 0.12), transparent 27rem),
    #08070a;
}

.footer-flourish {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 250px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.footer-flourish::before,
.footer-flourish::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.footer-flourish::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer-flourish span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  margin: 0 12px;
  color: var(--amethyst-bright);
  font-size: 0.62rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-name {
  margin: 2px 0 0;
  color: var(--cream) !important;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-brand p:last-child {
  margin: 3px 0 0;
  font-size: 0.78rem;
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.footer-nav a,
.footer-report-button {
  padding: 0;
  border: 0;
  color: rgba(246, 239, 228, 0.58);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-report-button:hover,
.footer-report-button:focus-visible {
  color: var(--gold-light);
}

.footer-nav a:focus-visible,
.footer-report-button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.footer-promise {
  justify-self: end;
  max-width: 430px;
  text-align: right;
}

.footer-promise p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.footer-promise .footer-home {
  margin-top: 9px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
  margin: 0;
  color: rgba(246, 239, 228, 0.35);
  font-size: 0.68rem;
}

.quick-exit {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(246, 239, 228, 0.18);
  border-radius: 999px;
  color: rgba(246, 239, 228, 0.72);
  background: rgba(11, 11, 15, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.quick-exit:hover,
.quick-exit:focus-visible {
  border-color: var(--danger);
  color: #fff;
}

.report-dialog {
  width: min(620px, calc(100% - 30px));
  max-height: calc(100svh - 30px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  color: var(--cream);
  background: transparent;
  box-shadow: var(--shadow);
}

.report-dialog::backdrop {
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(8px);
}

.report-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(31, 23, 36, 0.98), rgba(13, 11, 16, 0.99)),
    url("assets/ambient.webp") center/cover;
}

.report-card h2 {
  font-size: 3.3rem;
}

.report-card > p:not(.eyebrow, .form-status) {
  margin: 0 0 6px;
  font-size: 0.85rem;
}

.report-card .report-privacy-note {
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  color: rgba(246, 239, 228, 0.68);
  background: rgba(212, 175, 55, 0.045);
  line-height: 1.5;
}

.report-privacy-note strong {
  color: var(--cream);
}

.report-card .field-help {
  margin: -5px 0 0;
  color: rgba(246, 239, 228, 0.5);
  font-size: 0.7rem;
  text-align: right;
}

.report-card textarea {
  min-height: 150px;
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(11, 11, 15, 0.42);
  font-size: 1.3rem;
  cursor: pointer;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 8px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--success) !important;
  font-size: 0.76rem;
}

.toast {
  position: fixed;
  z-index: 2200;
  left: 50%;
  bottom: 25px;
  max-width: min(500px, calc(100% - 30px));
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(18, 15, 21, 0.95);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.78rem;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 34px, 980px);
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.8rem;
  }

  .hero-content {
    grid-template-columns: 1fr minmax(250px, 0.38fr);
    gap: 42px;
  }

  .hero-media {
    left: 38%;
  }

  .values-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .value-card {
    grid-column: span 2;
  }

  .value-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }

  .discord-panel {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .discord-widget-wrap {
    grid-column: 1 / -1;
  }

  .discord-widget-wrap iframe,
  .widget-placeholder {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(11, 11, 15, 0.98);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav a {
    padding: 14px 5px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }

  .primary-nav .nav-cta {
    margin-top: 12px;
    justify-self: start;
    border-bottom: 1px solid var(--line);
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    inset: 0;
  }

  .hero-media-overlay {
    background:
      linear-gradient(90deg, rgba(11, 11, 15, 0.95) 0%, rgba(11, 11, 15, 0.78) 55%, rgba(11, 11, 15, 0.54) 100%),
      linear-gradient(0deg, rgba(11, 11, 15, 0.98) 0%, transparent 58%);
  }

  .hero-content {
    min-height: 860px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 130px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 10vw, 6.2rem);
  }

  .hero-welcome-card {
    max-width: 500px;
  }

  .welcome-grid,
  .resources-layout {
    grid-template-columns: 1fr;
  }

  .welcome-visual {
    justify-self: center;
    width: min(100%, 438px);
  }

  .resources-intro {
    position: static;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .space-card-featured {
    grid-column: auto;
  }

  .chat-layout {
    grid-template-columns: 1fr;
  }

  .chat-side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .event-card-main {
    grid-column: 1 / -1;
  }

  .event-card:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-promise {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 24px, 620px);
  }

  .section {
    padding: 84px 0;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero-content {
    min-height: 900px;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.8rem);
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .hero-actions,
  .discord-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .discord-actions .button {
    width: 100%;
  }

  .hero-welcome-card {
    padding: 25px;
  }

  .section h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .welcome-grid {
    gap: 55px;
  }

  .values-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:nth-last-child(-n + 2) {
    grid-column: auto;
    min-height: 245px;
  }

  .space-card,
  .space-card-featured {
    grid-template-columns: 1fr;
  }

  .space-art {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-messages {
    height: 390px;
    padding-inline: 13px;
  }

  .chat-identity {
    grid-template-columns: 1fr;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .chat-side-panel {
    grid-template-columns: 1fr;
  }

  .resource-card {
    grid-template-columns: 62px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .resource-symbol {
    width: 58px;
    height: 58px;
    font-size: 0.9rem;
  }

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

  .event-card,
  .event-card:last-child {
    grid-column: auto;
  }

  .event-card-main {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .event-date {
    width: 105px;
    height: 125px;
  }

  .event-date span {
    font-size: 3.4rem;
  }

  .discord-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }

  .discord-emblem img {
    width: 150px;
    height: 150px;
    margin-inline: auto;
  }

  .discord-actions {
    justify-content: center;
  }

  .discord-widget-wrap {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-promise {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .quick-exit {
    right: 10px;
    bottom: 10px;
  }

  .report-card {
    padding: 27px 20px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-name {
    display: none;
  }

  .hero-content {
    min-height: 850px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-media img {
    object-position: 57% 20%;
  }
}

.role-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-card-link span {
  transition: transform 160ms ease;
}

.role-card-link:hover span {
  transform: translateX(5px);
}

.cast-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 0%, rgba(105, 38, 128, 0.16), transparent 35%),
    linear-gradient(180deg, #0b090d 0%, #08070a 100%);
}

.cast-section::before,
.cast-section::after {
  content: "";
  position: absolute;
  top: 90px;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 180, 88, 0.42));
}

.cast-section::before {
  left: 0;
}

.cast-section::after {
  right: 0;
  transform: scaleX(-1);
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.cast-profile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(218, 180, 88, 0.24);
  border-radius: 24px;
  background: rgba(15, 12, 18, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, border-color 180ms ease;
}

.cast-profile:hover {
  transform: translateY(-5px);
  border-color: rgba(218, 180, 88, 0.52);
}

.cast-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(218, 180, 88, 0.22);
  background: #070609;
}

.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(8, 7, 10, 0.8) 100%),
    linear-gradient(90deg, rgba(110, 17, 48, 0.08), transparent 40%, rgba(100, 42, 129, 0.08));
  pointer-events: none;
}

.cast-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.cast-profile-terra .cast-portrait img {
  object-position: center 16%;
}

.cast-profile-sir .cast-portrait img {
  width: 165%;
  height: 165%;
  transform: translateX(-39%);
  transform-origin: top left;
}

.cast-profile-tosh .cast-portrait img {
  object-position: center 12%;
}

.cast-monogram {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(218, 180, 88, 0.55);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(9, 7, 10, 0.78);
  font-family: var(--font-display);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cast-profile-copy {
  padding: 27px 26px 30px;
}

.cast-profile-copy .mini-label {
  margin-bottom: 9px;
  color: var(--gold);
}

.cast-profile-copy h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.cast-profile-copy > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.cast-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.55;
  text-transform: uppercase;
}

.cast-traits span {
  color: var(--gold);
}

.cast-closing {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.45;
  text-align: center;
}

.roles-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(99, 35, 126, 0.2), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(110, 17, 48, 0.18), transparent 32%),
    linear-gradient(180deg, #09080b 0%, #100a12 50%, #08070a 100%);
}

.roles-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(90deg, transparent 49.9%, rgba(218, 180, 88, 0.1) 50%, transparent 50.1%);
}

.roles-section .shell {
  position: relative;
  z-index: 1;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.role-card {
  position: relative;
  grid-column: span 2;
  min-height: 355px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(218, 180, 88, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 44%),
    rgba(17, 13, 20, 0.88);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.role-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(218, 180, 88, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(218, 180, 88, 0.025);
}

.role-card:hover {
  transform: translateY(-5px);
  border-color: rgba(218, 180, 88, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.role-card-mother,
.role-card-cast {
  grid-column: span 3;
  min-height: 370px;
}

.role-card-mother {
  background:
    radial-gradient(circle at 84% 12%, rgba(218, 180, 88, 0.15), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 46%),
    rgba(27, 13, 20, 0.94);
}

.role-card-cast {
  background:
    radial-gradient(circle at 84% 12%, rgba(128, 53, 157, 0.2), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 46%),
    rgba(19, 12, 25, 0.94);
}

.role-card-vip {
  background:
    radial-gradient(circle at 84% 14%, rgba(218, 180, 88, 0.13), transparent 34%),
    rgba(20, 15, 18, 0.91);
}

.role-icon-frame {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin-bottom: 24px;
  padding: 11px;
  border: 1px solid rgba(218, 180, 88, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(218, 180, 88, 0.1), transparent 66%),
    rgba(5, 4, 7, 0.52);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.018);
}

.role-icon-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.38));
}

.role-card .mini-label {
  margin-bottom: 9px;
  color: var(--gold);
}

.role-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.role-card > p:last-of-type {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.roles-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1.6fr);
  gap: 34px;
  align-items: center;
  margin-top: 22px;
  padding: 26px 30px;
  border-left: 3px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(218, 180, 88, 0.09), rgba(255, 255, 255, 0.025));
}

.roles-note .mini-label,
.roles-note p {
  margin: 0;
}

.roles-note p:last-child {
  color: var(--text-muted);
  line-height: 1.7;
}

.roles-note strong {
  color: var(--ivory);
}

@media (max-width: 900px) {
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .cast-profile {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
  }

  .cast-portrait {
    min-height: 420px;
    aspect-ratio: auto;
    border-right: 1px solid rgba(218, 180, 88, 0.22);
    border-bottom: 0;
  }

  .cast-profile-copy {
    align-self: center;
    padding: 34px;
  }

  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-card,
  .role-card-mother,
  .role-card-cast {
    grid-column: auto;
  }

  .role-card-vip:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .cast-section::before,
  .cast-section::after {
    width: 90px;
  }

  .cast-grid {
    margin-top: 38px;
  }

  .cast-profile {
    display: block;
  }

  .cast-portrait {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 1px solid rgba(218, 180, 88, 0.22);
  }

  .cast-profile-copy {
    padding: 26px 22px 28px;
  }

  .roles-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .role-card,
  .role-card-mother,
  .role-card-cast,
  .role-card-vip:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .role-icon-frame {
    width: 116px;
    height: 116px;
  }

  .roles-note {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 23px 21px;
  }
}

.join-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(105, 38, 128, 0.17), transparent 29%),
    radial-gradient(circle at 92% 82%, rgba(110, 17, 48, 0.17), transparent 30%),
    linear-gradient(180deg, #09080b, #100b12 52%, #08070a);
}

.join-section::before {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  border: 1px solid rgba(218, 180, 88, 0.09);
}

.join-section .shell {
  position: relative;
  z-index: 1;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
  margin-top: 52px;
}

.join-path,
.application-preview {
  border: 1px solid rgba(218, 180, 88, 0.23);
  border-radius: 24px;
  background: rgba(14, 11, 17, 0.91);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.3);
}

.join-path {
  padding: 34px;
}

.join-path > h3,
.application-heading h3 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.04;
}

.join-steps {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.join-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 30px;
}

.join-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 6px;
  left: 28px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(218, 180, 88, 0.08));
}

.join-step-number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(218, 180, 88, 0.45);
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle, rgba(105, 38, 128, 0.26), rgba(8, 7, 10, 0.9));
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.join-steps h4 {
  margin: 3px 0 7px;
  color: var(--ivory);
  font-size: 1.04rem;
}

.join-steps p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.eligibility-note {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: 3px;
  padding: 18px 20px;
  border: 1px solid rgba(218, 180, 88, 0.22);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(105, 38, 128, 0.14), rgba(218, 180, 88, 0.05));
}

.eligibility-age {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(218, 180, 88, 0.48);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(8, 7, 10, 0.72);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.eligibility-note p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.eligibility-note strong {
  color: var(--ivory);
}

.privacy-promise {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 13px;
  margin-top: 3px;
  padding: 20px;
  border-left: 2px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: rgba(218, 180, 88, 0.07);
}

.eligibility-note + .privacy-promise {
  margin-top: 14px;
}

.privacy-promise span {
  color: var(--gold);
}

.privacy-promise p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.application-preview {
  overflow: hidden;
}

.application-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px;
  border-bottom: 1px solid rgba(218, 180, 88, 0.18);
  background:
    linear-gradient(120deg, rgba(105, 38, 128, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.018);
}

.application-heading img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 17px rgba(0, 0, 0, 0.38));
}

.application-questions {
  padding: 8px 32px 5px;
}

.application-questions details {
  border-bottom: 1px solid var(--line-soft);
}

.application-questions details:last-child {
  border-bottom: 0;
}

.application-questions summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 19px 4px;
  color: var(--ivory);
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.application-questions summary::-webkit-details-marker {
  display: none;
}

.application-questions summary::after {
  content: "+";
  grid-column: 3;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.application-questions details[open] summary::after {
  content: "−";
}

.application-questions summary span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.application-questions details p {
  margin: -3px 4px 20px 50px;
  color: var(--text-muted);
  line-height: 1.68;
}

.application-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px 32px 31px;
  border-top: 1px solid rgba(218, 180, 88, 0.16);
  background: rgba(255, 255, 255, 0.018);
}

@media (max-width: 900px) {
  .join-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .join-section::before {
    inset: 10px;
  }

  .join-layout {
    margin-top: 38px;
  }

  .join-path {
    padding: 27px 21px;
  }

  .eligibility-note {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 16px;
  }

  .eligibility-age {
    width: 50px;
    height: 50px;
    font-size: 0.94rem;
  }

  .application-heading,
  .application-actions {
    padding-inline: 21px;
  }

  .application-heading img {
    width: 66px;
    height: 66px;
  }

  .application-questions {
    padding-inline: 20px;
  }

  .application-questions summary {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .application-questions details p {
    margin-left: 41px;
  }

  .application-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .application-actions .button {
    width: 100%;
  }
}

.faq-section {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 88% 18%, rgba(218, 180, 88, 0.08), transparent 26%),
    linear-gradient(180deg, #0b0a0d 0%, #08070a 100%);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 24px;
  align-items: start;
  margin-top: 52px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list details {
  min-height: 92px;
  padding: 0 22px;
  border: 1px solid rgba(218, 180, 88, 0.19);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(16, 13, 19, 0.88);
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-list details:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.faq-list details[open] {
  border-color: rgba(218, 180, 88, 0.43);
  background:
    radial-gradient(circle at 95% 8%, rgba(105, 38, 128, 0.16), transparent 32%),
    rgba(18, 14, 21, 0.95);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 90px;
  color: var(--ivory);
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

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

.faq-list summary span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.faq-list details p {
  margin: -4px 0 23px 44px;
  color: var(--text-muted);
  line-height: 1.68;
}

.faq-invitation {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(218, 180, 88, 0.29);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 12%, rgba(105, 38, 128, 0.24), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), transparent 48%),
    rgba(18, 13, 20, 0.96);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.33);
}

.faq-invitation::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(218, 180, 88, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(218, 180, 88, 0.025);
}

.faq-invitation img {
  position: relative;
  z-index: 1;
  display: block;
  width: 116px;
  height: 116px;
  margin-bottom: 25px;
  object-fit: contain;
  filter: drop-shadow(0 13px 20px rgba(0, 0, 0, 0.4));
}

.faq-invitation .mini-label,
.faq-invitation h3,
.faq-invitation p,
.faq-actions {
  position: relative;
  z-index: 1;
}

.faq-invitation h3 {
  margin: 8px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.06;
}

.faq-invitation > p:not(.mini-label) {
  color: var(--text-muted);
  line-height: 1.72;
}

.faq-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}

@media (max-width: 1080px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-invitation {
    position: static;
  }
}

@media (max-width: 680px) {
  .faq-layout {
    margin-top: 38px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-list details:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .faq-list details {
    padding-inline: 18px;
  }

  .faq-list details p {
    margin-left: 0;
  }

  .faq-invitation {
    padding: 28px 22px;
  }

  .faq-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Branded fallback for broken or mistyped links. */
.error-page {
  min-height: 100svh;
}

.error-page-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.error-card {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  padding: clamp(38px, 7vw, 74px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 10%, rgba(107, 31, 168, 0.2), transparent 34%),
    linear-gradient(150deg, rgba(29, 22, 33, 0.97), rgba(12, 10, 14, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
}

.error-card::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: calc(var(--radius-xl) - 9px);
  pointer-events: none;
}

.error-card img {
  position: relative;
  width: clamp(118px, 24vw, 170px);
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.error-card .eyebrow {
  position: relative;
  margin-bottom: 5px;
}

.error-code {
  position: relative;
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(4.8rem, 16vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-shadow: 0 0 42px rgba(212, 175, 55, 0.18);
}

.error-card h1 {
  position: relative;
  margin: 20px 0 14px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.03;
  text-wrap: balance;
}

.error-card > p:not(.eyebrow, .error-code, .error-motto) {
  position: relative;
  max-width: 570px;
  margin: 0 auto;
  color: rgba(246, 239, 228, 0.74);
  font-size: 1.05rem;
}

.error-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.error-motto {
  position: relative;
  margin: 34px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .error-actions .button {
    width: 100%;
  }
}
