:root {
  --surface: #f7f7f2;
  --surface-strong: #ffffff;
  --brand: #2d6c65;
  --brand-deep: #136f63;
  --brand-ink: #0b3f39;
  --accent: #cabd93;
  --accent-deep: #8f7f4e;
  --brand-soft: #e6f2ef;
  --text: #17332f;
  --muted: #55706b;
  --line: rgba(19, 111, 99, 0.18);
  --warning: #b65122;
  --success: #1f7a52;
  --shadow: 0 24px 70px rgba(15, 52, 47, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --navbar-offset: 112px;
  --navbar-width: min(calc(100% - 32px), var(--max-width));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(19, 111, 99, 0.92) 0%, rgba(45, 108, 101, 0.9) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: var(--navbar-offset) auto 56px;
  position: relative;
  z-index: 1;
}

.background-fauna {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}

.bg-iso {
  position: absolute;
  width: min(42vw, 700px);
  opacity: 0.26;
  filter: drop-shadow(0 18px 40px rgba(7, 36, 33, 0.16));
}

.bg-step-1 {
  top: 4%;
  right: -10%;
  transform: scaleX(-1);
}

.bg-step-2 {
  top: 26%;
  left: -10%;
}

.bg-step-3 {
  top: 52%;
  right: -12%;
  transform: scaleX(-1);
}

.bg-step-4 {
  top: 74%;
  left: -12%;
}

.site-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--navbar-width);
  z-index: 20;
}

