:root {
  color-scheme: light;
  --paper: #f8f3ec;
  --white: #fffaf5;
  --ink: #2e211d;
  --muted: #63514a;
  --wine: #5b272d;
  --line: #d9c7b9;
  --selection: #f6e3d8;
  font: 100%/1.5 "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dd { margin: 0; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a64921; outline-offset: 4px; }

.frame { width: min(calc(100% - 3rem), 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .75rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }
.demo-banner {
  padding: .5rem 1rem;
  background: var(--wine);
  color: #fff7ee;
  font-size: .875rem;
  text-align: center;
}
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: .75rem; }
.wordmark { font: 600 2rem/1 Georgia, serif; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { font: 500 .85rem/1 system-ui, sans-serif; letter-spacing: .04em; }
.nav-book { font-size: .95rem; font-weight: 650; text-underline-offset: .3em; padding-block: .75rem; }

.hero { display: grid; grid-template-columns: .86fr 1.14fr; background: #efdfce; }
.hero-copy { align-self: center; padding: clamp(2rem, 5vw, 4.75rem); }
.eyebrow { color: var(--wine); font-weight: 700; font-size: .875rem; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin-block: .8rem 1.25rem; font-size: clamp(3.25rem, 7.3vw, 7.1rem); line-height: .91; letter-spacing: -.085em; }
.intro { max-width: 27ch; margin-bottom: 1.6rem; font-size: clamp(1rem, 2vw, 1.25rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .25rem;
  padding: .75rem 1.25rem;
  min-height: 3rem;
  text-decoration: none;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
}
.button-dark { color: #fffaf4; background: var(--wine); }
.button-dark:hover { background: #3e191d; }
.button:disabled { background: #e6d9d1; color: #61534f; cursor: default; }
.hero-photo { position: relative; min-width: 0; min-height: 24rem; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 55% 53%; }
.hero-photo p { position: absolute; right: .75rem; bottom: .75rem; padding: .25rem .6rem; font-size: .8125rem; background: var(--paper); color: var(--ink); }

.booking { display: grid; grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5.5rem); scroll-margin-top: 1.25rem; }
.booking-intro h2 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.03; letter-spacing: -.065em; margin-block: .35rem .75rem; }
.booking-intro > p { max-width: 33ch; }
.demo-note { color: var(--muted); font-size: .9rem; margin-top: .65rem; }
.booking-panel { background: var(--white); border: 1px solid var(--line); padding: clamp(1rem, 4vw, 2.25rem); min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
legend { padding: 0; margin-bottom: .75rem; font-weight: 700; }
.services { display: grid; gap: .5rem; }
.choice {
  display: flex;
  position: relative;
  align-items: center;
  gap: .65rem;
  padding: .7rem;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  cursor: pointer;
}
.choice:hover { border-color: var(--wine); }
.choice:has(:checked) { border-color: var(--wine); background: var(--selection); }
.choice:has(:focus-visible) { outline: 3px solid #a64921; outline-offset: 2px; }
.choice input { flex: 0 0 auto; margin: 0; width: 1.05rem; height: 1.05rem; accent-color: var(--wine); }
.service-duration { display: block; color: var(--muted); font-size: .875rem; }
.service-price { margin-left: auto; white-space: nowrap; color: var(--wine); font-size: .95rem; }
.dates, .times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.dates .choice, .times .choice { justify-content: center; text-align: center; }
.dates input, .times input { position: absolute; opacity: 0; pointer-events: none; }
.date-fieldset, .time-fieldset { margin-top: 1.25rem; }
.submit-row { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.submit-row p { color: var(--muted); margin-bottom: .75rem; }
.change-note { margin-bottom: 1rem; padding: .7rem; background: var(--selection); }
.link-button { background: transparent; color: var(--wine); border: 0; padding: .65rem; min-height: 3rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 600; cursor: pointer; }
.receipt h3 { font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.06; margin: .45rem 0 1rem; letter-spacing: -.05em; }
.receipt dl { margin: 0 0 1rem; }
.receipt dl > div { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--muted); font-size: .875rem; }
.receipt dd { font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-top: 1rem; }
#cancelled .button { margin-top: 1rem; }
#cancel-title { font-weight: 650; margin-top: 1rem; }
.footer { padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--muted); }
.footer p { font-size: .9rem; }

@media (max-width: 47rem) {
  .frame { width: calc(100% - 2rem); }
  .masthead { min-height: 4rem; }
  .hero, .booking { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 1.7rem 1.25rem 1.65rem; }
  h1 { margin-block: .55rem .85rem; }
  .intro { margin-bottom: 1rem; }
  .hero-photo { min-height: 0; aspect-ratio: 1.68; }
  .booking { padding-block: 2rem 2.75rem; gap: 1rem; }
}

@media (max-width: 22rem) {
  .frame { width: calc(100% - 1.5rem); }
  .dates, .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
