:root {
  color-scheme: dark;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #1c2128;
  --panel: #111821;
  --panel-soft: #151e29;
  --text-primary: #e6edf3;
  --text-secondary: #9aa7b4;
  --text-muted: #6e7681;
  --accent: #46d4ff;
  --accent-dim: #1fa3d1;
  --accent-soft: rgba(70, 212, 255, 0.12);
  --border: #30363d;
  --border-soft: #21262d;
  --success: #3fb950;
  --success-soft: rgba(63, 185, 80, 0.12);
  --danger: #f78166;
  --danger-soft: rgba(247, 129, 102, 0.14);
  --disabled: #202630;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --container: 1120px;
  --transition: 160ms ease;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #7ee0ff;
}

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

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.9);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  font-family: "lindsey-signature", cursive;
  color: var(--accent);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  outline: none;
}

.site-nav a.nav-cta {
  border: 1px solid rgba(70, 212, 255, 0.38);
  background: var(--accent-dim);
  color: #ffffff;
  font-weight: 800;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  background: var(--accent);
  color: #0d1117;
}

.hub-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 28px;
  align-items: start;
}

.intro-band,
.hub-panel,
.view-panel,
.booking-panel,
.step-card,
.booking-form,
.contact-form,
.confirmation {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-band {
  position: sticky;
  top: 96px;
  padding: 32px;
}

.booking-panel {
  padding: 22px;
}

.hub-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.view-panel {
  padding: 28px;
}

.view-panel .booking-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.panel-heading {
  margin-bottom: 22px;
}

.panel-heading p:last-child {
  margin-bottom: 0;
}

.hub-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.choice-button {
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 900;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.choice-button:hover,
.choice-button:focus-visible,
.choice-button.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: #ffffff;
  outline: none;
}

.eyebrow,
.step-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.fallback {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  font-weight: 800;
}

.status {
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(70, 212, 255, 0.24);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.status.error {
  border-color: rgba(247, 129, 102, 0.35);
  background: var(--danger-soft);
  color: var(--danger);
}

.timezone-note {
  margin: 12px 0 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 650;
}

.step-card {
  padding: 20px;
  box-shadow: none;
}

.step-heading,
.day-nav,
.slot-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calendar-range,
.slot-pager {
  color: var(--text-secondary);
  font-weight: 800;
}

.calendar-range {
  text-align: right;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--disabled);
}

.legend-dot.available {
  background: var(--success);
}

.legend-dot.booked {
  background: var(--danger);
}

.calendar-frame {
  position: relative;
  min-height: 532px;
  display: grid;
  align-items: start;
}

.calendar-frame.is-loading .calendar-grid {
  visibility: hidden;
}

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

.loading-card {
  min-height: 220px;
  border: 1px solid rgba(70, 212, 255, 0.18);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--panel-soft);
  color: var(--accent);
  box-shadow: inset 0 0 36px rgba(70, 212, 255, 0.06);
}

.calendar-frame .loading-card {
  position: absolute;
  inset: 0;
}

.booking-loading {
  margin-top: 18px;
  min-height: 160px;
}

.loading-word {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 800;
  animation: loading-pulse 1.8s ease-in-out infinite;
}

.loading-dots {
  display: inline-block;
  min-width: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  animation: loading-dots 1.3s steps(4, end) infinite;
}

@keyframes loading-pulse {
  0%,
  100% { opacity: 0.56; }
  50% { opacity: 1; }
}

@keyframes loading-dots {
  0% { width: 0; }
  100% { width: 1.2em; }
}

.calendar-weekday {
  min-height: 28px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-align: left;
}

.calendar-day:not(:disabled) {
  cursor: pointer;
}

.calendar-day.is-available {
  border-color: rgba(63, 185, 80, 0.42);
  background: var(--success-soft);
  font-weight: 800;
}

.calendar-day.is-booked {
  border-color: rgba(247, 129, 102, 0.36);
  background: var(--danger-soft);
  color: #ffb4a3;
}

.calendar-day.is-muted {
  background: var(--disabled);
  color: var(--text-muted);
}

.calendar-day.is-selected,
.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgba(70, 212, 255, 0.18);
}

.calendar-number {
  font-size: 1.05rem;
  font-weight: 900;
}

.calendar-meta {
  min-height: 1.1em;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.day-nav {
  margin-bottom: 18px;
  text-align: center;
}

.day-nav button,
.slot-pager button,
.text-button {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--bg-tertiary);
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.day-nav button:hover:not(:disabled),
.slot-pager button:hover:not(:disabled),
.text-button:hover {
  border-color: var(--accent);
}

.day-nav button:disabled,
.slot-pager button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

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

.slot {
  min-height: 74px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  gap: 5px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.slot-primary {
  font-weight: 900;
}

.slot-secondary {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 750;
}

.slot:hover,
.slot:focus-visible,
.slot.selected {
  border-color: var(--accent);
  outline: 2px solid rgba(70, 212, 255, 0.16);
}

.text-button {
  width: 100%;
  margin-top: 14px;
}

.booking-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 20px;
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.contact-status {
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text-secondary);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--text-primary);
  background: var(--bg-primary);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(70, 212, 255, 0.18);
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--accent-dim);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--accent);
  color: #0d1117;
}

.selected,
.confirmation {
  color: var(--accent);
  font-weight: 850;
}

.confirmation {
  padding: 22px;
  border-color: rgba(63, 185, 80, 0.32);
  background: var(--success-soft);
  box-shadow: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-secondary);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 18px;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    justify-content: center;
    border: 1px solid var(--border-soft);
  }

  .hub-shell {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .intro-band {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 16px;
  }

  .hub-shell {
    width: min(100% - 20px, 1180px);
    padding: 22px 0;
  }

  .intro-band,
  .view-panel,
  .booking-panel,
  .step-card,
  .booking-form {
    padding: 16px;
  }

  .contact-form {
    padding: 0;
  }

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

  .step-heading,
  .day-nav,
  .slot-pager {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-range {
    text-align: left;
  }

  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 64px;
    padding: 8px 6px;
  }

  .calendar-meta {
    font-size: 0.62rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
