:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --surface: #fcfaf3;
  --ink: #252c27;
  --muted: #505e55;
  --green: #354c3e;
  --green-light: #e8ece2;
  --clay: #923f2f;
  --line: #c8cdc1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(100% - 3rem, 72rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 1rem/1.6 var(--sans); }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, video, iframe { max-width: 100%; }
h1, h2, h3, p { margin-block: 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.45rem, 6.2vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); letter-spacing: -.028em; }
:focus-visible { outline: .1875rem solid var(--clay); outline-offset: .24rem; }
.frame { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset: .75rem auto auto .75rem; z-index: 10; padding: .6rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.4rem; }
.wordmark { font-family: var(--serif); font-size: 1.6rem; line-height: 1; letter-spacing: -.055em; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--clay); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; }
nav a { min-height: 2.75rem; display: flex; align-items: center; font-size: .94rem; text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .125rem; }
.button { border: 1px solid transparent; border-radius: .4rem; padding: .66rem 1.05rem; min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .5rem; text-decoration: none; font-weight: 620; line-height: 1.3; }
.button:not(.quiet) { color: #fff; background: var(--green); }
.button:not(.quiet):hover { background: #273c31; }
.button.quiet { color: var(--green); background: transparent; border-color: var(--line); }
.button.quiet:hover { background: var(--green-light); }
.button:disabled { opacity: .72; cursor: not-allowed; }
.hero { padding-block: clamp(3rem, 8vw, 7.75rem) clamp(2.4rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); gap: clamp(1.75rem, 6vw, 6.2rem); align-items: center; }
.hero h1 { max-width: 11.3ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.21rem); max-width: 38rem; color: var(--muted); }
.hero .lead { max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .72rem; margin-top: 1.4rem; }
.meta, .hint, .crumb { color: var(--muted); font-size: .92rem; }
.day-list { list-style: none; padding: 0; margin: 1rem 0; }
.section { border-top: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 4.4rem); }
.section-narrow { max-width: 48rem; padding-block: clamp(2.25rem, 5vw, 4.4rem); }
.section-narrow h1, .page-heading h1 { font-size: clamp(2.35rem, 5.7vw, 4.3rem); }
.page-heading { padding-top: clamp(2rem, 5vw, 4.1rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2, .section-heading p { margin-bottom: .35rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; }
.program-card { padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--surface); min-width: 0; display: flex; flex-direction: column; }
.price { font-weight: 660; font-variant-numeric: tabular-nums; }
.program-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,22rem); gap: clamp(1.5rem, 5vw, 4.2rem); align-items: start; padding-block: 1.5rem 4.25rem; }
.summary-card { border: 1px solid var(--line); background: var(--green-light); border-radius: .55rem; padding: 1.35rem; }
.summary-card p:last-child, .program-card p:last-child { margin-bottom: 0; }
.summary-card .price { font-family: var(--serif); font-size: 2rem; }
.facts { margin: .65rem 0 1rem; }
.facts div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.facts dd { margin: 0; font-weight: 600; }
.day-list li { border-top: 1px solid var(--line); display: grid; grid-template-columns: 4.6rem minmax(0,1fr) auto; gap: .75rem; padding: .85rem 0; align-items: start; }
.day-list h3 { font-size: 1.27rem; margin-bottom: .25rem; }
.day-list p { margin-bottom: .15rem; }
.day-list .play-action { grid-column: 2 / -1; justify-self: start; }
.message { background: var(--green-light); border-left: 3px solid var(--green); border-radius: .2rem; padding: .75rem 1rem; margin-block: 1rem; }
.message.error { background: #f6e8e1; border-color: var(--clay); color: #642b20; }
.message[hidden] { display: none; }
.form { display: grid; gap: .8rem; max-width: 26rem; margin-block: 1.2rem; }
label { display: grid; gap: .25rem; color: var(--ink); font-weight: 600; }
input, select { width: 100%; min-height: 2.9rem; padding: .5rem .62rem; border: 1px solid #818d82; border-radius: .35rem; background: var(--surface); color: var(--ink); }
.form .button { justify-self: start; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.checkbox input { width: 1.2rem; min-height: 1.2rem; margin-top: .2rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: .8rem; margin-block: 1rem; }
.slot-grid .button { justify-content: start; text-align: start; }
.player { border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); padding: clamp(.65rem, 2vw, 1.25rem); margin-block: 1rem; }
.player video { width: 100%; background: #202520; aspect-ratio: 16/9; border-radius: .35rem; }
.player .reel-video { display: block; width: min(100%, 22rem); aspect-ratio: 9/16; margin-inline: auto; }
rtk-meeting { display: block; min-height: clamp(28rem, 73vh, 47rem); }
.transcript { white-space: pre-wrap; overflow-wrap: anywhere; margin: 1rem 0 .4rem; max-height: 25rem; overflow: auto; font: inherit; }
summary { cursor: pointer; color: var(--green); padding-block: .55rem; }
.payment-frame { width: 100%; min-height: 38rem; border: 1px solid var(--line); background: var(--surface); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { padding-block: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 1.25rem; }
.footer-inner p { margin: 0; font-size: .92rem; }
@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero h1 { max-width: 13ch; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 39rem) {
  :root { --page: calc(100% - 1.5rem); }
  .header-inner { padding-block: .6rem .35rem; min-height: 0; gap: .15rem .5rem; }
  nav { order: 3; width: 100%; gap: .2rem 1rem; }
  nav a { font-size: .87rem; }
  .wordmark { font-size: 1.45rem; }
  .button { padding-inline: .72rem; }
  .page-heading, .section-narrow { padding-top: 2.25rem; }
  .program-layout, .catalog-grid { grid-template-columns: minmax(0,1fr); }
  .program-layout .summary-card { grid-row: 1; }
  .day-list li { grid-template-columns: 3.05rem minmax(0,1fr); gap: .35rem .6rem; }
  .day-list li time { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
