/* ============================================================
   breeze rooftop — stylesheet
   palette + type pulled from the printed menu:
   cream canvas, bubbly orange display type, hand-drawn green doodles
   ============================================================ */

:root {
  --bg: #f8ecd4;
  --bg-soft: #f3e2bf;
  --card: #fffbf1;
  --card-brd: rgba(74, 53, 25, 0.09);

  --orange: #f28b1d;
  --orange-deep: #e07500;
  --orange-soft: rgba(242, 139, 29, 0.16);
  --on-orange: #fff6e4;

  --green: #4f7e3e;
  --green-deep: #3e6a30;
  --green-soft: rgba(79, 126, 62, 0.14);

  --ink: #43301a;
  --ink-soft: #8a7355;
  --ink-faint: rgba(67, 48, 26, 0.26);
  --line: rgba(67, 48, 26, 0.15);

  --shadow: 0 16px 44px -14px rgba(67, 48, 26, 0.22);
  --shadow-sm: 0 8px 24px -10px rgba(67, 48, 26, 0.18);

  --f-display: "Baloo 2", "Comic Sans MS", cursive;
  --f-script: "Pacifico", "Segoe Script", cursive;
  --f-body: "Quicksand", "Segoe UI", system-ui, sans-serif;

  --r: 22px;
  --nav-h: 78px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="night"] {
  --bg: #17100a;
  --bg-soft: #201710;
  --card: #251b12;
  --card-brd: rgba(244, 231, 205, 0.08);

  --orange: #ffa033;
  --orange-deep: #f28b1d;
  --orange-soft: rgba(255, 160, 51, 0.13);
  --on-orange: #241503;

  --green: #93c274;
  --green-deep: #a9d48c;
  --green-soft: rgba(147, 194, 116, 0.12);

  --ink: #f4e7cd;
  --ink-soft: #b9a683;
  --ink-faint: rgba(244, 231, 205, 0.24);
  --line: rgba(244, 231, 205, 0.13);

  --shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 10px 28px -10px rgba(0, 0, 0, 0.5);
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* author `display` rules (e.g. .btn) outrank the UA's [hidden] rule, which would
   leave hidden={true} elements visible — this makes the attribute actually work. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 0.55s ease, color 0.55s ease;
}

body.is-loading, body.no-scroll { overflow: hidden; }

::selection { background: var(--orange); color: var(--on-orange); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; border: 3px solid var(--bg-soft); }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; font-weight: 800; }

.section { padding: 110px 24px; max-width: 1180px; margin: 0 auto; scroll-margin-top: calc(var(--nav-h) + 10px); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--green);
}
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2.5px; border-radius: 2px; background: var(--green); opacity: 0.5; }

/* ---------- doodle svg system ---------- */
.doodle svg, svg.doodle { overflow: visible; }
.doodle path, .doodle circle, .doodle rect, .doodle line {
  fill: none; stroke: var(--green); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.55s ease;
}
.doodle .a { stroke: var(--orange); }
.doodle .f { fill: var(--green); stroke: none; }
.doodle .fa { fill: var(--orange); stroke: none; }
.doodle .fa-heart { fill: var(--orange); stroke: var(--orange); stroke-width: 1.5; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s 0.75s;
}
.preloader.done { transform: translateY(-101%); visibility: hidden; }
.pl-inner { text-align: center; }
.pl-wind { width: 150px; margin: 0 auto 10px; }
.plw {
  stroke: var(--orange); stroke-width: 5; stroke-linecap: round; fill: none;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: plDraw 1.1s var(--ease-out) forwards;
}
.plw2 { stroke: var(--green); animation-delay: 0.18s; }
.plw3 { animation-delay: 0.36s; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
.pl-logo { font-family: var(--f-script); font-size: 3.4rem; color: var(--orange); animation: plFade 0.7s 0.25s var(--ease-out) both; }
.pl-sub { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.55em; text-indent: 0.55em; font-size: 0.8rem; text-transform: uppercase; color: var(--green); animation: plFade 0.7s 0.45s var(--ease-out) both; }
.pl-tag { margin-top: 18px; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.14em; animation: plFade 0.7s 0.65s var(--ease-out) both; }
@keyframes plFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- cursor trail + progress ---------- */
#breezeTrail { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 3000;
  background: linear-gradient(90deg, var(--orange), var(--green));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: transform 0.45s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.hidden { transform: translateY(-110%); }
.nav.solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.logo { display: grid; line-height: 1; }
.logo-script { font-family: var(--f-script); font-size: 1.8rem; color: var(--orange); transition: transform 0.35s var(--spring); }
.logo:hover .logo-script { transform: rotate(-4deg) scale(1.05); }
.logo-sub { font-family: var(--f-display); font-weight: 700; font-size: 0.55rem; letter-spacing: 0.52em; text-transform: uppercase; color: var(--green); margin-top: 2px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--f-display); font-weight: 700; font-size: 0.98rem;
  position: relative; padding: 6px 2px; transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'%3E%3Cpath d='M2 5 Q 9 1, 16 5 T 30 5 T 44 5 T 58 5' fill='none' stroke='%23f28b1d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn, .ig-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--ink);
  background: var(--card);
  transition: transform 0.3s var(--spring), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
}
.theme-btn:hover, .ig-btn:hover { transform: translateY(-3px) rotate(-6deg); border-color: var(--orange); color: var(--orange); }
.theme-btn svg, .ig-btn svg { width: 20px; height: 20px; }
.theme-btn .ic-sun, .theme-btn .ic-moon { position: absolute; transition: transform 0.5s var(--spring), opacity 0.3s; }
.theme-btn .ic-moon { opacity: 0; transform: rotate(90deg) scale(0.4); }
[data-theme="night"] .theme-btn .ic-sun { opacity: 0; transform: rotate(-90deg) scale(0.4); }
[data-theme="night"] .theme-btn .ic-moon { opacity: 1; transform: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5.5px; }
.burger span { display: block; width: 22px; height: 2.6px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--spring), opacity 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(8.1px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.1px) rotate(-45deg); }

/* mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950; background: var(--bg);
  display: grid; place-items: center; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 10px; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; padding: 8px;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.25s;
  transition-delay: calc(0.08s + var(--mi) * 0.07s);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mm-tag { position: absolute; bottom: 40px; left: 0; right: 0; font-size: 0.8rem; letter-spacing: 0.18em; color: var(--ink-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  overflow: hidden;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 78% -8%, var(--orange-soft), transparent 65%),
    radial-gradient(700px 420px at 12% 108%, var(--green-soft), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  transition: background 0.55s ease;
}
.hero-stars { position: absolute; inset: 0 0 30% 0; z-index: -1; }
.hero-stars .star {
  position: absolute; border-radius: 50%;
  background: #ffe9b3; box-shadow: 0 0 8px 1px rgba(255, 220, 140, 0.7);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.8s ease;
}
[data-theme="night"] .hero-stars .star { animation: twinkle var(--tw, 3s) ease-in-out var(--twd, 0s) infinite alternate; }
@keyframes twinkle { from { opacity: 0.15; transform: scale(0.55); } to { opacity: 0.95; transform: scale(1); } }

.hero-wind { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hw {
  fill: none; stroke-width: 3.4; stroke-linecap: round;
  stroke: var(--orange); opacity: 0;
  stroke-dasharray: 900 1400; stroke-dashoffset: 900;
  animation: windSweep 9s linear infinite;
}
.hw2 { stroke: var(--green); animation-delay: 4.5s; }
@keyframes windSweep {
  0% { stroke-dashoffset: 900; opacity: 0; }
  12% { opacity: 0.35; }
  45% { opacity: 0.35; }
  60% { stroke-dashoffset: -1400; opacity: 0; }
  100% { stroke-dashoffset: -1400; opacity: 0; }
}

/* floating doodles */
.fd { position: absolute; z-index: 0; opacity: 0.95; will-change: transform; }
.fd .doodle { width: 100%; height: 100%; }
.fd-in { animation: bob var(--bt, 7s) ease-in-out infinite alternate; }
@keyframes bob {
  from { transform: translateY(-9px) rotate(var(--r1, -3deg)); }
  to { transform: translateY(11px) rotate(var(--r2, 4deg)); }
}
.fd-cup { width: 120px; left: 6%; top: 21%; }
.fd-pizza { width: 105px; right: 7%; top: 19%; }
.fd-ice { width: 95px; left: 9%; bottom: 17%; }
.fd-waffle { width: 88px; right: 11%; bottom: 21%; opacity: 0.8; }

/* steam wisps */
.steam { opacity: 0; animation: steam 3.2s ease-in-out infinite; }
.steam.s2 { animation-delay: 1.05s; }
.steam.s3 { animation-delay: 2.1s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(7px); }
  35% { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(-9px); }
}

/* hero content */
.hero-content { position: relative; text-align: center; max-width: 940px; z-index: 1; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green);
  box-shadow: var(--shadow-sm);
}
.hero-kicker svg path { stroke-width: 3.4; }

.hero-title { margin-top: 26px; }
.hl1 {
  display: block; font-weight: 700; color: var(--ink);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem); letter-spacing: 0.02em;
}
.hl2-wrap { position: relative; display: inline-block; }
.hl2-logo {
  display: block; width: clamp(280px, 58vw, 640px); height: auto;
  opacity: 0; transform: translateY(60px) scale(0.8);
  filter: drop-shadow(0 10px 0 rgba(67, 48, 26, 0.06));
}
body.loaded .hl2-logo { animation: ltrPop 0.7s 0.5s var(--spring) both; }
@keyframes ltrPop {
  0% { opacity: 0; transform: translateY(60px) scale(0.8) rotate(-4deg); }
  100% { opacity: 1; transform: none; }
}

