@font-face { font-family: 'Tack Serif'; src: url('./assets/OhwSubsetSerif-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Tack Sans'; src: url('./assets/OhwSubsetSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --ink: #173b51; --paper: #f5f8f9; --accent: #9e3f29; --on-accent: #ffffff; --soft: #e3edf1; --rule: #9eb4bf; --control: #5d7988; --body: 'Tack Sans', sans-serif; --display: 'Tack Serif', serif; --label: 'Tack Sans', sans-serif; --heading-weight: 700; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); font-family: var(--body); color-scheme: light; }
body { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(calc(100% - 3rem), 1200px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--heading-weight); line-height: 1.1; margin: 0 0 1.2rem; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.8vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .6rem; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 42rem; }
.eyebrow { font-family: var(--label); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.small, figcaption { font-size: .875rem; line-height: 1.6; }
.skip-link { position: absolute; top: 1rem; left: 1rem; padding: .8rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-200%); z-index: 5; }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1; font-family: var(--display); font-size: 2rem; flex-shrink: 0; }
.brand-mark { fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
.brand small { display: block; margin-top: .65rem; font: .6rem/1.4 var(--label); letter-spacing: .09em; }
#navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem 1.3rem; font-size: .9rem; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
#navigation a:hover, #navigation a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 1px solid currentColor; padding: .6rem .8rem; color: inherit; background: transparent; min-height: 44px; }
.arrow, .disclosure { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.button, .text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; max-width: 100%; }
.button { background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); padding: .9rem 1.25rem; text-decoration: none; justify-content: space-between; font-size: 1rem; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { padding-block: .6rem; }
.photo { margin: 0; width: 100%; }
picture, img { display: block; }
img { width: 100%; height: auto; }
figcaption { padding-top: .7rem; }
.page-intro { padding-block: clamp(3rem, 7vw, 6rem) 1.5rem; }
.page-intro .lead { max-width: 44rem; }
.closing { padding-block: 3rem; border-top: 1px solid var(--rule); background: var(--soft); }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.closing p { max-width: 39rem; }
.closing .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; font-size: .875rem; }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; }
.footer-name { font: var(--heading-weight) 1.5rem/1.2 var(--display); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.form-layout > * { min-width: 0; }
.form-panel { border: 1px solid var(--rule); padding: clamp(1.25rem, 4vw, 3rem); }
.demo-note { border-left: 3px solid var(--ink); padding-left: 1rem; margin-top: 2rem; font-size: 1rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 1rem; font: var(--heading-weight) 1.8rem/1.2 var(--display); }
.field { margin-bottom: 1.4rem; }
label { display: block; margin-bottom: .4rem; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--control); border-radius: 0; padding: .7rem; font-size: 1rem; color: var(--ink); background: var(--paper); }
textarea { resize: vertical; }
.field .small { margin-top: .45rem; }
.confirmation { padding-block: 1rem; }
.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-child { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; }
@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: 0; }
  #navigation a { padding: .6rem .25rem; white-space: normal; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
}
@media (max-width: 800px) {
  .form-layout { grid-template-columns: 1fr; }
  .closing-layout, .footer-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 400px) {
  .site-header { gap: .75rem; }
  .brand { gap: .5rem; font-size: 1.65rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand small { font-size: .5rem; }
  .menu-toggle { padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.wrap { max-width: 1100px; }
.site-header { flex-direction: column; gap: .8rem; border-bottom: 3px double var(--ink); }
.brand { font-size: 2.5rem; font-weight: 700; }
.brand small { text-align: center; letter-spacing: .25em; }
#navigation { justify-content: center; gap: .5rem 2.5rem; }
.sailing-opening { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem 4rem; padding-block: 3.5rem; align-items: center; }
.sailing-opening > *, .course-ledger article > *, .water-courses > *, .school-story > * { min-width: 0; }
.sailing-title { grid-column: 1 / -1; text-align: center; }
.sailing-title h1 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1.04; letter-spacing: -.025em; }
.sailing-title .lead { margin-inline: auto; }
.water-window { width: 100%; max-width: 480px; }
.photo-index { font-size: .65rem; letter-spacing: .14em; border-top: 1px solid var(--rule); padding-top: .6rem; margin-top: .75rem; }
.winter-note { border-left: 4px solid var(--accent); padding: 1.5rem 0 1.5rem 2rem; }
.winter-note .eyebrow { color: var(--accent); }
.winter-note h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.term-band { background: var(--ink); color: var(--paper); }
.term-line { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; padding-block: 1.8rem; }
.term-line p { margin: 0; }
.term-line p + p { border-left: 1px solid #809fac; padding-left: 2rem; }
.term-line span { display: block; margin-bottom: .4rem; letter-spacing: .14em; font-size: .7rem; color: #f1c6b2; }
.learning-log { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.page-intro { border-bottom: 3px double var(--rule); padding-bottom: 3rem; }
.page-intro h1 { letter-spacing: -.02em; }
.term-heading { display: flex; align-items: start; gap: 1.5rem; padding-bottom: 1.5rem; }
.term-number { font: 700 3.5rem/1 var(--display); color: var(--accent); }
.term-heading .eyebrow { margin-bottom: .6rem; }
.term-heading h2 { margin: 0; }
.course-ledger article { display: grid; grid-template-columns: 150px 1fr 100px; gap: 2.5rem; padding-block: 2rem; border-top: 1px solid var(--rule); }
.date-block { text-align: center; border: 1px solid var(--rule); align-self: start; padding: .9rem .4rem; background: white; }
.date-block span { display: block; font-size: .65rem; letter-spacing: .07em; }
.date-block strong { display: block; font: 700 3.5rem/1.3 var(--display); }
.course-ledger h3 { font-size: 2rem; }
.course-meta { color: #435e6e; font-size: .95rem; }
.course-price { font: 700 2.3rem/1.2 var(--display); }
.course-price span { display: block; font: .85rem/1.6 var(--body); margin-top: .3rem; }
.on-water-band { background: var(--soft); }
.water-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.water-courses article { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.water-courses h3 { font-size: 2rem; }
.private-lesson { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; border-bottom: 1px solid var(--rule); }
.school-story { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.boat-note { padding: 1.5rem; border: 1px solid var(--rule); }
.dinghy { max-width: 330px; }
.boat-note .eyebrow { margin-block: 1.5rem .5rem; }
.boats { border-top: 3px double var(--rule); }
.boat-types { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.boat-types h3 { font-size: 1.8rem; }
.packing-band { background: #e8eeeb; }
.packing-list { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
.packing-list h3 { font-size: 1.65rem; }
.form-panel { background: white; border-top: 4px solid var(--accent); }
.form-panel select { font-size: .95rem; }
.closing { border-top: 3px double var(--rule); }
@media (max-width: 1100px) {
  .site-header { flex-direction: row; }
  #navigation { gap: 0; }
  .sailing-opening { column-gap: 2rem; }
}
@media (max-width: 800px) {
  .sailing-opening { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .sailing-title { text-align: left; }
  .sailing-title .lead { margin-inline: 0; }
  .winter-note { padding-left: 1.5rem; }
  .term-line, .learning-log, .water-courses, .private-lesson, .school-story, .boat-types, .packing-list { grid-template-columns: 1fr; gap: 2rem; }
  .term-line p + p { border-left: 0; border-top: 1px solid #809fac; padding: 1.5rem 0 0; }
  .course-ledger article { grid-template-columns: 1fr auto; gap: 1rem; }
  .date-block { grid-column: 1 / -1; max-width: 150px; padding-inline: .8rem; }
  .boat-note { max-width: 380px; }
  .private-lesson > .eyebrow { margin: 0; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.8rem; }
  .course-ledger article { grid-template-columns: 1fr; }
  .sailing-title h1 { font-size: 2.65rem; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
