:root {
  color-scheme: dark;
  --ink: #10110f;
  --bone: #f5efe3;
  --muted: #b6b4a9;
  --brass: #e1c396;
  --line: #d9cbb82d;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --pad: clamp(22px, 5.4vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--bone); background: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { letter-spacing: -.061em; }
h1 em, h2 em { color: var(--brass); font-weight: inherit; }
::selection { background: #d9be8e; color: #171710; }
.wrap { width: min(100%, 1640px); margin-inline: auto; padding-inline: var(--pad); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 16px; color: var(--ink); background: var(--bone); }
[id] { scroll-margin-top: 18px; }
.mast { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #10110f; }
.mast-inner, .mast nav, .wordmark, .glass-link, .text-link, .actions, .kicker, .key-link, .footer, .underlink { display: flex; align-items: center; }
.mast-inner { min-height: 78px; justify-content: space-between; gap: 24px; }
.wordmark { width: fit-content; align-items: baseline; white-space: nowrap; font: 32px/1 var(--serif); letter-spacing: -.058em; }
.wordmark i { display: grid; place-items: center; align-self: center; width: 34px; height: 37px; margin-right: 11px; border: 1px solid #b49b716b; color: var(--brass); border-radius: 11px 11px 6px 6px; background: linear-gradient(145deg,#e6ce9c10,#0b0c0a); font: italic 26px/1 var(--serif); }
.wordmark small { margin-left: 7px; color: var(--muted); font: 9px var(--sans); text-transform: uppercase; letter-spacing: .16em; }
.mast nav { gap: clamp(18px, 3vw, 50px); }
.mast nav a, .text-link { color: #d3d1c6; font-size: 13px; font-weight: 500; }
.mast nav a { position: relative; padding: 12px 0; }
.mast nav a::after { content: ""; position: absolute; bottom: 5px; left: 0; width: 100%; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--brass); transition: transform .24s ease; }
.mast nav a:hover::after { transform: scaleX(1); }
.glass-link { border: 1px solid #c8c3ab4f; border-radius: 999px; background: linear-gradient(150deg,#f7ebd815,#e4d9c405 65%); box-shadow: inset 0 1px #ffffff0b; }
.glass-link { min-height: 41px; gap: 16px; padding: 7px 18px; font-size: 13px; }
.arrow { color: var(--brass); font-size: 19px; line-height: 1; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #10110f; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(560px, 46vw, 760px); padding-block: 58px 70px; pointer-events: none; }
.hero-copy { width: min(52%, 720px); }
.hero-copy a { pointer-events: auto; }
.kicker { gap: 14px; color: var(--brass); font: 600 10px/1.4 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.rule { height: 1px; width: 36px; flex: none; background: currentColor; }
h1 { margin: 31px 0 24px; font-size: clamp(75px, 7.8vw, 128px); line-height: .91; }
h1 em, h2 em { display: inline-block; }
.lead, .body-copy { color: var(--muted); line-height: 1.63; text-wrap: pretty; }
.lead { max-width: 412px; font-size: clamp(15px, 1.16vw, 18px); }
.actions { gap: 26px; flex-wrap: wrap; margin-top: 33px; }
.key-link { width: fit-content; min-height: 50px; gap: 20px; padding: 7px 8px 7px 23px; justify-content: space-between; color: #222016; font: 650 13px var(--sans); border-radius: 999px; border: 1px solid #eadac1; background: linear-gradient(145deg,#f5e6c9 0%,#e1c696 70%,#d7b783); box-shadow: inset 0 1px #fff6, 0 6px 20px #08080422; }
.button-arrow { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #68533045; border-radius: 50%; font: 19px/1 var(--sans); }
.text-link, .underlink { gap: 11px; width: fit-content; min-height: 40px; }
.text-link span, .underlink span { color: var(--brass); }
.glass-link, .key-link { transition: transform .22s, box-shadow .22s, border-color .22s; }
.glass-link:hover { border-color: #d8ba86; }
.key-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #caa15e26; }
.scene { position: absolute; z-index: -1; inset: 0 0 0 40%; }
.artwork { position: absolute; inset: 0; }
.artwork img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 32%; }
.flying-pawn {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .flying-pawn {
    transform:
      translate3d(calc(var(--flight-distance, 0px) * var(--sideways)), calc(var(--flight-distance, 0px) * var(--drop)), 0)
      rotate(calc(var(--flight-progress, 0) * var(--turn)))
      scale(calc(1 - var(--flight-progress, 0) * var(--recede)));
  }
  .flying-pawn.onyx {
    --sideways: .22; --drop: 1.55; --turn: 28deg; --recede: .26;
    transform-origin: 20% 57%;
  }
  .flying-pawn.brass {
    --sideways: .15; --drop: 1.32; --turn: -21deg; --recede: .16;
    transform-origin: 61% 39%;
  }
  .flying-pawn.silver {
    --sideways: -.08; --drop: 1.12; --turn: 17deg; --recede: .18;
    transform-origin: 84% 31%;
  }
}
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,var(--ink),transparent 26%), linear-gradient(0deg,#10110f66,transparent 12%); }
.spec-line { border-block: 1px solid var(--line); background: #151611; }
.spec-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 24px; }
.spec-list div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
.spec-list div + div { padding-left: clamp(20px, 4.3vw, 72px); border-left: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 12px; }
.spec-list dd { font: 29px/1.12 var(--serif); letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.spec-list dd em, .spec-list dd span, .spec-list dd small { color: var(--brass); }
.spec-list dd small { font-size: .65em; }
h2 { font-size: clamp(54px, 5.6vw, 93px); line-height: .99; }
.showcase { padding-block: clamp(64px, 8vw, 128px); }
.showcase-layout, .ambition { display: grid; align-items: center; gap: clamp(32px, 6.6vw, 106px); }
.showcase-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.exhibit-copy h2, .ambition-intro h2 { margin-block: 24px; }
.body-copy { max-width: 415px; }
.notation { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--bone); }
.menu-notes { display: grid; gap: 12px; max-width: 445px; margin: 0 0 20px; }
.menu-notes div { display: grid; grid-template-columns: 8.2em minmax(0,1fr); gap: 10px; align-items: baseline; }
.menu-notes dt { font: 17px/1.24 var(--serif); color: var(--brass); }
.menu-notes dd { color: var(--muted); font-size: 13px; line-height: 1.5; }
.score-sheet { width: fit-content; max-width: 100%; margin-block: 28px 20px; padding-block: 14px; border-block: 1px solid var(--line); }
.score-sheet h3 { font: 11px/1.3 var(--sans); color: var(--muted); margin-bottom: 10px; }
.score-sheet ol { padding: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; list-style: none; }
.score-sheet li { font: 17px/1.35 var(--serif); letter-spacing: .015em; }
.score-sheet li span { font-size: 13px; color: var(--muted); }
.score-sheet li b { font-weight: inherit; color: var(--brass); }
.underlink { color: var(--bone); font-size: 13px; text-decoration: underline; text-decoration-color: #988463; text-underline-offset: 5px; }
.display-case { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(18px,3vw,44px); border-radius: 25px; background: radial-gradient(ellipse at 25% 0%,#6a5b4255,transparent 60%), linear-gradient(135deg,#32342a,#24261e 60%,#343126); border: 1px solid #e6dfb824; }
.display-case::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: repeating-conic-gradient(#cbbb8a08 0 25%,transparent 0 50%) center/92px 92px; }
#menu-frame { display: block; width: min(100%,400px); height: 545px; border: 1px solid #ddc79a66; border-radius: 20px; background: var(--ink); box-shadow: 0 20px 40px #0506036e, 0 2px 6px #030401a6; }
.ambition { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); padding-block: clamp(68px,8vw,130px); }
.repertoire { background: radial-gradient(ellipse at 20% 80%,#8a785a0f,transparent 55%),#1b1d18; border-block: 1px solid var(--line); padding-block: clamp(52px,6.5vw,100px); }
.book-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.book-head h2 { margin-top: 17px; }
.book-head .body-copy { font-size: 15px; max-width: 420px; }
.book-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-block: 1px solid var(--line); padding-block: 14px; }
.book-picker button { padding: 10px 16px; min-height: 40px; border-radius: 999px; color: var(--muted); border: 1px solid transparent; background: none; font-size: 13px; }
.book-picker button:hover { color: var(--bone); background: #fff5df09; }
.book-picker button[aria-pressed="true"] { color: #f3d7aa; border-color: #d4bc8b77; background: linear-gradient(140deg,#d9be8e23,#d9be8e07); box-shadow: inset 0 1px #f5dfb816; }
.book-spread { padding-top: clamp(22px,3.6vw,54px); }
.interactive .book-spread { display: grid; grid-template-columns: minmax(240px,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(28px,6.7vw,106px); }
.diagram { justify-self: center; width: min(100%,410px); margin: 0; padding: 12px; border: 1px solid #cfb99260; border-radius: 16px; background: linear-gradient(145deg,#383a2e,#20221c 55%,#2b2c23); box-shadow: inset 0 1px #f7e7c71c,0 12px 30px #080a0655; }
#line-board { display: grid; grid-template: repeat(8,1fr)/repeat(8,1fr); container-type: inline-size; width: 100%; aspect-ratio: 1; border-radius: 5px; overflow: hidden; border: 1px solid #2a2a23; }
.square { position: relative; display: grid; place-items: center; color: #20221b; font: clamp(22px,8.75cqi,43px)/1 "Segoe UI Symbol","DejaVu Sans",serif; user-select: none; }
.square.light { background: #cec1a0; }
.square.dark { background: #797b65; }
.square.ivory { color: #fff8e2; -webkit-text-stroke: .8px #34362e; text-shadow: 0 1px 2px #23261f77; }
.square.departed { background: #ba925b; }
.square.arrived { background: #e6c886; box-shadow: inset 0 0 0 2px #90703d; }
.square::before, .square::after { position: absolute; color: #3a4130; font: 650 clamp(7px,2.05cqi,10px)/1 var(--sans); -webkit-text-stroke: 0; text-shadow: none; }
.square[data-file]::after { content: attr(data-file); right: 2px; bottom: 2px; }
.square[data-rank]::before { content: attr(data-rank); left: 2px; top: 2px; }
.square.dark::before, .square.dark::after { color: #f7f0d5; }
.diagram-controls { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 11px; }
.diagram-controls button { flex: none; width: 42px; height: 38px; border: 1px solid #d0be994d; border-radius: 99px; background: #f9e6c60a; color: var(--brass); }
.diagram-controls button:disabled { opacity: .32; cursor: default; }
.diagram-controls span { color: #ede0c8; font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.book-entries { min-width: 0; max-width: 540px; }
.book-entries article + article:not([hidden]) { margin-top: 26px; }
.interactive .book-entries article + article:not([hidden]) { margin: 0; }
.book-type { color: var(--brass); font-size: 12px; }
.book-entries h3 { margin-block: 8px 13px; font-size: clamp(30px,3.1vw,50px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.book-entries p:not(.book-type) { color: var(--muted); line-height: 1.58; }
.variation { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 0; margin: 20px 0; list-style: none; font: 17px/1.25 var(--serif); }
.variation button { padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); color: #e5dfd1; background: #ffffff05; font: inherit; min-height: 34px; }
.variation button[aria-current="step"] { color: #201d15; background: var(--brass); border-color: var(--brass); }
.variation button:hover:not([aria-current]), .diagram-controls button:hover:enabled { border-color: var(--brass); }
.board-tip { padding-left: 14px; border-left: 2px solid #b99d68; font-size: 14px; }
.board-tip b { display: block; margin-bottom: 4px; color: var(--bone); font-weight: 600; }
#line-random { margin-top: 18px; color: var(--bone); }
.repertoire [hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .exhibit-copy h2, .book-head h2, .ambition-intro h2, .license-plate h2 {
      animation: enter-heading 1s ease-out both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 100%;
    }
    @keyframes enter-heading {
      from { opacity: .72; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}
.study-list { border-top: 1px solid var(--line); }
.study-list details { border-bottom: 1px solid var(--line); }
.study-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: clamp(25px,2.6vw,43px)/1.1 var(--serif); letter-spacing: -.04em; }
.study-list summary::-webkit-details-marker { display: none; }
.study-list summary span { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; }
.study-list summary span::before, .study-list summary span::after { content: ""; position: absolute; width: 9px; height: 1px; background: var(--brass); }
.study-list details:not([open]) summary span::after { transform: rotate(90deg); }
.study-list p { max-width: 460px; color: var(--muted); padding: 0 28px 24px 0; font-size: 14px; }
.license-section { padding-bottom: clamp(58px,6vw,96px); }
.license-plate { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: clamp(28px,5vw,80px); border: 1px solid #bcac8760; border-radius: 24px; background: radial-gradient(ellipse at top left,#74614334,transparent 63%), linear-gradient(120deg,#282920,#1b1c17 78%,#29291f); box-shadow: inset 0 1px #ffecc71c; }
.license-plate h2 { margin: 17px 0 14px; }
.license-plate p:not(.kicker) { max-width: 425px; color: var(--muted); font-size: 14px; }
.license-action { display: grid; gap: 18px; }
.price { font: 68px/1 var(--serif); letter-spacing: -.07em; }
.price i { color: var(--brass); font-size: .64em; }
.footer { min-height: 92px; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: 25px; }
.footer > span { color: var(--muted); font-size: 12px; }
@media (min-width: 1700px) { .scene { inset-inline: calc(50% - 225px) 0; } .artwork img { object-fit: contain; } }
@media (max-width: 850px) {
  .mast-inner { min-height: 66px; }
  .mast nav { gap: 17px; }
  .hero-inner { min-height: 460px; }
  h1 { font-size: clamp(58px,8.2vw,73px); }
  .showcase-layout, .ambition { gap: 30px; }
  .showcase-layout { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .display-case { padding: 18px 12px; }
}
@media (max-width: 680px) {
  .mast nav { display: none; }
  .mast-inner { min-height: 63px; }
  .wordmark { font-size: 27px; }
  .wordmark i { width: 29px; height: 31px; font-size: 21px; margin-right: 8px; }
  .glass-link { padding: 6px 12px; gap: 9px; font-size: 12px; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; display: block; min-height: auto; padding-top: 41px; padding-bottom: 0; }
  .hero-copy { width: 100%; }
  h1 { margin: 21px 0 14px; font-size: clamp(61px,13.6vw,85px); line-height: .94; }
  .lead { max-width: 390px; font-size: 15px; }
  .actions { margin-top: 21px; gap: 18px; }
  .scene { position: relative; z-index: 0; inset: auto; height: clamp(235px,78vw,455px); margin-top: 2px; }
  .artwork img { object-position: center 32%; }
  .scene::after { background: linear-gradient(180deg,var(--ink),transparent 14%,transparent 91%,#10110f44); }
  .spec-list { padding-block: 18px; }
  .spec-list div + div { padding-left: 12px; }
  .spec-list dd { font-size: clamp(17px,4.6vw,25px); }
  .spec-list dt { font-size: 10px; }
  .showcase-layout, .ambition { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .display-case { padding: 20px 8px; border-radius: 19px; }
  .exhibit-copy h2, .ambition-intro h2 { margin-block: 16px; }
  h2 { font-size: clamp(52px,12vw,70px); }
  .score-sheet { margin-block: 20px 8px; }
  .menu-notes { margin-block: 8px 14px; }
  .menu-notes div { grid-template-columns: 1fr; gap: 3px; }
  .book-head { display: block; }
  .book-head .body-copy { margin-top: 14px; }
  .book-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .book-picker button { padding: 8px 5px; font-size: 12px; border-color: var(--line); }
  .interactive .book-spread { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .diagram { padding: 9px; width: min(100%,370px); }
  .book-entries { max-width: none; }
  .license-plate { align-items: flex-start; flex-direction: column; gap: 26px; }
  .license-action { width: 100%; border-top: 1px solid var(--line); padding-top: 19px; }
  .price { font-size: 52px; }
  .footer { flex-wrap: wrap; justify-content: space-between; padding-block: 22px; }
  .footer > span { order: 3; width: 100%; }
}
@media (max-width: 355px) {
  .mast .wordmark small { display: none; }
  .glass-link { white-space: nowrap; gap: 5px; }
  h1 { font-size: 52px; }
  .hero .key-link { padding-left: 14px; gap: 9px; }
  .spec-list { padding-inline: 13px; }
  .hero .text-link { font-size: 12px; }
  .actions { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