.hl-swoosh {
  position: absolute; left: -9%; right: -9%; top: 52%; width: 118%; z-index: -1;
  transform: translateY(-50%);
}
.hl-swoosh path {
  stroke: var(--green); stroke-width: 5.5; stroke-linecap: round; fill: none;
  opacity: 0.55;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
body.loaded .hl-swoosh path { animation: swooshDraw 1.4s 1s var(--ease-out) forwards; }
@keyframes swooshDraw { to { stroke-dashoffset: 0; } }

.hero-star { position: absolute; width: 74px; top: -34px; right: -52px; }
.hero-star .doodle { animation: starSpin 12s linear infinite; opacity: 0; }
body.loaded .hero-star .doodle { animation: starPop 0.6s 1.5s var(--spring) both, starSpin 14s 2.1s linear infinite; }
@keyframes starPop { from { opacity: 0; transform: scale(0) rotate(-60deg); } to { opacity: 1; transform: none; } }
@keyframes starSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(14deg); }
}

.hero-sub { margin: 26px auto 0; max-width: 560px; color: var(--ink-soft); font-size: 1.06rem; font-weight: 500; }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* entrance helper */
[data-ent] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
body.loaded [data-ent] { opacity: 1; transform: none; }

/* spinning badge */
.spin-badge { width: 132px; }
.spin-badge svg { width: 100%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-txt { font-family: var(--f-display); font-weight: 700; font-size: 11.6px; letter-spacing: 1.6px; fill: var(--green); }
.badge-leaf path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.badge-leaf .a { stroke: var(--orange); }
.hero-badge { position: absolute; right: 4.5%; bottom: 9%; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; margin-left: -22px;
  display: grid; justify-items: center; gap: 4px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue svg { width: 16px; }
.scroll-cue path { stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue svg { animation: cueBounce 1.8s ease-in-out infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 15px 30px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  transition: transform 0.3s var(--spring), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn-in { display: inline-flex; align-items: center; gap: 10px; will-change: transform; }
.btn-in svg { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 10px 26px -8px rgba(242, 139, 29, 0.55); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(242, 139, 29, 0.6); }
.btn-green { background: var(--green); color: #f3efd9; box-shadow: 0 10px 26px -8px rgba(79, 126, 62, 0.5); }
.btn-green:hover { background: var(--green-deep); transform: translateY(-3px); }
.btn-ghost { border: 2px solid var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); transform: translateY(-3px); }
.btn:active { transform: scale(0.94); }
.btn-small { padding: 11px 22px; font-size: 0.92rem; }
.btn-big { padding: 18px 36px; font-size: 1.12rem; }

/* ---------- marquee ---------- */
.marquees { padding: 34px 0 40px; overflow: hidden; }
.marquee { overflow: hidden; width: 104%; margin-left: -2%; }
.m1 { background: var(--orange); color: var(--on-orange); transform: rotate(-1.3deg); box-shadow: var(--shadow-sm); }
.m2 { background: var(--green); color: #f3efd9; transform: rotate(1deg); margin-top: -8px; }
.mq-track { display: flex; align-items: center; gap: 2.6rem; width: max-content; padding: 13px 0; animation: mq var(--mqd, 32s) linear infinite; }
.m2 .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.mq-star { width: 15px; height: 15px; flex: none; opacity: 0.75; }
.mq-star path { fill: currentColor; }

/* ---------- vibe ---------- */
.vibe { text-align: center; }
.fill-quote {
  margin: 26px auto 0; max-width: 900px;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.14;
}
.fw {
  display: inline-block; color: var(--ink-faint); margin: 0 0.12em;
  transition: color 0.5s ease, transform 0.5s var(--spring);
}
.fw.lit[data-c="o"] { color: var(--orange); }
.fw.lit[data-c="g"] { color: var(--green); }
.fw.lit { transform: translateY(-5px); }

.vibe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; text-align: left; }
.vibe-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 26px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, background 0.55s ease;
  transform-style: preserve-3d;
}
.vibe-card:hover { box-shadow: var(--shadow); }
.vc-icon {
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
  transform: rotate(-4deg); transition: transform 0.35s var(--spring);
}
.vibe-card:hover .vc-icon { transform: rotate(4deg) scale(1.08); }
.vc-icon svg { width: 40px; height: 40px; }
.vc-o { background: var(--orange-soft); }
.vc-g { background: var(--green-soft); }
.vibe-card h3 { font-size: 1.35rem; color: var(--orange); margin-bottom: 8px; }
.vibe-card:nth-child(2) h3 { color: var(--green); }
.vibe-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- mood ---------- */
.mood { padding-top: 0; }
.mood-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mood-card {
  position: relative; overflow: hidden;
  border-radius: 30px; padding: 40px 36px;
  border: 1px solid var(--card-brd);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, background 0.55s ease;
  transform-style: preserve-3d;
}
.mood-card:hover { box-shadow: var(--shadow); }
.mood-hot { background: linear-gradient(135deg, var(--card) 45%, var(--orange-soft)); }
.mood-cold { background: linear-gradient(135deg, var(--card) 45%, var(--green-soft)); }
.mood-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.mood-hot h3 { color: var(--orange); }
.mood-cold h3 { color: var(--green); }
.mood-card p { color: var(--ink-soft); margin-bottom: 22px; max-width: 320px; }
.mc-art { position: absolute; right: -12px; bottom: -14px; width: 170px; opacity: 0.9; pointer-events: none; }
.mc-art path, .mc-art rect { stroke-width: 2.2; }
.bob-a { animation: bob 5s ease-in-out infinite alternate; }
.bob-b { animation: bob 6.4s 0.6s ease-in-out infinite alternate-reverse; }

/* ---------- menu ---------- */
.menu-sec { max-width: 1180px; }
.menu-head { text-align: center; }
.menu-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--orange); margin-top: 14px; }
.menu-note { color: var(--ink-soft); margin-top: 10px; font-size: 0.95rem; }

.menu-tools { margin-top: 34px; display: grid; gap: 18px; justify-items: center; }
.search-wrap { position: relative; width: min(480px, 100%); }
.search-wrap svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search-wrap input {
  width: 100%; padding: 15px 22px 15px 48px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink);
  font-family: var(--f-body); font-weight: 600; font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.55s;
}
.search-wrap input::placeholder { color: var(--ink-faint); }
.search-wrap input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--f-display); font-weight: 700; font-size: 0.99rem;
  color: var(--ink-soft); background: transparent;
  transition: transform 0.3s var(--spring), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tab-btn .doodle { width: 20px; height: 20px; }
