:root {
  color-scheme: light;
  --ink: #302e32;
  --muted: #635b60;
  --wine: #4b2738;
  --accent: #823e56;
  --rose: #efdae2;
  --green: #dce8df;
  --paper: #f8f5f2;
  --line: #cdbfc3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.7 Arial, sans-serif; letter-spacing: 0; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; }
:focus-visible { outline: 3px solid #c78536; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, p { margin: 0 0 22px; }
h1, h2, h3 { margin: 0 0 26px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: 76px; }
h2 { font-size: 46px; }
h3 { font-size: 30px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 88px 0; }
.eyebrow, .tariff-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 15px 24px; border: 1px solid transparent; border-radius: 2px; background: var(--wine); color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.4; cursor: pointer; transition: background .18s, border-color .18s; }
.button:hover { background: #72384f; }
.button-small { min-height: 44px; padding: 11px 18px; font-size: 13px; }
.skip-link { position: fixed; top: -120px; left: 16px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 10px; }
header { position: sticky; top: 0; z-index: 5; color: var(--paper); background: var(--wine); border-bottom: 1px solid #785665; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font: 27px/1.2 Georgia, serif; text-decoration: none; }
.brand span { display: block; margin-top: 5px; font: 11px/1.5 Arial, sans-serif; opacity: .85; }
nav { display: flex; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
header .button { background: transparent; border-color: #b1919f; }
header .button:hover { background: #69394e; }

/* The text sits over the right side of the full-bleed photograph. */
.hero { position: relative; overflow: hidden; background: var(--wine); color: var(--paper); }
.hero-photo { position: absolute; inset: 0; width: calc(50% + 140px); height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-content { position: relative; isolation: isolate; min-height: 620px; padding: 62px 0 54px; }
.hero-content::before { content: ''; position: absolute; z-index: -1; inset: 0 -100vw 0 52%; background: rgba(75,39,56,.97); border-left: 1px solid #b68b79; }
.hero-copy { width: 46%; margin-left: auto; }
.hero .eyebrow { color: #edc6d2; padding-bottom: 22px; border-bottom: 1px solid #967180; }
.hero h1 { margin-bottom: 30px; }
.hero h1 em { display: block; color: #ebbdcb; font-weight: 400; }
.hero .button { background: var(--rose); color: var(--wine); }
.hero .button:hover { background: #fff4f7; }
.hero-note { max-width: 390px; font-size: 13px; line-height: 1.6; color: #ebd8df; margin: 18px 0 0; }
.marathon-intro-band { background: var(--green); border-bottom: 1px solid #b7c9bf; }
.marathon-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding-block: 38px; }
.marathon-intro p { margin: 0; }
.hero-lead { font: 25px/1.45 Georgia, serif; }
.hero-intro { font-size: 17px; padding-left: 32px; border-left: 1px solid #a7bdb0; }

#story { background: #f0e3e7; }
.introduction { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.prose { padding-top: 36px; }
.prose > p:first-child::first-letter { float: left; font: 74px/.9 Georgia, serif; color: var(--accent); padding: 9px 10px 0 0; }
.standout { font: italic 30px/1.35 Georgia, serif; color: var(--wine); }
.timeline-section { padding: 0; overflow: hidden; counter-reset: chapter; }
.chapter { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; padding: 80px 0; counter-increment: chapter; }
.chapter::before { content: ''; position: absolute; inset: 0; left: calc((100% - 100vw)/2); width: 100vw; z-index: -1; background: var(--paper); border-top: 1px solid var(--line); }
.chapter:nth-child(even)::before { background: #e5ebe4; }
.chapter:nth-child(3)::before { background: #eae1e7; }
.chapter-reverse .chapter-copy { order: 2; }
.chapter h2 { font-size: 40px; }
.chapter p { font-size: 17px; }
.chapter .eyebrow { font-size: 12px; display: flex; align-items: center; gap: 14px; }
.chapter .eyebrow::before { content: counter(chapter, upper-roman); font: 30px Georgia, serif; padding-right: 14px; border-right: 1px solid #baa1aa; }
.chapter figure { margin: 0; min-width: 0; }
.chapter a { display: block; cursor: zoom-in; }
.chapter img { max-height: 560px; object-fit: contain; padding: 8px; background: #fff; box-shadow: 8px 10px 0 #302e320b, 0 12px 28px #302e3212; }
.chapter img.book-photo { width: auto; max-width: 100%; margin: auto; }
figcaption { display: flex; align-items: baseline; gap: 20px; justify-content: space-between; margin-top: 20px; padding-top: 12px; border-top: 1px solid #ac9d9e; color: var(--muted); font: italic 14px/1.5 Georgia, serif; }
figcaption::after { content: counter(chapter, decimal-leading-zero); font-style: normal; }
.chapter .chapter-takeaway { font: italic 24px/1.45 Georgia, serif; color: var(--wine); border-left: 2px solid #a9697f; padding-left: 22px; margin: 28px 0 0; }

.insight { background: var(--wine); color: var(--paper); }
.insight .eyebrow { color: #e2b5c5; }
.insight h2 { max-width: 930px; font-size: 56px; }
.platforms { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; margin: 44px 0 28px; }
.platforms p { border-top: 1px solid #9e7688; padding-top: 22px; }
.platforms strong { display: block; margin-bottom: 16px; font: 28px Georgia, serif; color: #edc6d2; }
.platforms span { font-size: 16px; color: #eadbe1; }
.insight-end { max-width: 860px; margin: 0; font: italic 25px/1.5 Georgia, serif; }
.audience-section { background: #e7ece4; }
.audience-list { list-style: none; padding: 0; margin: 0; }
.audience-list li { padding: 18px 0; border-bottom: 1px solid #b5c5b9; }
.audience-list li:first-child { padding-top: 0; }
.program-section { background: #f0e3e7; }
.program-section > .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:last-child { color: var(--muted); }
.program-list { padding: 0; margin: 0; list-style: none; }
.program-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid #bca0ac; }
.program-list li:first-child { padding-top: 8px; border: 0; }
.program-list li:last-child { padding-bottom: 0; }
.program-list span { font: italic 30px Georgia, serif; color: var(--accent); }
.program-list h3 { font-size: 26px; margin-bottom: 14px; }
.program-list p { font-size: 16px; margin: 0; }
#tariffs { background: #e3ebe4; border-top: 1px solid #b8cbbf; }
#tariffs .section-heading { text-align: center; margin-inline: auto; }
.tariff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.tariff { position: relative; border: 1px solid #b4bdae; border-top: 5px solid #45675a; border-radius: 2px; padding: 38px; background: var(--paper); display: flex; flex-direction: column; }
.tariff h3 { font-size: 30px; min-height: 104px; margin-bottom: 16px; }
.tariff-label { color: #466356; }
.price { font: 60px Georgia, serif; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tariff ul { font-size: 16px; padding-left: 20px; margin: 0 0 32px; }
.tariff li { padding: 6px 0; }
.tariff > p:not(.price):not(.tariff-label) { font-size: 16px; }
.tariff .button { width: 100%; margin-top: auto; }
.tariff-personal { background: var(--wine); color: var(--paper); border-color: var(--wine); border-top-color: #c69c68; }
.tariff-personal .tariff-label { color: #f0c6d5; }
.tariff-personal .price { border-color: #997888; }
.tariff-personal .button { background: var(--rose); color: var(--wine); }
.tariff-personal .button:hover { background: #fff4f7; }
footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding-top: 44px; padding-bottom: 40px; }
footer p { font-size: 14px; margin-top: 12px; }
.contacts { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-note { grid-column: 1/-1; max-width: 850px; font-size: 12px; color: var(--muted); margin: 0; }
.mobile-cta { display: none; }
dialog { border: 1px solid var(--line); border-top: 5px solid var(--accent); padding: 36px; border-radius: 4px; width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 32px); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #291e27bf; }
dialog h2 { font-size: 29px; padding-right: 30px; }
.dialog-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); background: transparent; color: var(--wine); border-radius: 2px; font-size: 30px; line-height: 1; cursor: pointer; }
.payment-dialog > .dialog-close { position: absolute; right: 12px; top: 12px; }
.selected-tariff { font-weight: 700; font-size: 17px; }
.payment-options { display: grid; gap: 12px; }
.payment-status { margin: 22px 0 0; font-size: 16px; color: var(--muted); }
.review-dialog { width: min(1040px,calc(100% - 24px)); padding: 0 20px 20px; }
.image-dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; background: var(--paper); }
.image-dialog-header h2 { font-size: 20px; margin: 0; padding: 0; }
.image-full { height: auto; }
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 48px); }
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  .hero-copy { width: 46%; }
  .hero-content { min-height: 590px; }
  .introduction, .chapter { gap: 44px; }
  .program-section > .wrap { gap: 48px; }
  .tariff { padding: 30px; }
}
@media (max-width: 900px) {
  h1 { font-size: 55px; }
  nav { gap: 16px; font-size: 13px; }
  .brand { font-size: 24px; }
  .hero-content { min-height: 570px; }
  .hero .button { padding-inline: 14px; }
  .chapter h2 { font-size: 34px; }
  .program-section > .wrap { grid-template-columns: 1fr; gap: 12px; }
  .tariff { padding: 26px; }
  .tariff h3 { min-height: 134px; font-size: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { font-size: 22px; }
  .brand span { font-size: 9px; max-width: 190px; }
  nav { display: none; }
  .header-inner .button { font-size: 12px; padding: 10px; }
  .hero-photo { width: 100%; object-position: 40% 0%; }
  .hero-content { min-height: 0; padding: 220px 0 30px; }
  .hero-content::before { inset: 202px -20px 0; border-left: 0; border-top: 1px solid #b68b79; }
  .hero-copy { width: 100%; }
  .hero .eyebrow { font-size: 11px; padding-bottom: 12px; margin-bottom: 18px; }
  .hero h1 { font-size: 48px; margin-bottom: 24px; }
  .hero h1 em { display: inline; }
  .hero .button { width: 100%; }
  .hero-note { font-size: 12px; margin-top: 14px; }
  .marathon-intro { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
  .hero-lead { font-size: 23px; }
  .hero-intro { border-left: 0; border-top: 1px solid #afc3b7; padding: 20px 0 0; font-size: 16px; }
  .section { padding: 56px 0; }
  h2, .chapter h2 { font-size: 34px; }
  .introduction, .chapter { grid-template-columns: 1fr; gap: 26px; }
  .prose { padding-top: 0; }
  .introduction h2 { margin-bottom: 0; }
  .introduction .standout { margin-top: 22px; }
  .standout { font-size: 27px; }
  .timeline-section { padding: 0; }
  .chapter { padding: 46px 0; }
  .chapter-reverse .chapter-copy { order: 0; }
  .chapter img { max-height: 470px; }
  .chapter .chapter-takeaway { font-size: 23px; padding-left: 18px; }
  .chapter .eyebrow { font-size: 11px; }
  figcaption { margin-top: 18px; }
  .insight h2 { font-size: 37px; }
  .platforms { grid-template-columns: 1fr; gap: 0; margin: 30px 0 12px; }
  .platforms strong { margin-bottom: 10px; }
  .insight-end { font-size: 24px; }
  .program-section > .wrap { gap: 0; }
  .section-heading { margin-bottom: 28px; }
  .program-list li { grid-template-columns: 36px 1fr; gap: 16px; }
  .program-list h3 { font-size: 25px; }
  #tariffs .section-heading { text-align: left; }
  .tariff-grid { grid-template-columns: 1fr; gap: 24px; }
  .tariff { padding: 28px 24px; }
  .tariff h3 { min-height: 0; font-size: 28px; }
  .price { font-size: 52px; padding-bottom: 22px; }
  footer { grid-template-columns: 1fr; padding-bottom: 110px; }
  .mobile-cta { display: block; position: fixed; z-index: 6; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--wine); border-top: 1px solid #aa8596; }
  .mobile-cta .button { width: 100%; font-size: 14px; color: var(--wine); background: var(--rose); }
  .mobile-cta.is-hidden { visibility: hidden; pointer-events: none; }
  dialog { padding: 28px 22px; }
  .review-dialog { padding: 0 12px 12px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 20px; }
  .brand span { max-width: 150px; font-size: 9px; }
  .header-inner .button { max-width: 114px; padding-inline: 8px; font-size: 11px; }
  .hero-content { padding-top: 192px; }
  .hero-content::before { top: 176px; }
  .hero h1 { font-size: 40px; }
  .hero-note { max-width: 285px; }
  .chapter h2, h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
