/* Mad Eccentrics: the colours and fonts of the app. A carnival night, plum
   dark, with magenta, confetti yellow and mint; the Doctor in clinical teal. */

@font-face {
  font-family: "DynaPuff";
  src: url("/fonts/DynaPuff-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ground: #14111c;
  --surface: #1e1a29;
  --raised: #2a2536;
  --line: #332d42;
  --edge: #6b6385;
  --text: #ede9f5;
  --muted: #a79fba;
  --lore: #d9d3e6;
  --accent: #ff6fa8;
  --accent-soft: #3a1a2a;
  --plum: #2a1736;
  --yellow: #ffd23f;
  --amber-soft: #362812;
  --mint: #3ddc97;
  --gain: #4fd1a5;
  --gain-soft: #10302a;
  --clinic: #7fd8c4;
  --clinic-ground: #0e1a1e;
  --clinic-surface: #16292e;
  --clinic-raised: #1f363c;
  --clinic-soft: #173a36;
  --clinic-line: #2b474e;
  --clinic-lore: #c8dcd8;
  --clinic-muted: #9db7b2;
  --display: "DynaPuff", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header: 73px;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
}
a:hover {
  color: var(--yellow);
}

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

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ground);
  font-weight: 800;
}
.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.wrap-narrow {
  max-width: 908px;
}
.wrap-prose {
  max-width: 808px;
}

.muted {
  color: var(--muted);
  font-size: 15px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ground);
}
.btn-primary:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ground);
}
.btn-ghost {
  border-color: var(--edge);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 18px;
}
.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 16px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn.is-disabled,
.play-badge.is-disabled {
  background: var(--raised);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.soon {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  /* Opaque, without backdrop-filter: it would hold the fixed menu and
     language sheet inside the header. */
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a,
.menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--lore);
  font-weight: 700;
  text-decoration: none;
}
.nav a:hover {
  color: var(--yellow);
}
.nav a[aria-current="page"] {
  color: var(--yellow);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.menu-button {
  display: none;
}
.menu-button .menu-close,
.menu-button[aria-expanded="true"] .menu-open {
  display: none;
}
.menu-button[aria-expanded="true"] .menu-close {
  display: inline;
}

.menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header);
  bottom: 0;
  z-index: 29;
  padding: 12px 16px 24px;
  background: var(--ground);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu[hidden] {
  display: none;
}
.menu nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.menu nav a {
  min-height: 56px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--display);
  font-size: 22px;
}
.menu nav a[aria-current="page"] {
  color: var(--yellow);
}
.menu .btn {
  margin-top: auto;
  min-height: 56px;
  font-size: 18px;
}

/* Language */

.lang {
  position: relative;
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--text);
  font: 800 15px var(--body);
  cursor: pointer;
}
.lang-button svg {
  color: var(--muted);
}
.lang-button:hover,
.lang-button[aria-expanded="true"] {
  border-color: var(--yellow);
}
.lang-panel[hidden] {
  display: none;
}
.lang-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.lang-sheet {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 41;
  width: 260px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--edge);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.sheet-handle,
.sheet-head {
  display: none;
}
.lang-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.lang-list a:hover {
  background: var(--raised);
  color: var(--text);
}
.lang-list a[aria-current="true"] {
  background: var(--accent-soft);
  font-weight: 800;
}
.lang-list a svg {
  color: var(--accent);
}

/* Shared pieces */

.eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-yellow {
  color: var(--yellow);
}
.title {
  margin-bottom: 36px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
}
.title-wide {
  max-width: 780px;
}
.title-small {
  font-size: 34px;
  margin-bottom: 20px;
}
.lead {
  color: var(--lore);
  font-size: 19px;
}
.accent {
  color: var(--accent);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.section {
  padding-top: 96px;
}
.section-tight {
  padding-top: 48px;
}
.section-last,
main > .section:last-child {
  padding-bottom: 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.grid-steps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-guests {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.card h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}
.card p {
  color: var(--lore);
  font-size: 16px;
}
.card.is-clinic {
  background: var(--clinic-surface);
  border-color: var(--clinic-line);
}
.card.is-clinic p {
  color: var(--clinic-lore);
}
.card-raised {
  background: var(--raised);
  border-color: var(--raised);
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.icon-pink {
  background: var(--accent-soft);
  color: var(--accent);
}
.icon-yellow {
  background: var(--amber-soft);
  color: var(--yellow);
}
.icon-clinic {
  background: var(--clinic-soft);
  color: var(--clinic);
}
.step-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ground);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.is-clinic .step-num {
  background: var(--clinic);
  color: var(--clinic-ground);
}
.chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-head .title {
  margin-bottom: 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 50%, var(--plum) 0%, var(--ground) 60%);
}
.confetti {
  position: absolute;
  border-radius: 2px;
}
.c1 {
  top: 90px;
  left: 6%;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  transform: rotate(20deg);
}
.c2 {
  top: 420px;
  left: 44%;
  width: 14px;
  height: 7px;
  background: var(--accent);
  transform: rotate(-30deg);
}
.c3 {
  top: 140px;
  right: 8%;
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 50%;
}
.c4 {
  bottom: 90px;
  right: 30%;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
}
.hero-text {
  display: flex;
  flex: 1 1 460px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.hero-text .eyebrow {
  margin: 0;
}
.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 72px;
  line-height: 0.98;
}
.hero .lead {
  max-width: 540px;
  font-size: 20px;
}
.hero .actions {
  margin-top: 6px;
}
.hero-beta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}
.tick {
  display: flex;
  color: var(--mint);
}
.hero-art {
  position: relative;
  display: flex;
  flex: 1 1 420px;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  min-height: 520px;
}
.hero-guest {
  position: absolute;
  bottom: 0;
  height: 400px;
  max-width: 42%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}
.hero-left {
  left: 0;
}
.hero-right {
  right: 0;
  height: 380px;
}
.door {
  position: relative;
}
.door img {
  display: block;
  width: 300px;
  height: 440px;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 10px rgba(255, 111, 168, 0.12), 0 24px 80px rgba(255, 111, 168, 0.35);
}
.ding {
  position: absolute;
  top: 22px;
  right: -34px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ground);
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  white-space: nowrap;
  transform: rotate(8deg);
  animation: ring 3.2s ease-in-out infinite;
}
@keyframes ring {
  0%, 70%, 100% { transform: rotate(8deg); }
  75% { transform: rotate(-2deg); }
  80% { transform: rotate(14deg); }
  85% { transform: rotate(2deg); }
  90% { transform: rotate(10deg); }
}

/* Facts */

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.facts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding-top: 26px;
  padding-bottom: 26px;
  list-style: none;
}
.facts li {
  display: flex;
  flex-direction: column;
}
.facts strong {
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
}
.facts span {
  color: var(--muted);
  font-size: 15px;
}

/* Escapees */

.guest {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.guest[hidden] {
  display: none;
}
.guest-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 270px;
  background: radial-gradient(circle at 50% 70%, var(--accent-soft) 0%, var(--raised) 70%);
}
.guest-art img {
  height: 250px;
  max-width: 90%;
  object-fit: contain;
}
.guest-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
}
.guest-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.guest-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.15;
}
.guest p {
  color: var(--lore);
  font-size: 15px;
}
.guest.is-clinic {
  border: 2px solid var(--clinic);
  background: var(--clinic-surface);
}
.guest.is-clinic .guest-art {
  background: radial-gradient(circle at 50% 70%, var(--clinic-soft) 0%, var(--clinic-raised) 70%);
}
.guest.is-clinic .chip {
  background: var(--clinic-soft);
  color: var(--clinic);
}
.guest.is-clinic p {
  color: var(--clinic-lore);
}
.guest-note {
  color: var(--clinic-muted);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  background: radial-gradient(circle at 80% 0%, var(--plum) 0%, var(--ground) 55%);
}
.page-hero-pink {
  background: radial-gradient(circle at 85% 10%, var(--accent-soft) 0%, var(--ground) 55%);
}
.page-hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 64px;
  padding-bottom: 32px;
}
.page-hero .eyebrow {
  margin: 0;
}
.page-hero h1 {
  font-size: 64px;
  line-height: 1;
}
.page-hero .lead {
  max-width: 660px;
}
.notice {
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: var(--yellow);
  font-weight: 700;
  font-size: 15px;
}