.tab-btn .doodle svg { width: 100%; height: 100%; }
.tab-btn .doodle path, .tab-btn .doodle rect, .tab-btn .doodle circle { stroke: currentColor; stroke-width: 3.2; }
.tab-btn .doodle .fa { fill: currentColor; stroke: none; }
.tab-btn:hover { transform: translateY(-3px); color: var(--orange); border-color: var(--orange); }
.tab-btn.active {
  background: var(--orange); color: var(--on-orange); border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(242, 139, 29, 0.55);
}

.menu-panels { margin-top: 44px; min-height: 300px; }
.noscript-note { text-align: center; color: var(--ink-soft); }

.menu-block { margin-bottom: 46px; }
.mb-head { display: flex; align-items: center; gap: 15px; margin-bottom: 6px; }
.mb-ic {
  flex: none; width: 50px; height: 50px; border-radius: 15px;
  background: var(--orange-soft); display: grid; place-items: center;
  transform: rotate(-5deg);
}
.menu-block:nth-child(even) .mb-ic { background: var(--green-soft); transform: rotate(4deg); }
.mb-ic svg { width: 32px; height: 32px; }
.mb-titles h3 { font-size: 1.42rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); }
.mb-titles .blurb { color: var(--green); font-size: 0.9rem; font-weight: 600; }
.mb-rule { flex: 1; height: 2.5px; border-radius: 2px; background: var(--line); margin-left: 6px; }

.menu-items { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 4px 26px; margin-top: 14px; }
.mi {
  padding: 13px 16px; border-radius: 16px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out),
              background 0.25s ease, box-shadow 0.25s ease;
}
.mi.in { opacity: 1; transform: none; }
.mi:hover { background: var(--card); box-shadow: var(--shadow-sm); }
.mi-head { display: flex; align-items: baseline; gap: 10px; }
.mi-head h4 { font-size: 1.05rem; font-weight: 700; }
.mi .dots { flex: 1; border-bottom: 2px dotted var(--ink-faint); transform: translateY(-4px); min-width: 20px; }
.mi .price { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--orange); white-space: nowrap; position: relative; transition: transform 0.3s var(--spring); }
.mi:hover .price { transform: scale(1.18) rotate(-3deg); }
.mi .price::after {
  content: "✦"; position: absolute; top: -11px; right: -13px; font-size: 0.6rem; color: var(--green);
  opacity: 0; transform: scale(0) rotate(-40deg); transition: opacity 0.25s, transform 0.35s var(--spring);
}
.mi:hover .price::after { opacity: 1; transform: none; }
.mi-desc { color: var(--ink-soft); font-size: 0.88rem; margin-top: 3px; max-width: 48ch; }
.mi mark { background: var(--orange-soft); color: var(--orange-deep); border-radius: 4px; padding: 0 2px; }
[data-theme="night"] .mi mark { color: var(--orange); }

.sig-note {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-soft); color: var(--green);
  border-radius: 999px; padding: 5px 14px; margin-top: 8px;
  font-size: 0.8rem; font-weight: 700;
}

.group-crumb { font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.menu-empty { text-align: center; padding: 50px 0; color: var(--ink-soft); }
.menu-empty .doodle { width: 74px; margin: 0 auto 16px; opacity: 0.8; }
.menu-empty strong { color: var(--orange); }

.results-count { text-align: center; font-weight: 700; color: var(--green); margin-bottom: 26px; font-family: var(--f-display); }

/* ---------- the rooftop (location gallery) ---------- */
.rooftop { text-align: center; }
.rooftop h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--orange); margin-top: 6px; }
.rooftop-note { max-width: 580px; margin: 14px auto 0; color: var(--ink-soft); font-size: 1.02rem; }
.gallery {
  display: flex; gap: 18px; margin-top: 40px; padding: 8px 4px 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--orange-soft); border-radius: 999px; }
