/* Public page: gala layout on top of styles.css.
   Hero (title + medallion) → countdown → table plan with live selection card → how it works + payment → my reservations */

html, body { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Romblon marble: faint veining used behind cards */
:root {
  --marble-veins: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.008 .02' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 -2.2 1.25'/></filter><rect width='100%' height='100%' filter='url(%23f)' opacity='.07'/></svg>");
  --wine: #5a1a26;
}

/* ---------- hero ---------- */
header.hero { text-align: left; min-height: 0; isolation: isolate; }
header.hero::before, header.hero::after { width: 300px; height: 640px; top: -80px; }
@media (prefers-reduced-motion: no-preference) {
  header.hero::before { animation: sway-l 9s ease-in-out infinite alternate; }
  header.hero::after { animation: sway-r 11s ease-in-out infinite alternate; }
  @keyframes sway-l { from { transform: rotate(14deg); } to { transform: rotate(24deg); } }
  @keyframes sway-r { from { transform: rotate(-14deg); } to { transform: rotate(-24deg); } }
}
#sparkle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; padding-block: 56px 40px; position: relative; z-index: 1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding-block: 40px 28px; } }
.hero-copy { display: grid; gap: 10px; justify-items: start; min-width: 0; }
@media (max-width: 860px) { .hero-copy { justify-items: center; } }
.kicker { padding-left: 0; letter-spacing: .42em; font-family: var(--display); font-size: 12px; }
header.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 7.4vw, 86px); line-height: 1; letter-spacing: .04em; margin: 0; text-wrap: balance; }
header.hero h1 .yr { display: block; font-size: .62em; letter-spacing: .32em; margin-top: 6px; }
header.hero .script { font-family: var(--script); font-size: clamp(38px, 5.6vw, 60px); margin-top: -2px; text-shadow: 0 0 24px rgba(243,220,160,.35); }
.hero-copy .facts { margin-top: 12px; width: 100%; max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 860px) { .cta-row { justify-content: center; } }
.btn-main.lg { padding: 16px 30px; font-size: 14px; letter-spacing: .2em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold-hi); text-decoration: none; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; transition: border-color .2s, background .2s; }
.btn-line:hover { border-color: var(--gold); background: var(--gold-soft); }

