/* V2: dark party direction. Real neon footage supplies the light, not CSS glow. */
:root {
  --page: #101014;
  --surface: #19181f;
  --surface-raised: #24212d;
  --surface-strong: #26202d;
  --craft-surface: #0a0a0e;
  --text: #f6f3fa;
  --text-secondary: #c9c3d3;
  --line: rgb(246 243 250 / .24);
  --accent: #ce187f;
  --accent-hover: #b6136e;
  --accent-link: #ff92ce;
  --accent-soft: rgb(255 72 209 / .12);
  --accent-alt: #13d9e3;
  --on-accent: #fff9fd;
  --contact-surface: #4f163d;
  --modal-surface: #201c28;
  --field-surface: #121116;
  --focus: #24e2e8;
  --selection-bg: #72edf0;
  --selection-text: #111019;
  --red: var(--accent);
  color: var(--text);
  background: var(--page);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --page: #f2f1f6;
  --surface: #e8e5ed;
  --surface-raised: #fdfbff;
  --surface-strong: #e7e0ef;
  --craft-surface: #e2dfe7;
  --text: #17151e;
  --text-secondary: #504b5f;
  --line: rgb(23 21 30 / .22);
  --accent: #bd156f;
  --accent-hover: #a1105e;
  --accent-link: #a80f64;
  --accent-soft: rgb(189 21 111 / .08);
  --accent-alt: #007780;
  --on-accent: #fff9fd;
  --contact-surface: #bd156f;
  --modal-surface: #fdfbff;
  --field-surface: #fff;
  --focus: #007780;
  --selection-bg: #72edf0;
  --selection-text: #111019;
  color-scheme: light;
}

