@font-face { font-family: 'Kibitz Display'; src: url('./assets/newsreader-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Kibitz Text'; src: url('./assets/OhwSubsetSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Kibitz Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --paper: #183c2f; --ink: #efe6cb; --accent: #efe6cb; --on-accent: #183c2f; --rule: #4f7565; --control: #efe6cb; --field: #fbf6e7; --field-ink: #183c2f; --display: 'Kibitz Display', Georgia, serif; --body: 'Kibitz Text', Arial, sans-serif; --label: 'Kibitz Mono', monospace; --weight: 600; }

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: var(--body-size, 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: 4px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1.1rem; font-family: var(--display); font-weight: var(--weight); line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.3rem, 6vw, 5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.4rem; }
figure { margin: 0; }
svg { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: 3.5rem 1.5rem; }
.page-intro .lead { max-width: 44rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { margin-bottom: 1.2rem; font: .78rem/1.6 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.small { font-size: .875rem; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; padding: 1rem; color: var(--ink); background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a:hover, #navigation a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 2px solid currentColor; min-height: 44px; padding: .5rem 1rem; background: transparent; border-radius: 0; }
.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.button, .text-link { display: inline-flex; align-items: center; gap: .9rem; min-height: 48px; font: 1rem/1.4 var(--label); max-width: 100%; }
.button { justify-content: space-between; padding: .9rem 1.25rem; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; }
.button:hover { text-decoration: underline; }
.text-link { padding-block: .6rem; font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split > *, .form-layout > * { min-width: 0; }
.closing { padding-block: 3.5rem; }
.closing-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-layout h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .6rem; }
.closing-layout .button { flex-shrink: 0; }
.site-footer { padding-block: 2.5rem; font-size: .9rem; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-name { font: var(--weight) 1.5rem/1.2 var(--display); margin-bottom: .6rem; }
.site-footer a { display: inline-block; padding-block: .75rem; }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.form-panel { padding: clamp(1rem, 3vw, 2.5rem); }
.demo-note { border-left: 4px solid currentColor; padding-left: 1rem; margin-top: 2rem; font-size: .95rem; }
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; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-size: .95rem; font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: .7rem; border: 2px solid var(--control); border-radius: 0; color: var(--field-ink, var(--ink)); background: var(--field, #fff); 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: 1.9rem; }
.prose > .small { margin-top: 3rem; }
.questions { max-width: 850px; }
details { border-top: 2px solid var(--rule); padding-block: .9rem; }
details:last-of-type { border-bottom: 2px 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 { padding-top: .8rem; max-width: 48rem; }
.price-list { margin: 0; padding: 0; }
.price-list > div { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.5rem; padding-block: 1rem; border-bottom: 2px solid var(--rule); }
.price-list dt { font-weight: 700; }
.price-list dd { margin: 0; text-align: right; font-family: var(--label); }
.price-list dd.note { grid-column: 1 / -1; text-align: left; font-family: var(--body); font-size: .95rem; }
.calendar { margin: 0; padding: 0; list-style: none; }
.calendar li { display: grid; grid-template-columns: 12rem 1fr; gap: .4rem 2rem; padding-block: 1.1rem; border-bottom: 2px solid var(--rule); }
.calendar time { font: 700 1rem/1.4 var(--label); }
.calendar h3 { margin-bottom: .3rem; font-size: 1.3rem; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .closing-layout { align-items: start; flex-direction: column; }
  .footer-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .calendar li { grid-template-columns: 1fr; }
  .page-intro { padding-top: 2.5rem; }
}
@media (max-width: 420px) {
  .price-list > div { grid-template-columns: 1fr; }
  .price-list dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.light { --ink: #183c2f; --accent: #183c2f; --on-accent: #efe6cb; --rule: #b9ab84; --control: #183c2f; color: var(--ink); background: #efe6cb; }
.site-header { border-bottom: 12px solid transparent; border-image: repeating-linear-gradient(90deg, #efe6cb 0 12px, #2f6b52 12px 24px) 12; }
.header-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; width: min(calc(100% - 40px), 1280px); margin-inline: auto; padding-top: 1.2rem; }
.brand { display: flex; flex-direction: column; justify-content: center; padding-bottom: 1rem; font: 600 2.2rem/1 var(--display); text-decoration: none; }
.brand span { margin-top: .4rem; font: .72rem/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; }
#navigation { display: flex; align-items: flex-end; gap: 0; }
#navigation a { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: .6rem 1rem .8rem; border-left: 1px solid var(--rule); font-size: .98rem; }
#navigation a[aria-current] { background: #efe6cb; color: #183c2f; text-decoration: none; }
.coord { font: .7rem/1 var(--label); letter-spacing: .1em; margin-bottom: .35rem; }
.board-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.board-hero figure { grid-column: 1; grid-row: 1; background: #6b4529; display: flex; align-items: center; justify-content: center; }
.board-drawing { display: block; width: 100%; height: auto; }
.hero-text { grid-column: 2; grid-row: 1; align-self: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem); }
.hero-text h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); }
.square-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.square-prices > div { padding: 2rem clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.square-prices > div:nth-child(odd) { background: #efe6cb; color: #183c2f; }
.square-prices > div:nth-child(even) { background: #2f6b52; }
.square-prices h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.square-prices p { font: 1rem/1.4 var(--label); }
.moves { list-style: none; counter-reset: move; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.moves li { counter-increment: move; border-top: 4px solid #c0442c; padding-top: 1rem; min-width: 0; }
.moves li::before { content: counter(move) "."; display: block; font: 600 2.6rem/1 var(--display); margin-bottom: .6rem; }
.open-play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tables-drawing { display: block; width: 100%; height: auto; border: 4px solid #183c2f; }
.closing { border-top: 4px solid #c0442c; }
.strip-heading { margin-bottom: 0; padding-block: 2rem 1rem; }
.values { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.values li { min-width: 0; border-left: 4px solid #2f6b52; padding-left: 1rem; }
.form-panel { background: #efe6cb; color: #183c2f; --ink: #183c2f; --accent: #183c2f; --on-accent: #efe6cb; --control: #183c2f; }
.site-footer { border-top: 2px solid var(--rule); }
@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; gap: 0 1.5rem; }
  #navigation { flex-wrap: wrap; }
  #navigation a { padding-inline: .7rem; font-size: .92rem; }
  .brand { font-size: 1.9rem; }
}
@media (max-width: 900px) {
  .board-hero { grid-template-columns: 1fr; }
  .board-hero figure, .hero-text { grid-column: 1; grid-row: auto; }
  .square-prices { grid-template-columns: 1fr 1fr; }
  .moves, .open-play, .values { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; align-items: center; padding-bottom: 1rem; }
  .brand { padding-bottom: 0; font-size: 1.8rem; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; }
  #navigation a { flex-direction: row; align-items: center; justify-content: flex-start; gap: .8rem; border-left: 0; border-top: 1px solid var(--rule); }
  .coord { margin-bottom: 0; }
}
@media (max-width: 420px) {
  .square-prices { grid-template-columns: 1fr; }
  .square-prices > div:nth-child(3) { background: #2f6b52; color: var(--ink); }
  .square-prices > div:nth-child(4) { background: #efe6cb; color: #183c2f; }
}
html:not(.has-menu) .menu-toggle { display: none !important; }
