:root {
  --paper: #f7f3e8;
  --paper-deep: #eee6d5;
  --paper-line: #d8ccb6;
  --olive: #354934;
  --olive-deep: #263e2f;
  --olive-soft: #5c6d55;
  --gold: #d4a441;
  --gold-deep: #a87427;
  --ink: #26372a;
  --muted: #596758;
  --warning: #8b5d22;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --page-width: 1180px;
  --section-space: clamp(5rem, 9vw, 9rem);
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(247, 243, 232, 0.94), rgba(247, 243, 232, 0.94)),
    repeating-linear-gradient(0deg, rgba(53, 73, 52, 0.04) 0 1px, transparent 1px 4px);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 4px;
}

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

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

h1,
h2,
h3 {
  color: var(--olive-deep);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 600px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.75rem, 5.55vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 5.4vw, 5.1rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

p {
  max-width: 68ch;
}

.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border: 2px solid var(--olive-deep);
  background: var(--paper);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--paper-line);
  background: rgba(247, 243, 232, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--page-width));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 3.25rem);
}

.site-nav a,
.site-footer a {
  font-size: 18px;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--gold-deep);
}

.nav-demo-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--olive-soft);
}

.menu-toggle {
  display: none;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive-deep);
  font: inherit;
  cursor: pointer;
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(calc(100% - 3rem), var(--page-width));
  min-height: min(700px, calc(100vh - 130px));
  margin: 2rem auto 0;
  border: 1px solid var(--paper-line);
  background: var(--paper-deep);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(247, 243, 232, 0.99) 0%,
    rgba(247, 243, 232, 0.94) 36%,
    rgba(247, 243, 232, 0.62) 55%,
    rgba(247, 243, 232, 0.16) 76%,
    rgba(247, 243, 232, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(700px, 62%);
  min-height: min(700px, calc(100vh - 130px));
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3.2vw, 3.5rem);
}

.eyebrow,
.owner-kicker,
.detail-label {
  margin-bottom: 1.2rem;
  color: var(--olive-soft);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 31rem;
  margin-bottom: 1rem;
  color: var(--olive-deep);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.42;
}

.hero-audience {
  max-width: 31rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
  background: var(--olive-deep);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.hero-rhythm {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.6rem 1rem;
  width: 100%;
  padding: 1rem 0 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--paper-line);
  color: var(--muted);
  list-style: none;
}

.hero-rhythm li {
  font-size: 18px;
}

.hero-rhythm li:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: var(--gold-deep);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: #d6c4a2;
}

.hero,
.section {
  scroll-margin-top: 110px;
}

.hero-art::after {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.8rem;
  left: 2rem;
  height: 1px;
  background: rgba(53, 73, 52, 0.35);
  content: "";
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: right center;
}

.hero-art[data-image-state="error"]::before {
  position: absolute;
  inset: 1.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper-line);
  background: var(--paper-deep);
  color: var(--olive-deep);
  content: "Supporting illustration unavailable in this preview.";
  text-align: center;
}

.section {
  width: min(calc(100% - 3rem), var(--page-width));
  margin: var(--section-space) auto 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  max-width: 12ch;
}

.section-heading > p:last-child {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.2rem;
}

.program {
  padding-top: var(--section-space);
  border-top: 1px solid var(--paper-line);
}

.program-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 4vw, 4rem);
  margin-top: 4.25rem;
}

.program-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--olive);
}

.step-number {
  margin: -0.15rem 0 0;
  color: var(--gold-deep);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.program-step p:last-child,
.approach-notes p {
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--olive-deep);
  color: var(--paper);
}

.approach h2,
.approach h3 {
  color: var(--paper);
}

.approach .eyebrow,
.approach .detail-label {
  color: #e7c876;
}

.approach-lead {
  padding-right: clamp(1rem, 5vw, 5rem);
}

.approach-lead p:last-child,
.approach-detail p:last-child,
.approach-notes p {
  color: #e2e6d7;
}

.approach-detail {
  align-self: end;
  padding: 1.8rem 0 0 clamp(1rem, 5vw, 5rem);
  border-left: 1px solid rgba(247, 243, 232, 0.38);
}

