:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-alt: #f3efe8;
  --text: #2a2723;
  --muted: #6b645b;
  --border: #ddd5c8;
  --accent: #8a7865;
  --accent-strong: #756452;
  --radius: 14px;
  --shadow: 0 10px 25px rgba(42, 39, 35, 0.08);
  --container: 1080px;
  --section-y: clamp(3rem, 6vw, 5rem);
  --section-y-tight: clamp(2rem, 4vw, 3rem);
  --section-y-loose: clamp(4rem, 8vw, 6.5rem);
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: clamp(1.45rem, 2.5vw, 2.15rem);
  --text-hero: clamp(2.15rem, 4.5vw, 3.35rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

code {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.93em;
}

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

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 720px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-nav {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-book {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  display: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--surface-alt);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.7rem 1.15rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42, 39, 35, 0.1);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero {
  padding: 0;
}

.hero--fullbleed {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--surface-alt);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(248, 246, 242, 0.92) 0%,
    rgba(248, 246, 242, 0.78) 42%,
    rgba(248, 246, 242, 0.55) 100%
  );
}

.hero__bg--drift {
  animation: heroDrift 48s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    background-position: 45% 50%;
  }
  to {
    background-position: 55% 52%;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding: var(--section-y-loose) 0;
}

.hero__grid {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.hero__lede {
  max-width: 38rem;
}

.hero__aside {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 213, 200, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(243, 239, 232, 0.95);
  color: var(--muted);
  padding: 0.35rem 0.85rem;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-list li {
  margin-bottom: 0.35rem;
}

.section {
  padding: var(--section-y) 0;
}

.section--tight {
  padding: var(--section-y-tight) 0;
}

.section--loose {
  padding: var(--section-y-loose) 0;
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--image {
  position: relative;
  background-color: var(--surface-alt);
  background-size: cover;
  background-position: center;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 246, 242, 0.88) 0%,
    rgba(248, 246, 242, 0.94) 100%
  );
  pointer-events: none;
}

.section--image > .container {
  position: relative;
  z-index: 1;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.page-intro {
  padding: var(--section-y-loose) 0 var(--section-y);
}

.page-intro h1 {
  margin-bottom: 0.65rem;
}

.page-intro .lede {
  font-size: var(--text-lg);
  max-width: 38rem;
}

.band {
  padding: var(--section-y) 0;
}

.band--dark {
  background: #2a2622;
  color: #f3efe8;
  border: none;
}

.band--dark h2,
.band--dark h3,
.band--dark p,
.band--dark .quote {
  color: #f3efe8;
}

.band--dark p {
  color: rgba(243, 239, 232, 0.82);
}

.split {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--reverse > :first-child {
  order: 2;
}

.split--reverse > :last-child {
  order: 1;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-alt);
  aspect-ratio: 4 / 3;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-item h3 {
  margin-bottom: 0.35rem;
}

.feature-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  font-size: 0.92rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.quote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.35;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel--hero {
  padding: 2rem 1.75rem;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.panel--lift {
  box-shadow: var(--shadow);
}

.meta-list {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-banner {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.book-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

.book-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

.book-step__label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.calendly-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-height: 380px;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding: 1.75rem 0 2.25rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .top-nav {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .top-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    flex: 1 1 100%;
    order: 3;
    justify-content: stretch;
  }

  .hero__grid,
  .split,
  .split--reverse > :first-child,
  .split--reverse > :last-child,
  .card-grid,
  .steps,
  .feature-list,
  .book-steps {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child,
  .split--reverse > :last-child {
    order: unset;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: grid;
    padding: 0.85rem 1rem 1rem;
    gap: 0.25rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 12px 30px rgba(42, 39, 35, 0.08);
    justify-content: stretch;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero--fullbleed {
    min-height: min(92vh, 640px);
  }
}

@media (min-width: 901px) {
  .top-nav {
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: center;
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .reveal,
  .nav-links {
    transition: none;
  }

  .btn:hover {
    transform: none;
    box-shadow: none;
  }

  .hero__bg--drift {
    animation: none;
  }
}
