/* Brand: change these to restyle the whole theme */
:root {
  --forest: #0e1a14;
  --forest-2: #15251c;
  --forest-3: #1d3227;
  --ivory: #ece6d6;
  --ivory-dim: rgba(236, 230, 214, 0.68);
  --gold: #c8a96a;
  --gold-light: #e2c992;
  --sage: #8aa58a;
  --line: rgba(236, 230, 214, 0.16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--forest); color: var(--ivory); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0 0 20px; letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--gold); }
h1 { font-size: clamp(48px, 8vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: 32px; }
p { margin: 0 0 18px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ivory); color: var(--forest); padding: 10px 14px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.section { padding: 120px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p:last-child { color: var(--ivory-dim); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); background: var(--gold); color: var(--forest); font: 600 14px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 28px; text-decoration: none; cursor: pointer; transition: background 0.25s, color 0.25s; }
.button:hover { background: transparent; color: var(--gold); }
.button-ghost { background: transparent; color: var(--gold); padding: 11px 18px; font-size: 12px; }
.button-ghost:hover { background: var(--gold); color: var(--forest); }
.button-wide { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(14, 26, 20, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; font: 500 26px var(--font-display); text-decoration: none; letter-spacing: 0.02em; padding: 4px 0; }
.brand em { color: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; letter-spacing: 0.04em; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.button):hover { color: var(--gold); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--ivory); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: flex-end; padding: 120px 0 96px; background: radial-gradient(120% 90% at 80% 0%, var(--forest-3) 0%, var(--forest) 60%); }
.hero-lines { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(138, 165, 138, 0.06) 0 70px, transparent 70px 140px); mask-image: linear-gradient(to bottom, transparent, black 40%, black); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 1000px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 24px; }
.hero-foot p { max-width: 520px; color: var(--ivory-dim); font-size: 18px; margin: 0; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--forest-2); }
.marquee-track { display: flex; width: max-content; animation: drift 40s linear infinite; }
.marquee span { font: italic 500 30px var(--font-display); color: var(--ivory-dim); padding: 22px 36px; white-space: nowrap; }
.marquee span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); margin-left: 72px; vertical-align: middle; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Approach */
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; }
.large { font: 500 30px/1.3 var(--font-display); color: var(--ivory); }
.approach-copy > p:not(.large) { color: var(--ivory-dim); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.figures div { padding: 22px 16px 0 0; display: flex; flex-direction: column; justify-content: space-between; }
.figures dt { font-size: 13px; color: var(--ivory-dim); }
.figures dd { margin: 4px 0 0; font: 500 44px var(--font-display); color: var(--gold); }

/* Before / after */
.transformations { background: var(--forest-2); }
.reveal { position: relative; height: 480px; overflow: hidden; border: 1px solid var(--line); }
.reveal-panel { position: absolute; inset: 0; }
.before { background:
  radial-gradient(ellipse 160px 90px at 22% 30%, rgba(150, 128, 76, 0.95), transparent 70%),
  radial-gradient(ellipse 220px 120px at 68% 62%, rgba(138, 118, 68, 0.9), transparent 70%),
  radial-gradient(ellipse 120px 70px at 42% 82%, rgba(160, 140, 90, 0.9), transparent 70%),
  radial-gradient(ellipse 140px 90px at 86% 22%, rgba(120, 112, 66, 0.85), transparent 70%),
  radial-gradient(ellipse 90px 60px at 10% 75%, rgba(150, 128, 76, 0.8), transparent 70%),
  repeating-linear-gradient(90deg, #5d6b3c 0 6px, #66733f 6px 11px); }
.after { background: repeating-linear-gradient(90deg, #2f6b3f 0 90px, #275c36 90px 180px); clip-path: inset(0 0 0 50%); }
.tag { position: absolute; top: 20px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(14, 26, 20, 0.75); padding: 8px 14px; }
.before .tag { left: 20px; }
.after .tag { right: 20px; }
.reveal-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold); transform: translateX(-1px); pointer-events: none; }
.reveal-divider span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); }
.reveal-divider span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--forest); font-weight: 700; letter-spacing: 4px; }
.reveal-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.reveal-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 28px; color: var(--ivory-dim); }
.reveal-notes strong { color: var(--ivory); }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.program { padding: 40px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.program:last-child { border-right: 0; }
.program.featured { background: var(--forest-3); }
.program-num { font: italic 500 22px var(--font-display); color: var(--gold); margin-bottom: 18px; }
.program > p { color: var(--ivory-dim); }
.program ul { list-style: none; padding: 0; margin: 8px 0 28px; flex: 1; }
.program li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.program-price { font: 500 24px var(--font-display); color: var(--gold-light); }

/* Testimonial */
.journal { background: var(--forest-2); text-align: center; }
.journal blockquote { margin: 0 auto; max-width: 900px; }
.journal blockquote p { font: italic 500 clamp(26px, 3.4vw, 40px)/1.3 var(--font-display); }
.journal cite { font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* Consultation */
.consult-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.consult-grid > div > p { color: var(--ivory-dim); }
.contact-line a { color: var(--gold); }
.consult-form { border: 1px solid var(--line); padding: 36px; background: var(--forest-2); }
.field { margin-bottom: 22px; }
.field label, .field-label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ivory); font: 16px var(--font-body); padding: 10px 0; border-radius: 0; }
.field select option { background: var(--forest); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times label { position: relative; text-transform: none; letter-spacing: 0; color: var(--ivory); font-size: 14px; margin: 0; }
.times input { position: absolute; opacity: 0; }
.times span { display: block; border: 1px solid var(--line); padding: 9px 14px; cursor: pointer; }
.times input:checked + span { border-color: var(--gold); color: var(--gold); }
.times input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.form-success { min-height: 26px; margin: 16px 0 0; color: var(--gold-light); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--ivory-dim); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--gold); }

/* Tablet */
@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .approach-grid, .consult-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .program-grid { grid-template-columns: minmax(0, 1fr); }
  .program { border-right: 0; border-bottom: 1px solid var(--line); }
  .program:last-child { border-bottom: 0; }
  .menu-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--forest); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 0; }
  .primary-nav .button { margin-top: 10px; padding: 14px 18px; }
}

/* Phone */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding: 72px 0 64px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .reveal { height: 320px; }
  .reveal-notes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .large { font-size: 25px; }
  .consult-form { padding: 24px 20px; }
  .marquee span { font-size: 24px; padding: 16px 24px; }
}
