/* =========================================================
   Paint The Nite Away
   Palette pulled from Colleen's paintings: moonlit ultramarine
   nights, coral + marigold sunset skies, rose dusk forests,
   and the lagoon teal from her mural work.
   ========================================================= */

:root {
  --nite-deep: #0e1034;
  --nite: #161947;
  --nite-2: #232766;
  --ink: #191b3f;
  --ink-soft: #4b4e74;
  --mist: #eef1f8;
  --paper: #ffffff;
  --line: #dde2ef;
  --moon: #fbf1d4;

  --gold: #f6b93b;
  --gold-hi: #ffcb5c;
  --coral: #f2694b;
  --coral-ink: #b3401f;
  --rose: #e2457e;
  --rose-ink: #b0265a;
  --lagoon: #16a394;
  --lagoon-ink: #0a6d62;

  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Mr Dafoe", "Brush Script MT", cursive;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(22, 25, 71, .06), 0 14px 34px -14px rgba(22, 25, 71, .22);
  --header-h: 64px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 88;
  margin: 0;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw + 1rem, 3.3rem); line-height: 1.02; font-weight: 800; }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
a:not(.btn):focus-visible, summary:focus-visible, .event-title:focus-visible { border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible,
.mobile-bar :focus-visible, .ig-empty :focus-visible, .skip-link:focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none; }

.skip-link {
  position: absolute; left: 16px; top: 0; z-index: 100; transform: translateY(-120%);
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: translateY(12px); }

.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 64px, 1160px); } }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-ink);
  margin-bottom: .7rem;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-ink { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--btn-h);
  padding: 0 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease-out), background-color .18s, box-shadow .18s, border-color .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --btn-h: 40px; padding: 0 1.05em; font-size: .92rem; }