/* rotating medallion with price */
.medal { position: relative; width: min(300px, 70vw); aspect-ratio: 1; max-width: 100%; justify-self: center; }
.medal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.medal .ring text { fill: url(#lg); font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; }
.medal .ring-text { filter: drop-shadow(0 0 5px rgba(216,180,106,.35)); }
@media (prefers-reduced-motion: no-preference) {
  .medal .ring-text { transform-origin: 150px 150px; animation: spin 40s linear infinite; }
  .medal .ring-dots { transform-origin: 150px 150px; animation: spin 60s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
.medal-shine { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 720 / 654; transform: translate(-50%, -52%); pointer-events: none;
  -webkit-mask: url(img/emblem.webp) center / contain no-repeat; mask: url(img/emblem.webp) center / contain no-repeat;
  background: linear-gradient(110deg, transparent 35%, rgba(255,248,225,.75) 50%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: screen; }
@media (prefers-reduced-motion: no-preference) {
  .medal-shine { animation: float 6s ease-in-out infinite, shine 5s ease-in-out 1.5s infinite; }
  @keyframes shine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }
}
.medal-core { position: absolute; inset: 17%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #2b2618, #0b0a08 70%); border: 1px solid var(--gold); box-shadow: 0 0 0 6px rgba(216,180,106,.08), 0 0 60px rgba(216,180,106,.18), inset 0 0 30px rgba(0,0,0,.5); }
.medal-core .crown { width: 46px; height: 30px; justify-self: center; }
.medal-core .p { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 44px); line-height: 1.05; }
.medal-core .d { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.medal-core .l { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--fg); }

/* ---------- countdown ---------- */
.countdown-band { border-block: 1px solid rgba(216,180,106,.25); background: linear-gradient(90deg, transparent, rgba(216,180,106,.07), transparent); }
.countdown-band .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; padding-block: 18px; }
.cd-label { font-family: var(--display); font-size: 12px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.cd { display: flex; gap: 10px; }
.cd div { min-width: 70px; text-align: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(18,17,16,.75); }
.cd b { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; line-height: 1.1; }
.cd span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 420px) { .cd div { min-width: 58px; padding: 6px; } .cd b { font-size: 22px; } }

/* ---------- section scaffolding ---------- */
.section { padding-block: 56px 8px; }
.section-head { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(32px, 5vw, 46px); margin: 0; }
.section-head .sub { margin: 0; max-width: 56ch; }
.ornament { width: 160px; height: 14px; color: var(--gold); }

/* ---------- plan + selection card ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 920px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }
.plan-panel { padding: 20px; background-image: var(--marble-veins), linear-gradient(180deg, var(--surface2), var(--surface)); }
.plan-panel .legend { justify-content: center; }
.pick-card { position: sticky; top: calc(16px + env(safe-area-inset-top, 0px)); display: grid; gap: 14px; background-image: var(--marble-veins), linear-gradient(180deg, var(--surface2), var(--surface)); }
@media (max-width: 920px) { .pick-card { display: none; } }
.pick-card .picked { min-height: 40px; }
.pick-empty { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 18px; }
.pick-card .total { padding-top: 12px; }
.avail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.avail div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; }
.avail b { display: block; font-family: var(--display); font-size: 22px; color: var(--gold-hi); }
.avail span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* tables: lift + pulse */
.plan .tbl { transition: transform .2s ease; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .plan .tbl:not(.res):not(.sold):hover { transform: scale(1.08); }
  .plan .tbl.sel .top { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { stroke-width: 5; stroke: #fff4d2; } }
}
.plan .stage-t { font-family: var(--display); font-weight: 600; }
.plan .tbl text { font-family: var(--display); font-weight: 700; font-size: 19px; }

/* ---------- info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: minmax(0, 1fr); } }
.step-card { display: grid; gap: 8px; align-content: start; background-image: var(--marble-veins), linear-gradient(180deg, var(--surface2), var(--surface)); }
.step-card .num { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; }
.step-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0; }
.step-card p { margin: 0; color: var(--muted); }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: minmax(0, 1fr); } }
.pay-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
@media (max-width: 420px) { .pay-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.pay-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 4px; }
.pay-card .num { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--gold-hi); letter-spacing: .06em; }
.pay-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); border: 1px solid var(--gold-lo); }
.pay-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.qr { width: 132px; aspect-ratio: 1; border-radius: 12px; background: #fff; padding: 8px; border: 2px solid var(--gold); cursor: zoom-in; display: block; }
.qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.copy { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 4px 12px; font-size: 12px; margin-left: 6px; }
.copy:hover { border-color: var(--gold); color: var(--gold-hi); }

/* my reservations */
.mine-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 760px) { .mine-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reservation wizard ---------- */
.stepper { display: flex; justify-content: center; gap: 6px; margin: 6px 0 2px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stepper span { display: inline-flex; align-items: center; gap: 6px; }
.stepper span + span::before { content: ""; width: 18px; height: 1px; background: var(--line); margin-right: 2px; }
.stepper i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: 0; }
.stepper .on { color: var(--gold-hi); }
.stepper .on i { border-color: var(--gold); background: var(--gold); color: #1e160a; }
.review { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.review div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.review div:last-child { border-bottom: 0; background: var(--gold-soft); }
.review dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: center; }
.review dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.review .big { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--gold-hi); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--fg); font-weight: 400; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.btn-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.btn-row .btn-ghost { padding: 12px 18px; }
.ticket .qr { margin: 8px auto 0; }

/* qr zoom */
.qr-zoom { position: fixed; inset: 0; z-index: 70; background: rgba(5,6,10,.85); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.qr-zoom img { width: min(360px, 90vw); background: #fff; padding: 12px; border-radius: 16px; }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }
footer .script { font-family: var(--script); font-size: 30px; color: var(--gold-hi); text-transform: none; letter-spacing: 0; display: block; margin-bottom: 6px; }

/* undo the two-column main layout from styles.css for the sectioned public page */
main .wrap { display: block; padding-block: 0; }
.btn-row { align-items: center; }
.btn-row .btn-ghost { border-radius: 999px; }

/* official logo */
h1.wordmark { margin: 4px 0 0; line-height: 0; }
h1.wordmark img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(243,220,160,.12)); }
.price-badge { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 6px; padding: 8px 20px; border: 1px solid var(--gold-lo); border-radius: 999px; background: var(--gold-soft); }
@media (max-width: 860px) { .price-badge { justify-content: center; } }
.price-badge .p { font-family: var(--display); font-weight: 700; font-size: 28px; }
.price-badge span:last-child { font-size: 13px; letter-spacing: .06em; color: var(--fg); }
.medal { width: min(360px, 80vw); }
.medal-emblem { position: absolute; left: 50%; top: 50%; width: 64%; height: auto; transform: translate(-50%, -52%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(243,220,160,.18)); }
@media (prefers-reduced-motion: no-preference) {
  .medal-emblem { animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translate(-50%, -56%); } }
}
.modal-emblem { width: 64px; height: auto; }
.foot-emblem { display: block; width: 56px; height: auto; margin: 0 auto 10px; opacity: .9; }

/* preloader */
#preloader { position: fixed; inset: 0; z-index: 100; background: radial-gradient(600px 400px at 50% 45%, rgba(216,180,106,.12), transparent 70%), #050505; display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
#preloader.out { opacity: 0; visibility: hidden; }
.pl-inner { display: grid; justify-items: center; gap: 16px; }
.pl-logo { position: relative; width: 190px; height: 190px; display: grid; place-items: center; perspective: 700px; }
.pl-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-ring circle { fill: none; stroke-linecap: round; }
.pl-ring .r1 { stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 590; stroke-dashoffset: 0; }
.pl-ring .r2 { stroke: var(--gold-lo); stroke-width: 1; stroke-dasharray: 2 7; }
.pl-logo img { width: 112px; height: auto; filter: drop-shadow(0 0 26px rgba(243,220,160,.3)); backface-visibility: visible; }
.pl-sub { font-family: var(--script); font-size: 30px; color: var(--gold-hi); margin-top: -10px; }
.pl-name { font-family: var(--display); font-size: 13px; letter-spacing: .42em; padding-left: .42em; color: var(--gold); text-transform: uppercase; }
.pl-bar { width: 160px; height: 1px; background: rgba(216,180,106,.2); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .pl-logo img { animation: plSpin 2.6s cubic-bezier(.65,0,.35,1) infinite; }
  @keyframes plSpin { 0% { transform: rotateY(0); } 60%, 100% { transform: rotateY(360deg); } }
  .pl-ring .r1 { animation: plDraw 2.6s ease-in-out infinite; transform-origin: 100px 100px; }
  @keyframes plDraw { 0% { stroke-dashoffset: 590; transform: rotate(-90deg); } 60% { stroke-dashoffset: 0; transform: rotate(-90deg); } 100% { stroke-dashoffset: 0; opacity: .3; transform: rotate(-90deg); } }
  .pl-ring .r2 { animation: plTurn 12s linear infinite; transform-origin: 100px 100px; }
  @keyframes plTurn { to { transform: rotate(-360deg); } }
  .pl-name { animation: plFade 1.2s ease-out both; }
  @keyframes plFade { from { opacity: 0; letter-spacing: .7em; } }
  .pl-bar i { animation: plBar 1.2s ease-in-out infinite; }
  @keyframes plBar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
}
@media (max-width: 860px) {
  .medal { order: -1; width: min(240px, 64vw); }
  .kicker { letter-spacing: .26em; font-size: 11px; }
}

/* e-ticket */
.mine-act { grid-column: 1 / -1; }
.mine-act .tix-btn { padding: 9px 16px; font-size: 12px; margin-top: 4px; }
.tix-card { display: grid; gap: 14px; width: min(440px, 100%); }
.tix-img { min-height: 240px; display: grid; place-items: center; }
.tix-img img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(216,180,106,.45); animation: rise .45s ease-out; }
a.btn-main { text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
a.btn-main:not([href]) { opacity: .5; pointer-events: none; }
.tix-guide { margin: 0 auto 18px; max-width: 760px; padding: 18px 22px 18px 42px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.tix-guide li::marker { color: var(--gold); font-family: var(--display); font-weight: 700; }
.tix-guide b { color: var(--gold-hi); font-weight: 600; }
.tix-hint { border: 1px solid var(--gold-lo); background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--fg); text-align: left; }
.tix-hint b { color: var(--gold-hi); }
.tix-ready { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(216,180,106,.14); color: var(--fg); font-size: 14px; text-decoration: none; box-shadow: 0 0 24px -6px rgba(216,180,106,.6); }
.tix-ready b { color: #1e160a; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); padding: 3px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) { .tix-ready { animation: glowPulse 2.4s ease-in-out infinite; } @keyframes glowPulse { 50% { box-shadow: 0 0 34px -2px rgba(216,180,106,.85); } } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--fg); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 22px; color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: var(--gold-lo); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq p b { color: var(--gold-hi); font-weight: 600; }
.faq-contact { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 22px; color: var(--muted); }
.faq-contact svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- sticky menu ---------- */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(6,6,6,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,180,106,.28); transform: translateY(-110%); transition: transform .35s ease; padding-top: env(safe-area-inset-top, 0px); }
.topnav.on { transform: none; }
.topnav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.tn-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-size: 15px; letter-spacing: .08em; white-space: nowrap; }
.tn-brand img { width: 34px; height: auto; }
.tn-brand b { color: var(--gold-hi); font-weight: 600; }
.tn-links { display: flex; align-items: center; gap: 4px; }
.tn-links a { color: var(--muted); text-decoration: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 10px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.tn-links a:hover, .tn-links a.cur { color: var(--gold-hi); }
.tn-links a.cur { background: var(--gold-soft); }
.tn-links a.tn-tix { color: #1e160a; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); font-weight: 600; margin-left: 4px; }
@media (max-width: 720px) { .tn-wide { display: none; } .tn-brand span { display: none; } .tn-links a { padding: 8px 8px; font-size: 11px; letter-spacing: .1em; } }
section[id] { scroll-margin-top: 64px; }

/* ---------- hero: marble + spotlights ---------- */
.hero-marble { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background: var(--marble-veins) center / 520px, radial-gradient(ellipse 70% 60% at 50% 0%, rgba(243,220,160,.10), transparent 70%);
  -webkit-mask: linear-gradient(180deg, #000 40%, transparent); mask: linear-gradient(180deg, #000 40%, transparent); }
.beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.beams i { position: absolute; top: -12%; left: 50%; width: 220px; height: 120%; transform-origin: 50% 0; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255,241,205,.20), rgba(255,241,205,.04) 60%, transparent 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(10px); }
.beams i:nth-child(1) { transform: translateX(-50%) rotate(28deg); left: 22%; }
.beams i:nth-child(2) { transform: translateX(-50%) rotate(0deg); opacity: .65; width: 300px; }
.beams i:nth-child(3) { transform: translateX(-50%) rotate(-28deg); left: 78%; }
@media (prefers-reduced-motion: no-preference) {
  .beams i:nth-child(1) { animation: beamL 10s ease-in-out infinite alternate; }
  .beams i:nth-child(2) { animation: beamC 8s ease-in-out infinite alternate; }
  .beams i:nth-child(3) { animation: beamR 12s ease-in-out infinite alternate; }
  @keyframes beamL { to { transform: translateX(-50%) rotate(14deg); } }
  @keyframes beamC { from { opacity: .35; } to { opacity: .75; } }
  @keyframes beamR { to { transform: translateX(-50%) rotate(-12deg); } }
}
header.hero::before, header.hero::after { display: none; }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .section-head.reveal.in h2.gold-text { background-image: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 30%, #fff6dc 45%, var(--gold) 60%, var(--gold-lo) 100%);
    background-size: 250% 100%; animation: headShine 2.6s ease-out .2s both; }
  @keyframes headShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
}

/* ---------- plan zoom ---------- */
.map-wrap { position: relative; }
.mapbox.zoomed { max-height: min(72vh, 640px); overflow: auto; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.mapbox.zoomed:active { cursor: grabbing; }
.zoom { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; z-index: 2; }
.zoom button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(6,6,6,.85); color: var(--gold-hi); font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.zoom button:disabled { opacity: .35; cursor: default; }
.zoom-hint { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.zoom-hint b { color: var(--gold-hi); }
@media (min-width: 921px) { .zoom-hint { display: none; } }

/* ---------- reservation ticket stubs ---------- */
.stub { display: grid; grid-template-columns: 96px minmax(0, 1fr); border: 1px solid var(--gold-lo); border-radius: 14px; overflow: hidden; position: relative;
  background: var(--marble-veins), linear-gradient(135deg, #1d1a14, #0f0e0c); }
.stub::before, .stub::after { content: ""; position: absolute; left: 96px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 1px solid var(--gold-lo); transform: translateX(-50%); }
.stub::before { top: -10px; } .stub::after { bottom: -10px; }
.stub-l { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 12px 6px; border-right: 1.5px dashed rgba(216,180,106,.5); text-align: center;
  background: linear-gradient(180deg, rgba(243,220,160,.10), rgba(216,180,106,.02)); }
.stub-l img { width: 40px; height: auto; margin-bottom: 4px; }
.stub-k { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.stub-n { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold-hi); line-height: 1.15; }
.stub-r { display: grid; gap: 6px; padding: 14px 16px; min-width: 0; }
.stub-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stub-code { font-weight: 700; letter-spacing: .08em; }
.stub-meta { font-size: 13px; color: var(--muted); }
.stub.paid { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(216,180,106,.25), 0 14px 34px -18px rgba(216,180,106,.6); }
.stub.cancelled { opacity: .6; filter: grayscale(.6); }
#mineList { display: grid; gap: 14px; }
.stub .mine-act .note { font-size: 12.5px; }

/* footer */
footer .foot-tag { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .04em; font-size: 16px; color: var(--gold); }
.foot-fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold-hi); text-decoration: none; text-transform: none; letter-spacing: .04em; font-size: 13px; border: 1px solid var(--gold-lo); border-radius: 999px; padding: 8px 16px; }
.foot-fb svg { width: 16px; height: 16px; fill: currentColor; }
.foot-fb:hover { border-color: var(--gold); background: var(--gold-soft); }
.pay .acct { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-hi); line-height: 1.2; }

/* ---------- share ---------- */
.share { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold-lo); background: transparent; color: var(--gold-hi); font: 500 13px var(--body); text-decoration: none; cursor: pointer; }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
::selection { background: rgba(216,180,106,.35); color: #fff; }
html { scrollbar-color: var(--gold-lo) var(--bg); }
.share-center { max-width: 760px; margin: 22px auto 0; justify-items: center; text-align: center; }
.share-center .share-row { justify-content: center; }

/* =========================================================
   Luxe layer: editorial polish for an international gala feel
   ========================================================= */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-weight: 300; letter-spacing: .01em; }
b, strong { font-weight: 500; }

/* fine film grain over the whole page */
body::after { content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* gold foil: richer metallic gradient on all gold headings */
.gold-text { background-image: linear-gradient(175deg, #fff3cf 0%, #f0d48f 22%, #c9a24f 48%, #f6e2a8 62%, #a8812f 100%); }
.section-head h2 { font-weight: 500; letter-spacing: .02em; }
.label-caps { letter-spacing: .32em; font-weight: 500; }

/* section heads: hairline rules that frame the title */
.section-head .label-caps { display: inline-flex; align-items: center; gap: 14px; }
.section-head .label-caps::before, .section-head .label-caps::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head .label-caps::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* glass cards with gold hairline and soft inner light */
.panel { border-color: rgba(216,180,106,.16); border-radius: 18px;
  background: linear-gradient(180deg, rgba(30,27,22,.78), rgba(14,13,11,.86)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,240,200,.06), 0 30px 60px -36px rgba(0,0,0,.9); transition: border-color .35s, box-shadow .35s, transform .35s; }
.panel.gilded { border-color: rgba(216,180,106,.45); }
@media (hover: hover) {
  main .step-card:hover, main .pay-card:hover, .faq details:hover { border-color: rgba(216,180,106,.5); transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255,240,200,.08), 0 34px 70px -34px rgba(216,180,106,.35); }
}

/* primary buttons: light sweep on hover, crisper type */
.btn-main { position: relative; overflow: hidden; font-weight: 600; letter-spacing: .18em; }
.btn-main::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: left .7s ease; pointer-events: none; }
@media (hover: hover) { .btn-main:hover::after { left: 130%; } }
.btn-line { backdrop-filter: blur(4px); }

/* countdown: engraved gold digits */
.cd div { background: linear-gradient(180deg, rgba(40,35,26,.9), rgba(12,11,9,.9)); border-color: rgba(216,180,106,.28); border-radius: 12px; position: relative; overflow: hidden; }
.cd div::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); box-shadow: 0 1px 0 rgba(255,240,200,.05); }
.cd b { background: linear-gradient(180deg, #fff3cf, #d8b46a 60%, #9c7a36); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* hero: deeper vignette and a floor glow under the medallion */
header.hero { background: radial-gradient(ellipse 90% 70% at 50% 0%, transparent 40%, rgba(0,0,0,.65) 100%); }
.medal::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -8%; height: 16%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(216,180,106,.35), transparent 70%); filter: blur(8px); z-index: -1; }
.price-badge { backdrop-filter: blur(6px); }

/* table plan: gold glow on available tables when hovered */
@media (hover: hover) { .plan .tbl:not(.res):not(.sold):hover .top { filter: drop-shadow(0 0 8px rgba(243,220,160,.7)); } }

/* inputs: refined gold focus */
input, select { transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 4px rgba(216,180,106,.14); outline: none; }

/* footer: closing flourish */
footer { position: relative; border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(216,180,106,.5), transparent) 1; margin-top: 40px; padding-top: 44px; }

@media (prefers-reduced-motion: reduce) { .btn-main::after { display: none; } .panel { transition: none; } }
.price-badge > span:last-child { text-wrap: balance; }

/* ---------- meet the candidates ---------- */
.cand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .cand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cand-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .cand-grid::-webkit-scrollbar { display: none; }
  .cand { scroll-snap-align: center; }
}
.cand { position: relative; display: block; padding: 0; border: 1px solid rgba(216,180,106,.35); border-radius: 16px; overflow: hidden; cursor: pointer;
  background: #0b0a08; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); transition: transform .4s ease, border-color .4s, box-shadow .4s; text-align: left; color: var(--fg); }
.cand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .6s; filter: saturate(.92) contrast(1.02); }
.cand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55) 68%, rgba(6,6,6,.96)); pointer-events: none; }
.cand::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(243,220,160,.22); border-radius: 11px; z-index: 2; pointer-events: none; transition: border-color .4s; }
.cand-no { position: absolute; top: 12px; left: 14px; z-index: 3; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1;
  background: linear-gradient(180deg, #fff3cf, #d8b46a 60%, #9c7a36); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
.cand-no small { display: block; font-size: 10px; letter-spacing: .3em; font-weight: 600; margin-bottom: 2px; }
.cand-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 16px 16px; display: grid; gap: 4px; }
.cand-name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; color: #fff; text-wrap: balance; }
.cand-brgy { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
@media (hover: hover) {
  .cand:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 60px -28px rgba(216,180,106,.45); }
  .cand:hover img { transform: scale(1.06); filter: saturate(1.05) contrast(1.05); }
  .cand:hover::before { border-color: rgba(243,220,160,.55); }
}
.cand:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cand-zoom { position: fixed; inset: 0; z-index: 80; background: rgba(4,4,4,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)); }
.cand-zoom figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.cand-zoom img { max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); border-radius: 12px; border: 1px solid rgba(216,180,106,.4); box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.cz-cap { color: var(--muted); font-size: 14px; text-align: center; }
.cz-cap b { color: var(--gold-hi); font-family: var(--display); letter-spacing: .1em; }
.cz-nav, .cz-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-lo); background: rgba(6,6,6,.7); color: var(--gold-hi); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.cz-x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; font-size: 26px; z-index: 2; }
@media (max-width: 640px) { .cz-nav { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); } .cz-nav.prev { left: 20%; } .cz-nav.next { right: 20%; } .cand-zoom { grid-template-columns: minmax(0, 1fr); } .cand-zoom img { max-height: calc(100dvh - 170px); } }
.cand-zoom img.loading { filter: blur(6px) brightness(.85); }
.cand-zoom img { transition: filter .35s ease; aspect-ratio: 1122 / 1402; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .cand-zoom { animation: czIn .25s ease-out; } @keyframes czIn { from { opacity: 0; } } }
