@import url('/cafe-theme.css');

:root {
  color-scheme: light;
  --paper: var(--cafe-paper);
  --cream: var(--cafe-blush);
  --ink: #382820;
  --muted: #655549;
  --cocoa: #653d2b;
  --header: #543526;
  --rule: #d7c9ba;
  --focus: #9b512d;
  --display: 'Cormorant Garamond', Georgia, serif;
  --text: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --measure: 76rem;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, legend { margin: 0; font: 600 clamp(2.35rem, 4.3vw, 4.25rem)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h3, legend { font-size: clamp(1.9rem, 3vw, 2.8rem); }
p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
input, textarea { accent-color: var(--cocoa); caret-color: var(--cocoa); }
:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #ddc4a8; color: var(--ink); }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 3; padding: .8rem 1rem; background: white; }
.skip:focus { top: .5rem; }
.advent-header, .advent-hero, .section, .advent-footer { padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2)); }
.advent-header { background: var(--header); color: white; min-height: 5.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.advent-header .brand { display: block; width: clamp(11rem, 17vw, 14rem); flex-shrink: 0; }
.advent-header nav, .footer-bottom, .footer-bottom > div { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.advent-header nav a, .footer-cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.header-cta, .footer-cta { padding: .65rem 1.3rem; border-radius: var(--cafe-radius-control); background: var(--paper); color: var(--header); text-align: center; justify-content: center; }
.advent-header :focus-visible, .advent-footer :focus-visible, .reservation-summary :focus-visible { outline-color: #f2bd79; }
.advent-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.8rem, 7vw, 6rem); }
.hero-copy h1 { font-size: clamp(4rem, 7.2vw, 6rem); max-width: 9ch; }
.hero-copy > p { max-width: 36rem; font-size: clamp(1rem, 1.45vw, 1.18rem); margin-block: 1.4rem 2rem; }
.hero-copy h2 { font: 600 1rem/1.4 var(--text); letter-spacing: 0; }
.advent-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-block: .65rem 1.5rem; }
.advent-dates a { display: flex; flex-direction: column; justify-content: center; background: var(--cream); color: var(--ink); padding: .7rem .3rem; border-radius: var(--cafe-radius-field); text-align: center; text-decoration: none; }
.advent-dates a span { font-size: clamp(.94rem, 1.4vw, 1.12rem); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.advent-dates small { color: var(--muted); font-size: .86rem; }
.advent-dates a[aria-disabled=true] { opacity: .65; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; background: transparent; color: var(--cocoa); border: 0; padding: .5rem 0; font: 600 1rem/1.4 var(--text); text-align: left; text-decoration: underline; text-underline-offset: .25em; }
.hero-visual img { display: block; width: 100%; height: clamp(23rem, 38vw, 33rem); object-fit: cover; object-position: 50% 52%; border-radius: var(--cafe-radius-photo); box-shadow: var(--cafe-shadow); }
.hero-visual figcaption { color: var(--muted); font-size: .9rem; margin-top: .45rem; }
.section { padding-block: clamp(3.5rem, 6.5vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; gap: clamp(2rem, 4vw, 4rem); margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-heading p { max-width: 52ch; }
.experience { background: #fffdf9; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.offer { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.3rem; border-top: 2px solid var(--cocoa); }
.offer p { margin: .85rem 0 1rem; max-width: 49ch; }
.menu-list { padding-left: 1.35rem; margin: 0 0 1.7rem; }
.menu-list li { padding: .09rem 0 .09rem .25rem; }
.menu-list li::marker { color: var(--cocoa); }
.offer-bottom { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; margin-top: auto; }
.offer-bottom strong, .price-summary { font-variant-numeric: tabular-nums; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.booking-form { min-width: 0; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.booking-form > fieldset + fieldset { margin-top: 2.75rem; }
legend { padding: 0; margin: 0 0 .75rem; }
.field-intro { margin-bottom: .9rem; }
.field-hint, .privacy-note, .contact-note, .price-note, .field-intro { color: var(--muted); font-size: .94rem; }
.field-hint { margin-top: .6rem; }
.date-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.date-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 5.4rem; background: #fffdf9; border: 1px solid var(--rule); border-radius: var(--cafe-radius-field); cursor: pointer; text-align: center; }
.date-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.date-option strong { font: 600 1.95rem/1 var(--display); }
.date-option span, .date-option small { font-size: .84rem; }
.date-option:has(:checked) { background: var(--cocoa); color: white; border-color: var(--cocoa); }
.date-option:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.date-option:has(:disabled) { color: var(--muted); background: #ebe6df; cursor: default; text-decoration: line-through; }
.guest-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 1.4rem; }
.guest-row label, .booking-form > fieldset > label { font-weight: 600; }
.guest-row small, .menu-option small, .price-summary small { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; min-width: 0; border: 1px solid var(--rule); border-radius: var(--cafe-radius-control); background: #fffdf9; }
.stepper > * { width: 2.9rem; height: 2.9rem; border: none; background: transparent; text-align: center; }
.stepper button { border-radius: 50%; font-size: 1.4rem; color: var(--cocoa); }
.stepper button:disabled { opacity: .4; }
.stepper input { appearance: textfield; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.menu-options { display: grid; gap: .55rem; }
.menu-option { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr) auto; align-items: start; gap: 0 .7rem; background: #fffdf9; border: 1px solid var(--rule); border-radius: var(--cafe-radius-field); padding: .9rem; }
.menu-option, .choose-extras, .extra-checkboxes label { cursor: pointer; }
.menu-option input, .choose-extras input, .extra-checkboxes input { width: 1.14rem; height: 1.14rem; margin: .22rem 0 0; flex-shrink: 0; }
.menu-option:has(:checked), .extra-checkboxes label:has(:checked) { background: var(--cream); border-color: var(--cocoa); }
.option-price { text-align: right; white-space: nowrap; font-size: .94rem; font-weight: 600; }
.breakfast-extras { margin-top: 1rem; }
.choose-extras, .extra-checkboxes label { display: flex; align-items: flex-start; gap: .7rem; padding-block: .6rem; min-height: 44px; }
.breakfast-extras .field-hint { margin-top: .1rem; }
.guest-extra-card { margin-top: 1.1rem; }
.guest-extra-card legend { display: block; width: 100%; font: 600 1rem/1.4 var(--text); letter-spacing: 0; }
.guest-extra-card legend span { margin-left: .6rem; color: var(--muted); font-size: .9rem; font-weight: 400; }
.extra-checkboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.extra-checkboxes label { background: #fffdf9; border: 1px solid var(--rule); border-radius: var(--cafe-radius-field); padding: .6rem .7rem; font-size: .94rem; }
.extra-checkboxes label:has(:disabled) { color: var(--muted); cursor: default; }
.booking-form > fieldset > label { display: block; }
.booking-form > fieldset > label small { color: var(--muted); font-weight: 400; font-size: .92rem; }
#guest-name, textarea { display: block; width: 100%; margin-block: .45rem 1rem; font-size: 1rem; padding: .7rem 1rem; border: 1px solid #a28b77; border-radius: var(--cafe-radius-field); background: #fffdf9; }
textarea { resize: vertical; height: auto; }
textarea::placeholder { color: var(--muted); }
.reservation-summary { background: var(--header); color: white; padding: clamp(1.3rem, 3vw, 2.3rem); border-radius: var(--cafe-radius-panel); box-shadow: var(--cafe-shadow); }
.reservation-summary h3 { font-size: clamp(2.25rem, 3vw, 3rem); }
.reservation-summary dl { display: grid; gap: .75rem; margin-block: 1.5rem; }
.reservation-summary dl > div, .price-summary { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.reservation-summary dd { text-align: right; max-width: 72%; }
.reservation-summary dd strong { font-weight: 600; }
.reservation-summary dd small, .price-summary small { display: block; font-size: .88rem; }
.reservation-summary :is(dt, dd small, .price-summary small, .price-note, .privacy-note, .contact-note) { color: #efe1d1; }
.price-summary { align-items: center; border-top: 1px solid #a48570; padding-top: 1rem; }
#summary-price { font: 600 2.65rem/1 var(--display); white-space: nowrap; }
#summary-price.text-price { font: 600 1.1rem/1.2 var(--text); white-space: normal; text-align: right; }
.price-note { margin-top: .55rem; }
.message-details { margin-block: 1rem .7rem; }
summary { cursor: pointer; min-height: 44px; padding-block: .6rem; }
.message-details pre { max-height: 16rem; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; border-radius: var(--cafe-radius-field); background: #fffaf3; color: var(--ink); font: .93rem/1.55 var(--text); }
#copy-message { margin-bottom: .5rem; min-height: 44px; border: 0; text-decoration: underline; background: none; color: white; padding: .4rem 0; }
.whatsapp-button { width: 100%; min-height: 48px; color: var(--header); background: #fffaf3; border: 0; border-radius: var(--cafe-radius-control); font-weight: 650; padding: .8rem 1.1rem; margin: 1rem 0 .7rem; }
.whatsapp-button:disabled { opacity: .6; }
#status:not(:empty) { margin-bottom: .75rem; }
.atmosphere { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); background: var(--cream); }
.atmosphere > img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--cafe-radius-photo); }
.atmosphere p { margin-block: 1rem .75rem; max-width: 47ch; }
.atmosphere .text-link { display: flex; width: fit-content; }
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; padding: .85rem 2rem .85rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: .52rem; height: .52rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; position: absolute; right: .45rem; top: 1.25rem; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(225deg); top: 1.5rem; }
.faq details p { padding-bottom: 1.1rem; max-width: 60ch; }
.advent-footer { padding-block: 2.6rem 1.2rem; background: var(--header); color: #fffaf3; }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; }
.footer-main h2 { font-size: 2.6rem; margin-bottom: .5rem; }
.footer-bottom { margin-top: 2.4rem; justify-content: space-between; font-size: .9rem; gap: 1rem; }
.footer-bottom > div { flex-wrap: wrap; gap: .35rem 1.2rem; }
.footer-bottom a, .footer-phone { display: inline-flex; align-items: center; min-height: 44px; }
#flyer-dialog { border: none; border-radius: var(--cafe-radius-panel); width: min(35rem, calc(100vw - 2rem)); max-height: 90vh; max-height: 90svh; padding: .75rem; background: var(--paper); color: var(--ink); }
#flyer-dialog::backdrop { background: rgb(29 19 13 / 72%); }
#flyer-dialog img { display: block; width: 100%; height: auto; border-radius: 1rem; }
#close-flyer { display: block; position: sticky; top: 0; margin: 0 0 .5rem auto; min-height: 44px; background: var(--cocoa); color: white; padding: .5rem 1.1rem; border: none; border-radius: var(--cafe-radius-control); }
@media (hover: hover) and (pointer: fine) {
  .advent-header nav a:hover, .text-link:hover, .advent-footer a:hover, .message-details summary:hover, .faq summary:hover { text-decoration: underline; text-decoration-thickness: 2px; }
  .advent-dates a[href]:hover, .whatsapp-button:not(:disabled):hover, .header-cta:hover, .footer-cta:hover { background: #e7d5bf; }
  .date-option:has(input:not(:disabled):not(:checked)):hover, .stepper button:not(:disabled):hover { background: var(--cream); }
}
@media (prefers-reduced-motion: no-preference) and (pointer: fine) {
  :where(.advent-dates a[href], .header-cta, .footer-cta, .whatsapp-button, .stepper button) { transition: transform 140ms cubic-bezier(.23,1,.32,1); }
  :where(.advent-dates a[href], .header-cta, .footer-cta, .whatsapp-button:not(:disabled), .stepper button:not(:disabled)):active { transform: scale(.98); }
}
@media (max-width: 54rem) {
  .booking-layout { grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 1fr); gap: 1.6rem; }
  .advent-hero { gap: 1.6rem; }
  .advent-header nav { gap: 1.1rem; }
  .menu-option { grid-template-columns: 1.2rem minmax(0,1fr); }
  .option-price { grid-column: 2; text-align: left; }
  .option-price small { display: inline; }
}
@media (max-width: 46rem) {
  .advent-header { min-height: 4.6rem; }
  .advent-header .offers-link { display: none; }
  .advent-header .brand { width: clamp(8.9rem, 34vw, 11rem); }
  .advent-hero, .section-heading, .booking-layout, .atmosphere, .faq { grid-template-columns: 1fr; }
  .advent-hero { gap: 1.2rem; padding-block: 2.1rem 2.4rem; }
  .hero-copy h1 { max-width: none; font-size: clamp(3.25rem, 10.2vw, 4.3rem); }
  .hero-copy > p { margin-block: .8rem 1.35rem; }
  .advent-dates { margin-bottom: .35rem; }
  .hero-visual img { height: clamp(16rem, 71vw, 24rem); object-position: center 46%; }
  .section-heading { gap: .85rem; margin-bottom: 1.65rem; }
  .experience-grid { grid-template-columns: 1fr; gap: 2.1rem; }
  .booking-layout { gap: 2rem; }
  .faq { gap: 1rem; }
  .booking-form > fieldset + fieldset { margin-top: 2rem; }
  .menu-option { grid-template-columns: 1.2rem minmax(0,1fr) auto; }
  .option-price { grid-column: auto; text-align: right; }
  .option-price small { display: block; }
}
@media (max-width: 32rem) {
  .advent-header nav a:first-child { display: none; }
  .advent-header nav a { font-size: .91rem; }
  .extra-checkboxes { grid-template-columns: 1fr; }
  .footer-main { align-items: flex-start; }
  .footer-main div { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 24rem) {
  .date-options { gap: .25rem; }
  .date-option span, .date-option small { font-size: .78rem; }
  .menu-option { grid-template-columns: 1.2rem minmax(0,1fr); }
  .option-price { grid-column: 2; text-align: left; }
  .option-price small { display: inline; }
}
