/* ==========================================================================
   Golden Break — Coming Soon
   Charcoal first, gold second, plenty of breathing room.
   ========================================================================== */

:root {
  --black: #090909;
  --charcoal: #171717;
  --gold: #D5A13B;
  --gold-light: #F0C96B;
  --gold-deep: #9A6F1E;
  --ivory: #F4F1EA;
  --grey: #B7B7B7;

  --serif: var(--font-cormorant), "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: var(--font-jost), "Jost", "Futura", "Century Gothic", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(20px, 4vw, 56px);
}

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

html { height: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: grid;
  place-items: center;
}

::selection { background: var(--gold); color: var(--black); }

a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   Atmosphere
   -------------------------------------------------------------------------- */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scene__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, transparent 0%, rgba(23, 23, 23, 0.55) 55%, var(--charcoal) 100%),
    linear-gradient(to bottom, rgba(23, 23, 23, 0.85), transparent 30%, transparent 70%, rgba(23, 23, 23, 0.9));
}

.scene__spot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 140vmin;
  height: 90vmin;
  transform: translate(-50%, -45%);
  background: radial-gradient(ellipse at center, rgba(213, 161, 59, 0.05), rgba(213, 161, 59, 0.015) 40%, transparent 70%);
  animation: spotBreathe 9s ease-in-out infinite alternate;
}

@keyframes spotBreathe {
  from { opacity: 0.8; }
  to   { opacity: 1; transform: translate(-50%, -42%) scale(1.04); }
}

.scene__grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.85 0 0 0 0 0.55 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-3%, 2%); }
  66%  { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   Corner frame
   -------------------------------------------------------------------------- */

.frame {
  position: fixed;
  inset: var(--gutter);
  z-index: 1;
  pointer-events: none;
}

.frame__corner {
  position: absolute;
  width: 34px;
  height: 34px;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease-out) 1.6s forwards;
}

.frame__corner::before,
.frame__corner::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.55;
}

.frame__corner::before { width: 100%; height: 1px; }
.frame__corner::after  { width: 1px; height: 100%; }

.frame__corner--tl { top: 0; left: 0; }
.frame__corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.frame__corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.frame__corner--br { bottom: 0; right: 0; transform: scale(-1); }

@keyframes fadeIn { to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Stage
   -------------------------------------------------------------------------- */

.stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
  min-height: 100dvh;
  padding: clamp(24px, 4vh, 48px) calc(var(--gutter) + 24px);
}

/* Logo ------------------------------------------------------------------ */

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, clamp(260px, 46vw, 560px), 46vh);
  margin: 0 0 clamp(10px, 2.2vh, 28px);
  container-type: inline-size;
  --glow: 0;   /* 0..1 driven by JS on click */
}

.logo__mark,
.logo__word {
  position: relative;
  z-index: 2;
  display: block;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.logo__mark {
  width: 46%;
  margin-bottom: -2%;
  filter:
    drop-shadow(0 0 calc(4px + 30px * var(--glow)) rgba(240, 201, 107, calc(0.08 + 0.8 * var(--glow))))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6))
    brightness(calc(1 + 0.16 * var(--glow)));
  transform: scale(calc(1 + 0.04 * var(--glow)));
}

.logo__word {
  width: 100%;
  filter:
    drop-shadow(0 0 calc(3px + 20px * var(--glow)) rgba(240, 201, 107, calc(0.06 + 0.6 * var(--glow))))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6))
    brightness(calc(1 + 0.1 * var(--glow)));
  transform: scale(calc(1 + 0.015 * var(--glow)));
}

/* Activities descriptor. Lives under the wordmark as real text: it used to be
   part of the wordmark PNG, which meant a re-render every time the wording
   moved. Sized in cqw so it tracks the logo at every breakpoint. */
.logo__desc {
  position: relative;
  z-index: 2;
  margin: 3.2% 0 0;
  font-family: var(--sans, "Jost", sans-serif);
  font-weight: 500;
  font-size: 3.4cqw;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* offsets the trailing letter-space so it stays centred */
  white-space: nowrap;
  color: var(--gold, #d5a13b);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.logo__halo {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 120%;
  aspect-ratio: 1;
  z-index: 0;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle,
    rgba(240, 201, 107, calc(0.04 + 0.55 * var(--glow))) 0%,
    rgba(213, 161, 59, calc(0.015 + 0.3 * var(--glow))) 28%,
    transparent 62%);
  animation: haloIdle 6s ease-in-out infinite alternate;
  transition: background 0.9s var(--ease-out);
}

