/* Revelion 2027 · Midnight Elegance.
   Palette follows the party artwork: midnight-navy velvet, champagne gold, ivory feathers.
   Type: Gilda Display (headings), Great Vibes (script accents), Inter (text). */
:root {
  --paper: #f8f3e6;        /* ivory page (feather cream) */
  --paper-2: #efe7d2;      /* deeper ivory */
  --card: #fffdf7;
  --ink: #0a1233;          /* midnight navy */
  --ink-2: #131d4a;
  --ink-soft: #4a5273;
  --muted: #7b7f99;
  --rule: #ddd3ba;         /* hairline on ivory */
  --rule-dark: rgba(226, 196, 126, .2); /* gold hairline on navy */
  --gold: #94702a;         /* antique gold, readable on ivory */
  --gold-2: #e2c47e;       /* bright champagne gold, for navy */
  --accent: #e2c47e;
  --sage: #5a7263;
  --sage-soft: #e3e9e3;
  --velvet: radial-gradient(900px 420px at 50% -8%, rgba(58, 84, 190, .38), transparent 70%), linear-gradient(180deg, #0c1640 0%, #0a1233 100%);
  --gold-grad: linear-gradient(135deg, #f1dc9f 0%, #d9b567 48%, #b88f3e 100%);

  /* names kept for the admin stylesheet */
  --night: var(--ink);
  --night-2: var(--ink-2);
  --night-3: #1c2859;
  --gold-soft: rgba(148, 112, 42, .14);
  --line: var(--rule-dark);
  --cream: var(--paper);
  --ok: var(--sage);
  --sel: #c6a14f;
  --sold: var(--ink-2);
  --shadow: 0 24px 60px -20px rgba(10, 18, 51, .45);
  --radius: 2px;

  --serif: 'Gilda Display', Georgia, serif;
  --display: 'Gilda Display', Georgia, serif;
  --script: 'Great Vibes', 'Snell Roundhand', cursive;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-variant-numeric: lining-nums; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold-2); color: var(--ink); }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.eyebrow, .label { font: 500 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.label { color: var(--muted); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; border: 1px solid transparent; border-radius: var(--radius); font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--gold); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--gold-2); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn-sm { padding: 12px 18px; }
.btn-block { width: 100%; }
.textlink { font: 500 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper); background: rgba(8, 15, 44, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule-dark); transition: background .35s; }
.nav.scrolled { background: rgba(8, 15, 44, .97); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; white-space: nowrap; }
.brand-word { font: 400 1.65rem/1 var(--serif); }
.brand-word i { color: var(--gold); }
.brand-sub { font: 500 .62rem var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font: 500 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.nav-links a:not(.btn):hover { opacity: 1; color: var(--gold-2); }
.nav .btn { padding: 13px 20px; }
@media (max-width: 1100px) { .nav-links { gap: 24px; } }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* ------------------------------------------------------------ hero
   The artwork carries the title (Midnight Elegance · Revelion 2027); the h1 is kept for screen readers. */
.hero { position: relative; color: var(--paper); background: var(--ink); padding-top: 76px; }
.hero-art { display: block; position: relative; overflow: hidden; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: min(84vh, 880px); min-height: 340px; object-fit: cover; object-position: 50% 46%; animation: heroIn 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroIn { from { transform: scale(1.04); opacity: .6; } to { transform: none; opacity: 1; } }
.hero-art::after { content: ''; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-intro { position: relative; text-align: center; padding: 6px 0 44px; background: var(--velvet); }
.hero-intro .eyebrow { color: var(--gold-2); }
.hero-lede { max-width: 46ch; margin: 18px auto 0; font: 400 clamp(1.25rem, 2.2vw, 1.7rem)/1.42 var(--serif); color: rgba(248, 243, 230, .88); text-wrap: balance; }
.hero-lede b { font-weight: 400; color: var(--gold-2); }
.hero-bar { position: relative; z-index: 2; border-top: 1px solid var(--rule-dark); background: rgba(8, 15, 44, .6); }
.hero-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; }
.hero-bar .cell { padding: 24px 24px 26px 0; border-right: 1px solid var(--rule-dark); margin-right: 24px; }
.hero-bar .cell:nth-last-child(2) { border-right: 0; }
.hero-bar .label { color: rgba(248, 243, 230, .55); display: block; margin-bottom: 6px; }
.hero-bar .val { font: 400 1.3rem/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 960px) {
  .hero-bar .wrap { grid-template-columns: 1fr 1fr; }
  .hero-bar .cell { border-right: 0; margin-right: 0; padding: 14px 0; border-bottom: 1px solid var(--rule-dark); }
  .hero-bar .btn { grid-column: 1 / -1; margin: 20px 0 28px; }
}
@media (max-width: 760px) {
  .hero-art img { aspect-ratio: 1 / 1; max-height: none; min-height: 0; object-position: 50% 50%; }
  .hero-intro { padding-bottom: 34px; }
}

/* gold flourish: hairline, diamond, hairline */
.orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-2); margin: 0 auto 18px; max-width: 280px; }
.orn i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.orn i:last-child { background: linear-gradient(270deg, transparent, currentColor); }
.orn b { font: 400 .8rem/1 var(--sans); letter-spacing: 0; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.s-head { display: grid; grid-template-columns: 200px 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); align-items: baseline; }
.s-head .idx { font: 400 1.15rem var(--serif); color: var(--gold); border-top: 1px solid var(--rule); padding-top: 14px; }
.s-head .idx span { display: block; font: 500 .64rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 4px; }
.s-head h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; }
.s-head h2 em { color: var(--gold); }
.s-head p { color: var(--ink-soft); max-width: 56ch; margin-top: 20px; font-size: 1.02rem; }
@media (max-width: 760px) { .s-head { grid-template-columns: 1fr; gap: 14px; } }

