:root {
  color-scheme: dark;
  --walnut: #3a2418;
  --walnut-deep: #24160f;
  --ivory: #f3ead8;
  --ink: #1a1716;
  --oxblood: #8e1f1b;
  --brass: #b8893a;
  --muted: #d9ccb3;
  --display: 'Suez One', 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
  --body: 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--walnut-deep); scrollbar-color: var(--muted) var(--walnut-deep); }
body { margin: 0; color: var(--ink); font-family: var(--body); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .065em; }
p, h1, h2 { margin: 0; }
::selection { background: var(--oxblood); color: var(--ivory); }
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 4px; }
.format-tab:focus-visible { outline-color: var(--ink); outline-offset: -4px; }
.skip-link { position: fixed; z-index: 20; top: 12px; right: 12px; padding: 12px 20px; background: var(--ivory); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); outline-color: var(--oxblood); outline-offset: -4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.board { position: relative; width: 100%; aspect-ratio: 1586 / 992; container-type: inline-size; isolation: isolate; }
.board-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.board-plate { display: block; width: 100%; height: 100%; object-fit: fill; }
.plate-slot { position: absolute; pointer-events: none; }
.plate-slot img { display: block; position: absolute; max-width: none; }
.hinge-upper { left: 40.610%; top: 12.700%; width: 3.910%; height: 12.500%; }
.hinge-upper img { width: 144.33%; height: 108.25%; left: -22.03%; top: -4.02%; }
.hinge-lower { left: 40.610%; top: 75%; width: 3.910%; height: 12.500%; }
.hinge-lower img { width: 108.69%; height: 108.70%; left: -4.47%; top: -3.37%; }
.checker-ivory { left: 45.520%; top: 15.730%; width: 5.800%; height: 9.380%; }
.checker-ivory img { width: 115.15%; height: 113.91%; left: -7.438%; top: -7.177%; }
.checker-oxblood { left: 45.520%; top: 25.100%; width: 5.800%; height: 9.380%; }
.checker-oxblood img { width: 144.304%; height: 142.75%; left: -22.78%; top: -21.04%; }
.rail a, .nav-sep { position: absolute; }
.rail { color: var(--ivory); font-family: var(--display); }
.rail a { display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 1.24cqw; line-height: 1.1; text-decoration: none; }
.rail a:hover, .rail a[aria-current] { text-decoration: underline; }
.nav-brand { left: 58.700%; top: 1.610%; width: 9.650%; height: 2.220%; font-weight: 700; }
.nav-game { left: 51.890%; top: 1.810%; width: 3.780%; height: 2.220%; }
.nav-directions { left: 43.630%; top: 1.810%; width: 5.170%; height: 2.020%; }
.nav-language { left: 35.880%; top: 1.610%; width: 4.540%; height: 2.820%; }
.nav-sep { top: 1.410%; width: 1px; height: 2.820%; background: var(--muted); }
.sep-1 { left: 57.220%; }
.sep-2 { left: 50.350%; }
.sep-3 { left: 41.960%; }
.reading-ground { position: absolute; left: 57.690%; top: 6.450%; width: 33.730%; height: 88.710%; background: var(--ivory); }
.inset-upper { display: block; height: 53.64%; }
.inset-lower { position: absolute; inset: 64.999% 0 0; }
#main:focus, #format:focus { outline: none; }
h1 { font-family: var(--display); font-weight: 700; }
.h1-name, .h1-category, .h1-rivals { position: absolute; display: block; text-align: right; white-space: nowrap; line-height: 1; }
.h1-name { left: 61.540%; top: 17.15%; width: 27.360%; font-size: 8.35cqw; }
.h1-category { left: 61.480%; top: 31.7%; width: 27.680%; font-size: 4.25cqw; }
.h1-rivals { left: 61.480%; top: 39.97%; width: 27.490%; font-size: 2.54cqw; }
.rivalry { position: absolute; left: 5.610%; top: 34.880%; width: 32.030%; height: 17.740%; background: var(--ink); color: var(--ivory); border: 1px solid var(--ivory); text-align: center; }
.rivalry-line { position: absolute; left: 13.98%; top: 15.91%; width: 72.05%; font-family: var(--display); font-size: 1.7654cqw; line-height: 1.26; }
.rivalry-rule { position: absolute; left: 23.82%; top: 61.93%; width: 52.36%; height: 1px; background: var(--muted); }
.place-line { position: absolute; left: 12%; top: 72.16%; width: 76%; font-family: var(--display); font-size: 1.5763cqw; line-height: 1.2; color: var(--muted); }
.place-line a { display: inline-block; }
.call-bar { position: absolute; left: 2.080%; top: 54.230%; width: 95.840%; height: 9.680%; display: flex; align-items: center; justify-content: center; background: var(--oxblood); color: var(--ivory); border-block: 1px solid var(--brass); text-decoration: none; }
.call-label { display: block; font-family: var(--display); font-weight: 700; font-size: 3.594cqw; line-height: 1.08; white-space: nowrap; }
.call-bar:hover { background: #741915; }
.call-bar:active { background: #621611; }
bdi { font-variant-numeric: tabular-nums; }
.format-tab { position: absolute; left: 11.100%; top: 65.220%; width: 23.010%; height: 6.650%; display: flex; align-items: center; justify-content: center; background: var(--ivory); color: var(--ink); }
.format-tab span { font-family: var(--display); font-size: 1.5132cqw; line-height: 1.2; white-space: nowrap; }
.format-tab:hover { color: var(--oxblood); }
#format { scroll-margin-top: 1rem; }
#format h2 { position: absolute; left: 61.920%; top: 67.8%; width: 26.990%; font-family: var(--display); font-size: 2.333cqw; line-height: 1.1; font-weight: 700; white-space: nowrap; text-align: right; }
.format-rule { position: absolute; left: 61.540%; top: 73.590%; width: 27.360%; height: 1px; background: var(--ink); }
.format-body { position: absolute; left: 61.540%; top: 76.110%; width: 27.430%; font-size: 1.324cqw; line-height: 1.42; text-align: right; }
.format-body strong { font-weight: 700; }
html[lang="en"] .rail nav { position: absolute; left: 35.880%; top: .810%; width: 35.16%; height: 4.230%; display: flex; flex-direction: row; align-items: center; gap: 1.3cqw; direction: ltr; }
html[lang="en"] .rail a { position: static; width: auto; height: auto; font-size: max(14px, .92cqw); }
html[lang="en"] .nav-sep { position: static; flex: 0 0 1px; height: 1.4em; }
html[lang="en"] .nav-brand { width: 13%; left: 57.8%; }
html[lang="en"] .nav-game { width: 4.5%; left: 51.53%; }
html[lang="en"] .h1-name { font-size: 4.4cqw; top: 19.1%; }
html[lang="en"] .h1-subtitle { position: absolute; left: 61.480%; top: 28.5%; width: 27.680%; display: block; line-height: 1.2; }
html[lang="en"] .h1-category { position: static; width: auto; font-size: 2.39cqw; line-height: inherit; }
html[lang="en"] .h1-rivals { position: static; width: auto; font-size: 2.24cqw; line-height: inherit; margin-top: .22em; }
html[lang="en"] .call-label { display: inline-flex; align-items: baseline; gap: .22em; }
html[lang="en"] .h1-name, html[lang="en"] .h1-category, html[lang="en"] .h1-rivals, html[lang="en"] #format h2, html[lang="en"] .format-body { text-align: left; }
html[lang="en"] .rivalry-line { font-size: 1.55cqw; }
html[lang="en"] .place-line { font-size: 1.25cqw; }
html[lang="en"] .format-tab span { font-size: 1.12cqw; }
html[lang="en"] #format h2 { left: 61.540%; width: 27.430%; font-size: 1.56cqw; }
html[lang="en"] .format-body { font-size: 1.25cqw; line-height: 1.45; }
@media (max-width: 900px) {
  .board { min-height: 100svh; aspect-ratio: auto; padding: 20px 22px 42px; }
  .board-art { overflow: hidden; }
  .board-plate { position: absolute; width: max(844px, 100svh); height: max(1350px, 159.95svh); left: calc(50% - max(422px, 50svh)); top: calc(50% - max(675px, 79.975svh)); transform: rotate(90deg); object-fit: fill; }
  .plate-slot { display: none; }
  .rail { position: relative; margin: -8px -8px 26px; background: var(--walnut-deep); }
  .rail nav, html[lang="en"] .rail nav { position: static; width: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 17px; padding: 8px; }
  .rail a, html[lang="en"] .rail a { position: static; width: auto; height: auto; font-size: 14px; min-height: 44px; }
  .rail .nav-brand, html[lang="en"] .nav-brand { flex-basis: 100%; width: 100%; font-size: 18px; }
  .nav-sep, html[lang="en"] .nav-sep { display: none; }
  #main, #hero, #format { position: relative; }
  .reading-ground { position: absolute; left: 0; top: 0; width: 100%; height: 214px; }
  h1 { position: relative; min-height: 214px; padding: 32px 16px; text-align: center; background: var(--ivory); }
  .h1-name, .h1-category, .h1-rivals, html[lang="en"] .h1-name, html[lang="en"] .h1-category, html[lang="en"] .h1-rivals { position: static; width: auto; text-align: center; line-height: 1.2; white-space: normal; }
  .h1-name { font-size: clamp(40px, 13cqw, 65px); }
  .h1-category { font-size: clamp(25px, 7.3cqw, 36px); margin-top: 10px; }
  .h1-rivals { font-size: clamp(16px, 4.55cqw, 24px); margin-top: 10px; }
  .rivalry { position: relative; left: auto; top: auto; width: 100%; height: auto; margin-top: 14px; padding: 18px 12px 14px; }
  .rivalry-line, html[lang="en"] .rivalry-line { position: static; width: auto; font-size: 18px; line-height: 1.4; }
  .rivalry-rule { position: static; display: block; width: 65%; margin: 13px auto 10px; }
  .place-line, html[lang="en"] .place-line { position: static; width: auto; font-size: 16px; }
  .call-bar { position: relative; left: auto; top: auto; width: calc(100% + 24px); min-height: 64px; height: auto; margin: 14px -12px 0; padding: 14px 4px; }
  .call-label { font-size: clamp(20px, 5.55cqw, 27px); line-height: 1.35; }
  .format-tab { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 48px; margin: 14px auto 20px; padding: 10px; }
  .format-tab span, html[lang="en"] .format-tab span { font-size: 16px; white-space: normal; text-align: center; }
  #format { background: var(--ivory); padding: 24px 18px; }
  #format h2, html[lang="en"] #format h2 { position: static; width: auto; font-size: 23px; white-space: normal; text-align: start; line-height: 1.3; }
  .format-rule { position: static; display: block; width: 100%; margin: 16px 0; }
  .format-body, html[lang="en"] .format-body { position: static; width: auto; font-size: 17px; line-height: 1.6; text-align: start; }
  html[lang="en"] .h1-name { font-size: 43px; }
  html[lang="en"] .h1-subtitle { position: static; width: auto; margin-top: 10px; }
  html[lang="en"] .h1-category { font-size: 23px; }
  html[lang="en"] .h1-subtitle .h1-category { margin-top: 0; }
  html[lang="en"] .h1-rivals { font-size: 20px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* The measured opening stays a fixed frame; the close continues on its walnut rim. */
.board { aspect-ratio: auto; background: var(--walnut); }
.opening { position: relative; aspect-ratio: 1586 / 992; container-type: inline-size; isolation: isolate; }
.rail { position: absolute; inset: 0 0 auto; height: 62.5473cqw; z-index: 3; pointer-events: none; }
.rail a { pointer-events: auto; }
.format-close { width: 33.73%; margin-left: 57.69%; margin-top: -3.314cqw; padding: 0 3.85cqw 2.5cqw; position: relative; background: var(--ivory); }
.format-prompt { font-family: var(--display); font-size: clamp(18px, 1.7cqw, 28px); line-height: 1.4; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 5vw; margin: 0 5.61%; padding-block: 72px 64px; color: var(--ivory); border-bottom: 1px solid var(--brass); scroll-margin-top: 24px; }
.visit-copy { grid-column: 1; padding: 32px; background: var(--ivory); color: var(--ink); }
.visit h2 { font-family: var(--display); font-size: clamp(30px, 3.3vw, 48px); line-height: 1.2; margin-bottom: 22px; }
.visit address { font-style: normal; font-size: 20px; line-height: 1.5; margin-bottom: 22px; }
.visit-copy p { max-width: 70ch; font-size: 19px; line-height: 1.65; }
.visit-actions { grid-column: 1; display: flex; flex-direction: column; align-items: stretch; }
.visit-call { background: var(--oxblood); color: var(--ivory); padding: 18px 16px; font-family: var(--display); font-size: clamp(20px, 2vw, 29px); text-align: center; text-decoration: none; border-block: 1px solid var(--brass); }
.visit-call:hover { background: #741915; }
.visit-call:active { background: #621611; }
.directions-link { padding: 18px 12px 6px; font-size: 20px; text-align: center; }
.directions-link:hover { color: var(--muted); }
.external-hint { font-size: 14px; color: var(--muted); text-align: center; }
.travel-note { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.venue-photo { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; width: 100%; max-width: 640px; }
.venue-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 62%; }
.venue-photo figcaption { padding-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 5.61%; padding-block: 32px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--ivory); }
.visit-copy a:focus-visible, .statement a:focus-visible { outline-color: var(--oxblood); }
.document-rail { background: var(--walnut-deep); color: var(--ivory); padding: 20px 6vw; }
.document-rail nav { display: flex; justify-content: space-between; gap: 24px; }
.document-rail a { min-height: 44px; display: inline-flex; align-items: center; font-family: var(--display); }
.statement-page { background: var(--walnut); }
.statement { margin: 48px auto; width: min(78%, 900px); padding: clamp(24px, 5vw, 64px); background: var(--ivory); color: var(--ink); }
.statement h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.2; margin-bottom: 28px; }
.statement p, .statement li { font-size: 18px; line-height: 1.75; max-width: 70ch; }
.statement h2 { font-family: var(--display); font-size: 26px; line-height: 1.3; margin: 38px 0 18px; }
.statement ul { padding-inline-start: 24px; margin: 0; }
.statement li { margin-bottom: 12px; }
.statement section { margin-bottom: 32px; }
/* One move, initiated by a visit to the format; copy and actions stay still. */
.opening.move-played .checker-ivory { transform: translateX(-235%); }
.opening.move-played .checker-oxblood { animation: answer-move 700ms cubic-bezier(.16, 1, .3, 1) both; }
.opening.move-played .checker-ivory { transition: transform 700ms cubic-bezier(.16, 1, .3, 1); }
@keyframes answer-move { from { transform: translateX(-235%); } to { transform: translateX(0); } }
@media (max-width: 900px) {
  .rail { position: relative; inset: auto; height: auto; }
  .opening { aspect-ratio: auto; }
  .format-close { width: 100%; margin: 0; padding: 0 18px 26px; }
  .visit { display: flex; flex-direction: column; gap: 24px; margin: 0; padding-block: 48px 24px; }
  .visit-copy { padding: 24px 18px; }
  .visit-copy p { font-size: 18px; }
  .visit-actions { width: 100%; }
  .visit-call, .directions-link { min-height: 48px; }
  .venue-photo { align-self: center; }
  .venue-photo img { aspect-ratio: 4 / 3; }
  .site-footer { margin-inline: 0; padding: 24px 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .statement-page .site-footer { margin-inline: 6vw; }
  .statement { width: 88%; margin-block: 26px; }
  .statement h1 { min-height: 0; padding: 0; text-align: start; }
  #format { padding-bottom: 190px; }
  #format::after { content: ''; position: absolute; bottom: 93px; left: 18px; right: 18px; height: 1px; background: var(--brass); }
  .opening > .checker-ivory, .opening > .checker-oxblood { display: block; top: auto; left: calc(50% - 29px); width: 58px; height: 58px; z-index: 1; }
  .opening > .checker-ivory { bottom: 100px; }
  .opening > .checker-oxblood { bottom: 30px; }
  .opening.move-played .checker-ivory { transform: translateY(70px); }
  .opening.move-played .checker-oxblood { animation-name: answer-mobile; }
  @keyframes answer-mobile { from { transform: translateY(0); } to { transform: translateY(-70px); } }
}
@media (prefers-reduced-motion: reduce) {
  .opening .checker-ivory { transform: translateX(-235%); }
  .opening.move-played .checker-oxblood { transform: none; }
}
@media (min-width: 901px) {
  #format { position: absolute; left: 0; top: 64%; width: 100%; height: 36%; }
  #format h2 { top: 10.5556%; }
  #format .format-rule { top: 26.6389%; }
  #format .format-body { top: 33.6389%; }
  .format-close { margin-top: 0; padding-top: 24px; }
}
.document-rail .nav-language { position: static; width: auto; height: auto; }
@media (min-width: 901px) {
  .format-close { margin-left: 57.69%; margin-right: 8.58%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .opening .checker-ivory { transform: translateY(70px); }
  .opening .checker-oxblood, .opening.move-played .checker-oxblood { transform: translateY(-70px); }
}
