@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-baskerville-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/libre-baskerville-400italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/work-sans-var-latin.woff2") format("woff2");
}

:root {
  --hemlock: #1F2925;
  --hemlock-deep: #17201C;
  --green: #3E4743;
  --teal: #4D6E6F;
  --sage: #E9F1DF;
  --sage-pale: #F5F8EF;
  --sage-line: #C9D2C2;
  --sage-mid: #B5C29B;
  --sage-text: #D5DEC6;
  --gold: #ECB86B;
  --gold-hover: #F2C786;
  --gap-ink: #7A6232;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --pad-x: max(clamp(24px, 5vw, 72px), calc((100vw - 1296px) / 2));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--green);
  background: var(--sage-pale);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--hemlock); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
section[id] { scroll-margin-top: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--hemlock); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Full / open state. Default is open; main.js adds .is-full when the day is full. */
.when-full { display: none !important; }
.is-full .when-open { display: none !important; }
.is-full .when-full { display: inline-flex !important; }
.is-full form.when-full { display: flex !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 18px/1 var(--sans);
  padding: 20px 30px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}
.btn-gold { background: var(--gold); color: var(--hemlock); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold:active { transform: translateY(1px); }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px var(--pad-x) 0;
}
.brand img { height: 48px; width: auto; filter: drop-shadow(0 1px 10px rgba(23, 32, 28, 0.45)); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  color: var(--sage-pale); text-decoration: none; font-size: 15px; font-weight: 500;
  text-shadow: 0 1px 12px rgba(23, 32, 28, 0.6);
}
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-contact {
  padding: 10px 18px; border: 1px solid rgba(245, 248, 239, 0.45); border-radius: 999px;
  background: rgba(23, 32, 28, 0.25);
}
.site-nav .nav-contact:hover { border-color: var(--gold); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: max(760px, min(100svh, 940px));
  display: flex; flex-direction: column; justify-content: center;
  background: var(--hemlock); color: var(--sage-pale); overflow: hidden;
}
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 60% 50%; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero::before {
  background: linear-gradient(90deg, rgba(23,32,28,0.92) 0%, rgba(23,32,28,0.8) 45%, rgba(23,32,28,0.45) 68%, rgba(23,32,28,0.08) 92%);
}
.hero::after {
  background: linear-gradient(180deg, rgba(23,32,28,0.85) 0%, rgba(23,32,28,0) 220px);
}
.hero-copy { position: relative; z-index: 2; padding: 150px var(--pad-x) 72px; max-width: 1080px; }
.hero-kicker {
  font: 600 13px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  font: 400 clamp(56px, 8.6vw, 124px)/1 var(--serif); letter-spacing: -0.025em;
  color: var(--sage-pale); margin-top: 28px; max-width: 8ch; text-wrap: balance;
}
.hero-sub {
  font: italic 400 clamp(20px, 2.1vw, 30px)/1.35 var(--serif); color: var(--sage-text); margin-top: 22px;
}
.br-mobile { display: none; }
.facts { display: flex; margin-top: 44px; }
.facts > div { padding: 0 32px; border-left: 1px solid rgba(181, 194, 155, 0.35); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt {
  font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-mid);
}
.facts dd { font-size: 18px; font-weight: 500; line-height: 1.45; margin-top: 6px; white-space: nowrap; }
.cta-row { margin-top: 48px; }
.hero-note { font-size: 15px; line-height: 1.55; color: #C9D2C2; margin-top: 18px; max-width: 34em; }

/* Sections */
.section { padding: clamp(80px, 9.5vw, 140px) var(--pad-x); }
.expect { background: var(--sage-pale); }
.details { background: var(--sage); }
.questions { background: var(--sage-pale); }
.split {
  display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 580fr);
  column-gap: clamp(40px, 6.7vw, 96px); align-items: start;
  max-width: 1296px;
}
.split-head { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.split-head.sticky { position: sticky; top: 48px; }
.label {
  font: 600 13px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal);
}
.section h2 {
  font: 400 clamp(32px, 3.5vw, 50px)/1.24 var(--serif); letter-spacing: -0.015em; color: var(--hemlock);
  text-wrap: balance;
}
.intro { padding-top: 52px; }
.intro p { font-size: 19px; line-height: 1.63; max-width: 34em; }
.intro p + p { margin-top: 22px; }

/* Five parts */
.parts { margin-top: clamp(64px, 6.7vw, 96px); border-top: 1px solid var(--sage-line); max-width: 1296px; }
.parts li {
  display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 580fr);
  column-gap: clamp(40px, 6.7vw, 96px); align-items: baseline;
  padding: 36px 0; border-bottom: 1px solid var(--sage-line);
}
.part-head { display: flex; align-items: baseline; }
.part-num { flex: 0 0 136px; font: 400 20px/1 var(--serif); color: var(--teal); font-variant-numeric: lining-nums tabular-nums; }
.parts h3 { font: 400 28px/1.28 var(--serif); color: var(--hemlock); }
.parts p { font-size: 18px; line-height: 1.6; max-width: 34em; }

