@font-face { font-family: 'Gearosa Sans'; src: url('./assets/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Gearosa Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --ink: #083e46; --paper: #f9faf3; --soft: #d7e8e6; --rule: #8aa6a4; --control: #4f7878; --display: 'Gearosa Sans', Arial, sans-serif; --body: 'Gearosa Sans', Arial, sans-serif; --label: 'Gearosa Mono', monospace; --weight: 800; --yellow: #f2f39b; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: 1.0625rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1.2rem; line-height: 1.08; font-family: var(--display); font-weight: var(--weight); text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.5rem; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: .85rem; line-height: 1.5; margin-top: 1rem; }
.hero-art { display: block; width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: 4rem 2rem; }
.page-intro .lead { max-width: 44rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font: .75rem/1.6 var(--label); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1.3rem; }
.small { font-size: .875rem; }
.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; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.8rem; }
.brand { font: var(--weight) 2.3rem/1 var(--display); text-decoration: none; }
.brand span { display: block; margin-top: .65rem; font: .62rem/1.5 var(--label); letter-spacing: .11em; }
#navigation { display: flex; align-items: center; gap: 1.35rem; font-size: .9rem; }
#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; color: inherit; 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: 1rem/1.5 var(--body); }
.button { justify-content: space-between; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 1rem 1.25rem; text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { padding-block: .5rem; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: 4rem; background: var(--soft); }
.closing > div { max-width: 40rem; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.closing .button { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: start; gap: 2rem; border-top: 1px solid var(--rule); padding-block: 2.5rem; font-size: .875rem; }
.site-footer a { display: inline-block; padding-block: .75rem; }
.footer-name { font: var(--weight) 1.5rem/1.2 var(--display); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
ul, ol { padding-left: 1.4rem; }
li { padding-block: .35rem; }
.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; justify-content: space-between; align-items: center; 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 { margin-top: 1rem; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.form-panel { background: var(--soft); padding: clamp(1.25rem, 4vw, 3rem); }
.form-layout > *, .two-col > * { min-width: 0; }
.demo-note { border-left: 3px solid var(--ink); padding-left: 1rem; margin-top: 2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: var(--weight) 1.8rem/1.2 var(--display); margin-bottom: 1rem; padding: 0; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; }
input, select, textarea { 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; }
.prose { max-width: 740px; }
.prose section { margin-bottom: 2.5rem; }
@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: .65rem .4rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .closing { flex-direction: column; align-items: start; }
}
@media (max-width: 800px) {
  .form-layout, .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .brand { font-size: 2rem; }
  .brand span { font-size: .58rem; }
  .site-header { gap: .75rem; padding-block: 1.4rem; }
  .site-footer { flex-direction: column; gap: 1.5rem; }
  .page-intro { padding-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.brand { font-size: 2.8rem; letter-spacing: -.07em; }
.brand span { letter-spacing: .04em; }
.site-header { border-bottom: 2px solid var(--ink); }
#navigation a[aria-current] { background: var(--yellow); padding-inline: .6rem; border-radius: 2rem; }
h1 { line-height: 1.01; }
h2 { letter-spacing: -.04em; }
h3 { letter-spacing: -.025em; }
.drive-opening { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; padding-top: 3rem; }
.drive-title .lead { max-width: 32rem; }
.drive-title h1 { font-size: clamp(3rem, 6.6vw, 6rem); }
.road-portrait { align-self: center; }
.road-portrait figcaption { font-family: var(--label); text-align: center; }
.lesson-meter { display: flex; align-items: center; gap: 2rem; grid-column: 1 / -1; padding: 1.5rem 2rem; background: var(--yellow); border-radius: 5rem; }
.lesson-meter > span { font: .7rem/1.6 var(--label); max-width: 9rem; }
.lesson-meter p { font-size: clamp(1.2rem, 2.7vw, 1.9rem); }
.route-picker { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.route-options article { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.route-options article:first-child { padding-top: 0; }
.route-options span { font: .75rem/1.5 var(--label); }
.route-options h3 { margin-top: .75rem; }
.schedule-strip { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; border-top: 2px solid var(--ink); }
.button { border-radius: 4rem; font-weight: 700; }
.closing { background: var(--yellow); border-radius: 2rem; }
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.package { border: 2px solid var(--ink); border-radius: 2rem; padding: clamp(1.5rem, 4vw, 3rem); }
.package:nth-child(2) { background: var(--soft); }
.package h2 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
.package-scope { border-block: 1px solid var(--rule); padding-block: 1.25rem; font-weight: 700; }
.lesson-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; border-top: 1px solid var(--rule); padding-block: 1.5rem; }
.lesson-row p { grid-column: 1 / -1; max-width: 52rem; }
.lesson-row h3 { margin-bottom: 0; }
.lesson-row strong { font: 1rem/1.6 var(--label); }
.requirements { background: var(--soft); border-radius: 2rem; padding-inline: clamp(1.5rem, 4vw, 3rem); }
.class-board, .teaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.pickup-panel { background: var(--yellow); padding: 2rem; border-radius: 2rem; }
.schedule-steps { list-style: none; padding: 0; counter-reset: step; }
.schedule-steps li { counter-increment: step; padding: 1.5rem 0 1.5rem 4.5rem; border-left: 2px dashed var(--control); margin-left: 1.3rem; position: relative; }
.schedule-steps li::before { content: counter(step); position: absolute; left: -1.35rem; top: 1.5rem; width: 2.7rem; height: 2.7rem; background: var(--ink); color: var(--paper); border-radius: 50%; text-align: center; line-height: 2.7rem; font-family: var(--label); }
.schedule-steps p { max-width: 52rem; }
.teaching-note { background: var(--ink); color: var(--yellow); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 2rem; align-self: start; }
.teaching-note h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); }
.form-panel { border-radius: 2rem; }
.drive-opening > *, .route-picker > *, .class-board > *, .teaching-grid > * { min-width: 0; }
@media (max-width: 950px) {
  .drive-opening { grid-template-columns: 1fr 1fr; }
  .class-board, .teaching-grid, .route-picker, .schedule-strip { gap: 2rem; }
}
@media (max-width: 700px) {
  .drive-opening, .route-picker, .schedule-strip, .package-grid, .class-board, .teaching-grid { grid-template-columns: 1fr; }
  .drive-title h1 { font-size: clamp(3rem, 11vw, 4.5rem); }
  .lesson-meter { flex-direction: column; align-items: start; gap: .5rem; border-radius: 1.5rem; padding: 1.5rem; }
  .lesson-meter > span { max-width: none; }
  .lesson-row { grid-template-columns: 1fr; gap: .75rem; }
  .schedule-steps li { padding-left: 2.6rem; }
}
@media (max-width: 600px) { .brand { font-size: 2.5rem; } }
html:not(.has-menu) .menu-toggle { display: none !important; }