.dark { background: var(--ink); color: var(--paper); }
.dark .s-head .idx { border-color: var(--rule-dark); }
.dark .s-head .idx span { color: rgba(248, 243, 230, .45); }
.dark .s-head p { color: rgba(248, 243, 230, .68); }
.dark .s-head h2 em { color: var(--gold-2); }

/* intro */

/* photo band */
.photos { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; align-items: end; }
.photos figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.photos figure:nth-child(1) { aspect-ratio: 4/3.2; }
.photos figure:nth-child(2) { aspect-ratio: 3/4; transform: translateY(48px); }
.photos figure:nth-child(3) { aspect-ratio: 4/4.7; }
.photos img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) sepia(.08); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.photos figure:hover img { transform: scale(1.03); }
.photos-cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 78px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font: 1.08rem var(--serif); }
.photos-cap a { text-decoration: none; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) {
  .photos { grid-template-columns: 1fr 1fr; }
  .photos figure:nth-child(1) { grid-column: 1 / -1; }
  .photos figure:nth-child(2) { transform: none; }
  .photos-cap { margin-top: 22px; flex-direction: column; gap: 4px; }
}

/* program timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.timeline li { display: grid; grid-template-columns: 200px 1fr 1.1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule-dark); align-items: baseline; }
.timeline .t { font: 400 clamp(2rem, 3.6vw, 2.9rem)/1 var(--serif); color: var(--gold-2); font-variant-numeric: lining-nums; }
.timeline h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 400; }
.timeline p { margin: 0; color: rgba(248, 243, 230, .62); }
.timeline li.midnight .t { color: var(--paper); font-style: normal; }
.timeline li.midnight h3 { font-style: normal; color: var(--gold-2); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 84px 1fr; gap: 6px 18px; } .timeline p { grid-column: 2; } }


/* menu card */
.menu-card { background: var(--card); max-width: 1000px; margin: 0 auto; padding: clamp(46px, 7vw, 96px) clamp(24px, 6vw, 90px); text-align: center; position: relative; box-shadow: 0 1px 0 var(--rule), 0 40px 70px -50px rgba(10, 18, 51, .35); }
.menu-card::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--rule); pointer-events: none; }
.menu-card h2 { font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 400; margin: 14px 0 6px; }
.menu-card .sub { font: 1.15rem var(--serif); color: var(--muted); }
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 56px; }
.menu-cols h3 { font: 400 1.75rem var(--serif); color: var(--gold); margin-bottom: 16px; }
.menu-cols ul { list-style: none; margin: 0; padding: 0; }
.menu-cols li { font: 400 1.12rem/1.35 var(--serif); padding: 3px 0; }
.menu-cols li + li::before { content: '·'; display: block; color: var(--gold); line-height: .4; margin-bottom: 4px; }
.menu-foot { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--rule); font: 500 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .menu-cols { grid-template-columns: 1fr; gap: 40px; } }

