@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,600&family=Mulish:wght@400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clay: #B5623C;
  --sand: #E7D8C4;
  --cream: #F7F1E8;
  --olive: #3C4A32;
  --charcoal: #2A211B;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Mulish', system-ui, sans-serif;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --max-width: 76rem;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: currentColor; text-decoration: underline; text-underline-offset: 0.22em; }
a:hover { opacity: 0.82; }

.surface-cream { background-color: var(--cream); color: var(--charcoal); }
.surface-sand { background-color: var(--sand); color: var(--charcoal); }
.surface-olive { background-color: var(--olive); color: var(--cream); }
.surface-clay { background-color: var(--clay); color: var(--cream); }

.container { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.8vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 0.65rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: filter var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover { filter: brightness(1.06); box-shadow: 0 8px 28px rgba(42, 33, 27, 0.14); opacity: 1; }
.btn-primary { background: var(--clay); color: var(--cream); border-color: var(--clay); }
.btn-secondary { background: transparent; color: inherit; border-color: currentColor; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background-color: var(--cream);
  color: var(--charcoal);
  box-shadow: 0 1px 0 rgba(181, 98, 60, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo em { font-style: italic; color: var(--clay); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  font-family: inherit;
}

.main-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; }
.main-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

.main-nav a:hover,
.main-nav a.is-active { border-bottom-color: var(--clay); color: var(--clay); }

/* Hero Editorial Warmth — asymmetric, not 50/50 */
.hero-editorial {
  min-height: 100vh;
  padding-top: 5.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-editorial .hero-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(181, 98, 60, 0.35);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero-editorial .hero-rail .since { color: var(--clay); }

.hero-asymmetric {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  flex: 1;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}

.hero-content { max-width: 38rem; position: relative; z-index: 2; padding-bottom: 1rem; }
.hero-content h1 em { font-style: italic; color: var(--clay); }
.hero-lead { font-size: 1.125rem; line-height: 1.75; margin-top: 1.5rem; max-width: 34rem; }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 22rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px 120px 2px 2px;
  border: 3px solid var(--clay);
  box-shadow: -24px 32px 0 var(--sand);
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -2rem;
  right: -1.5rem;
  width: 55%;
  height: 70%;
  background: var(--clay);
  opacity: 0.12;
  border-radius: 50%;
  z-index: -1;
}

.hero-footnote {
  margin-top: auto;
  padding: 1rem 0 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42, 33, 27, 0.55);
  border-top: 1px solid rgba(181, 98, 60, 0.25);
}

.surface-olive .hero-footnote { color: rgba(247, 241, 232, 0.6); border-top-color: rgba(231, 216, 196, 0.2); }

/* Sections */
.section { padding: var(--section-pad) 0; }
.section-header { margin-bottom: 2.5rem; max-width: 40rem; }
.section-header h2 { margin-top: 0.5rem; }

.editorial-rule {
  width: 4.5rem;
  height: 2px;
  background: var(--clay);
  margin: 1.5rem 0 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 2.5rem 0;
}

.stat-band .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.pillar-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(181, 98, 60, 0.22);
  border-radius: 4px;
  background: rgba(247, 241, 232, 0.5);
}

.surface-olive .pillar-card {
  background: rgba(60, 74, 50, 0.6);
  border-color: rgba(231, 216, 196, 0.2);
}

.pillar-card .num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.photo-frame img { border-radius: 4px 48px 4px 4px; border: 2px solid var(--clay); }

.program-card,
.offer-card {
  position: relative;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid rgba(181, 98, 60, 0.25);
  margin-bottom: 1.25rem;
}

.program-card .serial,
.offer-card .serial {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.program-full {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(181, 98, 60, 0.2);
  margin-bottom: 0;
}

.program-full:last-of-type { border-bottom: none; }
.program-full .price { font-family: var(--font-display); color: var(--clay); font-size: 1.2rem; margin-top: 1rem; }

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  font-style: italic;
  padding: 2rem 0 2rem 2rem;
  border-left: 3px solid var(--clay);
  margin: 2.5rem 0;
}

.cta-band { text-align: center; padding: clamp(4rem, 8vw, 6rem) 1.5rem; }

.page-hero { padding: 7rem 0 3.5rem; }
.page-hero h1 { margin-top: 0.75rem; }
.content-wide { max-width: 44rem; }
.content-block { max-width: 38rem; margin-top: 1rem; }

/* FAQ */
.faq-list details,
.faq-mini details {
  border-bottom: 1px solid rgba(42, 33, 27, 0.12);
  padding: 1.35rem 0;
}

.faq-list summary,
.faq-mini summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker,
.faq-mini summary::-webkit-details-marker { display: none; }

.faq-list p { margin-top: 0.85rem; padding-right: 1rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid form { position: relative; width: 100%; max-width: 100%; }
.form-group { margin-bottom: 1.35rem; }
.form-group:not(.form-check) label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.875rem; letter-spacing: 0.04em; }
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(42, 33, 27, 0.22);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--charcoal);
}

.form-group textarea { min-height: 150px; resize: vertical; }
.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(42, 33, 27, 0.35);
  border-radius: 3px;
  background: #fff;
  accent-color: var(--clay);
}
.form-check label {
  flex: 1;
  min-width: 0;
  font-weight: 400;
  letter-spacing: normal;
  margin-bottom: 0;
}
.contact-grid form .btn { width: 100%; max-width: 100%; margin-top: 0.25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.info-card { padding: 2rem; border: 1px solid rgba(181, 98, 60, 0.25); border-radius: 4px; margin-bottom: 1.5rem; }
.info-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); font-weight: 700; color: var(--clay); }

/* Legal */
.legal-content h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.35rem; }

.price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.price-table th, .price-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid rgba(42, 33, 27, 0.12); }
.price-table th { font-weight: 700; color: var(--clay); }

/* Motion — no opacity:0 at rest without .js */
.reveal { opacity: 1; transform: none; }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; transition: none; }
}

/* Footer */
.site-footer { padding: 3.5rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.75;
}
.footer-grid ul { list-style: none; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-disclaimer {
  font-size: 0.8125rem;
  opacity: 0.78;
  border-top: 1px solid rgba(231, 216, 196, 0.25);
  padding-top: 1.5rem;
  margin-top: 1rem;
  line-height: 1.55;
}
.footer-copy { font-size: 0.8125rem; opacity: 0.55; margin-top: 1.25rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.35rem;
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 -6px 40px rgba(42, 33, 27, 0.25);
}

.cookie-banner[hidden] { display: none; }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-text { flex: 1; min-width: 240px; font-size: 0.875rem; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.cookie-actions button {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8125rem;
}

#cookie-accept-all { background: var(--clay); color: var(--cream); border-color: var(--clay); }

/* 404 */
.error-page { min-height: 72vh; display: flex; align-items: center; padding: 6rem 0 4rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-asymmetric { grid-template-columns: 1fr; }
  .hero-visual { min-height: 18rem; max-width: 28rem; margin-left: auto; }
  .hero-visual img { border-radius: 2px 80px 2px 2px; box-shadow: -16px 20px 0 var(--sand); }
  .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    color: var(--charcoal);
    padding: 1.25rem 1.25rem 1.5rem;
    display: none;
    box-shadow: 0 12px 32px rgba(42, 33, 27, 0.12);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.85rem; }
}