@keyframes haloIdle {
  from { transform: scale(0.96); opacity: 0.85; }
  to   { transform: scale(1.04); opacity: 1; }
}

.logo__ring {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 60%;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(240, 201, 107, 0);
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
}

.logo.is-pulsing .logo__ring {
  animation: ringOut 1.2s var(--ease-out) forwards;
}

@keyframes ringOut {
  0%   { opacity: 0; transform: scale(0.94); border-color: rgba(240, 201, 107, 0.9); box-shadow: 0 0 0 0 rgba(240, 201, 107, 0.5) inset, 0 0 24px rgba(240, 201, 107, 0.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5); border-color: rgba(240, 201, 107, 0); box-shadow: 0 0 0 0 rgba(240, 201, 107, 0) inset, 0 0 0 rgba(240, 201, 107, 0); }
}

/* Dragon ---------------------------------------------------------------- */

.dragon {
  position: relative;
  width: min(100%, clamp(140px, 18vw, 240px), 26vh);
  margin: 0 0 clamp(6px, 1.2vh, 14px);
}

.dragon__img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 5px rgba(240, 201, 107, 0.12))
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.7));
  animation: dragonBreathe 5s ease-in-out infinite alternate;
}

@keyframes dragonBreathe {
  from { filter: drop-shadow(0 0 4px rgba(240, 201, 107, 0.08)) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.7)); transform: translateY(0); }
  to   { filter: drop-shadow(0 0 7px rgba(240, 201, 107, 0.16)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7)); transform: translateY(-4px); }
}

/* Headline -------------------------------------------------------------- */

.headline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.5vw, 1.05rem);
  line-height: 1.1;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.headline__text { padding-left: 0.3em; /* optically balance tracking */ }

.headline__text em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  opacity: 0.85;
  margin: 0 0.1em;
}