/* tickets */
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.price-list { border-top: 1px solid var(--ink); }
.price-row { display: flex; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.price-row .who { font: 400 1.7rem/1.1 var(--serif); }
.price-row .who small { display: block; font: 400 .82rem var(--sans); color: var(--muted); margin-top: 6px; }
.price-row .dots { flex: 1; border-bottom: 1px dotted #c4b8a6; transform: translateY(-8px); min-width: 20px; }
.price-row .amt { font: 400 2.7rem/1 var(--serif); font-variant-numeric: lining-nums; }
.price-row .amt.free { font-style: normal; font-size: 2rem; color: var(--gold); }
.price-note { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.incl-title { font: 1.6rem var(--serif); margin-bottom: 10px; }
.incl { list-style: none; padding: 0; margin: 0; counter-reset: i; border-top: 1px solid var(--ink); }
.incl li { counter-increment: i; display: grid; grid-template-columns: 50px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 1.3rem/1.3 var(--serif); }
.incl li::before { content: counter(i, upper-roman) '.'; font: 1rem var(--serif); color: var(--gold); padding-top: 4px; }
@media (max-width: 860px) { .tickets { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ booking */
.booking { background: var(--paper-2); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 1100px) { .booking-grid { grid-template-columns: minmax(0, 1fr); } }
.map-card { background: var(--card); padding: 22px; position: relative; box-shadow: 0 1px 0 var(--rule); }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 16px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font: 500 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1.5px solid; }
.legend .l-a { background: #fff; border-color: #8f8478; }
.legend .l-s { background: var(--gold); border-color: var(--gold); }
.legend .l-h { background: #e4ddd2; border-color: #c9bfb1; }
.legend .l-x { background: var(--ink); border-color: var(--ink); }
.zoom { display: flex; }
.zoom button { width: 36px; height: 36px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 400 1.2rem var(--sans); cursor: pointer; }
.zoom button + button { border-left: 0; }
.zoom button:hover { background: var(--paper); }
.map-scroll { overflow: auto; -webkit-overflow-scrolling: touch; background: var(--paper); }
.map-scroll svg { display: block; width: 100%; min-width: 720px; height: auto; transition: width .2s; }
.map-hint { font: 1rem var(--serif); color: var(--muted); padding-top: 14px; }

/* svg hall */
.hall-wall { fill: #fbf8f2; stroke: var(--ink); stroke-width: 2.5; }
.fixture rect, .fixture path { fill: var(--paper-2); stroke: #cbbfae; stroke-width: 1.5; }
.fixture text { fill: #8a7f71; font: 500 14px var(--sans); letter-spacing: .26em; text-anchor: middle; dominant-baseline: middle; }
.fixture.dance rect { fill: url(#danceGrad); stroke: #cdb68c; }
.fixture.dance text { fill: #8c6f3c; font: 400 34px var(--serif); letter-spacing: .01em; }
.fixture.entrance rect { fill: var(--sage-soft); stroke: var(--sage); }
.fixture.entrance text { fill: var(--sage); }
.tbl circle.top { fill: #fffdf9; stroke: #cdb68c; stroke-width: 1.5; transition: fill .2s; }
.tbl text { font: 500 30px var(--serif); font-variant-numeric: lining-nums; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.tbl.clickable circle.top { cursor: pointer; }
.tbl.clickable:hover circle.top { fill: #f3e8d2; }
.tbl.full circle.top { fill: #ece6dc; stroke: #d6ccbd; }
.tbl.full text { fill: #a99f92; }
.tbl circle.top:focus { outline: none; }
.tbl circle.top:focus-visible { stroke: var(--ink); stroke-width: 4; }
.seat { stroke-width: 1.4; transition: fill .15s, stroke .15s, transform .15s; transform-box: fill-box; transform-origin: center; }
.seat.a { fill: #fff; stroke: #8f8478; cursor: pointer; }
.seat.a:hover { fill: #f3e8d2; transform: scale(1.15); }
.seat.h { fill: #e4ddd2; stroke: #c9bfb1; }
.seat.x { fill: var(--ink-2); stroke: var(--ink-2); }
.seat.b { fill: #ece6dc; stroke: #d6ccbd; stroke-dasharray: 3 3; }
.seat.sel { fill: var(--gold); stroke: #8c6f3c; cursor: pointer; transform: scale(1.12); }
.tbl .seat-num { font: 500 10px var(--sans); fill: #7d7368; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.tbl .seat-num.on { fill: #fff; }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); font: 400 .78rem var(--sans); padding: 7px 11px; white-space: nowrap; transform: translate(-50%, -135%); opacity: 0; transition: opacity .12s; z-index: 5; }

/* selection panel */
.cart { background: var(--ink); color: var(--paper); padding: 30px 28px; position: sticky; top: 96px; }
.cart h3 { font: 400 2.2rem var(--serif); margin-top: 8px; }
.cart .label { color: rgba(248, 243, 230, .5); }
.cart-empty { color: rgba(248, 243, 230, .6); font: 1.12rem/1.45 var(--serif); padding: 18px 0 4px; }
.cart-list { list-style: none; padding: 0; margin: 18px 0 0; max-height: 330px; overflow: auto; border-top: 1px solid var(--rule-dark); }
.cart-list:empty { display: none; }
.cart-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule-dark); }
.cart-list .where { font: 400 1.15rem/1.2 var(--serif); }
.cart-list .where small { display: block; font: 400 .74rem var(--sans); color: rgba(248, 243, 230, .5); margin-top: 2px; }
.seg { display: inline-flex; border: 1px solid var(--rule-dark); }
.seg button { border: 0; background: transparent; color: rgba(248, 243, 230, .6); font: 500 .6rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 9px; cursor: pointer; }
.seg button.on { background: var(--paper); color: var(--ink); }
.rm { background: none; border: 0; color: rgba(248, 243, 230, .4); cursor: pointer; font-size: 1.1rem; padding: 4px; }
.rm:hover { color: var(--gold-2); }
.totals { font-size: .88rem; margin-top: 16px; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; color: rgba(248, 243, 230, .7); }
.totals .grand { color: var(--paper); border-top: 1px solid var(--rule-dark); margin-top: 8px; padding-top: 14px; align-items: baseline; }
.totals .grand span:last-child { font: 400 2.1rem var(--serif); }
.totals div[hidden] { display: none; }
.totals .pay-opts { display: block; padding: 4px 0 0; }
.totals .pay-opt { align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--rule-dark); }
.totals .pay-opt:first-child { border-top: 0; }
.totals .pay-opt > span { color: var(--paper); }
.totals .pay-opt small { display: block; font-size: .78rem; color: rgba(248, 243, 230, .6); margin-top: 2px; }
.totals .pay-opt small span { display: inline; }
.totals .pay-opt b { font-weight: 500; color: var(--paper); white-space: nowrap; }
.cart .btn { margin-top: 22px; background: var(--gold); color: var(--ink); }
.cart .btn:hover:not([disabled]) { background: var(--paper); }
.cart-note { font-size: .76rem; color: rgba(248, 243, 230, .45); margin-top: 14px; }
.closed-banner { border: 1px solid var(--ink); padding: 16px 20px; margin-bottom: 22px; font: 1.15rem var(--serif); }

/* ------------------------------------------------------------ info / faq */
.info { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--ink); }
.info > div { padding: 30px 30px 10px 0; border-right: 1px solid var(--rule); margin-right: 30px; }
.info > div:last-child { border: 0; margin: 0; }
.info h3 { font-size: 1.95rem; font-weight: 400; margin: 12px 0 14px; }
.info p { color: var(--ink-soft); }
.contacts { list-style: none; padding: 0; margin: 0; }
.contacts li { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 400 1.2rem var(--serif); }
.contacts a { text-decoration: none; font: 400 .9rem var(--sans); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .info { grid-template-columns: 1fr; } .info > div { border-right: 0; margin: 0; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 26px; } }

.faq-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; font: 400 1.5rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.5rem var(--sans); color: var(--gold); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 70ch; margin: -6px 0 24px; }
.terms { margin-top: 36px; font-size: .86rem; color: var(--muted); max-width: 80ch; }
.terms b { color: var(--ink); font-weight: 500; }

/* closing */
.closing { text-align: center; padding: clamp(100px, 13vw, 170px) 0; position: relative; overflow: hidden; color: var(--paper); background: var(--ink); }
.closing .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.32) sepia(.3) saturate(.7); }
.closing .wrap { position: relative; }
.closing h2 { font-size: clamp(3rem, 8vw, 7.2rem); font-weight: 400; line-height: .95; }
.closing h2 em { color: var(--gold-2); }
.closing p { font: 1.3rem var(--serif); color: rgba(248, 243, 230, .75); margin: 22px 0 36px; }

footer { background: var(--ink); color: rgba(248, 243, 230, .55); padding: 40px 0; font-size: .8rem; border-top: 1px solid var(--rule-dark); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .brand-word { color: var(--paper); font-size: 1.4rem; }
footer a { color: rgba(248, 243, 230, .8); text-decoration: none; border-bottom: 1px solid var(--rule-dark); }

/* ------------------------------------------------------------ checkout modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 18, 51, .6); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { width: min(580px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.modal-head { padding: 30px 34px 0; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.modal-head h3 { font-size: 2.4rem; font-weight: 400; margin-top: 10px; }
.modal-close { background: none; border: 1px solid var(--rule); width: 38px; height: 38px; font: 400 1.3rem var(--sans); cursor: pointer; color: var(--ink); flex: none; }
.modal-close:hover { border-color: var(--ink); }
.modal-body { padding: 22px 34px 34px; }
.steps { display: flex; gap: 16px; font: 500 .62rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #c4b8a6; }
.steps .on { color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .modal-head, .modal-body { padding-left: 22px; padding-right: 22px; } }
label.f { display: block; font: 500 .62rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
label.f small { text-transform: none; letter-spacing: 0; font-size: .74rem; }
label.f input, label.f textarea, label.f select { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius); font: 400 1rem var(--sans); color: var(--ink); background: #fff; transition: border-color .2s; text-transform: none; letter-spacing: 0; }
label.f input:focus, label.f textarea:focus, label.f select:focus { outline: 0; border-color: var(--ink); }
label.f.invalid input { border-color: #b4412f; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.check input { margin-top: 2px; accent-color: var(--ink); width: 17px; height: 17px; flex: none; }
.paychoice { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; display: grid; gap: 10px; }
.paychoice legend { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.pc-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--rule); padding: 12px 14px; cursor: pointer; font-size: .9rem; color: var(--ink); }
.pc-opt:has(input:checked) { border-color: var(--ink); background: #faf4e8; }
.pc-opt input { margin-top: 3px; accent-color: var(--ink); width: 17px; height: 17px; flex: none; }
.pc-opt small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; line-height: 1.4; }
.pc-later { display: grid; gap: 10px; }
.pc-later[hidden] { display: none; }
.pc-contacts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0; }
.pc-contacts a { color: var(--ink); white-space: nowrap; }
.pc-note { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--ink-soft); border-left: 2px solid var(--gold); background: #faf4e8; padding: 10px 14px; }
.later-done { text-align: center; padding: 26px 0 10px; }
.later-done .summary { text-align: left; margin: 20px 0; }
.later-done ul { list-style: none; padding: 0; margin: 8px 0 18px; }
.later-done li { padding: 3px 0; }
.summary { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 14px 0; font-size: .88rem; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--ink-soft); }
.summary .grand { color: var(--ink); border-top: 1px solid var(--rule); margin-top: 10px; padding-top: 12px; align-items: baseline; }
.summary .grand span:last-child { font: 400 2rem var(--serif); }
.timer { display: flex; align-items: center; gap: 10px; border-left: 2px solid var(--gold); background: #faf4e8; padding: 11px 14px; font-size: .86rem; margin: 6px 0 18px; color: var(--ink-soft); }
.timer b { font-variant-numeric: tabular-nums; color: var(--ink); }
.err { border-left: 2px solid #b4412f; background: #fbefec; color: #8a2f20; padding: 11px 14px; font-size: .88rem; margin-top: 14px; display: none; }
.err.show { display: block; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .76rem; margin-top: 16px; }
#paypal-buttons { margin-top: 18px; }
#paypal-buttons:empty { display: none; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .82rem; margin-top: 12px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 22px; z-index: 200; transition: transform .3s; font-size: .88rem; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; }

.mbar { display: none; }
@media (max-width: 1100px) {
  .cart { position: static; }
  .mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); font: 400 1.15rem var(--serif); }
  .mbar.show { display: flex; }
  .mbar .btn { background: var(--gold); color: var(--ink); }
}

/* ------------------------------------------------------------ ticket + message pages */
.page-center { min-height: 100vh; display: grid; place-items: center; padding: 48px 16px; background: var(--paper-2); }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font: 1.1rem var(--serif); color: var(--gold); }
.ticket { width: min(540px, 100%); background: var(--card); color: var(--ink); box-shadow: var(--shadow); position: relative; }
.ticket::before { content: ''; position: absolute; inset: 12px; border: 1px solid var(--rule); pointer-events: none; }
.ticket-top { text-align: center; padding: 50px 34px 30px; }
.ticket-top h1 { font-size: 3.6rem; font-weight: 400; margin-top: 12px; line-height: .95; }
.ticket-top h1 em { color: var(--gold); }
.ticket-status { display: inline-block; margin-top: 18px; font: 500 .62rem var(--sans); letter-spacing: .24em; text-transform: uppercase; padding: 8px 14px; border: 1px solid; }
.st-paid { color: var(--sage); }
.st-other { color: #a0672b; }
.ticket-body { padding: 0 44px 20px; }
.ticket-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ticket-row span:first-child { font: 500 .62rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 5px; white-space: nowrap; }
.ticket-row span:last-child { text-align: right; font: 400 1.15rem/1.3 var(--serif); }
.ticket-row small { font: 400 .8rem var(--sans); color: var(--muted); }
.ticket-qr { text-align: center; padding: 30px 0 10px; margin-top: 22px; border-top: 1px dashed #c4b8a6; }
.ticket-qr img { margin: 0 auto; width: 190px; }
.ticket-qr .code { font: 500 .95rem ui-monospace, Menlo, monospace; letter-spacing: .22em; margin-top: 12px; }
.ticket-qr .hint { font: 1.05rem var(--serif); color: var(--muted); }
.ticket-actions { display: flex; gap: 10px; justify-content: center; padding: 14px 44px 46px; flex-wrap: wrap; }
.notice { border-left: 2px solid var(--gold); background: #faf4e8; padding: 12px 14px; font-size: .88rem; margin-bottom: 18px; }
@media (max-width: 520px) { .ticket-body { padding: 0 28px 16px; } .ticket-top h1 { font-size: 2.8rem; } }
@media print { body { background: #fff; } .page-center { background: none; padding: 0; } .ticket-actions, .after-ticket { display: none; } .ticket { box-shadow: none; } }
.price-row, .menu-cols li, .ticket-row, .cart-list .where, .timeline .t { font-variant-numeric: lining-nums; }
h1, h2, h3, .hero-bar .val, .contacts li, .incl li, .totals, .summary, .faq summary, .map-hint, .photos-cap { font-variant-numeric: lining-nums; }
@media (max-width: 1100px) { .toast { bottom: 88px; } }
/* Lining figures everywhere: every `font:` shorthand resets font-variant-numeric,
   so one !important rule replaces the per-selector overrides. */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
.hero-bar .val, .cart-list, .totals, .summary, .contacts a, .countdown, .timer b { font-variant-numeric: lining-nums tabular-nums !important; }
/* display face for the event name */
.brand-word { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.01em; }
.ticket-top h1 { font-family: var(--display); font-weight: 400; font-size: 2.9rem; }
@media (max-width: 520px) { .ticket-top h1 { font-size: 2.3rem; } }

/* Gilda Display has no italic: accents are upright gold */
em, i { font-style: normal; }
/* Gilda Display runs larger than Cormorant: slightly smaller scale */
.s-head h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.hero-lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; }
.hero-bar .val { font-size: 1.15rem; white-space: nowrap; }
.timeline .t { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.timeline h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.menu-card h2 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
.menu-cols h3 { font-size: 1.45rem; }
.menu-cols li { font-size: 1.02rem; }
.price-row .who { font-size: 1.45rem; }
.price-row .amt { font-size: 2.2rem; }
.incl li, .incl-title { font-size: 1.12rem; }
.faq summary { font-size: 1.25rem; }
.info h3 { font-size: 1.6rem; }
.contacts li { font-size: 1.05rem; }
.closing h2 { font-size: clamp(2.6rem, 6.5vw, 5.8rem); }
.closing p, .map-hint, .photos-cap, .cart-empty { font-size: 1rem; }
.cart h3 { font-size: 1.8rem; }
.cart-list .where { font-size: 1.02rem; }
.totals .grand span:last-child, .summary .grand span:last-child { font-size: 1.7rem; }
.modal-head h3 { font-size: 2rem; }
.ticket-top h1 { font-size: 2.6rem; }
.ticket-row span:last-child { font-size: 1.02rem; }
.tbl text { font-size: 26px; }
.fixture.dance text { font-size: 28px; }

/* ---- section headers: small gold label above the title, no rule or numbering */
.s-head { display: block; }
.s-head .idx { font: 500 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); border: 0; padding: 0; margin-bottom: 16px; }
.dark .s-head .idx { color: var(--gold-2); }
.s-head p { margin-top: 18px; }

/* ---- hero sentence on two lines (desktop) */
.hero-lede { max-width: 48ch; text-wrap: balance; }

.s-head p.wide { max-width: none; }

/* ---- logo lockup: both lines forced to the same width with SVG textLength */
.logo { display: block; width: 172px; height: auto; overflow: visible; }
.logo text { fill: currentColor; }
.logo-main { font: 400 27px var(--display); }
.logo-yr { fill: var(--accent); stroke: var(--accent); stroke-width: .7px; paint-order: stroke fill; }
.logo-sub { font: 600 10px var(--sans); fill-opacity: .85; }
.footer-logo { color: var(--paper); border: 0 !important; }
@media (max-width: 520px) { .logo { width: 146px; } }

/* ---- intro (Seara): text + details on the left, tall photo on the right */
.intro2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.intro-text { display: flex; flex-direction: column; }
.lead { font: 400 clamp(1.25rem, 1.9vw, 1.6rem)/1.5 var(--serif); color: var(--ink-soft); max-width: 34em; margin: 0 0 40px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--ink); }
.facts-grid > div { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.facts-grid > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts-grid > div:nth-child(even) { padding-left: 28px; }
.facts-grid dt { font: 500 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.facts-grid dd { margin: 0; font: 400 1.45rem/1.2 var(--serif); color: var(--ink); }
.facts-grid span { display: block; margin-top: 6px; font-size: .84rem; color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }
.intro-photo { margin: 0; position: relative; overflow: hidden; min-height: 460px; background: var(--paper-2); }
.intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) sepia(.08); }
.intro-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 18, 51, .78)); }
.intro-photo figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: var(--paper); font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.3 var(--serif); }
.intro-photo figcaption em { color: var(--gold-2);  }
@media (max-width: 900px) {
  .intro2 { grid-template-columns: 1fr; }
  .intro-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div:nth-child(odd) { border-right: 0; }
  .facts-grid > div:nth-child(even) { padding-left: 0; }
}

/* ---- photo strip continues the Seara section: same 14px gutter as the tall photo, equal heights */
.seara-strip { margin-top: 14px; }
.seara-strip .photos { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.seara-strip .photos figure,
.seara-strip .photos figure:nth-child(1),
.seara-strip .photos figure:nth-child(2),
.seara-strip .photos figure:nth-child(3) { aspect-ratio: 4 / 3; transform: none; grid-column: auto; }
.seara-strip .photos-cap { margin-top: 18px; }
@media (max-width: 760px) {
  .seara-strip .photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .seara-strip .photos figure:nth-child(3) { display: none; }
}
.intro-text { padding-bottom: 34px; }
.intro-actions { gap: 16px 26px; }
@media (max-width: 900px) { .intro-text { padding-bottom: 0; } .intro-photo { margin-top: 14px; } }
@media (max-width: 900px) { .intro2 { gap: 32px; } .intro-photo { margin-top: 0; } .intro-photo figcaption { font-size: 1.15rem; left: 20px; right: 20px; bottom: 18px; } }
/* ---- a little more air in the Seara collage */
.seara-strip { margin-top: 22px; }
.seara-strip .photos { gap: 22px; }
.intro-text { padding-bottom: 52px; }
.facts-grid > div { padding-top: 26px; padding-bottom: 28px; }
.lead { margin-bottom: 48px; }
.seara-strip .photos-cap { margin-top: 26px; padding-top: 20px; }
@media (max-width: 900px) { .intro-text { padding-bottom: 0; } .intro2 { gap: 40px; } }
@media (max-width: 760px) { .seara-strip { margin-top: 14px; } .seara-strip .photos { gap: 14px; } }
/* ---- Seara: more room under the heading; grid top border matches its inner lines */
#seara .s-head { margin-bottom: clamp(56px, 7vw, 96px); }
.facts-grid { border-top-color: var(--rule); }
/* ---- more room above the 3-photo strip */
.seara-strip { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .seara-strip { margin-top: 28px; } }

/* ---- no closing rule under the timeline */
.timeline li:last-child { border-bottom: 0; }

/* ---- seat map: reserved seats in red, larger seat numbers */
:root { --taken: #9e2f2a; }
.seat.x { fill: var(--taken); stroke: var(--taken); }
.legend .l-x { background: var(--taken); border-color: var(--taken); }
.tbl .seat-num { font: 600 13px var(--sans); }
.tbl .seat-num.on { fill: #fff; }

/* ---- ticket: booking code block (no QR) */
.ticket-code { text-align: center; padding: 28px 0 8px; margin-top: 22px; border-top: 1px dashed #c4b8a6; }
.ticket-code span { font: 500 .62rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ticket-code .code { font: 500 1.35rem ui-monospace, Menlo, monospace; letter-spacing: .2em; margin-top: 8px; }

/* ---- phones: portrait hall map that fits the screen + table panel */
.only-phone { display: none; }
@media (max-width: 760px) {
  .only-phone { display: block; padding-top: 10px; color: var(--ink); }
  .zoom { display: none; }
  .map-card { padding: 14px; }
  .map-scroll { overflow: visible; }
  .map-scroll svg, .map-scroll svg.portrait { min-width: 0; width: 100%; }
  .map-toolbar .legend { gap: 10px 14px; }
  .tbl.clickable circle.top { stroke-width: 2; }
}

.sheet { position: fixed; inset: 0; z-index: 95; background: rgba(10, 18, 51, .45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-box { width: min(520px, 100%); background: var(--card); padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(10, 18, 51, .4); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); max-height: 92vh; overflow-y: auto; }
.sheet.open .sheet-box { transform: none; }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--rule); margin: 0 auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-head h3 { font-size: 2rem; margin-top: 4px; }
.sheet-info { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.ts-ring { width: min(300px, 82vw); margin: 10px auto 4px; }
.ts-ring svg { display: block; width: 100%; height: auto; }
.tbl.big circle.top { fill: #fffdf9; stroke: #cdb68c; stroke-width: 2; }
.tbl.big .big-label { font-size: 44px; }
.tbl.big .seat { stroke-width: 2; cursor: pointer; }
.tbl.big .seat.a:hover { transform: none; }
.tbl.big .seat-num { font-size: 17px; }
.tbl.big g[role=button] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sheet-legend { justify-content: center; margin: 6px 0 16px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-actions .btn { padding: 15px 12px; }
.sheet-actions .btn-line { color: var(--ink); border-color: var(--rule); }
.sheet-actions .btn[hidden] + .btn { grid-column: 1 / -1; }
.btn[hidden] { display: none !important; }
.tbl.big g[role=button]:focus { outline: none; }
.tbl.big g[role=button]:focus-visible .seat { stroke: var(--ink); stroke-width: 3.5; }

/* =====================================================================
   Midnight Elegance theme layer
   ===================================================================== */

/* script accents: the calligraphy of the artwork's title */
h1 em, h2 em, h3 em, .intro-photo figcaption em, .closing h2 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.28em; line-height: .8; letter-spacing: 0; padding: 0 .04em; }
.s-head h2 em { color: var(--gold); }
.dark .s-head h2 em, .closing h2 em, .intro-photo figcaption em { color: var(--accent); }

/* velvet + starlight on every dark surface */
.dark, .closing, footer, .menu-card { --stars:
  radial-gradient(1.6px 1.6px at 9% 18%, rgba(240, 217, 154, .85) 50%, transparent 52%),
  radial-gradient(1.2px 1.2px at 27% 64%, rgba(240, 217, 154, .6) 50%, transparent 52%),
  radial-gradient(1.8px 1.8px at 46% 12%, rgba(255, 244, 214, .8) 50%, transparent 52%),
  radial-gradient(1.2px 1.2px at 63% 78%, rgba(240, 217, 154, .55) 50%, transparent 52%),
  radial-gradient(1.6px 1.6px at 81% 30%, rgba(240, 217, 154, .75) 50%, transparent 52%),
  radial-gradient(1.2px 1.2px at 93% 86%, rgba(255, 244, 214, .55) 50%, transparent 52%);
  --ss: 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, auto, auto; }
.dark { background: var(--stars), var(--velvet); background-size: var(--ss); }
footer { background: var(--stars), #070e2b; background-size: 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, auto; }

/* buttons: gold-leaf primary on navy, navy on ivory */
.btn-light, .nav .btn-ink, .cart .btn { background: var(--gold-grad); color: #1a1405; }
.btn-light:hover, .nav .btn-ink:hover, .cart .btn:hover:not([disabled]) { background: var(--paper); color: var(--ink); }
.btn-ink:hover { background: var(--gold); color: #fff; }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.mbar .btn { background: var(--gold-grad); color: #1a1405; }
.textlink:hover { color: var(--gold); }
.eyebrow, .s-head .idx, .facts-grid dt { color: var(--gold); }
.dark .eyebrow, .dark .s-head .idx { color: var(--accent); }

/* intro + photos: cool navy wash instead of sepia */
.photos img, .intro-photo img { filter: saturate(.9); }
.intro-photo::after { background: linear-gradient(180deg, transparent 40%, rgba(10, 18, 51, .85)); }
.intro-photo figcaption { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.timeline li.midnight { background: linear-gradient(90deg, rgba(226, 196, 126, .1), transparent 70%); box-shadow: inset 3px 0 0 var(--accent); padding-left: 22px; }
.timeline .t { text-shadow: 0 0 24px rgba(226, 196, 126, .35); }
@media (max-width: 760px) { .timeline li.midnight { padding-left: 16px; } }

/* menu: a navy-and-gold menu board on ivory */
#meniu { background: var(--paper-2) !important; }
.menu-card { background: var(--stars), var(--velvet); background-size: var(--ss); color: var(--paper); max-width: 1100px; box-shadow: 0 40px 70px -40px rgba(10, 18, 51, .7); }
.menu-card::before { border-color: rgba(226, 196, 126, .45); inset: 14px; }
.menu-card::after { content: ''; position: absolute; inset: 20px; border: 1px solid rgba(226, 196, 126, .18); pointer-events: none; }
.menu-card .eyebrow { color: var(--accent); }
.menu-card h2 { color: var(--paper); }
.menu-card .sub { color: rgba(248, 243, 230, .6); }
.menu-cols { grid-template-columns: 1fr 1.7fr .8fr; text-align: center; }
.menu-cols h3 { color: var(--accent); font-size: 1.6rem; position: relative; padding-bottom: 14px; margin-bottom: 18px; }
.menu-cols h3::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 38px; height: 1px; background: var(--accent); transform: translateX(-50%); }
.menu-cols li { color: rgba(248, 243, 230, .92); }
.menu-cols li + li::before { color: var(--accent); }
.menu-cols ul.long { columns: 2; column-gap: 34px; }
.menu-cols ul.long li { break-inside: avoid; }
.menu-foot { border-top-color: rgba(226, 196, 126, .25); color: var(--accent); }
@media (max-width: 960px) { .menu-cols { grid-template-columns: 1fr; gap: 40px; } .menu-cols ul.long { columns: 1; } }

/* tickets + booking */
.price-row .amt.free { color: var(--gold); }
.incl li::before { color: var(--gold); }
.cart { background: var(--stars), var(--velvet); background-size: 720px 520px, 720px 520px, 720px 520px, auto, auto; border: 1px solid rgba(226, 196, 126, .28); }
.cart { --stars: radial-gradient(1.6px 1.6px at 14% 12%, rgba(240, 217, 154, .7) 50%, transparent 52%), radial-gradient(1.2px 1.2px at 78% 40%, rgba(240, 217, 154, .5) 50%, transparent 52%), radial-gradient(1.4px 1.4px at 40% 86%, rgba(255, 244, 214, .5) 50%, transparent 52%); }
.mbar { background: var(--velvet); border: 1px solid rgba(226, 196, 126, .3); }
.legend .l-s { background: #c6a14f; border-color: #c6a14f; }
.seat.sel { fill: #c6a14f; stroke: #8c6a22; }
.seg button.on { background: var(--accent); color: var(--ink); }
.timer, .notice { background: #fbf3de; }
.faq summary::after { color: var(--gold); }
.faq summary:hover { color: var(--gold); }

/* closing: navy night with a hint of the hall */
.closing { background: #070e2b; }
.closing .bg { filter: brightness(.34) saturate(.55) hue-rotate(190deg); opacity: .8; }
.closing::before { content: ''; position: absolute; inset: 0; background: var(--stars), radial-gradient(900px 420px at 50% 0%, rgba(58, 84, 190, .4), transparent 70%); background-size: 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, 720px 520px, auto; z-index: 0; }
.closing .wrap { z-index: 1; }
.closing .eyebrow { color: var(--accent) !important; }
.closing p { color: rgba(248, 243, 230, .8); }
.footer-logo { color: var(--paper); }
footer a { border-bottom-color: rgba(226, 196, 126, .3); }

/* ticket + message pages */
.page-center { background: var(--paper-2); }
.ticket-top h1 em { font-size: 1.2em; }
.ticket::before { border-color: rgba(148, 112, 42, .35); }

/* ---- polish pass */
/* anchor links stop below the fixed nav instead of under it */
html { scroll-padding-top: 84px; }
/* headings and short paragraphs break into even lines */
h1, h2, h3, .hero-lede, .intro-photo figcaption { text-wrap: balance; }
p, .faq summary { text-wrap: pretty; }
/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sel); outline-offset: 3px; }
/* nav links: gold underline that draws in on hover */
.nav-links a:not(.btn) { position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn):focus-visible::after { transform: scaleX(1); }
/* buttons: gold ones stay gold and just brighten on hover (a gradient cannot fade into a flat colour, which made the hover flicker) */
.btn { transition: background-color .25s, color .25s, filter .25s; }
.btn-light:hover, .nav .btn-ink:hover, .cart .btn:hover:not([disabled]), .mbar .btn:hover { background: var(--gold-grad); color: #1a1405; filter: brightness(1.1) saturate(1.05); }
/* timeline: easier to read, rows respond to hover, midnight row lines up with the others */
.timeline p { color: rgba(248, 243, 230, .74); font-size: 1rem; }
.timeline li { transition: background .3s; }
.timeline li:not(.midnight):hover { background: rgba(226, 196, 126, .045); }
/* midnight row: same width and alignment as the others, marked by a soft gold glow and gold rules instead of a side bar */
.timeline li.midnight { margin: 0; padding-left: 0; padding-right: 0; box-shadow: none; border-bottom-color: rgba(226, 196, 126, .45); background: linear-gradient(90deg, transparent, rgba(226, 196, 126, .09) 18%, rgba(226, 196, 126, .09) 60%, transparent); }
.timeline li:has(+ li.midnight) { border-bottom-color: rgba(226, 196, 126, .45); }
/* price rows and included list: quiet hover so the lists feel alive */
.price-row .amt { transition: color .25s; }
.price-row:hover .amt { color: var(--gold); }
/* FAQ: answers ease in */
.faq details[open] p { animation: faq-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
/* contact numbers read as links */
.contacts a { transition: color .2s; }
.contacts a:hover { color: var(--gold); }
/* closing photo: tinted midnight blue instead of grey */
.closing .bg { background-color: #1b2c7a; background-blend-mode: luminosity; filter: brightness(.5) saturate(.9); opacity: .85; }
/* menu: no dot separators and no starlight behind the dishes, just even spacing */
.menu-cols li + li::before { content: none; }
.menu-cols li { padding: 7px 0; }
.menu-card { background: var(--velvet); }
@media (prefers-reduced-motion: reduce) { .btn, .timeline li, .nav-links a::after { transition: none; } .faq details[open] p { animation: none; } }

/* ---- festive pass: gold foil, fireworks, countdown (echoes the banner artwork) */
/* script accents in gold foil with a slow sheen */
h2 em, .closing h2 em, .intro-photo figcaption em {
  background: linear-gradient(100deg, #b88f3e 0%, #f6e7b4 22%, #d9b567 42%, #fff6d8 52%, #d9b567 62%, #b88f3e 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  display: inline-block; padding: .22em .12em .2em; margin: -.22em -.06em -.2em;
  animation: foil 9s ease-in-out infinite alternate;
}
/* on ivory the foil is a deeper antique gold so it stays readable */
.section:not(.dark) .s-head h2 em { background-image: linear-gradient(100deg, #7d5c1c 0%, #b88f3e 25%, #94702a 45%, #d2ab55 55%, #94702a 65%, #7d5c1c 100%); }
@keyframes foil { to { background-position: 100% 0; } }
/* prices in foil too */
.price-row .amt:not(.free) { background: linear-gradient(120deg, #0a1233 30%, #94702a 50%, #0a1233 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: foil 7s ease-in-out infinite alternate; }
.price-row:hover .amt { color: inherit; }
/* a short gold rule under every section title */
.s-head h2::after { content: ''; display: block; width: 84px; height: 1px; margin-top: 26px; background: linear-gradient(90deg, var(--sel), transparent); }
/* fireworks in the dark sections */
.dark, .closing { overflow: hidden; }
.fw { position: absolute; pointer-events: none; background: url('/img/deco/firework.svg') center / contain no-repeat; opacity: .5; animation: fw 7s ease-in-out infinite; z-index: 0; }
.dark > .wrap { position: relative; z-index: 1; }
#program .fw-a { width: 420px; height: 420px; top: -120px; right: -90px; }
#program .fw-b { width: 240px; height: 240px; top: 150px; right: 250px; animation-delay: -3s; opacity: .32; }
.closing .fw-a { width: 460px; height: 460px; top: -130px; left: -110px; }
.closing .fw-b { width: 380px; height: 380px; top: -60px; right: -80px; animation-delay: -2.5s; }
.closing .fw-c { width: 220px; height: 220px; top: 190px; right: 210px; animation-delay: -5s; opacity: .3; }
@keyframes fw { 0%, 100% { transform: scale(.9); filter: brightness(.8); } 50% { transform: scale(1.04); filter: brightness(1.35); } }
@media (max-width: 760px) {
  #program .fw-a { width: 260px; height: 260px; top: -80px; right: -90px; } #program .fw-b { display: none; }
  .closing .fw-a { width: 260px; height: 260px; top: -70px; left: -100px; } .closing .fw-b { width: 240px; height: 240px; top: -50px; right: -90px; } .closing .fw-c { display: none; }
}
/* large countdown in the closing section */
.cd-big { display: flex; justify-content: center; gap: clamp(10px, 2.4vw, 28px); margin: 34px 0 6px; }
.cd-big div { min-width: clamp(64px, 9vw, 104px); padding: 16px 8px 13px; border: 1px solid rgba(226, 196, 126, .4); background: rgba(10, 18, 51, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cd-big b { display: block; font: 400 clamp(1.9rem, 4.4vw, 3.2rem)/1 var(--serif); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.cd-big span { display: block; margin-top: 9px; font: 500 .58rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(248, 243, 230, .65); }
@media (prefers-reduced-motion: reduce) { h2 em, .closing h2 em, .intro-photo figcaption em, .price-row .amt:not(.free), .fw { animation: none; } }

/* checkout: note shown while the server confirms a payment */
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 12px; text-align: center; color: var(--ink-soft); font-size: .95rem; }
.pay-wait[hidden], #paypal-buttons[hidden] { display: none; }
.pay-wait .spin { width: 18px; height: 18px; flex: none; border: 2px solid var(--rule); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
