@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-700-normal.woff2?v=20261020-shz2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16111c;
  --ink-2: #221a2c;
  --ink-3: #31263c;
  --brass: #e0c17a;
  --brass-deep: #8d6a34;
  --rose: #f0c9ce;
  --rose-deep: #c9848e;
  --cream: #f6efe4;
  --cream-dim: #d8cbb8;
  --line: rgba(224, 193, 122, 0.38);
  --stage: 72rem;
  --shadow: 0 22px 50px rgba(8, 5, 12, 0.38);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(201, 132, 142, 0.22), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
button, a, input { touch-action: manipulation; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
p { margin: 0 0 0.9rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 90;
}
.skip:focus { top: 0.5rem; }

.stage {
  width: min(var(--stage), calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(22, 17, 28, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.mast-rail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.35rem;
  min-height: 4.75rem;
  padding: 0.5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--cream);
  text-decoration: none;
}
.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--brass);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-top: 0.2rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.2rem;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a[aria-current="page"], .nav a:hover {
  background: rgba(224, 193, 122, 0.14);
  color: var(--brass);
}
.mast-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.45rem;
}
.credit-pill, .icon-btn, .btn {
  min-height: 44px;
}
.credit-pill {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.credit-pill span { color: var(--cream-dim); font-size: 0.82rem; }
.credit-pill strong { color: var(--brass); font-weight: 700; }
.icon-btn, .btn {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.sound-ico { display: block; flex: 0 0 auto; }
.btn-primary {
  background: linear-gradient(180deg, #f3d5d8, #d08992);
  color: #2a1720;
  border-color: transparent;
  font-weight: 700;
}
.btn-ghost { background: rgba(22, 17, 28, 0.35); }
.btn:hover, .icon-btn:hover { transform: translateY(-1px); }
.btn:disabled, .amount:disabled, .choice:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
#nav-toggle { display: none; }

.notice {
  background: #2a2033;
  border-bottom: 1px solid var(--line);
}
.notice ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0.55rem 0;
}
.notice li {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--rose);
}
.notice li::before {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-0.08rem);
}

.hero {
  position: relative;
  margin-top: 1.25rem;
  min-height: 28rem;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 17, 28, 0.05) 20%, rgba(22, 17, 28, 0.88) 78%);
}
.hero-copy {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: min(42rem, calc(100% - 2rem));
  text-align: center;
}
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--brass);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.display {
  margin: 0 0 0.6rem;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}
.lede { font-size: 1.15rem; color: var(--cream); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.4rem;
}
.hero-actions .btn { text-decoration: none; }

.section { padding: 3rem 0; }
.section-head { text-align: center; margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 0.4rem; }
.section-head p { margin-inline: auto; max-width: 40rem; color: var(--cream-dim); }

.lobby {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.lobby-card {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: 100%;
}
.lobby-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lobby-card div { padding: 1rem 1.1rem 1.2rem; }
.lobby-card h3 { margin: 0 0 0.35rem; font-size: 2rem; }
.lobby-card p { margin: 0; color: var(--cream-dim); }
.lobby-card:hover { border-color: var(--brass); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.step {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
}

.room-band {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.room-band img {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-intro { text-align: center; padding: 2.5rem 0 0.25rem; }
.page-intro h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 0.5rem; }
.page-intro p { max-width: 40rem; margin-inline: auto; color: var(--cream-dim); }
.legal {
  width: min(68ch, 100%);
  margin: 0.75rem auto 3rem;
}
.legal h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin: 2rem 0 0.55rem;
  line-height: 1.2;
}
.legal h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 1.15rem 0 0.35rem;
}
.legal p, .legal li { line-height: 1.65; }
.legal a { overflow-wrap: anywhere; }
.legal ul, .legal ol { padding-left: 1.25rem; margin: 0.4rem 0 1rem; }
.legal li { margin: 0.35rem 0; }
.legal .summary {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.15rem 0.25rem;
  margin: 0 0 0.25rem;
}
.table-wrap { border: 1px solid var(--line); border-radius: 0.8rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--brass); font-weight: 600; }
@media (max-width: 700px) {
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { padding: 0.45rem 0; }
  .table-wrap td { border-bottom: 0; padding: 0.2rem 0.75rem; }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    color: var(--brass);
    font-size: 0.8rem;
    font-weight: 700;
  }
}