.headline__rule {
  flex: none;
  width: clamp(28px, 6vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.headline__rule:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.tagline {
  margin: clamp(6px, 1vh, 12px) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--grey);
}
.tagline span { color: var(--ivory); }

/* --------------------------------------------------------------------------
   Anticipation
   -------------------------------------------------------------------------- */

.anticipation {
  margin-top: clamp(14px, 3vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anticipation__label {
  margin: 0 0 6px;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
}

.anticipation__hint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(183, 183, 183, 0.6);
  transition: color 0.6s var(--ease-out);
  min-height: 1.3em;
}

/* Counter -------------------------------------------------------------- */

.counter {
  --digit-h: 1em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: min(clamp(2.6rem, 8vw, 5rem), 9vh);
  line-height: 1;
  height: var(--digit-h);
  margin: 4px 0 clamp(12px, 2vh, 24px);
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(213, 161, 59, 0.12);
  font-variant-numeric: tabular-nums lining-nums;
  position: relative;
}

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

.digit {
  position: relative;
  display: inline-block;
  height: var(--digit-h);
  width: 0.56em;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.digit.is-new {
  animation: digitIn 0.7s var(--ease-spring);
}

@keyframes digitIn {
  from { width: 0; opacity: 0; }
  to   { width: 0.56em; opacity: 1; }
}

.digit__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(calc(var(--n, 0) * -1 * var(--digit-h)));
  transition: transform 0.85s var(--ease-out);
  will-change: transform;
}

.digit__col.no-transition { transition: none; }

.digit__col span {
  display: block;
  height: var(--digit-h);
  line-height: var(--digit-h);
}

.sep {
  display: inline-block;
  width: 0.28em;
  text-align: center;
  color: var(--gold);
  opacity: 0.8;
}

.counter.is-bumping {
  animation: bump 0.7s var(--ease-spring);
}

@keyframes bump {
  0%   { transform: scale(1); text-shadow: 0 0 10px rgba(213, 161, 59, 0.12); }
  30%  { transform: scale(1.08); text-shadow: 0 0 46px rgba(240, 201, 107, 0.9), 0 0 90px rgba(213, 161, 59, 0.5); }
  100% { transform: scale(1); text-shadow: 0 0 10px rgba(213, 161, 59, 0.12); }
}

/* Button --------------------------------------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 22px);
}

.cta {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--gold-light);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease-out);
}

.cta:active { transform: scale(0.97); }

.cta__label {
  position: relative;
  z-index: 3;
  display: block;
  padding: 1.15em 2.6em;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out), letter-spacing 0.5s var(--ease-out);
}

.cta__border {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid var(--gold);
  transition: border-color 0.35s, box-shadow 0.5s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(213, 161, 59, 0.0), 0 0 0 4px rgba(213, 161, 59, 0.0);
}

.cta__border::before,
.cta__border::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.cta__border::before { left: -3.5px; }
.cta__border::after  { right: -3.5px; }

.cta__fill {
  position: absolute;
  inset: 1px;
  z-index: 2;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-out);
}

.cta__shine {
  position: absolute;
  inset: 1px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.cta__shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 30%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg) translateX(-120%);
  opacity: 0;
}

.cta:hover .cta__fill,
.cta:focus-visible .cta__fill { transform: scaleX(1); }

.cta:hover .cta__label,
.cta:focus-visible .cta__label { color: var(--black); letter-spacing: 0.38em; }

.cta:hover .cta__border,
.cta:focus-visible .cta__border {
  box-shadow: 0 0 30px 0 rgba(213, 161, 59, 0.45), 0 0 0 4px rgba(213, 161, 59, 0.12);
}

.cta:hover .cta__border::before { transform: translateY(-50%) translateX(-6px) rotate(45deg); }
.cta:hover .cta__border::after  { transform: translateY(-50%) translateX(6px) rotate(45deg); }

.cta:focus-visible { outline: none; }

/* Primary variant — filled at rest (the real "Book a Table" action) ----- */

.cta--primary .cta__fill { transform: scaleX(1); }
.cta--primary .cta__label { color: var(--black); }
.cta--primary .cta__border { box-shadow: 0 0 22px 0 rgba(213, 161, 59, 0.28), 0 0 0 4px rgba(213, 161, 59, 0.08); }
.cta--primary:hover .cta__border,
.cta--primary:focus-visible .cta__border {
  box-shadow: 0 0 36px 2px rgba(213, 161, 59, 0.5), 0 0 0 4px rgba(213, 161, 59, 0.14);
}
.cta--primary:hover .cta__label,
.cta--primary:focus-visible .cta__label { letter-spacing: 0.38em; }
.cta--primary:hover .cta__shine::after,
.cta--primary:focus-visible .cta__shine::after {
  animation: shine 0.7s var(--ease-out) forwards;
}

.cta.is-firing .cta__shine::after {
  animation: shine 0.7s var(--ease-out) forwards;
}

@keyframes shine {
  0%   { opacity: 1; transform: skewX(-20deg) translateX(-120%); }
  100% { opacity: 0; transform: skewX(-20deg) translateX(520%); }
}

.cta.is-firing .cta__border {
  animation: borderFlash 0.7s var(--ease-out);
}

@keyframes borderFlash {
  0%   { border-color: var(--ivory); box-shadow: 0 0 0 0 rgba(240, 201, 107, 0.9), 0 0 0 4px rgba(213, 161, 59, 0.12); }
  100% { border-color: var(--gold); box-shadow: 0 0 40px 10px rgba(240, 201, 107, 0), 0 0 0 4px rgba(213, 161, 59, 0.12); }
}

/* Burst particles (populated by JS) ------------------------------------ */

.cta__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.spark {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s, 5px);
  height: var(--s, 5px);
  margin: calc(var(--s, 5px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d9 0%, var(--gold-light) 40%, var(--gold) 100%);
  box-shadow: 0 0 8px rgba(240, 201, 107, 0.9);
  animation: spark var(--t, 900ms) var(--ease-out) forwards;
}

.spark--line {
  width: 2px;
  height: var(--s, 14px);
  margin: calc(var(--s, 14px) / -2) -1px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
  box-shadow: none;
}

@keyframes spark {
  0%   { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) scale(0.2); opacity: 0; }
}

/* Floating "+1" --------------------------------------------------------- */

.plus {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-light);
  text-shadow: 0 0 14px rgba(240, 201, 107, 0.8);
  transform: translate(-50%, -50%);
  animation: plusUp 1.1s var(--ease-out) forwards;
}

@keyframes plusUp {
  0%   { opacity: 0; transform: translate(-50%, -30%) scale(0.6); }
  15%  { opacity: 1; transform: translate(-50%, -60%) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -260%) scale(0.9); }
}

/* --------------------------------------------------------------------------
   Booking placeholder (/book)
   -------------------------------------------------------------------------- */

.holding {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2vh, 20px);
  max-width: 640px;
  padding: clamp(24px, 6vh, 64px) calc(var(--gutter) + 24px);
}

.holding__mark {
  width: clamp(84px, 14vw, 140px);
  height: auto;
  filter: drop-shadow(0 0 6px rgba(240, 201, 107, 0.1)) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6));
}