.filters {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.js .filters {
  display: flex;
}
.filter {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--edge);
  background: var(--surface);
  color: var(--text);
  font: 800 15px var(--body);
  cursor: pointer;
}
.filter:hover {
  border-color: var(--yellow);
}
.filter[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ground);
}
.count {
  margin-top: 18px;
}
#guests {
  margin-top: 0;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 56px 0 96px;
  padding: 36px 40px;
  border-radius: 28px;
  border: 3px solid var(--accent);
  background: var(--surface);
}
.cta-box > div {
  flex: 1 1 420px;
  min-width: 0;
}
.cta-box h2 {
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
}
.cta-box p {
  color: var(--lore);
}

/* End of the evening */

.end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.end-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.end-text .eyebrow,
.end-text .title {
  margin: 0;
}
.podium-card {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}
.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 110px;
}
.token {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.token-blue {
  background: #5b8def;
}
.token-pink {
  background: #e0568a;
}
.token-green {
  background: #2fa37a;
}
.token-first {
  width: 62px;
  height: 62px;
  box-shadow: 0 0 0 3px var(--yellow);
}
.podium-name {
  font-weight: 800;
}
.podium-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 14px 14px 0 0;
  background: var(--raised);
  color: var(--muted);
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
}
.step-1 {
  height: 130px;
  background: var(--yellow);
  color: var(--ground);
  font-size: 34px;
}
.step-2 {
  height: 90px;
}
.step-3 {
  height: 66px;
}
.diagnoses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.diagnoses li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--raised);
  font-size: 15px;
}
.diagnoses strong {
  color: var(--yellow);
}

/* Tester band */

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 56px 48px;
  border-radius: 32px;
  border: 3px solid var(--accent);
  background: radial-gradient(circle at 85% 50%, var(--accent-soft) 0%, var(--surface) 60%);
}
.band-text {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.band-text .eyebrow,
.band-text .title {
  margin: 0;
}
.band .title {
  font-size: 50px;
}
.band-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.band-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.band-steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ground);
  font-weight: 800;
  font-size: 15px;
}
.band-door {
  flex: none;
  width: 240px;
  height: 350px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid var(--yellow);
  transform: rotate(-3deg);
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 18px;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  color: var(--muted);
}
.faq details[open] .faq-plus {
  display: none;
}
.faq details p {
  padding: 0 24px 22px;
  color: var(--lore);
}

/* Testers */

.testers-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding-top: 16px;
}
.steps {
  display: flex;
  flex: 999 1 560px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.step.is-current {
  border: 2px solid var(--accent);
}
.step-num-large {
  width: 52px;
  height: 52px;
  font-size: 26px;
}
.step-num-outline {
  border: 2px solid var(--yellow);
  background: var(--raised);
  color: var(--yellow);
}
.step-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.step-body h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}
.step-body p {
  color: var(--lore);
}
.step-body strong {
  color: var(--text);
}
.step-body .actions {
  margin-top: 4px;
}
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  border: 2px solid var(--text);
  background: var(--text);
  color: var(--ground);
  text-decoration: none;
}
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.badge-text small {
  font-size: 12px;
  font-weight: 600;
}
.badge-text strong {
  font-size: 18px;
  font-weight: 800;
}
.aside {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.aside-title {
  font-size: 19px;
  font-weight: 800;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--lore);
  font-size: 16px;
}
.ticks li {
  display: flex;
  gap: 12px;
}
.ticks svg {
  flex: none;
  margin-top: 3px;
  color: var(--mint);
}
.qr-card {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.qr {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 14px;
  background: #fff;
  image-rendering: pixelated;
}
.qr-card p {
  font-size: 15px;
}
.trouble {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.trouble-item {
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.trouble dt {
  font-weight: 800;
}
.trouble dd {
  margin: 6px 0 0;
  color: var(--lore);
  font-size: 16px;
}

/* Privacy */

.prose {
  padding-top: 64px;
  padding-bottom: 96px;
  line-height: 1.6;
}
.prose h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  margin-bottom: 10px;
}
.prose h2 {
  margin: 32px 0 8px;
  font-size: 24px;
  font-weight: 800;
}
.prose p,
.prose li {
  color: var(--lore);
}
.prose ul {
  margin: 0 0 8px;
  padding-left: 22px;
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid #2b6b57;
  background: var(--gain-soft);
}
.prose .callout {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}
.callout svg {
  flex: none;
  color: var(--gain);
}

/* 404 */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 96px;
  text-align: center;
}
.not-found img {
  border-radius: 16px;
  border: 4px solid var(--accent);
}
.not-found h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-left: auto;
}
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--lore);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--yellow);
}
.trademark {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}