.day-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid rgba(247, 243, 232, 0.38);
  border-bottom: 1px solid rgba(247, 243, 232, 0.38);
  color: #f2d690;
  font-size: 18px;
}

.approach-notes {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-top: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid rgba(247, 243, 232, 0.38);
}

.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: var(--section-space);
  border-top: 1px solid var(--paper-line);
}

.question-list {
  border-top: 2px solid var(--olive);
}

details {
  border-bottom: 1px solid var(--paper-line);
}

summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--olive-deep);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--gold-deep);
  content: "+";
  flex: 0 0 auto;
  font-size: 1.75rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 52ch;
  padding: 0 2.5rem 1.4rem 0;
  margin-bottom: 0;
  color: var(--muted);
}

.owner-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 2px dashed var(--warning);
  background: #fbf5e7;
}

.owner-kicker {
  margin-bottom: 1rem;
  color: var(--warning);
}

.owner-preview h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.owner-preview-copy > p:last-child {
  color: var(--muted);
}

.media-status {
  align-self: center;
  min-height: 180px;
  padding: 1.5rem;
  border-left: 4px solid var(--warning);
  background: rgba(255, 255, 255, 0.48);
}

.media-status-mark {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--warning);
}

.media-status strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--olive-deep);
  font-size: 1.2rem;
}

.media-status p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.media-status-source {
  color: var(--warning);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.media-status video {
  width: 100%;
  height: auto;
  border: 1px solid var(--paper-line);
}

.care-note {
  width: min(calc(100% - 3rem), var(--page-width));
  padding: 1.15rem 0;
  margin: var(--section-space) auto 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  color: var(--muted);
}

.care-note p {
  max-width: 80ch;
  margin-bottom: 0;
  font-size: 18px;
}

.site-footer {
  margin-top: var(--section-space);
  background: var(--olive-deep);
  color: var(--paper);
}

.footer-inner {
  min-height: 120px;
  gap: 1.25rem;
}

.footer-inner .brand,
.footer-inner a {
  color: var(--paper);
}

.footer-inner p {
  margin: 0;
  color: #e2e6d7;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    width: auto;
    min-height: 0;
    background:
      linear-gradient(rgba(247, 243, 232, 0.9), rgba(247, 243, 232, 0.9)),
      repeating-linear-gradient(135deg, rgba(53, 73, 52, 0.035) 0 1px, transparent 1px 5px);
  }

  .hero-art {
    position: relative;
    inset: auto;
    height: 420px;
    min-height: 0;
  }

  .hero-art img {
    min-height: 0;
  }

  .program-steps,
  .approach,
  .questions {
    grid-template-columns: 1fr;
  }

  .approach-detail {
    padding: 3rem 0 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(247, 243, 232, 0.38);
    border-left: 0;
  }

  .approach-notes {
    grid-template-columns: 1fr 1fr;
  }

  .questions {
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner,
  .hero,
  .section,
  .care-note {
    width: min(calc(100% - 2rem), var(--page-width));
  }

  .site-header {
    min-height: 72px;
  }

  .header-inner {
    position: relative;
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid var(--paper-line);
    background: var(--paper);
  }

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

  .site-nav a,
  .nav-demo-link {
    min-height: 52px;
    align-items: center;
    padding: 0.85rem 0.4rem;
    border: 0;
    border-bottom: 1px solid var(--paper-line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    margin-top: 1rem;
  }

  .hero-copy {
    min-height: 0;
    padding: 3.1rem 1.4rem 2.25rem;
  }

  .hero-art,
  .hero-art img {
    min-height: 300px;
  }

  .hero-art::after {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .program,
  .questions {
    padding-top: 4rem;
  }

  .approach {
    padding: 2rem 1.4rem;
  }

  .approach-notes {
    grid-template-columns: 1fr;
  }

  .owner-preview {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }

  .media-status {
    min-height: 0;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem 0;
  }

  .footer-inner p {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.6rem;
  }

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

  .hero-rhythm li:not(:last-child)::after {
    display: none;
  }

  .day-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 350px) {
  .header-inner,
  .footer-inner,
  .hero,
  .section,
  .care-note {
    width: min(calc(100% - 1.25rem), var(--page-width));
  }

  .hero-copy,
  .approach,
  .owner-preview {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  h1 {
    font-size: 2.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