.holding__eyebrow {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
}

.holding__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.holding__body {
  margin: 0;
  color: var(--grey);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  max-width: 52ch;
}

.holding__back {
  margin-top: clamp(8px, 2vh, 18px);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(213, 161, 59, 0.4);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.holding__back:hover { color: var(--gold); border-color: var(--gold); }

/* --------------------------------------------------------------------------
   Auth (sign-in) + account
   -------------------------------------------------------------------------- */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 340px);
  align-items: stretch;
  text-align: left;
}

.auth-label {
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}

.auth-input {
  width: 100%;
  padding: 0.9em 1em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(213, 161, 59, 0.35);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.auth-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 161, 59, 0.12);
}
.auth-input::placeholder { color: rgba(183, 183, 183, 0.5); }
.auth-input:disabled { opacity: 0.6; }

/* Dark dropdown list (native option popup) */
.auth-input option {
  background: #171717;
  color: var(--ivory);
  font-size: 1rem;
}
.auth-input option:checked {
  background: var(--gold-deep);
  color: var(--ivory);
}

.auth-form .cta { width: 100%; }
.auth-form .cta__label { width: 100%; text-align: center; }

.auth-note {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 44ch;
}
.auth-note strong { color: var(--gold-light); font-weight: 500; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 340px);
  color: rgba(183, 183, 183, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 161, 59, 0.35), transparent);
}

.auth-alt {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.auth-alt a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(213, 161, 59, 0.4);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.auth-alt a:hover { color: var(--gold); border-color: var(--gold); }

.loyalty {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.loyalty__value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 12px rgba(213, 161, 59, 0.18);
}
.loyalty__label {
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   Booking flow (/book)
   -------------------------------------------------------------------------- */

.book-page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  padding: clamp(40px, 7vh, 88px) calc(var(--gutter) + 20px) 80px;
}

.bk-head {
  text-align: center;
  max-width: 560px;
  margin-bottom: clamp(20px, 4vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bk-head__mark {
  width: clamp(64px, 10vw, 92px);
  height: auto;
  filter: drop-shadow(0 0 6px rgba(240, 201, 107, 0.1)) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.6));
  margin-bottom: 4px;
}
.bk-head__sub {
  margin: 4px 0 0;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 46ch;
}
.bk-head .holding__back { margin-top: 10px; }

.bk {
  width: min(94vw, 1000px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vh, 38px);
}

.bk-step {
  padding-top: clamp(18px, 3vh, 28px);
  border-top: 1px solid rgba(213, 161, 59, 0.16);
}
.bk-step:first-child { border-top: none; padding-top: 0; }

.bk-step__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
}
.bk-step__n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0;
}

/* Table picker */
.bk-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bk-room__label {
  margin: 0 0 8px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}
.bk-tables { display: grid; gap: 10px; }

.bk-table {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(213, 161, 59, 0.28);
  color: var(--ivory);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.bk-table:hover { border-color: var(--gold); }
.bk-table.is-selected {
  border-color: var(--gold);
  background: rgba(213, 161, 59, 0.1);
  box-shadow: 0 0 0 1px rgba(213, 161, 59, 0.4), 0 0 22px rgba(213, 161, 59, 0.15);
}
.bk-table__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-light);
  line-height: 1;
  min-width: 1.2em;
  text-align: center;
}
.bk-table__meta { display: flex; flex-direction: column; gap: 2px; }
.bk-table__model {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
}
.bk-table__cloth {
  font-size: 0.68rem;
  color: var(--grey);
}

/* Fields */
.bk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 12px;
  max-width: 720px;
}
.bk-field { display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.bk-date { color-scheme: dark; }

select.auth-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4em;
}
select.auth-input:disabled { opacity: 0.5; }

.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--ivory);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1.45;
}
.bk-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 1px;
  flex: none;
}
.bk-check__note { color: var(--grey); }

/* Timeline */
.bk-timeline { margin: 18px 0 6px; }
.bk-timeline__bar {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(213, 161, 59, 0.28), rgba(213, 161, 59, 0.16));
  overflow: hidden;
  border: 1px solid rgba(213, 161, 59, 0.3);
}
.bk-timeline__booked {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(23, 23, 23, 0.85),
    rgba(23, 23, 23, 0.85) 5px,
    rgba(40, 40, 40, 0.85) 5px,
    rgba(40, 40, 40, 0.85) 10px
  );
}
.bk-timeline__sel {
  position: absolute;
  top: -1px;
  bottom: -1px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(240, 201, 107, 0.6);
}
.bk-timeline__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* Summary / rows */
.bk-summary,
.bk-confirm__card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid rgba(213, 161, 59, 0.28);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 16px;
}
.bk-summary {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.bk-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
}
.bk-row + .bk-row { border-top: 1px solid rgba(213, 161, 59, 0.1); }
.bk-row__label {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}
.bk-row__value {
  font-size: 1.05rem;
  color: var(--ivory);
  text-align: right;
}
.bk-row--strong .bk-row__value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold-light);
}