.btn-lg { --btn-h: 56px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(246, 185, 59, .7); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--moon); border-color: rgba(251, 241, 212, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--moon); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--nite-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  min-height: var(--header-h);
  color: var(--moon);
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.is-solid, body.nav-open .site-header {
  background: rgba(14, 16, 52, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.header-cta, .menu-toggle, .site-nav a { white-space: nowrap; flex: none; }
.wordmark { min-width: 0; }

.wordmark {
  display: inline-flex; align-items: baseline; gap: .28em;
  text-decoration: none; color: var(--moon); white-space: nowrap;
  margin-right: auto;
}
.wm-caps { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.wm-script { font-family: var(--font-script); font-size: 1.95rem; line-height: .6; color: var(--gold); transform: translateY(.06em) rotate(-4deg); padding: 0 .04em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--moon); cursor: pointer; border-radius: 12px; margin-right: -8px;
}
.burger, .burger::before, .burger::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 59.99em) {
  .header-cta { order: 2; }
  .menu-toggle { order: 3; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(14, 16, 52, .97);
    padding: 8px 16px 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5);
  }
  .site-nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .25s var(--ease-out); }
  .site-nav a {
    display: block; padding: 14px 4px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.01em;
    border-bottom: 1px solid rgba(251, 241, 212, .12);
  }
  .header-cta { --btn-h: 38px; padding: 0 .95em; font-size: .88rem; }
}
@media (max-width: 23.49em) {
  .wm-caps { font-size: .68rem; letter-spacing: .12em; }
  .wm-script { font-size: 1.7rem; }
  .header-cta { --btn-h: 36px; padding: 0 .8em; font-size: .84rem; }
}
@media (max-width: 21.24em) {
  .header-cta { display: none; }
}
@media (min-width: 60em) {
  .menu-toggle { display: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { display: block; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .95rem; opacity: .88; }
  .site-nav a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
  .header-cta { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--nite-deep);
  color: var(--moon);
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; padding-block: 32px 0; }
.hero h1 {
  font-size: clamp(2.6rem, 9.5vw + .3rem, 5.4rem);
  line-height: .98;
  font-weight: 800;
  font-variation-settings: "wdth" 90;
  letter-spacing: -.018em;
  color: #fff;
  margin-bottom: 1.1rem;
  max-width: 7.5em;
}
.brush-word { position: relative; z-index: 0; white-space: nowrap; color: var(--gold-hi); }
.brush-underline {
  position: absolute; z-index: -1;
  left: -3%; bottom: -.1em; width: 106%; height: .34em;
  overflow: visible;
}
.brush-underline path { fill: none; stroke: var(--rose); stroke-width: 9; stroke-linecap: round; opacity: .9; filter: url(#rough-stroke); }
.lede { font-size: 1.12rem; line-height: 1.55; color: rgba(251, 241, 212, .9); max-width: 36ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-actions .btn { width: 100%; }

.next-up {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding: 12px 16px;
  border-radius: 16px;
  background: rgba(14, 16, 52, .55);
  border: 1px solid rgba(251, 241, 212, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  text-decoration: none; color: var(--moon);
  transition: border-color .2s, background-color .2s;
}
.next-up:hover { border-color: var(--gold); background: rgba(14, 16, 52, .75); }
.next-up[hidden] { display: none; }
.next-up-thumb { width: 46px; height: 46px; flex: none; border-radius: 8px; overflow: hidden; background: var(--nite-2); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); }
.next-up-thumb img, .next-up-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.next-up-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); flex: none; max-width: 5.5em; line-height: 1.2; }
.next-up-text { flex: 1; line-height: 1.3; font-size: .98rem; }
.next-up-when { color: #fff; }
.next-up .ico { color: var(--gold); }

.hero-scene {
  order: 2;
  position: relative; z-index: 1;
  height: clamp(300px, 56vw + 120px, 470px);
  margin-top: -30px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }

/* On narrow phones the viewBox is cropped to its middle; nudge the moon and tree
   clusters into view so the composition still frames the moon. */
@media (max-width: 599.98px) {
  .sc-moon, .sc-glints { translate: -150px 0; }
  .sc-left { translate: 300px 0; }
  .sc-right { translate: -150px 0; }
}

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .next-up { display: inline-flex; max-width: 100%; }
  .next-up-label { max-width: none; }
}

@media (min-width: 900px) {
  .hero { min-height: min(100svh, 880px); justify-content: center; }
  .hero-scene { position: absolute; inset: 0; height: auto; margin: 0; -webkit-mask-image: none; mask-image: none; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 16, 52, .78) 0%, rgba(14, 16, 52, .5) 34%, rgba(14, 16, 52, 0) 58%);
  }
  .hero-copy { padding-block: 96px 150px; }
  .hero h1 { max-width: 7.7em; }
  .lede { font-size: 1.2rem; }
}

