:root {
  --ink: #17191a;
  --muted: #535b5d;
  --paper: #ffffff;
  --paper-deep: #f1f4f3;
  --stone: #d8dedd;
  --cinnabar: #a73422;
  --cinnabar-dark: #772315;
  --jade: #1f6450;
  --blue-ink: #233c42;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(23, 25, 26, 0.06);
  --header-height: 8.5rem;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #147264; outline-offset: 5px; }
[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }
.skip-link { position: fixed; z-index: 30; top: 1rem; left: 1rem; padding: 0.75rem 1rem; color: white; background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--stone);
  backdrop-filter: blur(18px);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}

.breadcrumbs { padding-inline: clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--stone); font-size: 0.875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.65rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.65rem; min-height: 44px; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jade); text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--muted); }
.site-nav a[aria-current] { color: var(--jade); background: #f1f7f4; }

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

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.875rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-signup { order: 3; flex-shrink: 0; }
.hero-pricing { color: var(--ink); font-size: 1.1rem; }
.hero-pricing span { color: var(--jade); font-size: 0.95rem; }

.site-nav a {
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(31, 100, 80, 0.1);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.8);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 3rem;
  max-width: 88rem;
  margin-inline: auto;
  padding: 3rem clamp(1rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 50rem;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cinnabar);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-tagline { color: var(--jade); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.4; }

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--cinnabar);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--cinnabar-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(23, 21, 18, 0.16);
  background: white;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin: 1.8rem 0 0;
}

.hero-facts div,
.practice-grid article,
.lead-form {
  background: white;
  border: 1px solid var(--stone);
  border-radius: 8px;
}

.hero-facts div {
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--stone);
  border-radius: 0;
}

.hero-facts dt {
  color: var(--jade);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  justify-self: center;
}

.hero-media::before {
  content: none;
}

.hero-media img {
  width: min(100%, 19rem);
  aspect-ratio: 414 / 689;
  object-fit: contain;
}

.intro-band,
.section,
.video-section {
  padding: 4.5rem max(1.5rem, calc((100% - 78rem) / 2));
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  color: var(--white);
  background: var(--blue-ink);
}

.intro-band p:last-child {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.12rem;
}

.intro-band .eyebrow {
  color: #ade3cf;
}

.split,
.lineage,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-copy,
.section-heading,
.lineage-copy,
.contact-copy {
  max-width: 44rem;
}

.section-copy p,
.section-heading p,
.lineage-copy p,
.contact-copy p {
  color: var(--muted);
}

.link-row a {
  padding: 0.65rem 0.8rem;
  color: var(--blue-ink);
  border: 1px solid rgba(21, 58, 91, 0.18);
  border-radius: 4px;
  background: rgba(21, 58, 91, 0.06);
  font-weight: 800;
  text-decoration: none;
}

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

.practice-grid article {
  padding: 1.3rem;
}

.practice-grid span {
  color: var(--cinnabar);
  font-weight: 800;
}

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

.schedule-section {
  background: var(--paper-deep);
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: start;
}
.benefits-section { border-bottom: 1px solid var(--stone); }
.research-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.research-notes article { padding-top: 1rem; border-top: 2px solid var(--jade); }
.research-notes h3 { font-size: 1.2rem; }
.research-notes p { color: var(--muted); }
.research-notes a { color: var(--jade); text-underline-offset: 3px; }
.research-caveat { max-width: 65rem; color: var(--muted); font-size: 0.875rem; margin: 1.5rem 0 0; }
@media (max-width: 700px) { .research-notes { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
.schedule-section .section-heading { margin: 0; }
.schedule-section h2 { font-size: 2rem; }
.schedule-section .section-heading p { margin-bottom: 0.75rem; }
.schedule-section .section-heading a { color: var(--jade); font-weight: 650; }
.schedule { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-variant-numeric: tabular-nums; }
.schedule th, .schedule td { padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--stone); vertical-align: top; }
.schedule th:first-child { width: 38%; padding-left: 0; }
.schedule thead th { color: var(--jade); font-size: 0.875rem; }
.schedule tbody th { font-weight: 650; }
.schedule time { display: block; white-space: nowrap; }
.schedule td > span { color: var(--muted); font-size: 0.875rem; }
@media (max-width: 800px) { .schedule-section { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

.membership-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--stone);
}

.membership-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.membership-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--ink);
  background: white;
  border: 1px solid var(--stone);
  border-radius: 8px;
}
.membership-card.annual-plan { border: 2px solid var(--jade); }
.plan-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.savings-badge { color: var(--jade); font-size: 0.9rem; font-weight: 800; }
.membership-card h3 { font-size: 1.25rem; }
.membership-card .plan-price { margin: 1.5rem 0 0.75rem; color: var(--ink); }
.membership-card .billing-terms { min-height: 3rem; margin: 0; }
.membership-card .button { margin-top: auto; width: 100%; }
.membership-footnote { max-width: 56rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 0.9rem; }