/* Panels */
.panels {
  display: grid; grid-template-columns: minmax(0, 636fr) minmax(0, 636fr); gap: 24px;
  margin-top: clamp(64px, 6.7vw, 96px); max-width: 1296px;
}
.panel { border-radius: 4px; padding: 56px; }
.panel h3 { font: 400 32px/1.25 var(--serif); }
.panel-dark { background: var(--hemlock); }
.panel-dark h3 { color: var(--sage-pale); }
.intentions { margin-top: 32px; }
.intentions li {
  font: italic 400 24px/1.42 var(--serif); color: var(--gold);
  padding: 14px 0; border-bottom: 1px solid rgba(181, 194, 155, 0.25);
}
.intentions li:last-child { border-bottom: 0; }
.panel-sage { background: var(--sage); display: flex; flex-direction: column; }
.panel-sage h3 { color: var(--hemlock); }
.leaders { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.leaders li { display: flex; flex-direction: column; gap: 4px; }
.leaders strong { font-size: 19px; font-weight: 600; color: var(--hemlock); }
.presented {
  margin-top: auto; padding-top: 24px; font-size: 14px; letter-spacing: 0.02em; color: var(--teal);
}
.presented::before { content: ""; display: block; height: 1px; background: var(--sage-line); margin: 16px 0 12px; }
.gap { color: var(--gap-ink); font-size: 16px; line-height: 1.5; }

/* Details list */
.detail-list { border-top: 1px solid var(--sage-mid); }
.detail-list > div {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--sage-mid);
}
.detail-list dt {
  font: 600 13px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); padding-top: 6px;
}
.detail-list dd { font-size: 18px; line-height: 1.56; color: var(--hemlock); }

/* FAQ */
.faq { border-top: 1px solid var(--sage-line); }
.faq details { border-bottom: 1px solid var(--sage-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 400 21px/1.43 var(--serif); color: var(--hemlock);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 20px; height: 20px;
  background: linear-gradient(var(--teal), var(--teal)) center / 12px 1.6px no-repeat,
              linear-gradient(var(--teal), var(--teal)) center / 1.6px 12px no-repeat;
  transition: transform 250ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq details p { padding: 0 0 30px; font-size: 17px; line-height: 1.6; max-width: 32em; }
.faq details p.gap { font-size: 17px; }

/* Register */
.register {
  position: relative; min-height: 720px; display: flex; align-items: center;
  background: var(--hemlock); color: var(--sage-pale); overflow: hidden;
}
.register-photo, .register-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.register-photo img { object-fit: cover; object-position: 35% 85%; }
.register::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(23,32,28,0.94) 0%, rgba(23,32,28,0.7) 42%, rgba(23,32,28,0.1) 75%, rgba(23,32,28,0.3) 100%);
}
.register-copy { position: relative; z-index: 2; padding: 120px var(--pad-x); max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; }
.register h2 {
  font: 400 clamp(52px, 6.7vw, 96px)/1.08 var(--serif); letter-spacing: -0.025em; margin-top: 24px; color: var(--sage-pale);
}
.register-line { font: italic 400 clamp(19px, 1.7vw, 24px)/1.5 var(--serif); color: var(--sage-text); margin-top: 24px; max-width: 25em; }
.register .btn { margin-top: 44px; }

/* Signup (full state) */
.signup { flex-direction: column; gap: 12px; margin-top: 40px; width: min(560px, 100%); }
.signup-title { font-size: 20px; font-weight: 600; color: var(--gold); }
.signup-line { font-size: 17px; line-height: 1.55; color: var(--sage-text); }
.signup-row {
  display: flex; align-items: center; margin-top: 8px; padding: 6px 6px 6px 26px;
  border: 1px solid rgba(213, 222, 198, 0.4); border-radius: 999px; background: rgba(245, 248, 239, 0.06);
  transition: border-color 200ms ease;
}
.signup-row:focus-within { border-color: var(--gold); }
.signup-row input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--sage-pale);
  font: 400 17px/1.4 var(--sans); padding: 12px 12px 12px 0; outline: none; caret-color: var(--gold);
}
.signup-row input::placeholder { color: rgba(213, 222, 198, 0.7); }
.register .signup .btn { margin-top: 0; padding: 16px 28px; font-size: 17px; }
.captcha { min-height: 78px; margin-top: 8px; }
.signup-status { font-size: 16px; line-height: 1.5; min-height: 1.5em; color: var(--sage-text); }
.signup-status.is-error { color: #F2B8A0; }
.signup-status.is-ok { color: var(--gold); }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 32px var(--pad-x); background: var(--hemlock-deep); border-top: 1px solid rgba(181, 194, 155, 0.15);
  color: #A3AE96; font-size: 14px;
}
.site-footer img { width: 28px; height: 28px; opacity: 0.55; }

