/* Nuur Spaces — site styles
   One file, no framework. Phone first; breakpoints at 640, 720, 900 and 1200 px.
   Colour mode follows the device. Add data-theme="light" or "dark" on <html>
   (or any wrapper) to force one. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root,
[data-theme="light"] {
  --teal: #0F3B3E;
  --teal-2: #155356;
  --bg: #EEE8DF;
  --surface: #FBF8F3;
  --cream: #F6F1E8;
  --gold: #F2D18A;
  --ink: #12292B;
  --muted: #4F5F60;
  --label: #8A5232;
  --hair: rgba(15, 59, 62, .16);
  --hair-strong: rgba(15, 59, 62, .28);
  --btn-bg: #0F3B3E;
  --btn-ink: #F6F1E8;
  --btn2-ink: #0F3B3E;
  --notice-bg: #F6F1E8;
  --everyone: #3F6B4F;
  --sisters: #6E3B55;
  --brothers: #34506A;

  --plum: #6E3B55;
  --olive: #4D5B2C;
  --clay: #8A5232;
  --slate: #34506A;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --radius: 14px;
  --h1: clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem);
  --h2: clamp(1.875rem, 1.45rem + 1.8vw, 2.875rem);
  color-scheme: light;
}

[data-theme="dark"] {
  --teal: #0F3B3E;
  --bg: #0B1D1F;
  --surface: #11292B;
  --ink: #EEE7DB;
  --muted: #A9B5B2;
  --label: #E2C17F;
  --hair: rgba(246, 241, 232, .13);
  --hair-strong: rgba(246, 241, 232, .26);
  --btn-bg: #F6F1E8;
  --btn-ink: #0F3B3E;
  --btn2-ink: #F6F1E8;
  --notice-bg: #11292B;
  --everyone: #9CC2A6;
  --sisters: #D9A3BE;
  --brothers: #A6C0DA;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1D1F;
    --surface: #11292B;
    --ink: #EEE7DB;
    --muted: #A9B5B2;
    --label: #E2C17F;
    --hair: rgba(246, 241, 232, .13);
    --hair-strong: rgba(246, 241, 232, .26);
    --btn-bg: #F6F1E8;
    --btn-ink: #0F3B3E;
    --btn2-ink: #F6F1E8;
    --notice-bg: #11292B;
    --everyone: #9CC2A6;
    --sisters: #D9A3BE;
    --brothers: #A6C0DA;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
/* Light and dark versions of the app screenshots: the wrapper must not change the layout. */
picture { display: contents; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -.018em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--gold); color: #0F3B3E; padding: 12px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

.label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
}
.on-teal .label { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn { transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-secondary { background: transparent; color: var(--btn2-ink); border-color: var(--hair-strong); }
.btn-secondary:hover { border-color: var(--btn2-ink); }
.btn-cream { background: var(--cream); color: #0F3B3E; }
.btn-cream:hover { background: #fff; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .9375rem; border-radius: 10px; }

/* Store buttons: not live yet, so they are plain text, not links. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; min-width: 156px; padding: 8px 18px;
  border-radius: 12px; border: 1px solid var(--hair-strong);
  color: var(--ink); line-height: 1.2;
}
.store small { font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.store strong { font: 600 1.0625rem/1.2 var(--font-head); letter-spacing: -.01em; }
.on-teal .store { border-color: rgba(246, 241, 232, .3); color: var(--cream); }
.on-teal .store small { color: rgba(246, 241, 232, .72); }

/* ---------- Header ---------- */
.site-header { background: var(--teal); color: var(--cream); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  text-decoration: none; color: var(--cream);
  font: 600 1.3125rem/1 var(--font-head); letter-spacing: -.02em;
}
.brand span { font-weight: 400; color: rgba(246, 241, 232, .78); }
.brand-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: rgba(246, 241, 232, .86); text-decoration: none; font-weight: 500; font-size: .9375rem;
}
.nav a:not(.btn):hover { color: var(--cream); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); }
.nav a.nav-wide { display: none; }
.nav .btn { margin-left: 4px; padding-inline: 14px; }
@media (max-width: 639px) { .nav a:not(.btn) { padding: 0 10px; } }
/* The smallest phones (320px wide) only have room for the logo and the main button. */
@media (max-width: 359px) { .nav a:not(.btn) { display: none; } }
@media (min-width: 640px) { .nav a.nav-wide { display: inline-flex; } .nav .btn { margin-left: 8px; padding-inline: 16px; } .header-in { min-height: 76px; } }

/* ---------- Page island: a small floating switcher at the bottom of the screen ---------- */
.island {
  position: fixed; z-index: 20; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; gap: 2px; padding: 5px; max-width: calc(100% - 24px); border-radius: 999px;
  background: rgba(15, 59, 62, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(246, 241, 232, .14); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45);
}
.island a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  color: rgba(246, 241, 232, .8); text-decoration: none; white-space: nowrap;
  font: 600 .875rem/1 var(--font-body); transition: background .2s ease, color .2s ease;
}
.island a:hover { color: var(--cream); background: rgba(246, 241, 232, .1); }
.island a[aria-current="page"]:not(.not-here), .island a.is-here { background: var(--cream); color: #0F3B3E; }
@media (max-width: 379px) { .island a { padding: 0 11px; font-size: .8125rem; } }
/* Room at the end of the page so the island never covers the footer. */
.site:has(.island) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair); padding: 32px 0 36px; color: var(--muted); font-size: .9375rem; }
.footer-in { display: grid; gap: 28px; }
.footer-brand { color: var(--ink); }
.footer-brand .brand { color: var(--ink); }
.footer-brand .brand span { color: var(--muted); }
.footer-brand p { margin-top: 6px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .footer-links { display: flex; gap: 0 4px; margin-left: -12px; } }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  color: var(--ink); text-decoration: none;
}
@media (min-width: 640px) { .footer-links a { padding: 0 12px; } }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: .875rem; }
@media (min-width: 900px) {
  .footer-in { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--hair); }
}

