@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #F6F1E7;
  --bg-alt: #EFE6D4;
  --panel: #FFFDF8;
  --ink: #2B2420;
  --ink-soft: #6B6053;
  --accent: #A8552E;
  --accent-deep: #8A4324;
  --blush: #E9C7BC;
  --blush-soft: #F3DFD6;
  --green: #4A5D3A;
  --border: #DDD2BE;
  --radius: 4px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; max-width: 62ch; }
a { color: var(--accent-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
}

nav.links a:hover, nav.links a.active { color: var(--accent-deep); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #FFFDF8;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-deep); color: #FFFDF8; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 11px 23px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}
.btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.hero-scene {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.42;
  color: var(--accent-deep);
  max-width: 20ch;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-panel {
  background: var(--blush-soft);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}

.hero-panel .eyebrow {
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-panel ul { margin: 0; padding: 0; list-style: none; }
.hero-panel li {
  padding: 10px 0;
  border-top: 1px solid rgba(168, 85, 46, 0.18);
  font-size: 0.98rem;
  color: var(--ink);
}
.hero-panel li:first-child { border-top: none; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature h3 {
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Sequence (Method page) ---------- */

.sequence { position: relative; max-width: 760px; }

.seq-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: 48px;
  position: relative;
}

.seq-item:last-child { padding-bottom: 0; }

.seq-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--accent);
  color: var(--accent-deep);
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.seq-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -48px;
  width: 2px;
  background: var(--border);
}

.seq-item h3 { margin-bottom: 8px; }
.seq-item p { color: var(--ink-soft); }

/* ---------- Cards ---------- */

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.card.flagship {
  border: 2px solid var(--accent);
  background: #FFFBF5;
}

.card .tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--blush-soft);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.card ul { padding-left: 20px; margin: 20px 0; }
.card li { margin-bottom: 8px; color: var(--ink-soft); font-size: 0.97rem; }

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ---------- Pull quote ---------- */

.pull-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--accent-deep);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin: 36px 0;
  max-width: 52ch;
}

/* ---------- FAQ ---------- */

details.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
details.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  font-family: 'Work Sans', sans-serif;
  margin-left: 16px;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-body {
  padding-top: 14px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- Footer ---------- */

footer.site {
  background: var(--ink);
  color: #E7DFD1;
  padding: 52px 0 32px;
  margin-top: 40px;
}
footer.site a { color: #E7DFD1; }
footer.site .foot-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
footer.site .logo { color: #F6F1E7; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site nav a { text-decoration: none; font-size: 0.92rem; opacity: 0.85; }
footer.site nav a:hover { opacity: 1; }
footer.site .fine {
  font-size: 0.85rem;
  opacity: 0.6;
  border-top: 1px solid rgba(231, 223, 209, 0.15);
  padding-top: 22px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--green);
  color: #F4F1E6;
  padding: 56px 0;
  text-align: left;
}
.cta-band h2 { color: #F4F1E6; }
.cta-band p { color: #DCE3D3; }
.cta-band .btn { background: #F4F1E6; color: var(--green); }
.cta-band .btn:hover { background: #FFFFFF; }

/* ---------- Utility ---------- */

.center { text-align: center; }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--ink);
    cursor: pointer;
  }
  nav.links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px 26px;
    gap: 16px;
  }
}

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

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