/* Hero paints itself in: sky washes, then the moon, the far shore, the pines, and the glint on the water. */
@media (prefers-reduced-motion: no-preference) {
  .sc-sky .s, .sc-lake .s {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: ptna-paint 1.05s cubic-bezier(.55, .05, .3, 1) forwards;
    animation-delay: calc(var(--i) * 65ms);
  }
  .sc-lake .s { animation-delay: calc(650ms + var(--i) * 55ms); }
  .sc-moon { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ptna-moon 1s var(--ease-out) .7s forwards; }
  .sc-far { opacity: 0; animation: ptna-rise .9s var(--ease-out) .95s forwards; }
  .sc-reflect { opacity: 0; animation: ptna-half 1.2s ease-out 1.15s forwards; }
  .sc-left, .sc-right { opacity: 0; animation: ptna-rise .9s var(--ease-out) 1.2s forwards; }
  .sc-glints .g {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: ptna-paint .5s ease-out forwards, ptna-shimmer 6s ease-in-out infinite;
    animation-delay: calc(1.45s + var(--i) * 45ms), calc(2.6s + var(--i) * .31s);
  }
  .sc-stars circle { animation: ptna-twinkle 4.5s ease-in-out infinite; animation-delay: var(--tw); }
  .brush-underline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ptna-paint .7s cubic-bezier(.6, 0, .3, 1) 1.1s forwards; }
  .hero-copy > * { opacity: 0; animation: ptna-up .7s var(--ease-out) forwards; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .15s; }
  .hero-copy > :nth-child(3) { animation-delay: .28s; }
  .hero-copy > :nth-child(4) { animation-delay: .4s; }
  .hero-copy > :nth-child(5) { animation-delay: .6s; }
}
.sc-reflect { opacity: .5; }
.hero.is-still .sc-stars circle, .hero.is-still .sc-glints .g { animation-play-state: paused; }
@keyframes ptna-paint { to { stroke-dashoffset: 0; } }
@keyframes ptna-moon { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes ptna-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ptna-half { to { opacity: .5; } }
@keyframes ptna-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ptna-shimmer { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes ptna-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
@media (min-width: 900px) { .section { padding-block: 104px; } }
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; flex-direction: column; gap: 18px; }
.section-head-row > div { max-width: 640px; }
@media (min-width: 700px) {
  .section-head { margin-bottom: 40px; }
  .section-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head-row .btn { flex: none; }
}

/* ---------- Upcoming paint nights ---------- */
.nights { background: var(--mist); }
.sample-note {
  background: #fff7e3; border: 1px dashed #d9a23a; color: #6a4a0c;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; margin-bottom: 20px;
}
.event-list { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .event-list { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .event-list { grid-template-columns: repeat(3, 1fr); } }

.event-skeleton {
  height: 460px; border-radius: var(--radius);
  background: linear-gradient(100deg, #e4e8f3 30%, #f3f5fb 50%, #e4e8f3 70%) 0 0 / 300% 100%;
  animation: ptna-shine 1.4s linear infinite;
}
@keyframes ptna-shine { to { background-position: -150% 0; } }

.event {
  --accent: var(--coral);
  --accent-ink: var(--coral-ink);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.event:nth-child(4n + 2) { --accent: var(--rose); --accent-ink: var(--rose-ink); }
.event:nth-child(4n + 3) { --accent: var(--lagoon); --accent-ink: var(--lagoon-ink); }
.event:nth-child(4n + 4) { --accent: var(--gold); --accent-ink: #8a5a00; }
.event.is-highlighted { animation: ptna-pulse 1.6s ease-out 2; }
@keyframes ptna-pulse { 0% { box-shadow: 0 0 0 0 rgba(246, 185, 59, .9), var(--shadow-card); } 100% { box-shadow: 0 0 0 16px rgba(246, 185, 59, 0), var(--shadow-card); } }

/* The painting sits on the card like a canvas propped on an easel ledge. */
.event-art {
  position: relative;
  padding: 14px 14px 0;
  background: linear-gradient(180deg, var(--accent) 0 58%, transparent 58%);
}
.event-canvas {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nite);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08), 0 12px 22px -10px rgba(14, 16, 52, .55);
}
.event-canvas img, .event-canvas svg { width: 100%; height: 100%; object-fit: cover; }
.event-canvas .art-note {
  position: absolute; left: 10px; bottom: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(14, 16, 52, .7); color: var(--moon); padding: 3px 9px; border-radius: 999px;
}
.event-date {
  position: absolute; left: 26px; top: 26px;
  display: grid; justify-items: center;
  min-width: 64px; padding: 6px 8px 7px;
  background: var(--paper); color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 6px 16px -6px rgba(14, 16, 52, .5);
  line-height: 1;
  text-align: center;
}
.event-date .m { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.event-date .d { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; margin: 3px 0 2px; }
.event-date .w { font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.event-flag {
  position: absolute; right: 26px; top: 26px;
  font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--ink); color: #fff;
}
.event-flag.is-hot { background: var(--coral-ink); }
.event-flag.is-sample { background: #fff7e3; color: #6a4a0c; }

.event-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.event-tag {
  align-self: flex-start;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 14%, #fff);
  padding: 4px 10px; border-radius: 999px;
}
.event-title { font-size: 1.5rem; line-height: 1.12; font-weight: 800; }
.event-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-soft); font-size: 1rem; }
.event-meta li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.event-meta .ico { color: var(--accent-ink); margin-top: 1px; }
.event-meta a { color: inherit; text-underline-offset: 3px; }
.event-details { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.event-foot { margin-top: auto; padding-top: 8px; display: grid; gap: 14px; }
.event-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.event-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; }
.event-price .amt.is-text { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.event-price .per { color: var(--ink-soft); font-size: .95rem; }
.seats {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 700; color: var(--lagoon-ink);
}
.seats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.seats.is-low { color: var(--coral-ink); }
.seats.is-out { color: var(--ink-soft); }
.event-actions { display: flex; gap: 10px; }
.event-actions .btn-book { flex: 1; }
.btn-icon { --btn-h: 52px; width: 52px; padding: 0; flex: none; }
.event.is-soldout .event-canvas, .event.is-cancelled .event-canvas { filter: saturate(.55); }
.event.is-cancelled .event-title { text-decoration: line-through; text-decoration-thickness: 2px; }

.events-empty {
  grid-column: 1 / -1;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 28px 22px; text-align: center;
}
.events-empty h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.events-empty p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }
.events-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.events-more { grid-column: 1 / -1; justify-self: center; }

.notify {
  margin-top: 32px;
  display: grid; gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px dashed #c9cfe3;
}
.notify h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.notify-copy p { color: var(--ink-soft); }
.notify-form { display: grid; gap: 10px; }
.notify-form input[type="email"] { min-height: 52px; }
@media (min-width: 700px) {
  .notify { grid-template-columns: 1fr 1.25fr; align-items: center; padding: 26px 30px; }
  .notify-form { grid-template-columns: 1fr auto; }
  .notify-form .form-msg { grid-column: 1 / -1; }
}
.form-msg { margin: 0; font-size: .95rem; font-weight: 700; color: var(--lagoon-ink); }
.form-msg:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notify-label { font-weight: 700; font-size: .95rem; grid-column: 1 / -1; }
.notify-form { position: relative; }
.form-msg.is-error { color: var(--coral-ink); }

/* ---------- Form controls ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #8388aa;
  border-radius: 12px;
  background: #fff;
  font-size: 1.02rem; /* ≥16px keeps iOS from zooming in */
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191b3f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--nite-2); }
input[aria-invalid="true"] { border-color: var(--coral-ink); }
::placeholder { color: #6b6f90; }

/* ---------- How it works ---------- */
.steps { background: var(--paper); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.step { position: relative; padding-left: 64px; counter-increment: step; }
.step-dot {
  position: absolute; left: 0; top: -4px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink);
  background: var(--gold);
}
.step-dot::after { content: counter(step); }
.step:nth-child(2) .step-dot { background: var(--coral); }
.step:nth-child(3) .step-dot { background: var(--lagoon); color: #fff; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-soft); }
@media (min-width: 800px) {
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step { padding-left: 0; padding-top: 66px; }
  .step-dot { top: 0; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; top: 22px; left: 60px; right: -24px; height: 3px;
    background: repeating-linear-gradient(90deg, #cdd3e6 0 10px, transparent 10px 18px);
  }
}

/* ---------- Private parties (the warm splash) ---------- */
.parties {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(226, 69, 126, .55), rgba(226, 69, 126, 0) 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(22, 163, 148, .35), rgba(22, 163, 148, 0) 70%),
    linear-gradient(165deg, #f7875a 0%, #f59c4c 40%, #f6b93b 100%);
  color: var(--ink);
}
.parties::before {
  /* dry-brush texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .35' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .2  0 0 0 0 .1  0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}
.parties-inner { display: grid; gap: 32px; align-items: center; }
.parties-copy { max-width: 700px; }
.party-card {
  background: rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 24px 50px -24px rgba(90, 30, 20, .45);
}
.party-card h3 { margin-bottom: 14px; }
.party-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.party-points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.party-points .ico { color: var(--lagoon-ink); margin-top: 1px; stroke-width: 2.6; }
.party-price { margin: 18px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.party-area { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 980px) {
  .parties-inner { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  .party-card { padding: 32px 30px; transform: rotate(1.5deg); }
}
.parties h2 { margin-bottom: .8rem; }
.parties-lede { font-size: 1.12rem; margin-bottom: 1.4rem; }
.occasions { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.occasions li {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(25, 27, 63, .12);
  font-weight: 700; font-size: .95rem;
}
.parties-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.parties-actions .btn { flex: 1 1 220px; max-width: 320px; }
.parties-mail { font-weight: 700; text-underline-offset: 4px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .ig-grid { gap: 16px; } }
.ig-tile {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: 14px; background: var(--mist);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile .ico-play {
  position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; padding: 7px;
  border-radius: 50%; background: rgba(14, 16, 52, .6); color: #fff; fill: currentColor; stroke: none;
}
.gallery.is-empty .section-head-row .btn { display: none; }
.ig-empty {
  grid-column: 1 / -1;
  display: grid; gap: 14px; justify-items: start;
  padding: 28px 24px; border-radius: var(--radius);
  background: radial-gradient(80% 120% at 100% 0%, #3b3276, var(--nite-deep) 70%);
  color: var(--moon);
}
.ig-empty h3 { color: #fff; font-size: 1.5rem; }
.ig-empty p { color: rgba(251, 241, 212, .85); max-width: 46ch; }

/* ---------- Reviews ---------- */
.reviews { background: var(--mist); }
.review-list { display: grid; gap: 16px; }
@media (min-width: 800px) { .review-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } }
.review { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-card); border-top: 5px solid var(--coral); }
.review:nth-child(3n + 2) { border-top-color: var(--rose); }
.review:nth-child(3n + 3) { border-top-color: var(--lagoon); }
.review blockquote { margin: 0 0 14px; font-size: 1.1rem; line-height: 1.5; }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.reviews:not([hidden]) + .about { background: var(--paper); }

/* ---------- About ---------- */
.about { background: var(--mist); }
.about-inner { display: grid; gap: 28px; align-items: center; }
.about-copy { max-width: 640px; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p:not(.eyebrow) { font-size: 1.08rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 1.4rem; }
.about-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rose-ink); text-underline-offset: 4px; }
.about-links .ico { width: 1em; height: 1em; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.about-photo::before {
  content: ""; position: absolute; z-index: -1; inset: 18px -12px -14px 18px; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--rose), var(--coral) 45%, var(--gold));
}
.about-photo { isolation: isolate; }
.about-swatches { width: min(100%, 340px); height: auto; justify-self: center; }
.about-inner.has-photo .about-swatches { display: none; }
@media (min-width: 860px) {
  .about-inner { grid-template-columns: 7fr 5fr; gap: 64px; }
  .about-swatches { order: 2; width: 100%; max-width: 420px; }
  .about-inner.has-photo { grid-template-columns: 5fr 7fr; }
}
@media (max-width: 859.98px) { .about-swatches { display: none; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-inner { display: grid; gap: 8px; }
.faq-list { border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px;
  font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191b3f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq details p { color: var(--ink-soft); padding: 0 2px 20px; margin: 0; max-width: 62ch; }
@media (min-width: 900px) {
  .faq-inner { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--nite-deep); color: var(--moon); text-align: center;
}
.contact::before {
  /* the moon, rising again */
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -250px; top: -290px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 176, .95) 0 16%, rgba(246, 185, 59, .22) 17%, rgba(246, 185, 59, 0) 62%);
}
.contact::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(180deg, rgba(226, 69, 126, 0), rgba(226, 69, 126, .18));
}
.contact-inner { max-width: 720px; }
.contact h2 { color: #fff; margin-bottom: .7rem; }
.contact-lede { color: rgba(251, 241, 212, .88); font-size: 1.12rem; margin-inline: auto; max-width: 40ch; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin: 26px auto 34px; max-width: 420px; }
@media (min-width: 600px) { .contact-actions { flex-direction: row; justify-content: center; max-width: none; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; justify-content: center; }
.contact-list li { display: flex; align-items: center; gap: 10px; justify-content: center; color: rgba(251, 241, 212, .9); }
.contact-list .ico { color: var(--gold); }
.contact-list a { text-underline-offset: 4px; }
@media (min-width: 800px) { .contact-list { grid-auto-flow: column; gap: 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: #090a24; color: rgba(251, 241, 212, .7); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-inner { display: grid; gap: 8px; justify-items: center; text-align: center; }
.wordmark-footer { margin: 0 0 6px; }
.footer-small { font-size: .82rem; opacity: .75; }
@media (max-width: 59.99em) {
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Sticky mobile booking bar ---------- */
.mobile-bar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 16, 52, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .45);
  transform: translateY(calc(100% + 40px));
  visibility: hidden;
  transition: transform .3s var(--ease-out), visibility 0s .3s;
}
.mobile-bar .btn { --btn-h: 50px; padding: 0 .8em; }
.mobile-bar.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out); }
@media (min-width: 60em) { .mobile-bar { display: none; } }
/* Landscape phones and heavy zoom: the header's Book button is enough. */
@media (max-width: 59.99em) and (max-height: 500px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 0; }
}

/* ---------- Booking sheet (dialog) ---------- */
.sheet {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 100%; max-height: 100%;
  margin: auto 0 0;
  overflow: visible;
}
.sheet::backdrop { background: rgba(9, 10, 36, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet-panel {
  position: relative;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  max-height: 92vh; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5);
}
.sheet-panel::before {
  content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: #d6dbea; margin: -12px auto 16px;
}
.sheet[open] .sheet-panel { animation: ptna-sheet-up .35s var(--ease-out); }
@keyframes ptna-sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
  .sheet { width: min(100% - 48px, 540px); margin: auto; }
  .sheet-panel { border-radius: 24px; max-height: 90vh; padding: 34px 34px 30px; }
  .sheet-panel::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sheet[open] .sheet-panel { animation: none; } }

.sheet-close {
  position: absolute; right: 12px; top: 12px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--mist); cursor: pointer;
}
.sheet-close:hover { background: #e2e6f2; }
.sheet-title { font-size: 1.9rem; line-height: 1.05; font-weight: 800; margin: 0 48px .4rem 0; }
.sheet-title:focus { outline: none; }
.sheet-intro { color: var(--ink-soft); margin-bottom: 1.2rem; }
.sheet-event {
  display: flex; gap: 14px; align-items: center;
  padding: 10px; margin: 0 48px 18px 0;
  background: var(--mist); border-radius: 14px;
}
.sheet-event[hidden] { display: none; }
.sheet-event .thumb { width: 64px; height: 64px; flex: none; border-radius: 8px; overflow: hidden; background: var(--nite); }
.sheet-event .thumb img, .sheet-event .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.sheet-event strong { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.15; }
.sheet-event span { color: var(--ink-soft); font-size: .92rem; line-height: 1.3; display: block; margin-top: 2px; }

.request-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field[hidden], .field-row[hidden] { display: none; }
.field label { font-weight: 700; font-size: .98rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.field-row input { min-width: 0; }
.field-note { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.field-hint { margin: 0; font-size: .9rem; color: var(--coral-ink); font-weight: 700; }
.field-error { margin: 0; font-size: .92rem; color: var(--coral-ink); font-weight: 700; }
.field-error::before { content: "! "; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; max-width: 240px; }
.stepper input { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn { height: 50px; border-radius: 12px; border: 1.5px solid #8388aa; background: var(--mist); display: grid; place-items: center; cursor: pointer; }
.stepper-btn:hover { background: #e2e6f2; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdebe6; color: var(--coral-ink); font-weight: 700; font-size: .95rem; }
.form-error a { color: inherit; }
.fine { font-size: .88rem; color: var(--ink-soft); text-align: center; margin: 0; }

.sheet-success { text-align: center; padding-top: 8px; }
.sheet-success:focus { outline: none; }
.sheet-success .sheet-title { margin: 0 0 .5rem; }
.sheet-success p { color: var(--ink-soft); max-width: 36ch; margin-inline: auto; }
.success-mark {
  width: 72px; height: 72px; margin: 4px auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lagoon); color: #fff;
}
.success-mark .ico { width: 36px; height: 36px; stroke-width: 2.6; }
.success-actions { display: grid; gap: 10px; margin: 22px 0 12px; }
.success-actions[hidden] { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: opacity .2s, transform .25s var(--ease-out);
  white-space: normal; width: max-content; max-width: calc(100vw - 32px); overflow-wrap: anywhere; text-align: center; border-radius: 16px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 60em) { .toast { bottom: 32px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .event-skeleton { animation: none; }
}