/* ---------- Home: hero ---------- */
.hero { background: var(--teal); color: var(--cream); padding: 40px 0 0; overflow: hidden; }
.hero-in { display: grid; gap: 40px; }
.hero h1 { margin-top: 14px; font-size: var(--h1); line-height: 1.02; color: var(--cream); max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { margin-top: 18px; max-width: 34ch; font-size: 1.125rem; line-height: 1.55; color: rgba(246, 241, 232, .8); }
.hero .stores { margin-top: 28px; }
/* Two whole phones, so the app's bottom tabs show. */
.hero { padding-bottom: 48px; }
.hero-figure { position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
.hero-figure img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .3)); }
.hero-figure .front { position: relative; z-index: 2; width: 60%; margin: 0 4% 0 auto; }
.hero-figure .back { position: absolute; left: 0; top: 12%; width: 50%; opacity: .92; }
@media (min-width: 640px) {
  .hero { padding: 56px 0 56px; }
  .hero-figure { max-width: 400px; }
}
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
  .hero-figure { max-width: 430px; margin: 0 0 0 auto; }
}
@media (min-width: 1100px) {
  .hero { padding: 64px 0 72px; }
  .hero-figure { max-width: 460px; }
}

/* ---------- Shared section parts ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
@media (min-width: 720px) { .section { padding: 72px 0; } }
@media (min-width: 1100px) { .section { padding: 88px 0; } }
.section h2, .band h2 { font-size: var(--h2); }
.sec-head h2, .how-head h2, .venue-copy h2, .how-venue-copy h2 { margin-top: 12px; max-width: 18ch; }
.lede { margin-top: 16px; max-width: 38ch; font-size: 1.0625rem; color: var(--muted); }

/* A whole phone on the page, no box behind it. */
.stage, .phone-panel { position: relative; display: grid; justify-items: center; }
.stage .shot, .phone-panel img { grid-area: 1 / 1; width: 220px; }
.stage .shot img { width: 100%; }
.stage .shot img, .phone-panel img { filter: drop-shadow(0 22px 36px rgba(15, 59, 62, .18)); }
@media (min-width: 640px) { .stage .shot, .phone-panel img { width: 250px; } }
@media (min-width: 900px) { .stage .shot, .phone-panel img { width: 280px; } }

/* Screens swap with a short fade. */
.shot { opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .4s; }
.shot.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Segmented switch: "I'm going / I'm hosting" (needs the small script, so hidden without it) */
.switch { display: none; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); justify-self: start; }
.js .switch { display: inline-flex; }
.switch button {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 .9375rem/1 var(--font-body); transition: background .2s ease, color .2s ease;
}
.switch button:hover { color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-ink); }