.gcard {
  flex: 0 0 auto; width: clamp(212px, 60vw, 272px); aspect-ratio: 9 / 16;
  border-radius: 24px; overflow: clip; scroll-snap-align: center;
  border: 1px solid var(--card-brd); background: var(--card);
  box-shadow: 0 20px 44px -20px rgba(74, 53, 25, 0.45);
  transition: transform 0.45s var(--spring), box-shadow 0.45s ease;
}
.gcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard:hover { transform: translateY(-8px) scale(1.02) rotate(-0.6deg); box-shadow: 0 30px 60px -22px rgba(74, 53, 25, 0.55); }
.gallery-hint { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; color: var(--ink-faint); letter-spacing: 0.04em; }
@media (min-width: 900px) { .gallery-hint { display: none; } }

/* ---------- find us ---------- */
.find { text-align: center; }
.find-badge { margin: 0 auto 26px; }
.find h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--orange); }
.find > p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }
.find-cta { margin-top: 30px; display: flex; justify-content: center; }
.find-tag { margin-top: 22px; font-size: 0.95rem; color: var(--ink-soft); }
.find-tag a { color: var(--green); font-weight: 700; border-bottom: 2px dotted var(--green); }
.find-tag a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--bg-soft); margin-top: 40px; transition: background 0.55s ease; }
.footer-wave { position: absolute; top: -56px; left: 0; width: 100%; height: 57px; }
.footer-wave path { fill: var(--bg-soft); transition: fill 0.55s ease; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 60px 24px 30px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap;
}
.f-brand { display: grid; }
.f-brand .logo-script { font-size: 2.3rem; }
.f-tag { color: var(--ink-soft); font-size: 0.92rem; margin-top: 10px; }
.f-links { display: grid; gap: 8px; text-align: right; }
.f-links a { font-family: var(--f-display); font-weight: 700; transition: color 0.25s; }
.f-links a:hover { color: var(--orange); }
.footer-base {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px 26px;
  border-top: 1.5px dashed var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--ink-soft);
}

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--line);
  color: var(--orange); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--spring), background 0.3s, color 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: var(--on-orange); transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- reveal on scroll ---------- */
[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease var(--d, 0ms), transform 0.85s var(--ease-out) var(--d, 0ms); }
.rv-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .vibe-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .mood-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero-badge { display: none; }
  .fd-cup { left: 2%; top: 16%; width: 90px; }
  .fd-pizza { right: 2%; top: 14%; width: 84px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 80px 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .fd-ice, .fd-waffle { display: none; }
  .fd-cup { opacity: 0.55; }
  .fd-pizza { opacity: 0.55; }
  .hero-star { width: 52px; top: -22px; right: -26px; }
  .hero-sub { font-size: 0.98rem; }
  .menu-items { grid-template-columns: 1fr; }
  .mc-art { width: 130px; opacity: 0.5; }
  .footer-inner { flex-direction: column; }
  .f-links { text-align: left; }
  .btn-big { padding: 16px 26px; font-size: 1rem; }
}

/* ============================================================
   logo image (from the official brand pdf)
   ============================================================ */
.logo-img { height: 46px; width: auto; transition: transform 0.35s var(--spring); }
.logo:hover .logo-img { transform: rotate(-3deg) scale(1.04); }
.pl-logo img { height: 78px; width: auto; margin: 0 auto; }
.f-logo { height: 54px; width: auto; }

/* ============================================================
   match nights — world cup band
   ============================================================ */