.site-foot {
  margin-top: 1.5rem;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #120e18;
}
.foot-grid {
  display: grid;
  gap: 1.5rem;
}
.foot-disclaimer {
  margin: 0;
  color: var(--rose);
  font-size: 0.95rem;
  line-height: 1.6;
}
.foot-disclaimer span:not(:last-child)::after {
  content: "·";
  margin: 0 0.4rem;
  color: var(--brass);
}
.foot-nav {
  display: grid;
  gap: 1.25rem 2.5rem;
}
.foot-nav h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}
.foot-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.foot-nav a {
  color: var(--cream);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot-nav a:hover { color: var(--brass); }
.fine { margin: 0; color: var(--cream-dim); font-size: 0.98rem; line-height: 1.6; max-width: 68ch; }
.help-orgs h2 { margin: 0 0 0.75rem; font-size: 1.7rem; }
.help-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.help-list li { margin: 0; }
.help-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.75rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid #e4d8c6;
  border-radius: 1rem;
  text-decoration: none;
}
.help-list a:hover { border-color: var(--brass-deep); }
.help-list img {
  width: auto;
  max-width: 100%;
  height: 3.6rem;
  object-fit: contain;
  background: transparent;
}
.help-list img.logo-aware { height: 2.35rem; }
.helpline {
  margin: 0.9rem 0 0;
  text-align: center;
}
.helpline a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.helpline a:hover { color: var(--brass); }
.foot-choice { margin: 0; }

.age-gate, .age-leave {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(22, 17, 28, 0.72), rgba(22, 17, 28, 0.88)),
    url("../assets/hero.jpg?v=20261020-shz2") center / cover no-repeat;
}
.age-card {
  width: min(34rem, 100%);
  background: rgba(22, 17, 28, 0.94);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.3rem 1.2rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.age-card img { width: 5.5rem; height: 5.5rem; border-radius: 50%; margin: 0 auto 0.6rem; object-fit: cover; }
.age-card h2 { margin: 0 0 0.4rem; font-size: 2.4rem; }
.age-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.age-leave[hidden], .age-gate[hidden], #cookie-bar[hidden], #refill[hidden] { display: none; }
html.age-pending .mast, html.age-pending .notice, html.age-pending #main, html.age-pending .site-foot, html.age-pending #cookie-bar,
html.age-leave .mast, html.age-leave .notice, html.age-leave #main, html.age-leave .site-foot, html.age-leave #cookie-bar { display: none; }

#cookie-bar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  width: min(42rem, calc(100% - 1.2rem));
  background: #f6efe4;
  color: #1c1422;
  border-radius: 1rem;
  padding: 0.9rem;
  box-shadow: var(--shadow);
}
#cookie-bar p { margin: 0 0 0.7rem; }
#cookie-bar .age-actions { justify-content: flex-start; }
#cookie-bar .btn-primary { color: #2a1720; }
#cookie-bar .btn-ghost { color: #1c1422; border-color: #c7b39a; }

@media (min-width: 768px) {
  .lobby { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .room-band { grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; }
  .help-list { grid-template-columns: 1fr 1fr 1fr; }
  .foot-nav {
    grid-template-columns: minmax(14rem, 20rem) minmax(12rem, 16rem);
    justify-content: start;
    column-gap: 3rem;
    align-items: start;
  }
}
@media (min-width: 1180px) {
  #nav-toggle { display: none; }
  .nav { display: flex; }
}
@media (max-width: 1179px) {
  .mast-rail { grid-template-columns: minmax(0, 1fr) auto auto; }
  .brand { grid-column: 1; grid-row: 1; }
  .mast-tools { grid-column: 2; grid-row: 1; }
  #nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }
  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.35rem 0 0.55rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { border-radius: 0.75rem; }
}
@media (max-width: 767px) {
  .mast-rail { min-height: 3.5rem; padding: 0.4rem 0; column-gap: 0.4rem; }
  .brand { gap: 0.45rem; }
  .brand img { width: 2rem; height: 2rem; }
  .brand strong { font-size: 1rem; line-height: 1.05; max-width: 7.5rem; }
  .brand small { display: none; }
  .notice ul { padding: 0.4rem 0; gap: 0.2rem 0.55rem; }
  .notice li { font-size: 0.875rem; line-height: 1.35; }
  .page-intro { padding-top: 1.75rem; }
  .section { padding: 2.25rem 0; }
}
@media (min-width: 1280px) {
  :root { --stage: 74rem; }
  .hero, .hero-photo { min-height: 34rem; }
}
@media (min-width: 1536px) {
  :root { --stage: 78rem; }
  .hero, .hero-photo { min-height: 38rem; }
}
@media (max-width: 640px) {
  .sound-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  #sound-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
  }
}
@media (max-width: 430px) {
  .stage { width: min(100% - 1.25rem, var(--stage)); }
  .brand strong { font-size: 0.95rem; max-width: 6.4rem; }
  .credit-pill { padding-inline: 0.55rem; }
  .credit-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #nav-toggle { padding-inline: 0.7rem; }
  .hero, .hero-photo { min-height: 24rem; }
  .hero-copy { bottom: 0.8rem; }
  .help-list img { height: 3.1rem; }
  .help-list img.logo-aware { height: 2rem; }
}
@media (max-width: 390px) {
  .display { font-size: 2.45rem; }
  .notice li { font-size: 0.875rem; }
  .legal { width: 100%; }
}
@media (max-width: 360px) {
  body { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .icon-btn:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { transform-origin: center; animation: drift 28s var(--ease) infinite alternate; }
  .lobby-card, .btn, .icon-btn, .help-list a, .arch, .tile { transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease); }
  .lobby-card:hover { transform: translateY(-2px); }
  @keyframes drift {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
  }
}