.price {
  display: block;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.95;
}

.price-note {
  color: var(--muted);
  font-weight: 800;
}

.membership-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0;
  padding-left: 1.1rem;
}

.membership-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.membership-card code {
  color: var(--white);
  background: rgba(255, 250, 241, 0.14);
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-pair figure:first-child img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.image-pair figure:last-child img {
  aspect-ratio: 545 / 329;
  object-fit: contain;
}

figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.credential-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.video-section {
  background: #11100e;
}

.video-section .section-heading {
  color: var(--white);
}

.video-section .section-heading p {
  color: rgba(255, 250, 241, 0.76);
}

.video-frame {
  position: relative;
  width: min(68rem, 100%);
  margin-top: 2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-section {
  background: var(--paper-deep);
}

address {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.8rem;
  color: var(--ink);
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

textarea {
  resize: vertical;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.message-result { border-top: 1px solid var(--stone); padding-top: 1.5rem; }
.message-preview { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; }
.message-result .form-note { margin-top: 1rem; }
.email-fallback { display: inline-block; margin: 0.75rem; }
address a { overflow-wrap: anywhere; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  color: rgba(255, 250, 241, 0.72);
  background: #11100e;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}
.footer-details { min-width: 0; }
.footer-details address { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; margin: 0.5rem 0 0; font-style: normal; font-size: 0.9rem; }
.footer-details address a { max-width: 100%; }
.site-footer a:hover { text-decoration: underline; }

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

code {
  padding: 0.12rem 0.28rem;
  border-radius: 4px;
  background: rgba(21, 58, 91, 0.1);
  font-size: 0.92em;
}

@media (max-width: 980px) {
  .intro-band,
  .split,
  .lineage,
  .contact-section,
  .membership-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 1.5rem;
  }

  h1 { font-size: 3rem; }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: center;
  }

  .image-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-signup { order: 0; margin-left: auto; padding: 0.6rem 0.8rem; font-size: 0.9rem; }
  .header-main { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 0.5rem; }
  .breadcrumbs { padding-inline: 1rem; }
  .nav-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: 0;
  }

  .nav-ready .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    background: white;
    border: 1px solid rgba(88, 72, 48, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

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

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

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-media::before {
    inset: 1rem -0.7rem -0.7rem 0.7rem;
  }
}

@media (max-width: 640px) {
  .membership-plans { grid-template-columns: minmax(0, 1fr); }
  .site-header[data-header] .brand strong { max-width: 8rem; font-size: 0.88rem; }
  .site-header[data-header] .brand small { display: none; }
  .site-header[data-header] .brand { gap: 0.5rem; }
  .site-header[data-header] .brand-mark { width: 36px; height: 36px; }
  .image-pair { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 2rem 1.25rem; gap: 2rem; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .hero-tagline { font-size: 1.25rem; }
  .hero-media img { width: min(15rem, 100%); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .intro-band, .section, .video-section { padding: 3rem 1.25rem; }
  .schedule th, .schedule td { padding: 0.75rem 0.35rem; }
  .schedule time { display: block; margin: 0; }
  .hero-actions .button { flex: 1 1 9rem; }
  .site-nav { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .site-header[data-header] .brand strong { max-width: 5.5rem; font-size: 0.82rem; }
  .site-header[data-header] .header-signup { padding-inline: 0.65rem; }
}

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