/* Motion: the hero settles in on load; the five parts arrive in order as they scroll in. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise 900ms var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 260ms; }
  .js .hero-copy > :nth-child(5) { animation-delay: 340ms; }
  .js .hero-copy > :nth-child(6) { animation-delay: 400ms; }
  .js .hero-photo img { animation: settle 2400ms var(--ease-out) both; }
  .js [data-reveal-group] > li { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-reveal-group] > li.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); filter: brightness(0.7); } to { transform: none; filter: none; } }

/* Tablet */
@media (max-width: 1100px) {
  .site-nav { gap: 24px; }
  .facts { flex-wrap: wrap; row-gap: 20px; }
  .part-num { flex-basis: 64px; }
}

/* Mobile */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header { padding-top: 24px; }
  .brand img { height: 36px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -9px;
    background: transparent; border: 0; color: var(--sage-pale); cursor: pointer; border-radius: 8px;
  }
  .menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .site-nav {
    position: absolute; top: 76px; left: 16px; right: 16px; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; border-radius: 12px; background: rgba(23, 32, 28, 0.97);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 200ms ease, transform 250ms var(--ease-out), visibility 0s linear 250ms;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 250ms var(--ease-out); }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(181, 194, 155, 0.15); text-shadow: none; }
  .site-nav .nav-contact { margin-top: 16px; text-align: center; border-bottom: 1px solid rgba(245, 248, 239, 0.45); }

  .hero { min-height: max(700px, min(100svh, 860px)); justify-content: flex-end; }
  .hero-photo img { object-position: 42% 50%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(23,32,28,0.85) 0%, rgba(23,32,28,0.35) 30%, rgba(23,32,28,0.55) 55%, rgba(23,32,28,0.95) 82%);
  }
  .hero-copy { padding: 120px 24px 40px; }
  .hero h1 { margin-top: 16px; line-height: 1.07; }
  .hero-sub { margin-top: 14px; }
  .br-mobile { display: inline; }
  .facts { flex-direction: column; margin-top: 24px; row-gap: 0; }
  .facts > div { padding: 0; border: 0; }
  .facts dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .facts dd { margin: 0; font-size: 16px; white-space: normal; }
  .cta-row { margin-top: 28px; }
  .btn { width: 100%; justify-content: center; padding: 18px 24px; font-size: 17px; }
  .hero-note { font-size: 14px; }

  .split { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .split-head { gap: 20px; }
  .split-head.sticky { position: static; }
  .details .split { display: flex; flex-direction: column; }
  .details .split-head { display: contents; }
  .details .split-head h2 { order: 1; }
  .details .detail-list { order: 2; width: 100%; }
  .details .btn { order: 3; margin-top: 8px; }
  .intro { padding-top: 0; }
  .intro p { font-size: 17px; }

  .parts { margin-top: 48px; }
  .parts li { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; }
  .part-head { flex-direction: column; gap: 8px; }
  .part-num { flex-basis: auto; font-size: 15px; }
  .parts h3 { font-size: 22px; padding: 0; }
  .parts p { font-size: 16px; }

  .panels { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 48px; }
  .panel { padding: 32px 28px 34px; }
  .panel h3 { font-size: 26px; }
  .intentions { margin-top: 20px; }
  .intentions li { font-size: 20px; }
  .leaders { margin-top: 20px; }

  .detail-list > div { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 18px 0; }
  .detail-list dt { padding-top: 0; font-size: 12px; }
  .detail-list dd { font-size: 17px; }

  .faq summary { font-size: 18px; padding: 20px 0; }
  .faq details p { font-size: 16px; padding-bottom: 22px; }

  .register { min-height: 760px; align-items: flex-end; }
  .register-photo { bottom: auto; height: 480px; }
  .register-photo img { object-position: 38% 100%; }
  .register::before { background: linear-gradient(180deg, rgba(31,41,37,0.25) 0%, rgba(31,41,37,0.2) 40%, rgba(31,41,37,1) 63%); }
  .register-copy { padding: 0 24px 56px; width: 100%; }
  .register h2 { margin-top: 14px; }
  .register-line { margin-top: 14px; }
  .register .btn { margin-top: 28px; }
  .signup-row { padding-left: 20px; }

  .site-footer { padding: 28px 24px 36px; font-size: 13px; }
  .site-footer img { display: none; }
}