/* ---------- Home: how it works ---------- */
/* Heading, switch and steps on the left; one phone panel on the right. On phones the panel sits between them. */
.how-grid { display: grid; gap: 24px; grid-template-areas: "head" "stage" "steps"; }
.how-head { grid-area: head; }
.how-head .switch { margin-top: 24px; }
.how { grid-area: steps; display: none; }
.how.is-active, html:not(.js) .how { display: block; }
html:not(.js) #panel-hosting { grid-row: 5; }
.how-grid .stage { grid-area: stage; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto; column-gap: 72px; row-gap: 28px;
    grid-template-areas: "head stage" "steps stage"; }
  .how-head { align-self: end; }
  .how { align-self: start; }
  }
/* Steps that swap the phone. Only the chosen step shows its line of detail. */
.steps-tabs { display: grid; gap: 4px; align-content: start; }
.steps-tabs [role="tab"] {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: center;
  width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; text-align: left;
  appearance: none; background: transparent; color: var(--muted); font: inherit; cursor: pointer;
  transition: background .25s ease;
}
.steps-tabs [role="tab"]:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.steps-tabs b {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--hair-strong); color: var(--ink); font: 600 .8125rem/1 var(--font-body);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.steps-tabs strong { font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.steps-tabs span { grid-column: 2; margin-top: 2px; font-size: .9375rem; line-height: 1.5; }
.steps-tabs [aria-selected="true"] { background: var(--surface); }
.steps-tabs [aria-selected="true"] b { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); }
.js .steps-tabs [aria-selected="false"] span { display: none; }
/* While the steps move on by themselves, a thin line fills to show when. */
.steps-tabs [role="tab"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--label); transform: scaleX(0); transform-origin: left;
}
.steps-tabs.is-playing [aria-selected="true"]::after { animation: fill 5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Home: venues ---------- */
.venue-in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .venue-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.venue-photo { position: relative; margin: 0; }
.venue-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
/* A sample booking request, laid over the photo to show what venues see. */
.request {
  position: absolute; right: 14px; bottom: 14px; width: min(272px, calc(100% - 28px));
  display: grid; gap: 2px; padding: 14px 16px 16px; border-radius: 16px;
  background: #FBF8F3; color: #12292B; font-size: .8125rem; line-height: 1.4;
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .45);
}
.request-top { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #8A5232; letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; }
.request-top::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C98A3D; }
.request strong { margin-top: 4px; font: 600 1.0625rem/1.25 var(--font-head); letter-spacing: -.01em; }
.request > span:not([class]) { color: #4F5F60; }
.request-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.request-btns span { padding: 8px 0; border-radius: 10px; text-align: center; font-weight: 600; border: 1px solid rgba(15, 59, 62, .2); }
.request-btns span + span { background: #0F3B3E; color: #F6F1E8; border-color: transparent; }
/* Phones: the card hangs off the bottom of the photo so the room still shows. */
@media (max-width: 899px) { .request { position: relative; right: auto; bottom: auto; margin: -56px 14px 0 auto; } }
@media (min-width: 900px) { .request { right: -28px; bottom: 28px; } }
.ticks { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--everyone) 16%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--everyone); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Ease in on scroll (only with the script, and never when the device asks for less motion) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal] + [data-reveal] { transition-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .shot, .steps-tabs [role="tab"]::after { transition: none; animation: none; }
}

/* ---------- Home: questions ---------- */
.faq-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.faq-in .lede a { color: var(--ink); }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 600 1.0625rem/1.35 var(--font-body); letter-spacing: 0; transition: color .2s ease; }
.faq-item summary:hover h3 { color: var(--label); }
/* A plus that turns into a minus when open */
.faq-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  background: linear-gradient(var(--muted), var(--muted)) center / 14px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 32px 20px 0; color: var(--muted); max-width: 52ch; }
.faq-item p a { color: var(--ink); font-weight: 600; }

/* Closing band */
.band { background: var(--teal); color: var(--cream); padding: 48px 0; }
.band-in { display: grid; gap: 24px; }
.band h2 { color: var(--cream); max-width: 20ch; }
.band p { color: rgba(246, 241, 232, .8); max-width: 44ch; margin-top: 12px; }
.band a:not(.btn) { color: var(--cream); }
@media (min-width: 900px) {
  .band { padding: 64px 0; }
  .band-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
}

