:root {
  --ink: #203634;
  --muted: #5d716e;
  --deep-teal: #245f5b;
  --teal: #2f8f89;
  --soft-teal: #dcefeb;
  --sage: #e8eee4;
  --linen: #fbf7ef;
  --warm: #f1dfcc;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(24, 51, 48, 0.16);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(36, 95, 91, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(36, 95, 91, 0.25);
  border-radius: 50%;
  color: var(--deep-teal);
  background: linear-gradient(145deg, var(--soft-teal), var(--white));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

.site-nav a {
  text-decoration: none;
  color: #304a47;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--deep-teal);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--deep-teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 95, 91, 0.22);
  border-radius: 999px;
  background: var(--white);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep-teal);
}

.hero {
  position: relative;
  min-height: calc(86svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/abide-garden-light.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.94) 0%, rgba(251, 247, 239, 0.83) 42%, rgba(251, 247, 239, 0.38) 72%, rgba(251, 247, 239, 0.18) 100%),
    linear-gradient(0deg, rgba(251, 247, 239, 0.92) 0%, rgba(251, 247, 239, 0) 30%);
}

.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 10vw, 122px) 0 clamp(68px, 10vw, 118px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--deep-teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: #385b56;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.hero-actions,
.connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--deep-teal);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(36, 95, 91, 0.24);
}

.button-secondary {
  border-color: rgba(36, 95, 91, 0.26);
  color: var(--deep-teal);
  background: rgba(255, 255, 255, 0.76);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.section-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.flow p,
.section-copy,
.section-heading p,
.connect-shell p {
  color: var(--muted);
  font-size: 18px;
}

.flow p:last-child,
.section-heading p:last-child,
.connect-shell p:last-child,
.safety-panel p:last-child {
  margin-bottom: 0;
}

.intro-band {
  background: var(--linen);
}

.direction-band {
  background: linear-gradient(180deg, #fffaf2, var(--sage));
}

.direction-layout,
.support-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: start;
}

.direction-panel,
.support-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(36, 95, 91, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(48, 74, 71, 0.08);
}

.direction-copy {
  padding-top: 6px;
}

.care-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.care-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 650;
}

.care-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.expect-band {
  background: linear-gradient(180deg, var(--sage), #f7f4ec);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.topic {
  min-height: 196px;
  padding: 24px;
  border: 1px solid rgba(36, 95, 91, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 46px rgba(48, 74, 71, 0.07);
}

.topic-icon {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 18px;
  border-radius: 999px 999px 999px 3px;
  background: linear-gradient(135deg, #8cc6bd, #f0cfac);
  transform: rotate(-18deg);
}

.topic p {
  margin-bottom: 0;
  color: var(--muted);
}

.center-note {
  max-width: 740px;
  margin: 34px auto 0;
  text-align: center;
  color: #365c57;
  font-size: 21px;
  font-weight: 600;
}

.safety-band {
  background: #f8efe4;
}

.safety-panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--deep-teal);
  color: var(--white);
  box-shadow: var(--shadow);
}

.safety-panel p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.55;
}

.about-band {
  background: linear-gradient(180deg, #fffaf2, var(--soft-teal));
}

.schedule-band {
  background: linear-gradient(180deg, var(--soft-teal), #fffaf2);
}

.schedule-shell .section-heading {
  margin-bottom: 28px;
}

.scheduler {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
  align-items: start;
}

.login-panel,
.booking-panel,
.confirmation-panel {
  border: 1px solid rgba(36, 95, 91, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(48, 74, 71, 0.08);
}

.login-panel,
.booking-panel {
  padding: clamp(22px, 4vw, 32px);
}

.login-panel {
  width: min(100%, 540px);
}

.login-panel,
.booking-panel,
.confirmation-panel {
  grid-column: 1 / -1;
}

.login-panel h3,
.booking-panel h3,
.confirmation-panel h3 {
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.form-note {
  color: var(--muted);
  font-size: 15px;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  color: #304a47;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(36, 95, 91, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 143, 137, 0.2);
  border-color: var(--teal);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.text-button {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--deep-teal);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 3px 0;
}

.text-button:hover,
.text-button:focus-visible {
  text-decoration: underline;
}

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

fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.slot-grid label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.slot-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-grid span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 95, 91, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 800;
}

.slot-grid input:checked + span {
  background: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
}

.slot-grid input:focus-visible + span {
  outline: 3px solid rgba(47, 143, 137, 0.22);
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.confirmation-panel {
  padding: clamp(24px, 4vw, 38px);
}

.confirmation-panel p:not(.section-kicker) {
  color: var(--muted);
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

[hidden] {
  display: none !important;
}

.support-band {
  background: #f8efe4;
}

.support-panel h3 {
  margin-bottom: 12px;
}

.support-panel .button {
  margin-top: 24px;
}

.support-note {
  margin: 26px 0 0;
  color: var(--deep-teal);
  font-size: 20px;
  font-weight: 800;
}

.connect-band {
  background: var(--deep-teal);
  color: var(--white);
}

.connect-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.connect-shell .section-kicker,
.connect-shell p {
  color: rgba(255, 255, 255, 0.78);
}

.connect-shell h2 {
  max-width: 620px;
  margin-bottom: 12px;
}

.connect-shell p {
  max-width: 690px;
}

.site-footer {
  background: #173c39;
  color: rgba(255, 255, 255, 0.78);
}

.footer-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-shell p {
  margin-bottom: 6px;
}

.footer-shell strong {
  color: var(--white);
}

.footer-small {
  font-size: 13px;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(36, 95, 91, 0.16);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.94) 0%, rgba(251, 247, 239, 0.84) 50%, rgba(251, 247, 239, 0.96) 100%),
      linear-gradient(0deg, rgba(251, 247, 239, 0.8) 0%, rgba(251, 247, 239, 0) 35%);
  }

  .hero-inner {
    padding-top: 74px;
  }

  .two-column,
  .reverse,
  .topic-grid,
  .direction-layout,
  .scheduler,
  .support-shell,
  .connect-shell {
    grid-template-columns: 1fr;
  }

  .connect-shell {
    display: grid;
  }

  .topic {
    min-height: 0;
  }

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

  .booking-header {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .section-shell {
    width: calc(100% - 30px);
  }

  .hero-inner {
    width: calc(100% - 30px);
  }

  .hero-copy,
  .flow p,
  .section-copy,
  .section-heading p,
  .connect-shell p {
    font-size: 17px;
  }
}