.bk-review { text-align: center; }
.bk-confirm-btn { margin: 4px auto 0; }
.bk-confirm-btn .cta__label { min-width: 12em; text-align: center; }

.bk-hint {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--grey);
}
.bk-hint--center { text-align: center; }
.bk-hint a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(213, 161, 59, 0.4);
}
.bk-hint a:hover { color: var(--gold); }

/* Account bookings */
.acc-bookings { display: flex; flex-direction: column; gap: 10px; }
.acc-bookings--past { opacity: 0.72; }
.acc-booking {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(213, 161, 59, 0.22);
  background: rgba(255, 255, 255, 0.02);
}
.acc-booking__table { margin: 0; font-size: 0.95rem; color: var(--ivory); }
.acc-booking__when { margin: 2px 0 0; font-size: 0.76rem; color: var(--grey); }
.acc-booking__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold-light);
  white-space: nowrap;
}

/* Venue selector (3D + 2D) */
.venue {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

/* HTML labels rendered inside the 3D scene */
.venue-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.9);
  border: 1.5px solid rgba(213, 161, 59, 0.85);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  /* Force lining figures so every digit is the same height and centres
     evenly (Cormorant defaults to old-style figures with descenders). */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  color: #f0c96b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  user-select: none;
}
.venue-num.is-active {
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #ffe6ad;
  border-color: var(--gold-light);
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 0 14px rgba(240, 201, 107, 0.55), 0 2px 6px rgba(0, 0, 0, 0.8);
}
.venue-area-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: #6b6b6b;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.venue-room-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 4px;
  color: #f0c96b;
  text-shadow: 0 1px 4px #000, 0 0 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
/* 2D plan room name */
.vp-room-label {
  fill: #d5a13b;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 6px;
  text-anchor: middle;
}
.venue-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(340px, 54vh, 560px);
  border: 1px solid rgba(213, 161, 59, 0.2);
  background: #141414;
  overflow: hidden;
}
.venue-stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}
.venue-plan {
  width: 100%;
  height: auto;
  max-height: 100%;
  padding: 16px;
}
.venue-loading {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--grey);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.venue-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  background: rgba(9, 9, 9, 0.7);
  border: 1px solid rgba(213, 161, 59, 0.4);
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.venue-toggle:hover { border-color: var(--gold); color: var(--gold); }

