
:root {
  color-scheme: light;
  --paper: #f9f3eb;
  --surface: #fffdf9;
  --ink: #352329;
  --muted: #61504f;
  --plum: #582e49;
  --plum-dark: #45233a;
  --accent: #a3424e;
  --line: #e5d6cf;
  --input-line: #a78c8f;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 18px/1.5 var(--body);
  background: radial-gradient(ellipse at 2% 18%, #fffaf1 0%, transparent 50%), var(--paper);
}
button, input { font: inherit; }
a { color: var(--plum); text-underline-offset: .25em; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible {
  outline: 3px solid #a3424e;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: white;
}
.skip-link:focus { transform: none; }
.site-width { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 84px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font: 700 clamp(28px, 4vw, 39px)/1 var(--heading);
  color: var(--plum);
  letter-spacing: -.055em;
  white-space: nowrap;
  text-decoration: none;
}
.brand em { font-weight: 400; }
.brand span { color: var(--accent); }
.header-link { font-size: 16px; font-weight: 650; padding: 12px 0; }
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "intro booking" "photo booking";
  grid-template-rows: auto 1fr;
  column-gap: clamp(26px, 5.2vw, 76px);
  row-gap: 30px;
  align-items: start;
  padding-block: 50px 38px;
}
.story { display: contents; }
.intro { grid-area: intro; padding: 11px 0 0; }
.category {
  margin: 0 0 13px;
  color: var(--plum);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}
.intro h1 {
  margin: 0;
  max-width: 12ch;
  font: 400 clamp(48px, 6vw, 86px)/.99 var(--heading);
  color: var(--plum);
  letter-spacing: -.065em;
}
.intro h1 em { display: block; color: var(--accent); font-weight: 400; }
.intro > p:last-child { color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); max-width: 31ch; margin: 22px 0 0; }
.story-photo { grid-area: photo; }
.tea-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #c5a189;
  aspect-ratio: 1.44;
}
.tea-photo img { display: block; object-fit: cover; object-position: center 58%; width: 100%; height: 100%; }
.rooms-note { color: var(--muted); margin: 11px 0 0; font-size: 15px; }
.booking-card {
  grid-area: booking;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 3vw, 43px);
  box-shadow: 0 16px 48px -29px #59314066;
  scroll-margin-top: 20px;
}
.booking-card h2, .admin-page h1 {
  margin: 0;
  color: var(--plum);
  font: 400 clamp(35px, 4.5vw, 49px)/1.05 var(--heading);
  letter-spacing: -.05em;
}
.card-intro { color: var(--muted); margin: 10px 0 23px; }
.booking-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { color: var(--ink); font-weight: 650; }
.field-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
input {
  display: block;
  min-height: 54px;
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--input-line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
}
input::placeholder { color: #766566; opacity: 1; }
input[type="date"], input[type="time"] { appearance: auto; }
.stepper { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 7px; }
.stepper button {
  min-height: 54px;
  border: 1px solid var(--input-line);
  border-radius: 11px;
  background: #f4e8eb;
  color: var(--plum);
  font: 650 27px/1 var(--body);
}
.stepper button:disabled { opacity: .52; }
.stepper input { text-align: center; font-weight: 750; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.primary-button, .secondary-button {
  min-height: 54px;
  border-radius: 11px;
  border: 1px solid var(--plum);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.primary-button { background: var(--plum); color: #fff; }
.primary-button:hover:not(:disabled) { background: var(--plum-dark); }
.primary-button:disabled, .secondary-button:disabled { opacity: .64; }
.secondary-button { background: #fff; color: var(--plum); }
.secondary-button:hover:not(:disabled), .stepper button:hover:not(:disabled) { background: #ecd9e2; }
.form-note { margin: -7px 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.checkbox-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
  padding-block: 5px;
}
.checkbox-option input {
  accent-color: var(--plum);
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.message { margin: 0; padding: 9px 12px; border-radius: 9px; }
.error { color: #862c39; background: #fae9e9; }
.status-lookup { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 5px; }
.status-lookup summary {
  color: var(--plum);
  font-weight: 650;
  padding-block: 12px;
  cursor: pointer;
  font-size: 16px;
}
.status-lookup form { display: grid; gap: 8px; }
.lookup-result { margin: 4px 0 0; color: var(--plum); font-weight: 650; }
.lookup-result:empty { display: none; }
.space-picker fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.space-picker legend { font-weight: 700; margin-bottom: 8px; }
.space-picker p { margin: 0 0 10px; }
.room-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 8px; }
.room-choices label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 10px; min-height: 52px; font-size: 1rem; cursor: pointer; }
.room-choices label:has(:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); background: #f4e8eb; }
.room-choices input { width: 21px; height: 21px; min-height: 0; flex-shrink: 0; accent-color: var(--plum); margin: 0; }
.choose-time { border: 0; padding: 10px 0; color: var(--plum); background: none; text-decoration: underline; font-weight: 650; }
.receipt-mark {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  font-size: 29px;
  background: #efe3ed;
  color: var(--plum);
}
.receipt-details { background: #f7eee9; border-radius: 15px; padding: 18px 21px; }
.receipt-details p { margin: 0; text-transform: capitalize; }
.receipt-details span { display: block; color: var(--muted); margin: 12px 0 2px; font-size: 15px; }
.receipt-details strong { display: block; font-size: clamp(16px, 4vw, 24px); letter-spacing: .08em; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 17px 25px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.admin-page { min-height: 75vh; padding-block: 37px 55px; }
.admin-page > p { max-width: 58ch; color: var(--muted); }
.admin-list { display: grid; gap: 14px; margin-top: 24px; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.admin-card h2 { margin: 0; font-size: 23px; }
.admin-card p { margin: 3px 0; }
.admin-card .admin-status { color: var(--plum); font-weight: 650; margin: 10px 0; }
.admin-duration { display: grid; gap: 6px; width: min(100%, 260px); margin-top: 12px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 740px) {
  .site-width { width: calc(100% - 34px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .header-link { font-size: 14px; max-width: 15ch; text-align: right; line-height: 1.3; }
  .main-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "booking" "photo";
    grid-template-rows: auto;
    gap: 25px;
    padding-block: 20px 28px;
  }
  .intro { padding-top: 0; }
  .intro h1 { font-size: clamp(43px, 10vw, 62px); }
  .intro > p:last-child { margin-top: 13px; }
  .booking-card { border-radius: 19px; padding: 20px 16px; }
  .tea-photo { aspect-ratio: 1.62; border-radius: 18px; }
}
@media (max-width: 380px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