/* ---------- Event share page ---------- */
.event { padding: 20px 0 24px; }
.event-in { display: grid; gap: 24px; }
.poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
}
.poster::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246, 241, 232, .22);
  border-radius: 8px; pointer-events: none;
}
.poster-top { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(246, 241, 232, .8); }
.poster-title { font: 600 clamp(2.25rem, 1.6rem + 3vw, 3.5rem)/1 var(--font-head); letter-spacing: -.02em; text-wrap: balance; }
.poster-foot { font-size: .9375rem; color: rgba(246, 241, 232, .8); margin-top: 14px; }
.poster--teal { background: var(--teal-2); }
.poster--plum { background: var(--plum); }
.poster--olive { background: var(--olive); }
.poster--clay { background: var(--clay); }
.poster--slate { background: var(--slate); }
.poster--photo { padding: 0; background: #2a2a24; }
.poster--photo img { width: 100%; height: 100%; object-fit: cover; }
.poster.is-dim { filter: grayscale(.85); opacity: .6; }

.for { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.for::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.for--everyone { color: var(--everyone); }
.for--sisters { color: var(--sisters); }
.for--brothers { color: var(--brothers); }

.event h1 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem); margin-top: 10px; }
.facts { margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.facts li:last-child { border-bottom: 1px solid var(--hair); }
.facts svg { width: 22px; height: 22px; margin-top: 2px; color: var(--muted); }
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--muted); }
.places { color: var(--label); font-weight: 600; }

.notice {
  margin-top: 22px; padding: 16px 18px; border-radius: 12px;
  background: var(--notice-bg); border: 1px solid var(--hair);
}
.notice strong { display: block; font: 600 1.125rem/1.3 var(--font-head); letter-spacing: -.01em; }
.notice p { margin-top: 4px; color: var(--muted); }

/* Action bar: sticks to the bottom of the screen on phones */
.actions {
  position: sticky; bottom: 0; z-index: 5;
  margin: 24px calc(var(--gutter) * -1) 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--hair);
}
.actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .btn { width: 100%; padding-inline: 12px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.price strong { font: 600 1.25rem/1.2 var(--font-head); letter-spacing: -.01em; }
.price .places { font-size: .9375rem; }
.actions-note { margin-top: 8px; font-size: .8125rem; color: var(--muted); text-align: center; }

/* Phone and tablet: compact. Poster becomes a thumbnail beside the title. */
@media (max-width: 899px) {
  .event-in { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 0; }
  .event-detail { display: contents; }
  .event-poster { grid-row: 1 / span 2; }
  .event .for { grid-column: 2; align-self: end; }
  .event h1 { grid-column: 2; align-self: start; font-size: 1.625rem; line-height: 1.1; margin-top: 4px; }
  .event .notice, .event .facts, .event .actions { grid-column: 1 / -1; }
  .poster { padding: 10px; border-radius: 10px; }
  .poster::after { inset: 5px; border-radius: 6px; }
  .poster-top, .poster-foot { display: none; }
  .poster-title { font-size: .875rem; line-height: 1.1; letter-spacing: -.01em; }
  .facts { margin-top: 18px; }
  .facts li { padding: 11px 0; }
  .notice { margin-top: 16px; padding: 12px 14px; }
  .notice strong { font-size: 1rem; }
  .notice p { font-size: .9375rem; margin-top: 2px; }
  .actions { margin-top: 18px; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .event { padding-top: 40px; }
  .event-in { grid-template-columns: 128px minmax(0, 1fr); column-gap: 24px; }
  .event h1 { font-size: 2.25rem; }
}
.about-app { padding: 40px 0 56px; }
.about-app-in { border-top: 1px solid var(--hair); padding-top: 28px; display: grid; gap: 12px; max-width: 560px; }
.about-app h2 { font-size: 1.375rem; letter-spacing: -.015em; }
.about-app p { color: var(--muted); }

.lost { padding: 56px 0 72px; }
.lost h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); max-width: 14ch; margin-top: 14px; }
.lost p { margin-top: 16px; max-width: 40ch; color: var(--muted); font-size: 1.125rem; }
.lost .btn { margin-top: 28px; }