.venue-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venue-aside__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
}
.venue-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.venue-room-group {
  display: flex;
  flex-direction: column;
}
.venue-room-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.venue-room-blurb {
  margin: 3px 0 10px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--grey);
}
.venue-room-tables {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.venue-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(213, 161, 59, 0.25);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ivory);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.venue-list__item:hover { border-color: var(--gold); }
.venue-list__item.is-selected {
  border-color: var(--gold);
  background: rgba(213, 161, 59, 0.1);
  box-shadow: 0 0 0 1px rgba(213, 161, 59, 0.35);
}
.venue-list__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--gold-light);
  min-width: 1.1em;
  text-align: center;
}
.venue-list__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1rem;
  flex: 1;
}
.venue-list__cloth { font-size: 0.8rem; color: var(--grey); }
.venue-list__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  flex: none;
}
.venue-list__reset {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0 0 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(213, 161, 59, 0.3);
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.venue-list__reset:hover { color: var(--gold); }

.venue-list__item.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.venue-list__item.is-disabled:hover { border-color: rgba(213, 161, 59, 0.25); }
.vp-table.is-disabled { cursor: not-allowed; }
.vp-table.is-disabled .vp-num { fill: #6a6a6a; }
.venue-num.is-disabled { color: #6a6a6a; }

/* Streaming choice (above the table picker) */
.bk-stream {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.bk-stream__q {
  font-size: 0.98rem;
  color: var(--ivory);
}
.bk-stream__opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bk-stream__opt {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(213, 161, 59, 0.3);
  color: var(--grey);
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}
.bk-stream__opt:hover { border-color: var(--gold); color: var(--ivory); }
.bk-stream__opt.is-on {
  border-color: var(--gold);
  background: rgba(213, 161, 59, 0.12);
  color: var(--gold-light);
}

/* 2D floor plan svg */
.vp-room { fill: #1d1d1d; stroke: rgba(213, 161, 59, 0.18); stroke-width: 2; }
.vp-bar { fill: #242424; stroke: rgba(255, 255, 255, 0.05); }
.vp-seat { fill: #1a1a1a; stroke: rgba(255, 255, 255, 0.05); }
.vp-darts { fill: #20301c; stroke: rgba(255, 255, 255, 0.06); }
.vp-area-label {
  fill: #6b6b6b;
  font-size: 26px;
  font-family: var(--sans);
  letter-spacing: 4px;
  text-anchor: middle;
}
.vp-area-label--dark { fill: #9bbf8f; }
.vp-table { cursor: pointer; }
.vp-table .vp-num {
  fill: #f4f1ea;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 52px;
  text-anchor: middle;
}
.vp-table.is-selected .vp-num { fill: #f0c96b; }

@media (max-width: 820px) {
  .venue { grid-template-columns: 1fr; }
  .venue-stage { height: clamp(260px, 42vh, 380px); }
}
.bk-error {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--gold-light);
}

/* Confirmed view */
.bk-confirm {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.bk-confirm__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--gold);
}
.bk-confirm__card { width: 100%; text-align: left; }
.bk-confirm .cta-row { margin-top: 18px; }

@media (max-width: 560px) {
  .bk-rooms { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Page-load reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1.3s var(--ease-out) forwards;
  animation-delay: calc(0.25s + var(--d, 0) * 0.14s);
}

.logo__mark.reveal { transform: translateY(18px) scale(0.92); }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .stage { padding: 32px calc(var(--gutter) + 14px); }
  .headline { font-size: 0.7rem; letter-spacing: 0.26em; gap: 12px; }
  .headline__rule { width: 18px; }
  .dragon { width: min(100%, 150px, 22vh); }
  .cta__label { padding: 1.1em 1.8em; font-size: 0.7rem; letter-spacing: 0.26em; }
  .frame__corner { width: 22px; height: 22px; }
}

@media (max-height: 640px) {
  .logo { width: min(100%, 40vh); margin-bottom: 8px; }
  .dragon { width: min(22vh, 160px); margin-bottom: 4px; }
  .anticipation { margin-top: 12px; }
  .anticipation__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scene__grain { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Admin — bookings management
   -------------------------------------------------------------------------- */

.adm-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 16px;
}
.adm-filters__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.adm-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.adm-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(213, 161, 59, 0.18);
  border-left-width: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.adm-card--cancelled,
.adm-card--expired { opacity: 0.62; }
.adm-card--confirmed { border-left-color: #4c9a6b; }
.adm-card--pending { border-left-color: var(--gold); }
.adm-card--cancelled { border-left-color: #b45151; }
.adm-card--expired { border-left-color: #6a6a6a; }

.adm-card__main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.adm-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.adm-card__table {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ivory);
}
.adm-card__when { color: var(--gold-light); font-size: 0.92rem; margin: 0; }
.adm-card__cust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--grey);
  margin-top: 2px;
}
.adm-card__cust a { color: var(--grey); text-decoration: none; }
.adm-card__cust a:hover { color: var(--gold); }
.adm-card__member {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1px 7px;
  border-radius: 2px;
}
.adm-card__meta { font-size: 0.8rem; color: #7f7f7f; margin: 2px 0 0; }

.adm-badge {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.adm-badge--confirmed { color: #7fd0a2; border-color: rgba(76, 154, 107, 0.5); }
.adm-badge--pending { color: var(--gold-light); border-color: rgba(213, 161, 59, 0.5); }
.adm-badge--cancelled { color: #e39494; border-color: rgba(180, 81, 81, 0.5); }
.adm-badge--expired { color: #9a9a9a; border-color: rgba(255, 255, 255, 0.14); }

.adm-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.adm-btn {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(213, 161, 59, 0.35);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}
.adm-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.adm-btn:disabled { opacity: 0.5; cursor: default; }
.adm-btn--danger { border-color: rgba(180, 81, 81, 0.5); color: #e39494; }
.adm-btn--danger:hover:not(:disabled) { border-color: #b45151; color: #f0b4b4; }

@media (max-width: 640px) {
  .adm-card { flex-direction: column; }
  .adm-card__actions { justify-content: flex-start; }
}
