@font-face { font-family: 'Rein Serif'; src: url('./assets/newsreader-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rein Sans'; src: url('./assets/AdwaitaSans-Text.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --paper: #edf2f5; --ink: #343044; --accent: #5b4057; --on-accent: #ffffff; --soft: #dbe2eb; --rule: #9c9caa; --control: #686375; --body: 'Rein Sans', Arial, sans-serif; --display: 'Rein Serif', Georgia, serif; --weight: 600; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--weight); line-height: 1.1; margin: 0 0 1.2rem; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; }
figure, dl { margin: 0; }
picture, img { display: block; }
img { width: 100%; height: auto; }
.photo { width: 100%; max-width: 760px; }
figcaption { padding-top: .75rem; font-size: .8rem; line-height: 1.5; }
ul, ol { padding-left: 1.4rem; }
li { padding-block: .4rem; }
.wrap { width: min(calc(100% - 48px), 1160px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 6vw, 5rem) 1rem; }
.page-intro h1 { max-width: 14ch; }
.page-intro .lead { max-width: 44rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.small { font-size: .85rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem max(24px, calc((100% - 1160px) / 2)); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font: var(--weight) 2rem/1 var(--display); }
.brand-mark { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wordmark { display: block; }
.brand-label { display: block; font: .6rem/1.5 var(--body); letter-spacing: .06em; margin-top: .65rem; }
#navigation { display: flex; align-items: center; gap: 1.4rem; font-size: .85rem; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a[aria-current], #navigation a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 1px solid currentColor; min-height: 44px; padding: .5rem .75rem; background: transparent; }
.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; max-width: 100%; font-size: .95rem; }
.button { padding: .9rem 1.2rem; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); justify-content: space-between; text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { padding-block: .6rem; }
.closing { padding-block: 3rem; margin-top: 3rem; background: var(--soft); }
.closing-layout { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.closing-layout > div { max-width: 38rem; }
.closing h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.closing .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--rule); font-size: .8rem; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-name { font: var(--weight) 1.5rem/1.2 var(--display); }
.site-footer a { display: inline-block; min-height: 44px; padding-block: .7rem; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.form-layout > *, .footer-layout > * { min-width: 0; }
.form-panel { padding: clamp(1rem, 3vw, 2.5rem); background: var(--soft); }
.demo-note { margin-top: 2rem; border-left: 3px solid currentColor; padding-left: 1rem; font-size: .9rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: var(--weight) 1.8rem/1.2 var(--display); padding: 0; margin-bottom: 1rem; max-width: 100%; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-size: .9rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .7rem; background: var(--paper); color: var(--ink); border: 1px solid var(--control); border-radius: 0; font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.confirmation h2 { font-size: 2rem; }
.prose { max-width: 740px; }
.prose section + section { margin-top: 2.5rem; }
.prose h2 { font-size: 2rem; }
.prose > .small { margin-top: 3rem; }
.questions { max-width: 850px; }
details { border-top: 1px solid var(--rule); padding-block: 1rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; max-width: 48rem; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .2rem; }
  #navigation a { padding: .6rem .3rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .closing-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding: 1rem 16px; gap: .75rem; }
  .brand { font-size: 1.5rem; gap: .5rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-label { font-size: .55rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.site-header { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: 3rem; padding: 2.5rem 1.25rem; border: 0; border-right: 1px solid var(--rule); min-height: 100%; }
.brand { flex-direction: column; text-align: center; font-size: 1.9rem; gap: 1rem; }
.brand-mark { width: 56px; height: 56px; }
.brand-label { letter-spacing: .16em; }
#navigation { flex-direction: column; align-items: stretch; gap: 0; }
#navigation a { padding: .8rem .5rem; border-top: 1px solid var(--rule); }
#navigation a:last-child { border-bottom: 1px solid var(--rule); }
main, .site-footer { grid-column: 2; min-width: 0; }
.wrap { width: min(calc(100% - 80px), 1020px); }
h1, h2 { letter-spacing: -.035em; }
.stable-opening { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 3rem; padding-block: 3rem 0; align-items: end; }
.stable-opening > .eyebrow { grid-column: 1 / -1; }
.stable-opening h1 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .97; }
.stable-opening-copy { padding-bottom: 1.2rem; }
.stable-opening .photo { grid-column: 1 / -1; justify-self: center; margin-top: 1.8rem; }
.stable-opening .photo img { border-radius: 2px; }
.lesson-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.first-price { font: 600 3rem/1.2 var(--display); }
.first-price span { font: 1rem var(--body); }
.stable-note { border-block: 1px solid var(--rule); padding-block: 2rem; }
.stable-note p { max-width: 44rem; }
.lesson-list article { display: grid; grid-template-columns: .55fr 1.6fr .55fr; gap: 1.5rem; padding-block: 2rem; border-top: 1px solid var(--rule); }
.lesson-list h2 { font-size: 2.2rem; }
.lesson-list .eyebrow { padding-top: .5rem; }
.lesson-price { font: 600 2.8rem/1.1 var(--display); }
.lesson-price span { display: block; font: .85rem/1.5 var(--body); margin-top: .5rem; }
.policy-card { padding: 2rem; background: var(--soft); border-left: 4px solid var(--accent); }
.policy-card p { max-width: 50rem; }
.lesson-steps { list-style: none; padding: 0; counter-reset: step; max-width: 820px; }
.lesson-steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; border-top: 1px solid var(--rule); padding-block: 1.5rem; }
.lesson-steps li::before { content: counter(step, decimal-leading-zero); font-size: .85rem; padding-top: .35rem; }
.lesson-steps h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.lesson-steps p { grid-column: 2; }
.preparation { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 3px solid var(--accent); padding-top: 2.5rem; }
.stable-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.boarding-note { border: 1px solid var(--rule); padding: 2rem; }
.boarding-note p { max-width: 46rem; }
.stable-hours { padding-bottom: 0; }
.form-layout { grid-template-columns: 1fr; max-width: 800px; }
.form-layout aside h2 { font-size: 2.2rem; }
.closing-layout { display: block; }
.closing .button { margin-top: 1.5rem; }
.button { border-radius: .2rem; }
.stable-opening > *, .lesson-preview > *, .lesson-list article > *, .preparation > *, .stable-story > * { min-width: 0; }
@media (max-width: 1100px) {
  body { display: block; }
  .site-header { flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; padding: 1.25rem 24px; gap: 1rem; border-bottom: 1px solid var(--rule); }
  .brand { flex-direction: row; text-align: left; font-size: 1.8rem; }
  .brand-mark { width: 40px; height: 40px; }
  #navigation a { padding-inline: .3rem; }
  .wrap { width: min(calc(100% - 48px), 1020px); }
}
@media (max-width: 700px) {
  .site-header { padding: 1rem 16px; }
  .brand { font-size: 1.6rem; gap: .5rem; }
  .brand-mark { width: 32px; height: 32px; }
  .wrap { width: calc(100% - 32px); }
  .stable-opening, .lesson-preview, .preparation, .stable-story { grid-template-columns: 1fr; gap: 1.5rem; }
  .stable-opening h1 { font-size: clamp(3.5rem, 13vw, 6rem); }
  .stable-opening-copy { padding: 0; }
  .stable-opening .photo { margin-top: 0; }
  .lesson-list article { grid-template-columns: 1fr auto; }
  .lesson-list .eyebrow { grid-column: 1 / -1; margin: 0; }
  .policy-card, .boarding-note { padding: 1.5rem; }
}
@media (max-width: 400px) {
  .lesson-list article { grid-template-columns: 1fr; }
  .lesson-price { font-size: 2.2rem; }
  .lesson-price span { display: inline; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
