/* Ink and coral. The neutrals are warm paper rather than the green-tinted
   greys this page used to carry, so the photographer's own photograph is the
   only saturated thing on screen. Coral is spent only on the booking action. */
:root {
  color-scheme: light;
  --background: #f5f1ec;
  --surface: #ffffff;
  --surface-muted: #ece6df;
  --text: #161a22;
  --text-muted: #5f6675;
  --border: #ddd5cb;
  --accent: #1e2a4a;
  --accent-strong: #131c33;
  --accent-soft: #e5e8f0;
  --coral: #c8552f;
  --focus: #4a5f96;
  --error: #a93232;
  --shadow: 0 12px 34px rgba(22, 26, 34, 0.1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #12151c;
  --surface: #1a1e27;
  --surface-muted: #232834;
  --text: #f1f2f5;
  --text-muted: #a8afbf;
  --border: #39404f;
  --accent: #9fb2dc;
  --accent-strong: #c2cded;
  --accent-soft: #232c42;
  --coral: #f08a64;
  --focus: #8fa4d8;
  --error: #ff9e9e;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #12151c;
    --surface: #1a1e27;
    --surface-muted: #232834;
    --text: #f1f2f5;
    --text-muted: #a8afbf;
    --border: #39404f;
    --accent: #9fb2dc;
    --accent-strong: #c2cded;
    --accent-soft: #232c42;
    --coral: #f08a64;
    --focus: #8fa4d8;
    --error: #ff9e9e;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent);
  outline-offset: 2px;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(570px, 58%) minmax(360px, 42%);
  min-height: 100vh;
}

.booking-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--surface);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 820px);
  margin-inline: auto;
  padding-inline: 40px;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 4px solid var(--accent);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--coral);
}

.brand-mark::before {
  top: 11px;
  left: -6px;
  width: 42px;
  height: 4px;
  transform: rotate(-45deg);
}

.brand-mark::after {
  top: 13px;
  left: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.preview-badge {
  padding: 5px 8px;
  color: var(--coral);
  border: 1px solid color-mix(in srgb, var(--coral) 42%, var(--border));
  border-radius: 4px;
  font-size: 0.69rem;
  font-weight: 750;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.booking-content {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 58px 40px 48px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.step-heading h1,
.success-state h1 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.08;
}

.step-heading > p:last-child,
.success-state > p {
  max-width: 580px;
  margin: 13px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 30px;
  border-bottom: 1px solid var(--border);
}

.progress-step {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 0 8px 13px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.progress-step:first-child {
  padding-left: 0;
}

.progress-step span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  background: var(--surface-muted);
  border-radius: 50%;
  font-size: 0.7rem;
}

.progress-step.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.progress-step.is-complete {
  color: var(--text);
}

.progress-step.is-active span,
.progress-step.is-complete span {
  color: #ffffff;
  background: var(--accent);
}

.progress-step:disabled {
  cursor: default;
  opacity: 0.72;
}

.step,
.success-state {
  display: none;
}

.step.is-active,
.success-state.is-active {
  display: block;
}

.session-list {
  display: grid;
  gap: 12px;
}

.session-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 16px;
  color: var(--text);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.session-option:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
}

.session-option.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.session-swatch {
  width: 8px;
  height: 58px;
  border-radius: 3px;
  background: var(--session-color);
}

.session-copy {
  min-width: 0;
}

.session-copy strong,
.session-copy span {
  display: block;
}

.session-copy strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.session-copy span {
  color: var(--text-muted);
  font-size: 0.81rem;
  line-height: 1.45;
}

.session-price {
  text-align: right;
}

.session-price strong,
.session-price span {
  display: block;
}

.session-price strong {
  font-size: 0.96rem;
}

.session-price span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}

.form-actions-end {
  justify-content: flex-end;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
}

.primary-button {
  color: #ffffff;
  background: var(--accent-strong);
  border: 1px solid var(--accent-strong);
}

.primary-button:hover {
  filter: brightness(1.08);
}