@media (min-width: 640px) {
  .event-in { max-width: 560px; margin-inline: auto; }
}
@media (min-width: 900px) {
  .event { padding-top: 56px; }
  .event-in { max-width: calc(var(--wrap) + var(--gutter) * 2); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .event-poster { position: sticky; top: 32px; }
  .actions { position: static; margin: 28px 0 0; padding: 20px; border: 1px solid var(--hair); border-radius: var(--radius); }
  .about-app { padding: 72px 0 96px; }
}

/* ---------- Venues ---------- */
.v-hero { background: var(--teal); color: var(--cream); padding: 40px 0 48px; }
.v-hero-in { display: grid; gap: 36px; }
.v-hero h1 { margin-top: 14px; font-size: var(--h1); line-height: 1.02; color: var(--cream); max-width: 13ch; }
.v-hero .hero-lede { max-width: 38ch; }
.facts-row { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(246, 241, 232, .18); max-width: 30rem; }
.facts-row li { padding: 16px 12px 0 0; }
.facts-row li + li { padding-left: 16px; border-left: 1px solid rgba(246, 241, 232, .18); }
.facts-row b { display: block; font: 600 1.75rem/1 var(--font-head); letter-spacing: -.02em; color: var(--gold); }
.facts-row span { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.35; color: rgba(246, 241, 232, .78); }
.v-hero-photo { margin: 0; }
.v-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
@media (min-width: 900px) {
  .v-hero { padding: 72px 0 80px; }
  .v-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
  .v-hero-photo img { aspect-ratio: 1 / 1; }
}

.how-venue { display: grid; gap: 36px; align-items: center; }
.how-venue-phone { margin: 0; }
@media (min-width: 900px) { .how-venue { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.num-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: n; max-width: 30rem; }
.num-steps li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--hair); }
.num-steps li:last-child { border-bottom: 1px solid var(--hair); }
.num-steps li::before {
  content: counter(n); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-ink); font: 600 .8125rem/1 var(--font-body);
}
.num-steps strong { font-weight: 600; font-size: 1.0625rem; line-height: 28px; }
.num-steps span { color: var(--muted); font-size: .9375rem; line-height: 1.5; }

.checks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.checks li { display: grid; gap: 4px; align-content: start; padding: 16px 0 20px; border-top: 1px solid var(--hair); }
.checks strong { font-weight: 600; }
.checks span { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; } .checks li { padding: 20px 0 28px; } }

/* ---------- Long-text pages ---------- */
/* One column, one left edge: the heading and the text line up at every width. */
.doc { padding: 40px 0 64px; }
.doc-head { max-width: 46rem; padding-bottom: 28px; border-bottom: 1px solid var(--hair); }
.doc-head h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); margin-top: 12px; }
.doc-meta { margin-top: 12px; max-width: 46ch; color: var(--muted); }
.doc-body { padding-top: 8px; }
.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.7; }
.doc-body .prose h2 { font-size: 1.375rem; letter-spacing: -.012em; line-height: 1.25; margin: 36px 0 10px; scroll-margin-top: 24px; }
.doc-body .prose h2:first-child { margin-top: 24px; }
.prose h3 { font-size: 1.1875rem; letter-spacing: -.01em; line-height: 1.3; margin: 28px 0 8px; }
.prose p + p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose .ph { color: var(--muted); }
.prose .callout { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hair); }
.prose .callout p { color: var(--ink); }
.prose a { color: var(--ink); }
/* "What, why, who sees it" lists: easier to read on a phone than a table. */
.prose .rows { list-style: none; padding: 0; margin: 4px 0 0; border-top: 1px solid var(--hair); }
.prose .rows li { display: grid; gap: 2px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.prose .rows strong { font-weight: 600; }
.prose .rows span { color: var(--muted); font-size: 1rem; }
.prose .rows .who { color: var(--ink); font-size: .9375rem; }
.prose .rows + p { margin-top: 14px; }
.acc-body > * + * { margin-top: 12px; }
@media (min-width: 900px) { .doc { padding: 64px 0 96px; } }

/* Contact */
.mail-big { display: inline-block; margin-top: 20px; font: 600 clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem)/1.2 var(--font-head); letter-spacing: -.015em; color: var(--label); text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.contact-rows { max-width: 46rem; margin: 0; padding: 0; list-style: none; }
.contact-rows li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair); scroll-margin-top: 24px; }
.contact-rows strong { font-weight: 600; }
.contact-rows span { color: var(--muted); }
.contact-rows a, .contact-rows b { color: var(--ink); font-weight: 600; }
@media (min-width: 720px) { .contact-rows li { grid-template-columns: 13rem minmax(0, 1fr); gap: 24px; padding: 20px 0; } }

/* Accordion long-text pages (privacy, terms) */
.acc-wrap { padding-top: 20px; max-width: 46rem; }
.acc-hint { font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.acc-list { max-width: none; }
.acc { border-bottom: 1px solid var(--hair); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.acc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.acc summary:hover h2 { color: var(--label); }
.prose .acc summary h2 { margin: 0; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; transition: color .2s ease; }
.acc-body { padding: 0 0 24px; }
@media (min-width: 900px) { .prose .acc summary h2 { font-size: 1.3125rem; } .acc summary { min-height: 66px; } }

@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