.site-navbar .topbar {
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 111, 99, 0.12);
  box-shadow: 0 20px 50px rgba(15, 52, 47, 0.1);
  backdrop-filter: blur(14px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 10px 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.legal-footer {
  margin-top: 32px;
  padding-top: 24px;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid rgba(19, 111, 99, 0.14);
  align-items: flex-start;
  color: var(--text);
}

.legal-footer .footer-nav {
  width: 100%;
  justify-content: flex-start;
}

.legal-footer .footer-copy,
.legal-footer .footer-nav a {
  color: var(--text);
}

.legal-footer .footer-nav a {
  text-decoration-color: rgba(23, 51, 47, 0.28);
}

.legal-page {
  width: var(--navbar-width);
  margin: var(--navbar-offset) auto 56px;
}

.legal-shell {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(19, 111, 99, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-header {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.legal-navbar .topbar {
  justify-content: space-between;
}

.legal-navbar .navbar-actions {
  justify-content: flex-end;
}

.legal-header p:last-child {
  color: var(--muted);
  max-width: 68ch;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  display: grid;
  gap: 10px;
}

.legal-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-content li,
.legal-content p {
  color: var(--muted);
}

.hero,
.section,
.contact-panel {
  backdrop-filter: blur(8px);
}

.hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 243, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 380px;
  height: 380px;
  border-radius: 42% 58% 66% 34% / 44% 38% 62% 56%;
  background: linear-gradient(180deg, rgba(19, 111, 99, 0.18), rgba(45, 108, 101, 0.02));
  transform: rotate(-10deg);
}

.topbar,
.hero-grid,
.section-heading,
.calendar-summary,
.calendar-legend,
.story-grid,
.steps,
.photo-carousel,
.carousel-overlay,
.carousel-controls,
.contact-panel,
.calendar-months,
.calendar-grid,
.month-card,
.month-header,
.booking-form,
.form-actions,
.hero-actions,
.hero-points {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.navbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.brand-name {
  font-family: "Rye", serif;
  letter-spacing: 0.01em;
  font-weight: 400;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 10ch;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  max-width: 14ch;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.1;
}

p {
  margin: 0;
  line-height: 1.55;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--brand-deep);
  font-weight: 600;
}

.brand-lockup .eyebrow {
  font-family: "Recoleta", Georgia, serif;
  letter-spacing: 0.04em;
  text-transform: none;
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.top-cta,
.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 24px rgba(19, 111, 99, 0.22);
}

.button-secondary {
  color: var(--brand-deep);
  background: linear-gradient(135deg, #d8cea8 0%, var(--accent) 100%);
  border: 1px solid rgba(143, 127, 78, 0.2);
  box-shadow: 0 14px 24px rgba(202, 189, 147, 0.18);
}

.top-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "copy-top carousel"
    "copy-bottom card";
  gap: 24px;
  margin-top: 42px;
}

.hero-copy-top,
.hero-copy-bottom {
  display: grid;
  gap: 18px;
  padding: 8px 0;
}

.hero-copy-top {
  grid-area: copy-top;
  align-content: start;
}

.hero-copy-bottom {
  grid-area: copy-bottom;
  align-content: start;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.hero-points li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(202, 189, 147, 0.24);
}

.hero-card,
.photo-carousel,
.story-card,
.step-card,
.calendar-frame,
.contact-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 111, 99, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  grid-area: card;
  align-self: start;
}

.photo-carousel {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  background: #d8ece7;
  grid-area: carousel;
  align-self: start;
  padding: 0;
}

.carousel-track {
  position: relative;
  height: 100%;
  min-height: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.carousel-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.carousel-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.carousel-button:hover {
  background: #ffffff;
}

.card-label,
.summary-label {
  font-size: 0.85rem;
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.slots-badge {
  display: grid;
  gap: 2px;
}

.slots-badge strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.25rem;
  line-height: 0.95;
}

.slots-badge span {
  color: var(--muted);
}

.card-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(230, 242, 239, 0.9);
  width: fit-content;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
}

.section {
  margin-top: 28px;
  padding-left: 10px;
  padding-right: 10px;
  scroll-margin-top: 112px;
  position: relative;
}

.mobile-iso {
  display: none;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-left: 6px;
}

.section-heading > p:last-child {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.96);
}

.section-heading h3 {
  color: var(--brand-ink);
}

.section-heading .eyebrow {
  color: var(--accent);
}

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

.story-card,
.step-card {
  padding: 24px;
}

.story-card p,
.step-card p {
  color: var(--muted);
  margin-top: 12px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(202, 189, 147, 0.28);
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.calendar-frame {
  padding: 22px;
}

.calendar-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.calendar-feedback {
  min-height: 24px;
  margin-bottom: 12px;
  color: var(--muted);
}

.calendar-list {
  display: block;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.legend-swatch-featured {
  background: rgba(31, 122, 82, 0.18);
  border: 1px solid rgba(31, 122, 82, 0.34);
}

.legend-swatch-4 {
  background: rgba(19, 111, 99, 0.22);
  border: 1px solid rgba(19, 111, 99, 0.34);
}

.legend-swatch-3 {
  background: rgba(58, 116, 196, 0.22);
  border: 1px solid rgba(58, 116, 196, 0.34);
}

.legend-swatch-2 {
  background: rgba(202, 189, 147, 0.32);
  border: 1px solid rgba(143, 127, 78, 0.34);
}

.legend-swatch-1 {
  background: rgba(214, 128, 52, 0.26);
  border: 1px solid rgba(214, 128, 52, 0.36);
}

.legend-swatch-0 {
  background: rgba(138, 36, 53, 0.12);
  border: 1px solid rgba(138, 36, 53, 0.26);
}

.legend-swatch-past {
  background: rgba(74, 102, 97, 0.12);
  border: 1px solid rgba(74, 102, 97, 0.24);
}

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

.month-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(19, 111, 99, 0.1);
}

.month-header {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 16px;
}

.month-header p {
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}

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

.weekday-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  padding-bottom: 4px;
}

.calendar-day {
  min-height: 82px;
  padding: 8px 6px;
  border-radius: 14px;
  border: 1px solid rgba(19, 111, 99, 0.08);
  background: #fbfdfc;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  text-align: center;
}

.calendar-day.empty {
  background: transparent;
  border-color: transparent;
}

.calendar-day .day-number {
  font-weight: 600;
  font-size: 0.95rem;
}

.calendar-day .day-caption {
  display: none;
}

.calendar-metrics {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.calendar-metric {
  display: grid;
  gap: 2px;
  justify-items: center;
  font-size: 0.58rem;
  color: var(--text);
  line-height: 1;
}

.calendar-metric strong {
  color: var(--brand-deep);
  font-size: 0.58rem;
  font-weight: 600;
}

.calendar-metric span {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-day.thursday {
  background: rgba(223, 240, 236, 0.55);
  border-color: rgba(19, 111, 99, 0.22);
}

.calendar-day.available,
.calendar-day.centers-4,
.calendar-day.centers-3,
.calendar-day.centers-2,
.calendar-day.centers-1 {
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(31, 122, 82, 0.06);
}

.calendar-day.centers-4 {
  background: rgba(19, 111, 99, 0.18);
  border-color: rgba(19, 111, 99, 0.28);
}

.calendar-day.centers-4 .calendar-metric span {
  color: #0b5a50;
}

.calendar-day.centers-3 {
  background: rgba(58, 116, 196, 0.16);
  border-color: rgba(58, 116, 196, 0.28);
}

.calendar-day.centers-3 .calendar-metric span {
  color: #2557a1;
}

.calendar-day.centers-2 {
  background: rgba(202, 189, 147, 0.28);
  border-color: rgba(143, 127, 78, 0.28);
}

.calendar-day.centers-2 .calendar-metric span {
  color: #7a6738;
}

.calendar-day.centers-1 {
  background: rgba(214, 128, 52, 0.18);
  border-color: rgba(214, 128, 52, 0.32);
}

.calendar-day.centers-1 .calendar-metric span {
  color: #b95e18;
}

.calendar-day.full {
  background: rgba(255, 241, 244, 0.76);
  border-color: rgba(138, 36, 53, 0.2);
}

.calendar-day.full .calendar-metric span,
.calendar-day.past .calendar-metric span {
  color: #8a2435;
}

.calendar-day.past {
  background: rgba(244, 247, 246, 0.96);
  border-color: rgba(74, 102, 97, 0.14);
  opacity: 0.72;
}

.calendar-day.past .day-caption {
  color: #6b7e7a;
}

.calendar-day.selected {
  outline: 3px solid rgba(19, 111, 99, 0.24);
  transform: translateY(-1px);
}

.slot-pill {
  display: none;
}

.slot-pill.available {
  color: var(--success);
}

.slot-pill.limited {
  color: var(--warning);
}

.slot-pill.full {
  color: #8a2435;
}

.slot-pill.centers-4 {
  color: var(--brand-deep);
}

.slot-pill.centers-3 {
  color: #2d8a72;
}

.slot-pill.centers-2 {
  color: #6c7f4d;
}

.slot-pill.centers-1 {
  color: var(--accent-deep);
}

.contact-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 28px;
  align-content: center;
  justify-items: center;
  min-height: 100%;
}

.contact-logo {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.contact-info {
  display: grid;
  gap: 12px;
  color: var(--muted);
  justify-items: center;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
  text-align: center;
}

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

.booking-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 111, 99, 0.14);
  border-radius: 14px;
  background: #ffffff;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
}

.booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(19, 111, 99, 0.18);
  border-color: rgba(19, 111, 99, 0.3);
}