.wc {
  position: relative; overflow: clip;
  padding: 110px 24px 120px;
  scroll-margin-top: calc(var(--nav-h) + 10px);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(242, 139, 29, 0.18), transparent 60%),
    radial-gradient(760px 480px at 6% 110%, rgba(79, 126, 62, 0.3), transparent 62%),
    linear-gradient(168deg, #101b2e 0%, #0d1526 48%, #0e2318 100%);
  color: #f4e7cd;
}
/* faint pitch markings */
.wc-lines i { position: absolute; border: 2px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.wc-circle { width: 560px; height: 560px; border-radius: 50%; left: 50%; top: -280px; transform: translateX(-50%); }
.wc-midline { left: 0; right: 0; top: 0; height: 0; border-width: 1px; }

.wc-inner { max-width: 1180px; margin: 0 auto; text-align: center; position: relative; }
.wc .kicker { color: #ffd166; }
.wc .kicker::before, .wc .kicker::after { background: currentColor; }
.wc h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff6e4; margin-top: 14px; }
.wc-note { color: rgba(244, 231, 205, 0.72); margin-top: 12px; font-size: 0.98rem; max-width: 520px; margin-inline: auto; }

/* status chips */
.wc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.wc-chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: chipPulse 1.6s ease-in-out infinite; }
@keyframes chipPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.72); } }
.wc-live { background: #ffd166; color: #3a2a00; }
.wc-full { background: rgba(224, 92, 74, 0.18); color: #ff9c8b; border: 1px solid rgba(224, 92, 74, 0.4); }
.wc-closed, .wc-ended { background: rgba(255, 255, 255, 0.09); color: rgba(244, 231, 205, 0.65); border: 1px solid rgba(255, 255, 255, 0.12); }

/* category banner — "🏆 world finals 2026" */
.wc-catblock + .wc-catblock { margin-top: 34px; }
.wc-cat { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 44px; }
.wc-cat span {
  display: inline-block; border-radius: 9px; padding: 11px 28px;
  background: linear-gradient(175deg, #ffd166, #f2a52e);
  color: #3a2a00; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  transform: rotate(-1.6deg);
  box-shadow: 0 16px 34px -14px rgba(255, 209, 102, 0.55);
}
.wc-cat i { font-style: normal; color: rgba(255, 209, 102, 0.7); font-size: 1.15rem; }

/* featured poster — the new finals design */
.wc-feature {
  position: relative; overflow: clip;
  max-width: 620px; margin: 34px auto 0;
  padding: 58px 34px 40px;
  border-radius: 30px;
  background:
    radial-gradient(340px 190px at 10% -2%, rgba(255, 186, 84, 0.17), transparent 70%),
    radial-gradient(340px 190px at 90% -2%, rgba(255, 186, 84, 0.17), transparent 70%),
    radial-gradient(520px 300px at 50% 118%, rgba(79, 126, 62, 0.2), transparent 65%),
    linear-gradient(180deg, #17213b 0%, #0d1424 52%, #0d2016 100%);
  border: 1px solid rgba(255, 209, 102, 0.28);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: wcIn 0.7s var(--ease-out) both;
}
@keyframes wcIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* string lights */
.wc-lights { position: absolute; top: 0; left: 0; width: 100%; height: 92px; pointer-events: none; }
.wc-lights path { fill: none; stroke: rgba(255, 246, 228, 0.16); stroke-width: 1.6; }
.wc-lights circle { fill: #ffd166; filter: drop-shadow(0 0 7px rgba(255, 209, 102, 0.95)); animation: bulb 2.6s ease-in-out infinite alternate; }
.wc-lights circle:nth-child(odd) { animation-delay: 0.9s; }
.wc-lights circle:nth-child(3n) { animation-delay: 1.7s; }
@keyframes bulb { from { opacity: 0.55; } to { opacity: 1; } }

.wc-feature > .wc-chip, .wc-poster > .wc-chip { position: absolute; top: 16px; right: 16px; z-index: 1; }

.wcp-logo { height: 36px; width: auto; margin: 0 auto; position: relative; filter: drop-shadow(0 0 14px rgba(255, 144, 0, 0.5)); }
.wcp-logo-sm { height: 24px; }

.wc-name { font-family: var(--f-script); font-weight: 400; font-size: 1.35rem; color: #ffd166; margin: 18px 0 10px; }

/* stacked poster headline: TEAM / vs / TEAM */
.wcp-title {
  display: grid; gap: 0; justify-items: center;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 5.4vw, 2.9rem); line-height: 1.08;
  color: #fff6e4; letter-spacing: 0.015em;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}
.wcp-title i { font-style: normal; font-size: 0.82em; }
.wcp-title em {
  font-family: var(--f-script); font-style: normal; text-transform: lowercase;
  font-size: 0.52em; line-height: 1.25; color: var(--orange);
}
.wcp-title-sm { font-size: 1.35rem; }
.wcp-ar { margin-top: 8px; font-weight: 800; font-size: 1.08rem; color: #ffd166; }
.wcp-live {
  margin-top: 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
}

/* countdown */
.wc-count { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; min-height: 74px; }
.wc-cd {
  min-width: 72px; padding: 10px 8px 8px; border-radius: 16px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; gap: 1px;
}
.wc-cd b { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; color: #ffd166; font-variant-numeric: tabular-nums; line-height: 1.1; }
.wc-cd small { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 231, 205, 0.6); }
.wc-cd-sep { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: rgba(255, 209, 102, 0.5); }
.wc-kick { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: #ffd166; }

/* seat bar */
.wc-bar {
  height: 11px; max-width: 420px; margin: 20px auto 0;
  border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden;
}
.wc-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd166, var(--orange)); transition: width 0.6s var(--ease-out); }
.wc-seats { margin-top: 10px; font-size: 0.95rem; color: rgba(244, 231, 205, 0.8); }
.wc-seats b { font-family: var(--f-display); font-weight: 800; color: #ffd166; font-size: 1.1rem; }

/* date & time chips (poster style) */
.wc-meta { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 20px; }
.wc-meta-sm { gap: 12px; margin-top: 14px; }
.wc-meta-sm .wc-meta-item { font-size: 0.76rem; gap: 6px; }
.wc-meta-sm .wc-meta-item svg { width: 16px; height: 16px; }
.wc-meta-sm .wc-meta-div { height: 20px; }
.wc-meta-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #ffd166;
}
.wc-meta-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wc-meta-div { width: 2px; height: 32px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }

/* book now — red poster slab */
.wc-cta { display: grid; justify-items: center; gap: 10px; margin-top: 26px; }
.wc-book {
  display: inline-block; border-radius: 8px; padding: 15px 46px;
  background: linear-gradient(175deg, #d31f33, #ab1224);
  color: #fff6e4; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 0 16px 34px -10px rgba(211, 31, 51, 0.65);
  transition: transform 0.3s var(--spring), box-shadow 0.3s ease, background 0.3s ease;
}
.wc-book:hover { transform: rotate(0deg) translateY(-3px) scale(1.03); box-shadow: 0 22px 42px -12px rgba(211, 31, 51, 0.75); }
.wc-book:active { transform: scale(0.95); }
.wc-limited {
  display: inline-block; border-radius: 5px; padding: 5px 15px;
  background: #ab1224; color: #ffd9cf;
  font-family: var(--f-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  transform: rotate(1.6deg);
}
.wc-book.is-off {
  background: rgba(255, 255, 255, 0.09); color: rgba(244, 231, 205, 0.6);
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  transform: none; box-shadow: none; cursor: not-allowed;
}
.wc-book.is-off:hover { transform: none; }
.wc-book-sm { padding: 10px 26px; font-size: 0.95rem; }

.wc-none { margin-top: 40px; color: rgba(244, 231, 205, 0.75); }
.wc-none a { color: #ffd166; font-weight: 700; border-bottom: 2px dotted #ffd166; }

/* past / secondary events as mini posters */
.wc-past-head {
  margin: 52px auto 18px; font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(244, 231, 205, 0.55);
}
.wc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 660px; margin: 0 auto; }
.wc-poster {
  position: relative; overflow: clip;
  border-radius: 26px; padding: 48px 20px 28px;
  display: grid; gap: 4px; justify-items: center; align-content: start;
  background:
    radial-gradient(240px 130px at 12% -2%, rgba(255, 186, 84, 0.14), transparent 70%),
    radial-gradient(240px 130px at 88% -2%, rgba(255, 186, 84, 0.14), transparent 70%),
    linear-gradient(180deg, #161f37 0%, #0d1424 60%, #0e1d15 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: wcIn 0.7s var(--ease-out) both;
  transition: opacity 0.3s ease, transform 0.35s var(--spring), border-color 0.3s ease;
}
.wc-poster:hover { transform: translateY(-4px) rotate(-0.5deg); border-color: rgba(255, 209, 102, 0.35); }
.wc-poster .wcp-title { margin-top: 12px; }
.wc-poster .wcp-live { font-size: 0.68rem; margin-top: 10px; }
.wc-poster .wcp-ar { font-size: 0.98rem; margin-top: 4px; }
.wc-poster .wc-bar { margin-top: 14px; }
.wc-poster.is-past { opacity: 0.85; }
.wc-poster.is-past:hover { opacity: 1; }

/* real instagram poster as the card cover — drop the jpg (see POSTER map in events.js).
   :has() locks the poster shape only while the image is actually present; if the file
   is missing, onerror removes the img, :has stops matching, and the css poster shows. */
.wc-poster:has(.wcp-cover) { aspect-ratio: 3 / 4; }
.wcp-cover {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.wc-poster > .wc-chip { z-index: 2; }

/* ============================================================
   forms, dialog, chips shared by rsvp / auth / admin
   ============================================================ */
.f-label { display: grid; gap: 7px; text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.f-input {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-weight: 600; font-size: 0.97rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.f-input::placeholder { color: var(--ink-faint); }
.f-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.f-check { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.93rem; color: var(--ink-soft); }
.f-check input { width: 18px; height: 18px; accent-color: var(--orange); }
.form-msg { min-height: 1.3em; margin-top: 12px; font-weight: 700; font-size: 0.92rem; }
.form-msg[data-kind="err"] { color: #e05c4a; }
.form-msg[data-kind="ok"] { color: var(--green); }

.rsvp-dialog {
  border: 0; border-radius: 28px; padding: 0;
  width: min(430px, calc(100vw - 32px));
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow);
  margin: auto; /* the global reset kills the UA's auto-centering — restore it */
}
.rsvp-dialog::backdrop { background: rgba(14, 9, 3, 0.6); backdrop-filter: blur(5px); }
.rsvp-body { position: relative; padding: 34px 30px 30px; text-align: center; }
.rsvp-x {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: color 0.25s, border-color 0.25s, transform 0.3s var(--spring);
}
.rsvp-x:hover { color: var(--orange); border-color: var(--orange); transform: rotate(90deg); }
.rsvp-match { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; margin-top: 14px; }
.rsvp-when { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
#rsvpForm { display: grid; gap: 14px; margin-top: 20px; }
#rsvpForm .btn { width: 100%; }
.rsvp-fine { font-size: 0.78rem; color: var(--ink-faint); }
.rsvp-yay { font-size: 3.4rem; }
#rsvpSuccess h3 { color: var(--orange); font-size: 1.5rem; margin-top: 8px; }
#rsvpSuccess p { color: var(--ink-soft); margin: 8px 0 20px; }

/* ============================================================
   solo pages (auth) + admin dashboard
   ============================================================ */
.page-solo {
  min-height: 100svh; display: grid; place-items: center; padding: 40px 18px;
  background:
    radial-gradient(900px 480px at 78% -8%, var(--orange-soft), transparent 65%),
    radial-gradient(700px 420px at 12% 108%, var(--green-soft), transparent 60%),
    var(--bg);
}
.solo-wrap { width: min(440px, 100%); display: grid; gap: 16px; justify-items: center; }
.solo-back { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); transition: color 0.25s; }
.solo-back:hover { color: var(--orange); }
.solo-card {
  width: 100%; text-align: center;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 30px;
  padding: 38px 32px; box-shadow: var(--shadow);
}
.solo-logo { height: 56px; width: auto; margin: 0 auto 20px; }
.solo-tabs { margin-bottom: 22px; }
#authForm { display: grid; gap: 14px; }
#authForm .btn { width: 100%; margin-top: 4px; }
.signed-row { margin-bottom: 20px; padding: 14px; border-radius: 16px; background: var(--green-soft); font-size: 0.92rem; }
.signed-row b { word-break: break-all; }
.signed-btns { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.solo-h { font-size: 1.55rem; color: var(--orange); margin-bottom: 18px; }
.solo-sub { font-size: 0.95rem; color: var(--ink-soft); text-align: left; margin: 24px 0 12px; }
.solo-form { display: grid; gap: 14px; }
.solo-form .btn { width: 100%; margin-top: 4px; }

/* admin */
.page-admin { background: var(--bg); min-height: 100svh; }
.admin-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  max-width: 980px; margin: 0 auto; padding: 20px 22px 0;
}
.admin-logo { height: 42px; width: auto; }
.admin-top-right { display: flex; align-items: center; gap: 12px; }
.admin-email { font-size: 0.84rem; color: var(--ink-soft); font-weight: 600; word-break: break-all; }
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 34px 22px 90px; }
.admin-h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--orange); }
.admin-sub { color: var(--ink-soft); margin: 6px 0 26px; }
.guard-card { max-width: 440px; margin: 60px auto; }
.guard-card h2 { color: var(--orange); margin-bottom: 10px; }
.guard-note { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 20px; }

.new-event-card { margin-bottom: 26px; }
.new-event-card summary { list-style: none; width: max-content; }
.new-event-card summary::-webkit-details-marker { display: none; }
.new-event-form {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end;
  margin-top: 18px; padding: 24px; border-radius: 24px;
  background: var(--card); border: 1px solid var(--card-brd); box-shadow: var(--shadow-sm);
}
.new-event-form .ne-title { grid-column: 1 / -1; }
.new-event-form .f-check, .new-event-form .btn { grid-column: 1 / -1; justify-self: start; }

.ev-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 24px;
  padding: 24px; margin-top: 18px; box-shadow: var(--shadow-sm); text-align: left;
}
.ev-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ev-head h3 { font-size: 1.25rem; }
.ev-vs { color: var(--orange); font-family: var(--f-script); font-weight: 400; font-size: 1rem; }
.ev-meta { color: var(--ink-soft); font-size: 0.88rem; margin-top: 3px; }
.ev-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ev-seats-lab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 0.88rem; }
.ev-seats { width: 86px; padding: 9px 12px; }
.ev-count { margin-left: auto; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.ev-count b { color: var(--orange); font-family: var(--f-display); }
.btn-danger { background: rgba(224, 92, 74, 0.14); color: #cf4a37; border: 1.5px solid rgba(224, 92, 74, 0.4); }
.btn-danger:hover { background: #cf4a37; color: #fff3ec; transform: translateY(-2px); }
[data-theme="night"] .btn-danger { color: #ff9c8b; }
[data-theme="night"] .btn-danger:hover { color: #2a0d06; background: #ff9c8b; }

.guest-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.94rem; }
.guest-table td { padding: 9px 10px; border-bottom: 1.5px dashed var(--line); }
.guest-table .g-n { width: 34px; color: var(--ink-faint); font-family: var(--f-display); font-weight: 700; }
.guest-table .g-phone { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.guest-table .g-x { width: 40px; text-align: right; }
.guest-empty { color: var(--ink-faint); font-weight: 600; padding: 14px 4px; }
.gx {
  width: 30px; height: 30px; border-radius: 50%; font-size: 0.85rem;
  border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.gx:hover { color: #fff; background: #cf4a37; border-color: #cf4a37; }
.add-guest { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.add-guest .f-input { flex: 1 1 160px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 5000;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg);
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--spring);
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 760px) {
  .new-event-form { grid-template-columns: 1fr 1fr; }
  .wc-feature { padding: 50px 18px 32px; }
  .wc-cd { min-width: 62px; }
  .wc-cd b { font-size: 1.4rem; }
  .wc-cat span { font-size: 0.9rem; padding: 10px 20px; }
  .ev-count { margin-left: 0; width: 100%; }
  .logo-img { height: 38px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .mq-track { animation: none !important; }
  [data-ent], [data-rv], .hl2-logo { opacity: 1 !important; transform: none !important; }
  .hl-swoosh path { stroke-dashoffset: 0 !important; }
}
