:root {
  color-scheme: light;
  --page: #f7f6ef;
  --paper: #fffef9;
  --ink: #21352b;
  --body: #42534a;
  --green: #234e3b;
  --line: #d8dfd3;
  --sage: #e4ebdc;
  --sand: #eee8d6;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.marathon-landing { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a05025; outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; }
.skip { position: fixed; z-index: 4; top: 8px; left: 8px; padding: 12px; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 146px; height: auto; }
.site-header nav { display: flex; gap: clamp(20px, 4vw, 52px); }
.site-header nav a { text-decoration: none; color: var(--body); }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 11px 23px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  font: 600 1rem/1.3 var(--sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.button-outline { min-height: 44px; padding-inline: 17px; border-color: #aebcaf; font-size: .9375rem; }
.button-outline:hover { background: var(--sage); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #173a2b; }
.button-primary:disabled { opacity: .64; cursor: wait; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 82px); padding-block: 52px 65px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 4px 13px; color: #3d5748; }
.hero-kicker span + span { padding-left: 13px; border-left: 1px solid #a1b0a3; }
.hero h1 { margin-block: 18px 20px; font-size: clamp(3.35rem, 6.35vw, 6rem); line-height: .99; letter-spacing: -.067em; }
.hero h1 span { display: block; font-size: clamp(1.35rem, 2.45vw, 2.15rem); line-height: 1.19; letter-spacing: -.036em; margin-bottom: 9px; }
.hero-description { max-width: 34rem; margin-bottom: 23px; color: var(--body); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.53; }
.countdown { min-height: 104px; margin-top: 20px; }
.countdown-label { color: var(--body); font-size: .9375rem; font-weight: 600; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 68px)); gap: 7px; margin-top: 8px; }
.countdown-grid div { display: grid; justify-items: center; gap: 2px; padding: 6px 2px 7px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcf6; }
.countdown-grid b { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.12; }
.countdown-grid span { font-size: .875rem; color: var(--body); }
.hero-photo { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 1.065; border-radius: 11rem 1rem 1rem 1rem; background: #776753; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-photo::after { position: absolute; z-index: 0; inset: 42% 0 0; background: linear-gradient(transparent, rgba(9, 21, 15, .87)); content: ""; pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; padding: clamp(17px, 3vw, 30px); color: #fff; }
.photo-name { font: 600 clamp(1.18rem, 2.15vw, 1.72rem)/1.22 var(--serif); }
.photo-role { font-size: .9375rem; line-height: 1.45; }

.program { padding-block: 65px 75px; border-block: 1px solid var(--line); background: var(--paper); }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px 48px; align-items: end; margin-bottom: 29px; }
.section-intro p, .audience p { max-width: 37rem; color: var(--body); font-size: 1.125rem; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.program-card { min-width: 0; padding: clamp(22px, 4vw, 39px); border-radius: 16px; }
.program-sage { background: var(--sage); }
.program-sand { background: var(--sand); }
.program-date { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; font-weight: 600; font-size: .9375rem; }
.program-date span { padding: 3px 10px; border: 1px solid #788e7c; border-radius: 4px; }
.program-card h3 { margin-block: 17px 12px; font-size: clamp(1.7rem, 3.25vw, 2.75rem); line-height: 1.15; letter-spacing: -.043em; }
.program-card p { min-height: 3.2em; font-size: 1.0625rem; }
.program-card ul { display: grid; gap: 11px; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid #a8b2a0; list-style: none; }
.program-card li { position: relative; padding-left: 17px; color: var(--body); }
.program-card li::before { position: absolute; top: .69em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--green); content: ""; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 66px; padding-block: 75px; }
.audience p { margin-top: 16px; }
.audience-list { margin: 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.audience-list li { position: relative; padding: 15px 0 15px 21px; border-top: 1px solid var(--line); color: var(--body); }
.audience-list li::before { position: absolute; top: 1.45em; left: 2px; width: 7px; height: 7px; border: 1px solid var(--green); transform: rotate(45deg); content: ""; }
.author { padding-bottom: 70px; }

.registration { background: #1c3b2e; color: #fff; }
.registration-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 36px clamp(34px, 7vw, 98px); padding-block: 70px; }
.registration-copy .eyebrow { color: #d4e5c9; }
.registration-copy h2 { margin-block: 13px 18px; }
.registration-copy p:last-child { max-width: 29rem; color: #e4ebe2; font-size: 1.125rem; }
.registration-form { padding: 14px 14px 18px; border-radius: 16px; background: #fff; color: var(--ink); text-align: center; }
.widget-space { position: relative; display: grid; align-items: center; min-height: 300px; }
.widget-space iframe { display: block; max-width: 100%; }
.widget-status { position: absolute; z-index: 1; inset-inline: 12px; margin: 0; background: #fff; }
.widget-help, .widget-privacy { padding-inline: 8px; font-size: .9375rem; }
.widget-help { margin-top: 7px; }
.widget-privacy { margin-top: 6px; color: var(--body); }
.widget-help a, .widget-privacy a { text-underline-offset: 3px; }
.mobile-cta { display: none; }

.flow { width: min(730px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(42px, 7vw, 82px); }
.confirmation-header { display: flex; justify-content: center; padding-top: clamp(16px, 3vw, 24px); }
.confirmation-flow { padding-top: clamp(18px, 3vw, 28px); }
.flow-header { text-align: center; }
.flow-header .eyebrow { color: #416350; }
.flow-header h1 { margin-block: 10px 15px; font-size: clamp(2.25rem, 6vw, 4.3rem); line-height: 1.06; letter-spacing: -.052em; }
.flow-header p:last-child { max-width: 35rem; margin-inline: auto; color: var(--body); font-size: 1.125rem; }
.flow-card { margin-top: 27px; padding: clamp(18px, 5vw, 38px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.flow-card h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); }
.flow-card h2 + p { margin-top: 10px; color: var(--body); }
.flow-fields { display: grid; gap: 20px; margin-bottom: 20px; }
.demographics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 20px; }
.field { display: grid; align-content: start; gap: 6px; font-weight: 600; }
.field small { color: var(--body); font-size: .9375rem; font-weight: 400; }
.field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #829686; border-radius: 8px; background: #fff; color: var(--ink); font: 1rem/1.45 var(--sans); }
.field select { appearance: none; padding-right: 30px; background: #fff linear-gradient(45deg, transparent 50%, #42534a 50%) calc(100% - 17px) center / 6px 6px no-repeat; }
.field textarea { min-height: 130px; resize: vertical; }
.form-error { margin-top: 12px; color: #8b2d20; }
.flow-card .button-primary { width: 100%; }
.flow-note { margin-top: 22px; text-align: center; color: var(--body); }
.flow-note a { text-underline-offset: 3px; }
.flow-bots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr)); gap: 10px; margin-block: 21px 13px; }
.flow-bots .button { gap: 10px; }
.flow-bots img { width: 24px; height: 24px; object-fit: contain; }
.flow-bot-note { color: var(--body); font-size: .9375rem; }
.flow-channel { margin-top: 14px; background: var(--sage); }
.flow-channel .button { margin-top: 16px; }
.flow-card select { background-image: linear-gradient(45deg, transparent 50%, #42534a 50%), linear-gradient(135deg, #42534a 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 12px) center; background-size: 6px 6px; }

@media (max-width: 960px) {
  .hero-photo { border-top-left-radius: 7rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .site-header nav { display: none; }
  .hero, .section-intro, .program-grid, .audience, .registration-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 34px 43px; gap: 21px; }
  .hero h1 { font-size: clamp(3.1rem, 11.2vw, 5.15rem); }
  .hero h1 span { font-size: clamp(1.28rem, 4.6vw, 1.75rem); }
  .hero-photo { aspect-ratio: 1.24; border-top-left-radius: 5.3rem; }
  .hero-photo img { object-position: center 35%; }
  .desktop-break { display: none; }
  .countdown { min-height: 91px; }
  .program, .audience { padding-block: 47px; }
  .section-intro { gap: 12px; margin-bottom: 20px; }
  .program-card p { min-height: auto; }
  .author { padding-bottom: 45px; }
  .registration-inner { padding-block: 43px; }
  .mobile-cta { position: fixed; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; padding: 8px 18px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--page); }
}
@media (max-width: 390px) {
  .brand img { width: 112px; }
  .header-inner { gap: 8px; }
  .button-outline { padding-inline: 10px; }
  .hero-kicker span + span { padding-left: 0; border-left: 0; }
  .hero-kicker { display: grid; }
  .hero h1 { font-size: clamp(2.75rem, 12.25vw, 3.1rem); }
}
@media (prefers-reduced-motion: reduce) {
  .marathon-landing { scroll-behavior: auto; }
  .button { transition: none; }
}
