:root {
  color-scheme: light;
  --wine: #6b2438;
  --wine-dark: #4d1728;
  --rose: #f6e9e8;
  --ink: #282326;
  --muted: #766d70;
  --line: #e7dddc;
  --paper: #fffdfb;
  --bg: #f8f3ef;
  --error: #a32828;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top left, #f1e3dc 0, transparent 46%), var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }

.page-shell { width: min(100% - 32px, 1060px); margin: 0 auto; padding: 30px 0 22px; }
.brand-row { display: flex; align-items: center; gap: 12px; margin: 0 0 22px 4px; }
.brand-mark { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid #c99a7d; border-radius: 50%; color: var(--wine); background: #fffaf5; font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.brand-name { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 700; }
.eyebrow { margin: 0 0 4px; color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.brand-row .eyebrow { color: var(--muted); font-size: 10px; }

.booking-card { overflow: hidden; border: 1px solid rgba(107, 36, 56, .1); border-radius: 18px; background: var(--paper); box-shadow: 0 18px 55px rgba(60, 33, 35, .08); }
.intro { padding: 34px 38px 28px; background: linear-gradient(115deg, #fffaf4 0%, #f9eeeb 100%); border-bottom: 1px solid var(--line); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0; color: var(--wine-dark); font-size: clamp(29px, 4.5vw, 40px); line-height: 1.15; }
.intro-copy { max-width: 660px; margin: 11px 0 19px; color: #5f5659; }
.hours-note { display: flex; align-items: center; gap: 11px; color: #51494b; font-size: 13px; }
.clock-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fff; color: var(--wine); font-size: 23px; }
.hours-note strong { color: var(--wine-dark); }

form { padding: 28px 38px 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field > span { color: #383134; font-size: 13px; font-weight: 700; }
.field b { color: var(--wine); }
.field em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 400; }
input, select, textarea { width: 100%; border: 1px solid #d9cecd; border-radius: 8px; background: #fff; color: var(--ink); outline: none; transition: border-color .16s, box-shadow .16s; }
input, select { min-height: 46px; padding: 10px 12px; }
textarea { min-height: 98px; padding: 11px 12px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a3999a; }
input:focus, select:focus, textarea:focus { border-color: #9a5265; box-shadow: 0 0 0 3px rgba(107, 36, 56, .1); }
.field-error { min-height: 0; color: var(--error); font-size: 12px; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: 11px; }

.booking-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; margin: 32px 0 28px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.picker-section { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 51px; }
h2 { margin: 0; color: #392e32; font-size: 21px; line-height: 1.2; }
.section-heading .eyebrow { font-size: 10px; }
.month-controls { display: flex; gap: 7px; }
.icon-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--wine); cursor: pointer; font-size: 23px; line-height: 1; }
.icon-button:hover:not(:disabled) { border-color: #b77d8b; background: #fff8f8; }
.icon-button:disabled { color: #c4bcbc; cursor: not-allowed; }
.month-label { margin: 14px 0 9px; color: var(--wine-dark); font-size: 14px; font-weight: 700; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 5px; }
.weekday { padding: 5px 0; color: #918689; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }
.day-button { min-height: 37px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.day-button:hover:not(:disabled) { border-color: #c99aa4; background: #fff7f7; }
.day-button:disabled { color: #cbc3c3; cursor: not-allowed; text-decoration: line-through; }
.day-button.selected { border-color: var(--wine); background: var(--wine); color: #fff; font-weight: 700; }
.day-spacer { min-height: 37px; }
.selection-note { margin: 12px 0 0; color: var(--wine); font-size: 12px; font-weight: 700; }
.time-section { padding-left: 27px; border-left: 1px solid var(--line); }
.time-help { min-height: 38px; margin: 14px 0 10px; color: var(--muted); font-size: 12px; }
.time-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.time-button { min-height: 40px; border: 1px solid #ddcecf; border-radius: 8px; background: #fff; color: var(--wine-dark); cursor: pointer; font-size: 12px; font-weight: 700; }
.time-button:hover { border-color: #b77d8b; background: #fff8f8; }
.time-button.selected { border-color: var(--wine); background: var(--wine); color: #fff; }
.time-button:disabled { color: #c2baba; background: #f7f5f4; cursor: not-allowed; }
.lower-fields { grid-template-columns: 1fr; }
.submit-row { display: flex; align-items: center; gap: 17px; margin-top: 25px; }
.submit-button { min-height: 49px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--wine); color: #fff; cursor: pointer; font-weight: 750; box-shadow: 0 7px 17px rgba(107, 36, 56, .18); }
.submit-button:hover:not(:disabled) { background: var(--wine-dark); }
.submit-button:disabled { opacity: .65; cursor: wait; }
.submit-note { margin: 0; color: var(--muted); font-size: 12px; }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.form-status.success, .form-status.error, .form-status.pending { padding: 13px 15px; border-radius: 8px; font-size: 13px; }
.form-status.success { border: 1px solid #b5d5bf; background: #eff8f0; color: #205b31; }
.form-status.error { border: 1px solid #e4b5b5; background: #fff3f2; color: #8b2424; }
.form-status.pending { border: 1px solid #e6d6a7; background: #fff9e9; color: #655019; }
.status-button { margin-top: 12px; padding: 8px 12px; border: 1px solid var(--wine); border-radius: 7px; background: transparent; color: var(--wine); cursor: pointer; font-weight: 700; }
.status-button[hidden] { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.page-footer { display: flex; justify-content: space-between; gap: 15px; padding: 17px 5px 0; color: var(--muted); font-size: 11px; }
.page-footer a { color: var(--wine); font-weight: 700; text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid #b36f82; outline-offset: 2px; }

@media (max-width: 700px) {
  .page-shell { width: min(100% - 20px, 560px); padding-top: 16px; }
  .brand-row { margin-bottom: 14px; }
  .booking-card { border-radius: 13px; }
  .intro { padding: 25px 20px 22px; }
  form { padding: 22px 20px 25px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .booking-grid { grid-template-columns: 1fr; gap: 23px; margin: 25px 0 22px; padding: 22px 0; }
  .time-section { padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .calendar-grid { gap: 4px; }
  .day-button, .day-spacer { min-height: 40px; }
  .time-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .submit-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .submit-button { width: 100%; }
  .page-footer { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
