:root {
  color-scheme: dark;
  --bg: #170a0b;
  --ink: #fff3e9;
  --muted: #d7bfb8;
  --accent: #ff765e;
  --line: #f7c7b743;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(90deg, #170a0b85, #170a0bf2 88%), linear-gradient(0deg, #170a0b 16%, transparent 90%), url('assets/dinner-club-neon.webp') 30% 42% / cover no-repeat;
}
[hidden] { display: none !important; }
.shell { width: min(100% - 2.5rem, 1020px); margin-inline: auto; }
.header { display: flex; gap: .75rem; justify-content: space-between; align-items: center; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.header img { width: clamp(110px, 17vw, 155px); height: auto; }
.header span, .eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: start; gap: clamp(1.5rem, 6vw, 5rem); padding-block: clamp(2rem, 7vw, 6rem); }
.intro { padding-block-start: 1rem; text-shadow: 0 2px 12px #160604; }
.eyebrow { color: #ff937c; margin: 0 0 .65rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1; margin: 0; letter-spacing: -.042em; }
h1 { font-size: clamp(2.8rem, 6.1vw, 5.6rem); }
h1 em { color: #ff937c; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
p { margin: .75rem 0 0; }
.intro-detail { font-weight: 600; }
.demo-label, .terms { color: var(--muted); font-size: .875rem; }
.panel {
  background: #210e10f7;
  border: 1px solid var(--line);
  padding: clamp(1.15rem, 4vw, 2.35rem);
  box-shadow: 0 10px 32px #11040466;
}
.price { font: 2rem/1.2 Georgia, serif; margin: .65rem 0 1.1rem; }
.price span { color: var(--muted); font: 1rem/1.2 system-ui, sans-serif; }
form { display: grid; gap: .6rem; }
form > p { font-size: .9rem; color: var(--muted); margin: 0; }
label { display: block; font-size: .95rem; font-weight: 600; }
form > label + select { margin-block-end: .38rem; }
select, input, textarea, button { font: inherit; }
select, input, textarea { width: 100%; min-height: 46px; padding: .55rem .65rem; color: var(--ink); background: #170a0b; border: 1px solid var(--line); border-radius: 0; }
textarea { resize: vertical; }
button, .payment-toggle { min-height: 46px; border: 1px solid transparent; padding: .6rem .9rem; background: var(--accent); color: #20090b; font-weight: 700; cursor: pointer; }
button:hover, .payment-toggle:hover { background: #ffa08d; }
:focus-visible { outline: 2px solid #fff3e9; outline-offset: 3px; }
form > button, .terms, #table-form { margin-block-start: 1rem; }
.terms { border-block-start: 1px solid var(--line); padding-block-start: .45rem; }
fieldset { min-width: 0; border: 1px solid var(--line); padding: .8rem; margin: .6rem 0; }
fieldset label + label { margin-block-start: .6rem; }
fieldset input, fieldset select, fieldset textarea { display: block; margin-block-start: .2rem; }
legend { color: #ff937c; font-weight: 700; padding-inline: .35rem; }
progress { width: 100%; accent-color: var(--accent); height: .6rem; }
.table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .85rem; margin-block-start: 1.15rem; }
.table-completion { padding: .95rem; border: 1px solid var(--line); background: #170a0b; }
.table-completion > p:not(.eyebrow) { font-size: .9rem; }
.countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.countdown div { display: grid; text-align: center; background: #35161b; border: 1px solid var(--line); padding: .5rem .25rem; }
.countdown strong { font: 400 clamp(1.6rem, 6vw, 2.4rem)/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.countdown span, .deadline-date { color: var(--muted); font-size: .8rem; }
.share-action { display: grid; gap: .7rem; margin-block: 1.1rem; }
.share-action p { margin: 0; }
#extra-payments { margin-block: .85rem 1rem; }
.payment-toggle { display: grid; place-items: center; min-height: 50px; list-style: none; }
.payment-toggle::-webkit-details-marker { display: none; }
#table-form { padding: .85rem; border: 1px solid var(--line); background: #170a0b; }
a, .link-button { color: var(--ink); }
.link-button { background: transparent; padding-inline: 0; text-decoration: underline; }
.link-button:hover, .secondary:hover { background: #4a2228; color: var(--ink); }
.secondary { color: var(--ink); border-color: var(--line); background: transparent; }
#back { margin-block-end: .5rem; }
#guest-form { margin-block-start: .9rem; }
#guest-form fieldset p { margin: 0 0 .65rem; color: var(--muted); font-size: .9rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-block-end: .65rem; }
.field-pair label + label { margin: 0; }
.availability-result { display: grid; gap: .7rem; margin-block-start: 1rem; text-align: center; }
#availability-message { color: #ffab99; font-weight: 700; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem .55rem; }
.check-grid .check-option { display: flex; align-items: center; gap: .5rem; min-height: 44px; margin: 0; font-size: .85rem; }
.check-option input { width: 18px; min-height: auto; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--accent); }
.diet-fields fieldset { margin-block-start: .85rem; }
.diet-fields fieldset > label { margin-block-start: .75rem; }
.use-referrer {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .7rem .75rem;
  margin: 0 0 .75rem;
  min-height: 44px;
  background: #35161b;
  border: 1px solid #ff765e80;
  cursor: pointer;
}
.use-referrer.check-option input { margin-top: .2rem; }
.use-referrer strong, .use-referrer small { display: block; }
.use-referrer small { color: var(--muted); font-size: .875rem; font-weight: 400; }
.guest-name-fields input[readonly] { background: #2c1417; }
.table-layout {
  position: relative;
  width: min(100%, 288px);
  height: 130px;
  margin: .65rem auto;
}
.table-surface {
  position: absolute;
  inset: 28% 7%;
  display: grid;
  place-items: center;
  border: 1px solid #ff765e70;
  border-radius: .6rem;
  color: #ffe4d8;
  background: #482025;
  font-weight: 700;
}
.table-seat {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border: 1px solid #f7c7b788;
  border-radius: 50%;
  background: #271416;
}
.table-seat-paid { background: var(--accent); border-color: #ffad9e; }
.table-layout-round { width: min(100%, 174px); height: auto; aspect-ratio: 1; }
.table-layout-round .table-surface { inset: 18%; border-radius: 50%; }
.feedback { grid-column: 2; background: #321519; margin: 0; padding: .8rem 1rem; border-inline-start: 2px solid var(--accent); overflow-wrap: anywhere; }
@media (max-width: 720px) {
  body { background-size: auto, auto, 100% auto; background-color: var(--bg); background-position: top center; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block-start: 1.25rem; }
  .intro { padding-top: 0; }
  .header { padding-block: 1rem; }
  .header span { font-size: .7rem; }
  .feedback { grid-column: 1; }
}
@media (max-width: 380px) {
  .check-grid { grid-template-columns: minmax(0, 1fr); }
}

.booking-meta { color: var(--muted); font-size: .9rem; margin: -.55rem 0 1rem; }
.checkout-summary { background: #35161b; border: 1px solid var(--line); padding: .8rem 1rem; }
.checkout-summary p { margin: 0; }
.checkout-summary p + p:not(:empty) { margin-top: .35rem; font-size: .875rem; color: var(--muted); }
#payment-summary { font-weight: 700; }
#start-form, #guest-form, #table-form { gap: .75rem; }
#table-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); align-items: end; gap: .5rem; }
#table-form label { grid-column: 1 / -1; }
#table-form button { margin: 0; }
.action-link { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; padding: .6rem .8rem; text-align: center; }
.frame-link { grid-column: 1 / -1; }
.share-action { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem; }
.checkout-timer { font: 400 clamp(2.2rem, 8vw, 3.2rem)/1 Georgia, serif; font-variant-numeric: tabular-nums; color: #ff9a86; }
.checkout-actions { display: grid; gap: .55rem; margin-block-start: 1rem; }
button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 720px) {
  .booking-page .intro h1 { font-size: clamp(2.35rem, 10.5vw, 3.3rem); }
  .booking-page .intro h1 br { display: none; }
  .booking-page .intro h1 em::before { content: ' '; }
  .booking-page .layout { gap: .9rem; }
}


.booking-page.showing-table .intro { padding-block-start: clamp(0rem, 3vw, 2rem); }
.table-status-title { font-size: clamp(1.65rem, 5vw, 2.45rem); }
.table-layout-live {
  width: min(100%, 340px);
  height: clamp(145px, 30vw, 170px);
  margin: 1.15rem auto;
  background: radial-gradient(ellipse at 50% 50%, #982a2c30, transparent 70%);
}
.table-layout-live.table-layout-round { width: min(100%, 224px); height: auto; }
.table-layout-live .table-surface {
  align-content: center;
  gap: .12rem;
  background: radial-gradient(ellipse at 50% 65%, #481b20, #230e12 83%);
  box-shadow: inset 0 0 18px #ff5b4030, 0 0 20px #ff563622;
  border-color: #fa7c69a6;
}
.table-layout-live .table-surface strong { font: 400 clamp(1.65rem, 6vw, 2.4rem)/1 Georgia, serif; }
.table-layout-live .table-surface span { color: var(--muted); font-size: .875rem; }
.table-layout-live .table-seat { width: 14px; height: 14px; background: #210f12; border-color: #c7887990; }
.table-layout-live .table-seat-paid { background: #ffd2be; border-color: #ffe8d9; box-shadow: 0 0 10px #ff6048; }
.table-layout-complete .table-surface { border-color: #ffd2be; box-shadow: inset 0 0 20px #ff604844, 0 0 20px #ff604866; }
.paid-guests { margin: 1rem 0; padding-block-start: .7rem; border-block-start: 1px solid var(--line); }
.paid-guests h3 { margin: 0 0 .45rem; font-size: .875rem; }
.guest-name-fields input { min-width: 0; }
@media (max-width: 720px) {
  .booking-page.showing-table .intro-detail { margin-top: .35rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .table-seat-new { animation: seat-light .65s ease-out both; }
  .table-layout-just-completed .table-surface { animation: table-light .85s ease-out both; }
}
@keyframes seat-light {
  0% { opacity: .35; box-shadow: 0 0 0 #ff6048; }
  45% { opacity: 1; box-shadow: 0 0 20px 4px #ff6048; }
}
@keyframes table-light {
  45% { box-shadow: inset 0 0 33px #ff604870, 0 0 34px #ff604899; }
}

.booking-page.showing-table #title-lead {
  display: block;
  font: 700 clamp(1rem, 2.4vw, 1.35rem)/1.2 system-ui, sans-serif;
  letter-spacing: 0;
  margin-block-end: .6rem;
}
.booking-page.showing-table #page-title br { display: none; }
.booking-page.showing-table #title-name,
.booking-page.showing-table #title-last { display: block; white-space: nowrap; }
.booking-page.showing-table #title-name::before,
.booking-page.showing-table #title-last::before { content: none; }
.paid-guests ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: .45rem; padding: 0; margin: 0; list-style: none; }
.paid-guests li { display: grid; align-content: center; gap: .12rem; border-radius: .65rem; min-height: 3.65rem; padding: .5rem .65rem; border: 1px solid var(--line); background: #35161b; overflow-wrap: anywhere; }
.paid-guests li strong { font-size: .9rem; }
.paid-guests li small { font-size: .8125rem; color: #e0c3ba; line-height: 1.25; }
.paid-guests .seat-waiting { background: #232124; border-color: #92858865; color: #e2d9de; }
.paid-guests .seat-waiting strong { font-weight: 500; }
.personal-receipts { display: grid; gap: .45rem; margin-block: .9rem; }
#receipt-home { margin-top: 1rem; }
.receipt-guest { background: #35161b; border: 1px solid var(--line); padding: .7rem .8rem; margin-block: .55rem; overflow-wrap: anywhere; }
.receipt-guest p, .receipt-guest dl { margin: .35rem 0 0; }
.receipt-guest dt { font-weight: 700; font-size: .875rem; }
.receipt-guest dd { margin: 0 0 .4rem; color: var(--muted); }

.paid-guests .seat-with-info {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: .12rem;
  padding-inline-end: .12rem;
}
.seat-with-info > small { grid-column: 1; }
.seat-info {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: #ffe2d4;
}
.seat-info:hover, .seat-info:focus-visible { background: #482025; color: #fff3e9; }
.seat-info span {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 700 .8rem/1 system-ui, sans-serif;
}
.diet-dialog { width: min(28rem, calc(100% - 2rem)); max-height: 90dvh; color: var(--ink); }
.diet-dialog::backdrop { background: #100709c7; }
#diet-dialog-details { margin-block-start: .85rem; overflow-wrap: anywhere; }
#diet-dialog-details dl { margin: 0; }
#diet-dialog-details dt { font-weight: 700; }
#diet-dialog-details dd { margin: .15rem 0 .65rem; color: var(--muted); }

#guest-form > .payment-feedback, .payment-feedback {
  padding: .6rem .75rem;
  background: #35161b;
  color: var(--ink);
  border-inline-start: 2px solid var(--accent);
  font-size: .9rem;
}

.booking-start {
  background: #141115;
  --line: #ffffff2a;
}
.booking-start .layout { align-items: start; gap: clamp(.85rem, 3vw, 2rem); }
.booking-start .intro {
  display: grid;
  align-content: end;
  min-height: clamp(13rem, 30vw, 23rem);
  border-radius: .85rem;
  padding: clamp(1.05rem, 4vw, 2.2rem);
  background: linear-gradient(0deg, #180e13fa, #180e1388 68%, #180e1344), url('assets/dinner-club-neon.webp') 50% 40% / cover;
  text-shadow: none;
}
.booking-start .intro h1 {
  font: 760 clamp(2rem, 4.5vw, 3.75rem)/.99 system-ui, sans-serif;
  letter-spacing: -.055em;
}
.booking-start .intro h1 br { display: none; }
.booking-start .intro-detail { margin-top: .55rem; }
.booking-start .intro .demo-label { margin-top: .65rem; }
.booking-start #start {
  border-radius: .85rem;
  background: #201b22;
  box-shadow: none;
}
.booking-start #start-title { font: 750 clamp(1.5rem, 4vw, 2.2rem)/1.1 system-ui, sans-serif; letter-spacing: -.035em; }
.booking-start #start .price { font: 700 1.3rem/1.2 system-ui, sans-serif; margin: .55rem 0 .65rem; }
.booking-start #start .booking-meta { margin: 0 0 .9rem; }
.booking-start #party-size { background: #161317; min-height: 48px; }
.booking-start #start :is(select, button, .action-link) { border-radius: .45rem; }
.booking-start #start-form button { margin: .2rem 0 0; min-height: 48px; }
.booking-start #start-form button.secondary { background: var(--accent); color: #20090b; border-color: transparent; }
.booking-start #start-form button.secondary:hover { background: #ffa08d; }
.availability-alternatives { margin-top: 1rem; padding: 1rem; background: #171419; border: 1px solid var(--line); border-radius: .55rem; }
.availability-alternatives h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.availability-alternatives p { color: var(--muted); font-size: .9rem; }
#alternatives-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); gap: .4rem; margin-block: .7rem; }
#alternatives-options:empty { margin-block: 0 .7rem; }
#alternatives-options button { background: #34242c; }
#alternatives-options button:hover { background: #50303a; }
#availability-contact { font-size: .875rem; }
@media (max-width: 720px) {
  .booking-start .shell { width: min(100% - 1.5rem, 35rem); }
  .booking-start .layout { padding-block-start: .75rem; }
  .booking-start .intro { min-height: 10.5rem; }
  .booking-start .intro h1 { font-size: clamp(1.85rem, 7.5vw, 2.6rem); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.start-intro-copy, .intro-venue { display: none; }
.booking-start .start-intro-copy, .booking-start .intro-venue { display: inline; }
.booking-start .flow-intro-copy { display: none; }
.booking-start .intro { background-position: 50% 48%; }
.booking-start .intro-detail { max-width: 32ch; line-height: 1.4; }
.booking-start .intro .demo-label { font-size: .8rem; }
.start-offer { border-bottom: 1px solid var(--line); padding-block-end: 1rem; margin-block-end: 1.05rem; }
.booking-start #start .price { margin: 0 0 .25rem; font-size: clamp(1.6rem, 5vw, 2rem); letter-spacing: -.04em; }
.start-inclusions { color: #e1d5de; margin: 0; font-size: .95rem; line-height: 1.35; }
.booking-start #start .booking-meta { margin: .35rem 0 .65rem; }
.booking-start #start-form { gap: .5rem; }
.booking-start #start-form select { margin: 0; }
.booking-start #start-form .start-reassurance { font-size: .875rem; line-height: 1.45; }
.booking-start .availability-result { padding: .8rem; border: 1px solid var(--line); border-radius: .55rem; background: #171419; text-align: left; }
.booking-start #availability-message { margin: 0; color: var(--ink); }
.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  gap: .55rem;
}
.start-steps li { position: relative; display: grid; align-content: start; gap: .28rem; min-width: 0; line-height: 1.25; }
.start-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-block-start: .72rem;
  inset-inline: 1.95rem 0;
  height: 1px;
  background: #e58b7954;
}
.step-number {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid #e58b79a0;
  color: #ffb09e;
  font-size: .75rem;
  font-weight: 700;
}
.start-steps strong { color: var(--ink); font-size: clamp(.85rem, 2.7vw, .98rem); }
.start-steps li > span:last-child { color: var(--muted); font-size: clamp(.75rem, 2.5vw, .85rem); }
.start-terms { border-block-start: 1px solid var(--line); margin-block-start: 1.1rem; color: var(--muted); font-size: .9rem; }
.start-terms summary { min-height: 44px; align-content: center; cursor: pointer; color: var(--ink); font-weight: 600; }
.start-terms p { margin: 0 0 .55rem; }
@media (max-width: 720px) {
  .booking-start .layout { gap: 0; }
  .booking-start .frame-link:not([hidden]) { margin-block-end: .75rem; }
  .booking-start .intro {
    min-height: clamp(9.5rem, 42vw, 11rem);
    border-radius: .85rem .85rem 0 0;
    background-image: linear-gradient(0deg, #201b22 2%, #180e13cc 40%, #180e1370), url('assets/dinner-club-neon.webp');
  }
  .booking-start #start { border-radius: 0 0 .85rem .85rem; border: 0; padding-block-start: .65rem; }
  .booking-start .intro .eyebrow { letter-spacing: .06em; font-size: .75rem; margin-bottom: .45rem; }
}

.start-next-step { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.4; }


.table-diet-note { border-block-start: 1px solid var(--line); margin-block: 1rem; padding-block-start: .75rem; }
.table-diet-note h3 { margin: 0; font-size: .95rem; }
.table-diet-note p { color: var(--muted); font-size: .875rem; line-height: 1.5; margin: .35rem 0 0; }
.table-diet-note a { color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }

.booking-terms { padding-block: .2rem .75rem; }
.booking-terms h3 { margin: .85rem 0 .35rem; color: var(--ink); font-size: .95rem; }
.booking-terms a { color: var(--ink); text-underline-offset: .15em; }
.refund-windows { display: grid; gap: .35rem; margin: .75rem 0; }
.refund-windows > div { background: #291d24; border: 1px solid var(--line); border-radius: .4rem; padding: .5rem .65rem; }
.refund-windows dd { color: var(--ink); margin: .15rem 0 0; font-weight: 700; }

.checkout-acknowledgements { margin-block: .9rem; }
.checkout-acknowledgements .start-terms { margin-block-start: .45rem; }
.checkout-acknowledgements .check-option { display: flex; align-items: center; gap: .55rem; min-height: 44px; cursor: pointer; }

.order-summary { margin-block-start: .45rem; }
.order-summary h3 { margin: 0 0 .45rem; font-size: 1rem; }
#order-total { color: var(--ink); font-weight: 700; }