/* Narrow screens: the menu and the language sheet */

@media (max-width: 960px) {
  .nav,
  .header-cta {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 61px;
  }
  body {
    font-size: 16px;
  }
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-row {
    gap: 10px;
    min-height: 60px;
  }
  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand span {
    font-size: 19px;
  }
  .lang-button {
    gap: 6px;
    padding: 0 12px;
    background: transparent;
  }

  .lang-backdrop {
    background: rgba(8, 6, 12, 0.72);
  }
  .lang-sheet {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    border: 0;
    border-top: 1px solid var(--edge);
    animation: sheet 0.22s ease-out;
  }
  @keyframes sheet {
    from { transform: translateY(100%); }
    to { transform: none; }
  }
  .sheet-handle {
    display: block;
    width: 44px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: var(--edge);
  }
  .sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .sheet-head h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 24px;
  }
  .lang-list a {
    min-height: 50px;
  }

  .section {
    padding-top: 56px;
  }
  .section-last,
  main > .section:last-child {
    padding-bottom: 56px;
  }
  .title {
    margin-bottom: 22px;
    font-size: 30px;
    line-height: 1.08;
  }
  .title-small {
    font-size: 28px;
  }
  .lead {
    font-size: 16px;
  }
  .btn-large {
    min-height: 56px;
  }
  .card {
    padding: 20px;
  }

  .hero-row {
    gap: 22px;
    padding-top: 32px;
    padding-bottom: 36px;
    text-align: center;
  }
  .hero-text {
    align-items: center;
    gap: 14px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1;
  }
  .hero .lead {
    font-size: 16px;
  }
  .hero-text .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-text .eyebrow {
    font-size: 12px;
  }
  .hero-art {
    order: -1;
    flex-basis: 100%;
    min-height: 0;
    height: 320px;
  }
  .hero-text {
    flex-basis: 100%;
  }
  .hero-guest {
    height: 240px;
  }
  .hero-right {
    height: 230px;
  }
  .door img {
    width: 190px;
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 0 0 7px rgba(255, 111, 168, 0.12), 0 16px 50px rgba(255, 111, 168, 0.35);
  }
  .ding {
    top: 14px;
    right: -26px;
    padding: 7px 12px;
    border-radius: 12px;
    font-size: 19px;
  }
  .c2 {
    top: 330px;
    left: auto;
    right: 20px;
  }
  .c4 {
    display: none;
  }

  .facts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .facts strong {
    font-size: 26px;
  }
  .facts span {
    font-size: 14px;
  }

  .section-head .btn {
    width: 100%;
  }
  .grid-guests {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .page-hero .wrap {
    padding-top: 32px;
    padding-bottom: 20px;
  }
  .page-hero h1 {
    font-size: 42px;
  }

  .podium-card {
    padding: 24px 16px;
  }
  .podium-place {
    width: 92px;
  }

  .band {
    padding: 28px 20px;
    border-radius: 26px;
    gap: 24px;
  }
  .band .title {
    font-size: 32px;
  }
  .band-steps {
    flex-direction: column;
  }
  .band .actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .band-door {
    display: none;
  }
  .cta-box {
    margin: 40px 0 56px;
    padding: 24px 20px;
  }
  .cta-box .btn {
    width: 100%;
  }

  .faq summary {
    min-height: 56px;
    padding: 10px 18px;
    font-size: 16px;
  }
  .faq details p {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .step {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .step-num-large {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .step-body h2 {
    font-size: 19px;
  }
  .step-body .actions > * {
    width: 100%;
    justify-content: center;
  }
  .qr-card {
    display: none;
  }

  .prose {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .prose h1 {
    font-size: 40px;
  }

  .footer-links {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ding,
  .lang-sheet {
    animation: none;
  }
}