.secondary-button {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.field-group + .field-group {
  margin-top: 28px;
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-label h2 {
  margin: 0;
  font-size: 0.95rem;
}

.section-label span {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.date-button {
  min-width: 64px;
  min-height: 72px;
  padding: 9px 7px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.date-button span,
.date-button strong {
  display: block;
}

.date-button span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.date-button strong {
  margin-top: 6px;
  font-size: 1.15rem;
}

.date-button.is-selected,
.time-button.is-selected {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.date-button.is-selected span {
  color: rgba(255, 255, 255, 0.76);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.time-button {
  min-height: 42px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.empty-times {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: var(--text-muted);
  text-align: center;
  background: var(--surface-muted);
  border-radius: 6px;
}

.selection-summary,
.selected-booking {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--surface-muted);
  border-left: 4px solid var(--coral);
  border-radius: 4px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.selection-summary:empty {
  display: none;
}

.selected-booking {
  display: flex;
  justify-content: space-between;
  margin: 0 0 24px;
}

.selected-booking strong,
.selected-booking span {
  display: block;
}

.selected-booking span {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.selected-booking .booking-price {
  margin: 0;
  color: var(--text);
  text-align: right;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: block;
  min-width: 0;
}

.field.full-width {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.79rem;
  font-weight: 720;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.field input {
  height: 46px;
  padding: 0 12px;
}

.field textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.field input.is-invalid,
.consent-row input.is-invalid {
  border-color: var(--error);
}

.field-error {
  display: none;
  margin-top: 5px;
  color: var(--error);
  font-size: 0.72rem;
}

.field input.is-invalid + .field-error {
  display: block;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.79rem;
  line-height: 1.4;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.success-state {
  max-width: 580px;
  padding-top: 42px;
}

.success-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
}

.confirmation-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 24px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.confirmation-list dt {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.confirmation-list dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer {
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}

.site-footer a {
  color: var(--accent);
}

.photo-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #26372d;
}

.photo-panel::after {
  position: absolute;
  inset: 50% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(8, 18, 12, 0.78));
  pointer-events: none;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.photo-caption {
  position: absolute;
  z-index: 1;
  right: 36px;
  bottom: 34px;
  left: 36px;
  color: #ffffff;
}

.photo-caption p {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.photo-caption span {
  font-size: 0.78rem;
  opacity: 0.82;
}

@media (max-width: 900px) {
  .booking-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

  .photo-panel {
    position: relative;
    order: -1;
    width: 100%;
    height: 230px;
    min-height: 230px;
  }

  .photo-panel::after {
    inset: 20% 0 0;
  }

  .photo-panel img {
    object-position: 60% 43%;
  }

  .photo-caption {
    right: 24px;
    bottom: 20px;
    left: 24px;
  }

  .site-header,
  .site-footer,
  .booking-content {
    padding-inline: 24px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 76px;
  }

  .brand small,
  .preview-badge {
    display: none;
  }

  .booking-content {
    padding-top: 36px;
  }

  .step-heading h1,
  .success-state h1 {
    font-size: 2rem;
  }

  .progress-step {
    justify-content: center;
    padding-inline: 2px;
    font-size: 0;
  }

  .progress-step span {
    font-size: 0.7rem;
  }

  .session-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .session-price {
    grid-column: 2;
    text-align: left;
  }

  .session-price strong,
  .session-price span {
    display: inline;
  }

  .session-price span {
    margin-left: 7px;
  }

  .date-strip {
    grid-template-columns: repeat(7, 64px);
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full-width {
    grid-column: auto;
  }

  .selected-booking {
    display: block;
  }

  .selected-booking .booking-price {
    margin-top: 12px;
    text-align: left;
  }

  .form-actions .primary-button,
  .form-actions .secondary-button {
    flex: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .step.is-active,
  .success-state.is-active {
    animation: reveal 180ms ease-out;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Status line above the step heading: link state, live errors, and the
   preview warning that keeps invented availability from reading as real. */
.page-notice {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.page-notice.is-info {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--accent-soft);
  color: var(--text);
}

.page-notice.is-warn,
.page-notice.is-error {
  border-color: color-mix(in srgb, var(--coral) 45%, var(--border));
  background: color-mix(in srgb, var(--coral) 12%, var(--surface));
  color: var(--text);
}

.page-notice[hidden] {
  display: none;
}