body { color: var(--text); background: var(--page); }
::selection { color: var(--selection-text); background: var(--selection-bg); }
html { scrollbar-color: color-mix(in srgb, var(--text) 38%, transparent) var(--page); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 38%, transparent); border: 3px solid var(--page); border-radius: 12px; }
input, textarea { caret-color: var(--accent-link); }
input::placeholder, textarea::placeholder { color: var(--text-secondary); opacity: 1; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1, h2, h3 { letter-spacing: -.04em; }
.outline { -webkit-text-stroke-color: var(--text); }
.theme-ready body, .theme-ready :is(.flavors,.craft,.events,.contact,footer,.concept-section,.flavor-catalog,.partners-section,.locations-section,.faq-section,.founder-section,.video-section,dialog,.mobile-menu) {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

/* A compact native control; the text plane stays outside the lens filter. */
.theme-toggle { display: none; }
.theme-enabled .theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: inherit;
  background: rgb(255 255 255 / .07);
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 50%;
  transition: background-color .18s ease;
}
.theme-toggle:hover { background: rgb(255 255 255 / .18); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
.site-header .header-content { gap: 18px; }
.site-header nav { gap: 22px; font-size: 12px; letter-spacing: .14em; }
.site-header .button { color: var(--on-accent); background: var(--accent); }
/* The original PNG already has alpha; let the wordmark float on the surface. */
.site-header .logo, footer .logo, .legal-page .site-header .logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html:root .site-header[data-liquid-tone="light"] {
  --liquid-fill: rgb(248 247 252 / .18);
  --liquid-text: #17151e;
  --liquid-solid: #f2f1f6;
}
html:root[data-theme="dark"] .site-header[data-liquid-tone="light"],
html:root .site-header[data-liquid-tone="photo"] {
  --liquid-fill: rgb(10 8 16 / .18);
  --liquid-text: #f6f3fa;
  --liquid-solid: #17141d;
}
.mobile-menu { color: var(--text); background: var(--surface-raised); border: 1px solid var(--line); }
.mobile-menu:not([hidden]) { font-size: 16px; line-height: 1.5; gap: 20px; }
.skip-link { color: var(--text); background: var(--surface-raised); }

.button { color: var(--on-accent); background: var(--accent); }
.button:hover { background: var(--accent-hover); }
.button-dark { color: var(--page); background: var(--text); }
.button-dark:hover { color: var(--page); background: var(--text-secondary); }
.button-cream { color: #17151e; background: #f6f3fa; }
.button-cream:hover { background: #fff; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.text-link { text-underline-offset: 5px; }
.journey { color: var(--text); background: var(--page); }
.journey-stage { color: var(--text); background: var(--page); }
.story-noise { display: none; }
.chapter-lead { max-width: 40ch; }
.flavor-ribbon { color: var(--accent-link); background: var(--surface); border-color: var(--line); }
.flavors, .flavor-catalog { color: var(--text); background: var(--page); }
.flavor-buttons button { color: var(--text); border-color: var(--line); opacity: 1; }
.flavor-buttons button:not(.selected) { color: var(--text-secondary); }
.flavor-tag { color: var(--text); background: var(--page); border-color: var(--line); }
.flavor-copy p:not(.eyebrow), .season-note, .flavor-meta { color: var(--text-secondary); }
.craft { color: var(--text); background: var(--craft-surface); }
.craft-copy > p:not(.eyebrow) { color: var(--text-secondary); }
.craft .outline { -webkit-text-stroke-color: var(--text); }
.events { color: var(--text); background: var(--surface-strong); }
.event-types { border-color: var(--line); }
.event-journey { color: var(--text); background: var(--surface-strong); }
.contact { color: var(--on-accent); background: var(--contact-surface); }
.contact .outline { -webkit-text-stroke-color: var(--on-accent); }
.contact-bottom { border-color: rgb(246 243 250 / .35); }
footer { color: var(--text); background: var(--page); border-top: 1px solid var(--line); }
.motion-control { color: #f6f3fa; background: rgb(18 13 24 / .86); }

/* Keep the inherited event props in the same night-time material family. */
:root[data-theme="dark"] .flavor-visual .flavor-circle { background: var(--surface-strong); }
.occasion-ticket { color: var(--text); background: var(--surface-raised); border-color: var(--line); box-shadow: 14px 30px 50px rgb(0 0 0 / .22); }
.occasion-ticket strong { color: var(--text); }
.ticket-stamp { color: var(--accent-link); border-color: currentColor; }
.ticket-tear { border-color: var(--line); }
.route-line { stroke: var(--accent-alt); }
.route-shadow { display: none; }

/* The compact/reduced-motion story is a real reading layout in both themes. */
.static-motion .journey-stage {
  background: var(--page) !important;
  color: var(--text) !important;
  --scene-ink: var(--text) !important;
}
.static-motion .chapter { border-color: var(--line); }
.static-motion .event-stage { background: var(--surface-strong) !important; color: var(--text) !important; }
.static-motion .event-sky { background: var(--surface-strong) !important; }
.static-motion .event-outline { -webkit-text-stroke-color: var(--text); }
.static-motion .event-story-copy { border-color: var(--line); }

/* These editorial sections expand the source content without a field of cards. */
.concept-section, .partners-section, .founder-section { color: var(--text); background: var(--surface); }
.locations-section, .video-section { color: var(--text); background: var(--page); }
.faq-section { color: var(--text); background: var(--surface-strong); }
.concept-section {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: center;
  gap: clamp(36px,7vw,112px);
}
.concept-copy { min-width: 0; }
.concept-copy h2, .partners-section h2, .locations-section h2, .faq-section h2, .flavor-catalog h2 {
  font-size: clamp(42px,6.4vw,92px);
  line-height: 1.02;
  max-width: 12ch;
}
.concept-copy > p { max-width: 58ch; color: var(--text-secondary); font-size: 17px; line-height: 1.75; margin-top: 24px; }
.concept-copy .text-link, .concept-copy .button { margin-top: 28px; }
.concept-media { min-width: 0; margin: 0; }
.concept-media > img { display: block; width: 100%; max-height: 720px; object-fit: cover; }
.concept-media figcaption { color: var(--text-secondary); font-size: 12px; line-height: 1.6; margin-top: 14px; }
.catalog-intro, .partners-intro, .locations-intro, .faq-intro { color: var(--text-secondary); max-width: 68ch; font-size: 17px; line-height: 1.7; margin-top: 25px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 36px 0 18px; }
.catalog-filters button { color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 11px 17px; font-size: 13px; font-weight: 700; }
.catalog-filters button:hover { border-color: currentColor; }
.catalog-filters button[aria-pressed="true"], .catalog-filters button.active { color: var(--page); background: var(--text); border-color: var(--text); }
.catalog-count, .catalog-note { color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.catalog-note { margin-top: 28px; max-width: 75ch; }
.flavor-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 30px; margin-top: 30px; }
.flavor-item { min-width: 0; padding: 25px 0 28px; border-top: 1px solid var(--line); color: var(--text); }
.flavor-item h3 { font-family: DM,sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.flavor-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin-top: 12px; }
.flavor-item img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 18px; }
.flavor-item .flavor-tag { position: static; display: inline-block; transform: none; white-space: normal; margin-top: 14px; padding: 5px 9px; font-size: 10px; }
.flavor-item .flavor-meta { margin-top: 13px; }
.partner-list, .partner-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 36px 52px; margin-top: 45px; }
.partner-list > *, .partner-strip > * { min-width: 0; }
.partner-list img, .partner-strip img { width: auto; max-width: 175px; max-height: 84px; object-fit: contain; }
.partner-list a, .partner-strip a { display: flex; align-items: center; min-height: 88px; }
.partner-name { font-family: DM,sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; }
.location-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 45px; }
.location-item { min-width: 0; padding-top: 27px; border-top: 1px solid var(--line); }
.location-item h3 { font-size: clamp(25px,2.5vw,37px); line-height: 1.15; }
.location-item address, .location-item > p { color: var(--text-secondary); font-style: normal; line-height: 1.75; margin: 18px 0; }
.location-item a { display: inline-block; padding: 7px 0; text-decoration: underline; text-underline-offset: 5px; }
.location-item a:hover { color: var(--accent-link); }
.faq-section details { padding: 25px 0; border-top: 1px solid var(--line); }
.faq-section details:first-of-type { margin-top: 42px; }
.faq-section summary { font-size: 20px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.faq-section summary::marker { color: var(--accent-link); }
.faq-section details p { max-width: 72ch; color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin-top: 18px; }

/* Every form state remains readable; selected choices use color and a border. */
dialog { color: var(--text); background: var(--modal-surface); }
dialog::backdrop { background: rgb(3 15 10 / .64); }
.dialog-close { color: var(--text); background: var(--surface); }
#booking-dialog .dialog-close:hover { color: var(--text); background: var(--surface-strong); }
.form-progress > span { color: var(--text-secondary); border-color: var(--line); opacity: 1; }
.form-progress > span.active { color: var(--text); border-color: var(--accent); }
fieldset, legend, fieldset > label, .form-grid > label { color: var(--text); }
input:not([type="radio"]):not([type="checkbox"]), textarea, select {
  color: var(--text);
  background: var(--field-surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  min-width: 0;
}
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; padding: 0; border-radius: 3px; }
.occasion-options span { color: var(--text); border-color: var(--line); }
.occasion-options input:checked + span { color: var(--text); background: var(--accent-soft); border-color: var(--accent); }
.occasion-options input:focus-visible + span { outline-color: var(--focus); }
.form-back { color: var(--text); }
.form-note, .form-status { color: var(--text-secondary); }
.request-summary { color: var(--text); background: var(--surface-strong); }

/* The legal reading surface shares the same material, not the fixed V1 paper. */
.legal-page { color: var(--text); background: var(--page); }
.legal-draft { color: var(--text-secondary); background: transparent; border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
.legal-toc, .legal-content section, .legal-page footer { border-color: var(--line); }
.legal-source-note { color: var(--text-secondary); }
.legal-objection { color: var(--text); background: var(--surface-strong); }
.legal-content a:hover, .legal-toc a:hover { color: var(--accent-link); }

@media (max-width:1100px) {
  .site-header { width: min(1150px,calc(100% - 36px)); }
  .site-header nav { display: none; }
  .motion-ready .site-header .menu-button { display: block; }
  .site-header .button { margin-left: auto; }
  .site-header .header-content { gap: 12px; }
  .concept-section { gap: 40px; }
  .flavor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 25px; }
}

@media (max-width:700px) {
  .site-header { width: calc(100% - 30px); }
  .site-header .header-content { padding: 8px 10px; gap: 8px; }
  .site-header .logo { width: 112px; }
  .site-header .button { padding: 11px 12px; font-size: 11px; min-height: 44px; }
  .theme-enabled .theme-toggle { width: 38px; height: 38px; padding: 9px; }
  .theme-toggle svg { width: 18px; height: 18px; }
  .site-header .menu-button { width: 34px; height: 38px; padding: 6px; }
  .mobile-menu { inset: 94px 15px auto; padding: 23px; }
  .chapter-progress, .event-story-progress { background: var(--surface-raised); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
  .concept-section { display: grid; grid-template-columns: minmax(0,1fr); gap: 35px; }
  .concept-copy h2, .partners-section h2, .locations-section h2, .faq-section h2, .flavor-catalog h2 { font-size: clamp(39px,11.5vw,64px); max-width: 12ch; }
  .concept-copy > p, .catalog-intro, .partners-intro, .locations-intro, .faq-intro { font-size: 15px; line-height: 1.75; }
  .concept-media > img { max-height: 530px; }
  .flavor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; margin-top: 24px; }
  .flavor-item { padding: 23px 0; }
  .flavor-item h3 { font-size: 21px; }
  .flavor-item p { font-size: 13px; }
  .catalog-filters { gap: 8px; margin-top: 28px; }
  .catalog-filters button { font-size: 12px; padding: 10px 13px; }
  .partner-list, .partner-strip { gap: 28px 30px; margin-top: 32px; }
  .partner-list img, .partner-strip img { max-width: 130px; max-height: 70px; }
  .partner-name { font-size: 21px; }
  .location-list { grid-template-columns: minmax(0,1fr); gap: 33px; margin-top: 32px; }
  .location-item h3 { font-size: 31px; }
  .faq-section summary { font-size: 18px; }
  .faq-section details p { font-size: 15px; }
  .contact-email { overflow-wrap: anywhere; }
}

@media (max-width:360px) {
  .site-header .logo { width: 80px; padding: 7px 9px; }
  .site-header .header-content { gap: 4px; padding: 8px; }
  .site-header .button { padding: 10px 8px; font-size: 11px; }
  .theme-enabled .theme-toggle { width: 34px; height: 34px; padding: 7px; }
  .site-header .menu-button { width: 30px; }
  .flavor-grid { gap: 0 16px; }
}

@media (prefers-reduced-motion:reduce) {
  .theme-ready body, .theme-ready :is(.flavors,.craft,.events,.contact,footer,.concept-section,.flavor-catalog,.partners-section,.locations-section,.faq-section,.founder-section,.video-section,dialog,.mobile-menu), .theme-toggle { transition: none; }
}

@media (prefers-reduced-transparency:reduce) {
  .theme-toggle { background: var(--surface-raised); }
  .site-header { background: var(--page); }
}

/* Functional captions and footer links stay readable on small screens. */
footer > span { font-size: 11px; }
footer > div { font-size: 12px; }
.flavor-tag,.photo-caption,.event-next { font-size: 12px; }
.ticket-stamp { color: var(--accent-link); border-color: currentColor; }