.form-full {
  grid-column: 1 / -1;
}

.form-status {
  color: var(--muted);
  align-self: center;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: #8a2435;
}

@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .steps,
  .contact-panel,
  .calendar-months,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy-top"
      "copy-bottom"
      "carousel"
      "card";
  }

  .topbar,
  .calendar-summary,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  h2,
  h3 {
    max-width: none;
  }

  .slot-pill {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  :root {
    --navbar-offset: 164px;
    --navbar-width: min(calc(100% - 18px), var(--max-width));
  }

  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
  }

  .background-fauna {
    display: none;
  }

  .mobile-iso {
    display: block;
    position: absolute;
    width: min(70vw, 360px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
  }

  .story .mobile-iso {
    top: -10px;
    right: -18%;
    transform: scaleX(-1);
  }

  .calendar-section .mobile-iso {
    top: 10px;
    left: -18%;
  }

  .how-it-works .mobile-iso {
    top: -6px;
    right: -20%;
    transform: scaleX(-1);
  }

  .contact-section .mobile-iso {
    top: 4px;
    left: -18%;
  }

  .section-heading,
  .story-grid,
  .calendar-frame,
  .steps,
  .contact-panel {
    position: relative;
    z-index: 1;
  }

  .site-navbar {
    top: 8px;
  }

  .site-navbar .topbar {
    padding: 12px 14px;
  }

  .legal-page {
    width: min(calc(100% - 18px), 920px);
  }

  .section {
    padding-left: 2px;
    padding-right: 2px;
  }

  .section-heading {
    padding-left: 2px;
  }

  .hero {
    border-radius: 24px;
    padding: 18px;
  }

  .hero::after {
    width: 260px;
    height: 260px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .hero-points li,
  .button,
  .top-cta {
    width: 100%;
  }

  .navbar-actions {
    width: 100%;
  }

  .calendar-frame,
  .story-card,
  .step-card,
  .contact-panel,
  .hero-card,
  .month-card {
    border-radius: 22px;
    padding: 18px;
  }

  .legal-shell {
    border-radius: 22px;
    padding: 18px;
  }

  .photo-carousel {
    border-radius: 22px;
    padding: 0;
  }

  .photo-carousel,
  .carousel-track {
    min-height: 240px;
    height: 240px;
  }

  .carousel-overlay {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .carousel-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .carousel-button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.96);
  }

  .calendar-grid {
    gap: 6px;
  }

  .calendar-day {
    min-height: 74px;
    padding: 6px 4px;
    gap: 4px;
  }

  .calendar-metric {
    font-size: 0.52rem;
  }

  .calendar-metric strong {
    font-size: 0.56rem;
  }

  .calendar-metric span {
    font-size: 0.86rem;
  }
}
