:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #697169;
  --line: #d9ddd6;
  --paper: #f5f5ef;
  --white: #fff;
  --forest: #173b29;
  --forest-dark: #0d261a;
  --moss: #78906e;
  --sun: #d2a74d;
  --error: #8a2f27;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 59, 41, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 112px;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 10px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-dark);
  transition: top 160ms ease;
}
.skip-link:focus { top: 10px; }

.booking-header,
.booking-footer,
.booking-layout {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(23, 32, 25, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { display: grid; gap: 2px; }
.brand strong { font-family: Poppins, sans-serif; font-size: 0.88rem; font-weight: 600; }
.brand small { color: var(--muted); font-size: 0.68rem; }

.test-label {
  padding: 7px 10px;
  border: 1px solid rgba(23, 32, 25, 0.22);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(620px, 1.35fr);
  gap: clamp(44px, 7vw, 108px);
  align-items: center;
  min-height: calc(100dvh - 154px);
  padding-block: clamp(42px, 7vh, 92px);
}

.booking-introduction { align-self: center; }

.portrait-wrap {
  position: relative;
  width: min(290px, 90%);
  aspect-ratio: 4 / 5;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 34% 9% 28% 7% / 12% 30% 10% 26%;
  background: #d5d1c2;
}
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  border-radius: inherit;
}
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.92) contrast(0.99); }

.eyebrow,
.step-label {
  margin: 0 0 14px;
  color: var(--moss);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2, h3, p { letter-spacing: 0; }

h1 {
  max-width: 630px;
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.85rem, 5.2vw, 5.4rem);
  font-weight: 350;
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  max-width: 580px;
  margin: 27px 0 0;
  color: #374038;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.call-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 510px;
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 32, 25, 0.16);
}
.call-facts div { display: grid; gap: 6px; }
.call-facts dt { color: var(--muted); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.call-facts dd { margin: 0; font-size: 0.88rem; font-weight: 600; }

.quiet-note { max-width: 520px; margin: 23px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }

.booking-tool {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 80px rgba(34, 45, 37, 0.08);
}

.booking-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 124px;
  padding: 30px clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.booking-tool-head h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 350; }

.step-progress { display: flex; align-items: center; gap: 17px; margin: 0; padding: 0; list-style: none; }
.step-progress li { position: relative; display: grid; justify-items: center; gap: 5px; min-width: 39px; color: #a3a9a2; }
.step-progress li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 20px); width: 16px; height: 1px; background: var(--line); }
.step-progress span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; font-size: 0.7rem; }
.step-progress em { font-size: 0.61rem; font-style: normal; }
.step-progress .is-active { color: var(--forest); }
.step-progress .is-active span { border-color: var(--forest); color: var(--white); background: var(--forest); }

.booking-status { display: grid; place-items: center; align-content: center; gap: 18px; min-height: 520px; color: var(--muted); }
.booking-status p { margin: 0; }
.booking-status.is-error { padding: 48px; color: var(--error); text-align: center; }
.loading-mark { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--forest); border-radius: 50%; animation: spin 850ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.booking-stage { padding: clamp(26px, 4vw, 48px); }
.booking-stage[hidden], .booking-status[hidden] { display: none !important; }

.timezone-row { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: 0.76rem; }
.timezone-row label { color: var(--ink); font-weight: 600; }
.timezone-row select { max-width: 250px; padding: 7px 28px 7px 8px; border: 0; border-bottom: 1px solid var(--line); color: var(--forest); background: transparent; }
.timezone-row span { white-space: nowrap; }

.calendar-and-times { display: grid; grid-template-columns: minmax(340px, 1.12fr) minmax(190px, 0.72fr); gap: clamp(24px, 4vw, 52px); min-height: 376px; }
.calendar-panel { min-width: 0; }
.month-control { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; margin-bottom: 23px; }
.month-control h3 { margin: 0; text-align: center; font-family: Fraunces, Georgia, serif; font-size: 1.22rem; font-weight: 400; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible { border-color: var(--line); background: var(--paper); }
.icon-button:disabled { opacity: 0.24; cursor: default; }

.calendar-weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays { margin-bottom: 7px; color: #8c938d; font-size: 0.61rem; font-weight: 600; text-align: center; text-transform: uppercase; }
.calendar-day { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: 50%; color: #aeb2ae; background: transparent; font-size: 0.79rem; }
button.calendar-day { color: var(--ink); cursor: pointer; }
button.calendar-day::after { content: ""; position: absolute; bottom: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--moss); }
button.calendar-day:hover, button.calendar-day:focus-visible { border-color: var(--moss); background: rgba(120, 144, 110, 0.08); }
button.calendar-day.is-selected { border-color: var(--forest); color: var(--white); background: var(--forest); }
button.calendar-day.is-selected::after { background: var(--sun); }
.calendar-day.is-outside { opacity: 0.35; }

.times-panel { padding-left: clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); }
.times-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; min-height: 46px; margin-bottom: 14px; }
.times-heading p { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1rem; line-height: 1.25; }
.times-heading span { color: var(--muted); font-size: 0.67rem; white-space: nowrap; }
.times-list { display: grid; align-content: start; gap: 8px; max-height: 298px; padding-right: 5px; overflow: auto; scrollbar-width: thin; }
.time-button { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--forest); background: transparent; font-weight: 600; cursor: pointer; }
.time-button:hover, .time-button:focus-visible { border-color: var(--forest); background: rgba(23, 59, 41, 0.04); }
.time-button.is-selected { border-color: var(--forest); color: var(--white); background: var(--forest); }
.empty-times { margin: 16px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }

.booking-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.booking-actions p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.45; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}
.primary-button:hover, .primary-button:focus-visible { background: var(--forest-dark); transform: translateY(-1px); }
.primary-button:disabled { border-color: #afb5af; background: #afb5af; cursor: not-allowed; transform: none; }

.back-button, .text-button { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 0.75rem; text-decoration: none; cursor: pointer; }
.back-button:hover, .back-button:focus-visible, .text-button:hover, .text-button:focus-visible { color: var(--forest); border-color: var(--forest); }

.chosen-time { margin: 24px 0 30px; padding: 20px 0; border-block: 1px solid var(--line); }
.chosen-time strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.28rem; font-weight: 400; }
.chosen-time span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.76rem; }

.booking-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-form label:not(.consent-row):not(.honeypot) { display: grid; gap: 8px; }
.booking-form label > span { font-size: 0.73rem; font-weight: 600; }
.booking-form label small { color: var(--muted); font-weight: 400; }
.booking-form input[type="text"], .booking-form input[type="email"], .booking-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bfc5bf;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.booking-form input[type="text"], .booking-form input[type="email"] { min-height: 44px; }
.booking-form textarea { padding: 10px 0; resize: vertical; }
.booking-form input:focus, .booking-form textarea:focus { border-color: var(--forest); }
.consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 0.73rem; line-height: 1.5; }
.consent-row input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--forest); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.confirm-button { justify-self: start; }
.privacy-note { margin: -7px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.form-error { margin: 0; color: var(--error); font-size: 0.78rem; }

.confirmation-stage { display: grid; justify-items: start; align-content: center; min-height: 550px; max-width: 640px; margin-inline: auto; }
.confirmation-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 26px; border: 1px solid var(--moss); border-radius: 50%; color: var(--forest); }
.confirmation-stage h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 350; line-height: 1; }
.confirmation-stage > p:not(.eyebrow):not(.quiet-note) { max-width: 570px; color: #3f4740; line-height: 1.65; }
.confirmation-time { margin: 25px 0 7px; color: var(--ink) !important; font-family: Fraunces, Georgia, serif; font-size: 1.25rem; }
.confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 24px; }

.booking-footer { display: flex; justify-content: space-between; gap: 18px; padding-block: 20px 28px; border-top: 1px solid rgba(23, 32, 25, 0.14); color: var(--muted); font-size: 0.7rem; }
.booking-footer a { color: inherit; }

@media (max-width: 1050px) {
  .booking-layout { grid-template-columns: 1fr; gap: 54px; align-items: start; }
  .booking-introduction { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: end; }
  .portrait-wrap { width: 220px; margin: 0; }
  h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); }
  .booking-tool { min-height: 650px; }
}

@media (max-width: 720px) {
  .booking-header, .booking-footer, .booking-layout { width: min(100% - 28px, 620px); }
  .booking-header { min-height: 72px; }
  .booking-layout { gap: 40px; min-height: 0; padding-block: 28px 50px; }
  .booking-introduction { display: block; }
  .portrait-wrap { width: 168px; margin: 0 0 22px; }
  .eyebrow { margin-bottom: 8px; }
  h1 { max-width: 12ch; font-size: clamp(2.65rem, 12vw, 3.4rem); }
  .lead { margin-top: 16px; font-size: 1rem; }
  .call-facts { margin-top: 25px; }
  .quiet-note { margin-top: 18px; }
  .booking-tool { min-height: 0; }
  .booking-tool-head { min-height: 108px; padding: 24px 20px; }
  .booking-tool-head h2 { font-size: 1.75rem; }
  .step-progress { gap: 8px; }
  .step-progress li { min-width: 27px; }
  .step-progress li:not(:last-child)::after { left: calc(50% + 14px); width: 7px; }
  .step-progress em { display: none; }
  .booking-stage { padding: 22px 18px 24px; }
  .timezone-row { align-items: start; flex-wrap: wrap; margin-bottom: 24px; }
  .timezone-row select { flex: 1; min-width: 180px; }
  .timezone-row span { width: 100%; }
  .calendar-and-times { grid-template-columns: 1fr; gap: 28px; }
  .times-panel { padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .times-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  .booking-actions { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .confirm-button { justify-self: stretch; }
  .confirmation-stage { min-height: 500px; }
  .confirmation-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .booking-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .test-label { display: none; }
  .call-facts { gap: 6px; }
  .call-facts dd { font-size: 0.78rem; }
  .calendar-day { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-mark { animation-duration: 1.6s; }
  .primary-button { transition: none; }
}
