:root {
  color-scheme: dark;
  --ink: #11110f;
  --ivory: #f9f8f3;
  --muted: #cbc6bb;
  --brass: #ffac00;
  --line: rgb(255 172 0 / 25%);
  --page-gutter: clamp(24px, 5.2vw, 96px);
  --header-height: 96px;
  font-family: 'Source Sans 3', sans-serif;
  font-synthesis: none;
  color: var(--ivory);
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; font-size: 18px; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
img { display: block; max-width: 100%; }
svg { flex: none; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; }
h1:focus, h2:focus { outline: none; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; text-wrap: balance; }
.container { width: min(100% - var(--page-gutter) * 2, 1560px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 18px; background: var(--ivory); color: var(--ink); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

/* White-and-gold brand, warm metal and black lacquer carry through every surface. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: linear-gradient(180deg, rgb(17 17 15 / 96%), rgb(17 17 15 / 64%) 65%, transparent); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.brand { display: block; width: clamp(210px, 22vw, 300px); aspect-ratio: 4.25; flex: none; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-size: 15px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--brass); border-color: var(--brass); }
.menu-toggle { min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line); border-radius: 3px; font-size: 15px; }

/* Progressive enhancement: one pinned set, with only dealt cards, chips and copy changing. */
[data-studio] { --studio-progress: 0; --chapter-travel: max(560px, 88svh); }
.studio-story { position: relative; isolation: isolate; }
.studio-pin { position: relative; }
.studio-stage { position: absolute; inset: 0; height: 100vh; height: 100svh; overflow: clip; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 78% 33%, #3b2b13, var(--ink) 75%); }
.studio-room { position: absolute; inset: 0; }
.studio-room img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.studio-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 76% 35%, rgb(255 172 0 / 9%), transparent 51%); }
.studio-cast { position: absolute; bottom: 0; right: max(0px, calc((100vw - 1740px) / 2)); width: min(calc((100vh - 86px) * 1.333333), 90vw); width: min(calc((100svh - 86px) * 1.333333), 90vw); aspect-ratio: 4 / 3; }
/* A grounding shadow and a feathered photo share the fixed set, at every viewport. */
.studio-cast::before { content: ''; position: absolute; left: 2%; top: 84%; width: 96%; height: 20%; background: radial-gradient(ellipse at center, rgb(0 0 0 / 46%) 0%, rgb(0 0 0 / 24%) 38%, transparent 72%); pointer-events: none; }
.cast-photo {
  --cast-photo-source: url('../images/gold-host-1440.webp');
  --photo-side-fade: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 4%) 2%, rgb(0 0 0 / 22%) 5%, rgb(0 0 0 / 62%) 9%, rgb(0 0 0 / 92%) 13%, #000 17%, #000 86%, rgb(0 0 0 / 98%) 90%, rgb(0 0 0 / 88%) 94%, rgb(0 0 0 / 60%) 97%, rgb(0 0 0 / 24%) 99%, transparent 100%);
  --photo-base-fade: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 15%) 1%, rgb(0 0 0 / 65%) 2.5%, #000 5%, #000 82%, rgb(0 0 0 / 95%) 86%, rgb(0 0 0 / 75%) 90%, rgb(0 0 0 / 38%) 94%, rgb(0 0 0 / 10%) 97%, transparent 100%);
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  -webkit-mask-image: var(--photo-side-fade);
  mask-image: var(--photo-side-fade);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* The soft photographic fringe sits beneath the crisp face, hands and playing surface. */
.cast-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cast-photo-source) center / 100% 100% no-repeat;
  filter: blur(clamp(5px, 1.15vw, 18px));
  opacity: .28;
  pointer-events: none;
}
.cast-photo img { position: relative; z-index: 1; width: 100%; height: 100%; }
.cast-photo::before, .cast-photo img {
  -webkit-mask-image: var(--photo-base-fade);
  mask-image: var(--photo-base-fade);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.studio-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(17 17 15 / 76%), rgb(17 17 15 / 57%) 30%, rgb(17 17 15 / 10%) 55%, transparent 73%), linear-gradient(0deg, var(--ink), rgb(17 17 15 / 48%) 5%, transparent 16%); }
.scene-progress { position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); transform: scaleX(calc(var(--studio-progress) / 3)); transform-origin: left; opacity: .65; }
.studio-flow { position: relative; z-index: 1; overflow: clip; }
.studio-panel { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.panel-inner { padding-block: 150px 120px; }
.panel-copy { position: relative; isolation: isolate; width: min(46%, 550px); }
.panel-copy::before { content: ''; position: absolute; z-index: -1; inset: -80px -90px -90px -180px; background: radial-gradient(ellipse at 32% 50%, rgb(17 17 15 / 44%) 12%, rgb(17 17 15 / 18%) 48%, transparent 72%); pointer-events: none; }
.eyebrow { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; padding: 7px 16px 7px 12px; color: #ffe3aa; background: linear-gradient(100deg, rgb(255 172 0 / 16%), rgb(255 172 0 / 3%)); border-left: 2px solid var(--brass); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; min-height: 20px; margin-bottom: 22px; }
.eyebrow-rule { width: 22px; height: 1px; flex: none; background: var(--brass); }
h1 { font-size: clamp(62px, 7.15vw, 104px); line-height: .98; letter-spacing: -.01em; margin: 0 0 26px; }
.title-accent { color: var(--brass); }
@supports (background-clip: text) {
  .title-accent { background: linear-gradient(180deg, #ffe3aa 5%, #ffac00 45%, #e89908 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}
h1 .title-accent { display: block; }
.panel-copy > p:not(.eyebrow) { max-width: 450px; color: var(--muted); font-size: clamp(18px, 1.34vw, 21px); line-height: 1.65; }
.button { display: inline-flex; min-height: 52px; align-items: center; gap: 38px; padding: 12px 24px; margin-top: 28px; color: var(--ink); background: linear-gradient(180deg, #ffd16b, #ffac00); border: 1px solid #ffda87; border-radius: 3px; box-shadow: inset 0 1px 0 rgb(255 241 207 / 50%), 0 7px 28px rgb(255 172 0 / 18%); font-size: 16px; font-weight: 600; transition: box-shadow .2s, filter .2s; }
.button:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgb(255 241 207 / 50%), 0 8px 34px rgb(255 172 0 / 30%); }
.chapter-index { display: flex; align-items: center; gap: 18px; min-height: 20px; margin-bottom: 24px; color: var(--brass); font-size: 12px; letter-spacing: .15em; }
.chapter-index span { width: 68px; height: 1px; background: var(--line); }
h2 { font-size: clamp(44px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 26px; }
.panel-details h2 { font-size: clamp(42px, 4vw, 64px); }
.reading-contrasts { display: grid; gap: 22px; max-width: 470px; }
.reading-contrasts > div { border-top: 1px solid var(--line); padding-top: 16px; }
.reading-contrasts dt { margin-bottom: 6px; font-size: 19px; font-weight: 600; color: var(--ivory); }
.reading-contrasts dd { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* The table and portrait have no transform. Only the separate card and chip layers move. */
.card-deck { position: absolute; left: 51%; top: 79%; width: clamp(68px, 6.6vw, 98px); aspect-ratio: 5 / 7; transform: translate(-50%, -50%) perspective(900px) rotateX(57deg) rotateZ(-5deg); transform-style: preserve-3d; }
.deal-card { opacity: 0; --card-x: 0%; --card-y: 0%; --card-z: 0px; --card-turn: 0deg; --card-tilt: 0deg; position: absolute; inset: 0; transform: translate3d(var(--card-x), var(--card-y), calc(var(--card-z) * var(--card-depth-scale, 1))) rotateZ(var(--card-turn)) rotateY(var(--card-tilt)); transform-origin: 50% 60%; border-radius: 6%; background: #e8e3d8; box-shadow: 0 1px 0 #d9d3c5, 0 3px 0 #bdb6a6, 2px 10px 14px rgb(0 0 0 / 32%); backface-visibility: hidden; }
.card-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.playing-card { position: relative; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: linear-gradient(120deg, #fffdf8, #eee9dd); color: #20211e; border: 1px solid #dad3c4; }
.playing-card::after { content: ''; position: absolute; inset: 5%; border: 1px solid rgb(204 164 80 / 23%); border-radius: 4%; pointer-events: none; }
.deal-card[data-suit="hearts"], .deal-card[data-suit="diamonds"] { --suit-color: #a42e35; }
.playing-card svg { display: block; width: 100%; height: 100%; fill: var(--suit-color, #20211e); }
.card-corner { position: absolute; left: 7%; top: 5%; width: 15%; display: flex; align-items: center; flex-direction: column; gap: 1px; color: var(--suit-color, #20211e); z-index: 2; }
.card-corner span { font-family: 'Source Sans 3', sans-serif; font-size: clamp(12px, 1.32vw, 20px); font-weight: 600; line-height: 1; letter-spacing: -.07em; }
.card-corner svg { width: 70%; aspect-ratio: 40 / 48; height: auto; }
.card-corner--bottom { top: auto; left: auto; bottom: 5%; right: 7%; transform: rotate(180deg); }
.card-emblem { position: absolute; width: 38%; height: 33%; top: 32%; left: 31%; }
.card-court { position: absolute; inset: 18% 0 auto; text-align: center; font-family: 'DM Serif Display', Georgia, serif; color: var(--suit-color, #20211e); font-size: clamp(34px, 4.6vw, 68px); line-height: 1; }
.card-court:empty { display: none; }
.deal-card:is([data-rank="J"], [data-rank="Q"], [data-rank="K"]) .card-emblem { top: 62%; width: 25%; height: 22%; left: 37.5%; }
.card-pips { position: absolute; inset: 12% 21%; }
.card-pip { position: absolute; width: 27%; height: 16%; display: none; transform: translate(-50%, -50%); }
.pip-1 { left: 23%; top: 12%; } .pip-2 { left: 77%; top: 12%; }
.pip-3 { left: 23%; top: 37%; } .pip-4 { left: 77%; top: 37%; }
.pip-5 { left: 23%; top: 63%; } .pip-6 { left: 77%; top: 63%; }
.pip-7 { left: 23%; top: 88%; } .pip-8 { left: 77%; top: 88%; }
.pip-9 { left: 50%; top: 25%; } .pip-10 { left: 50%; top: 75%; } .pip-11 { left: 50%; top: 50%; }
:is(.pip-5, .pip-6, .pip-7, .pip-8, .pip-10) svg { transform: rotate(180deg); }
.deal-card:is([data-rank="2"], [data-rank="3"], [data-rank="4"], [data-rank="5"], [data-rank="6"], [data-rank="7"], [data-rank="8"], [data-rank="9"], [data-rank="10"]) .card-emblem { display: none; }
.deal-card:is([data-rank="2"], [data-rank="3"]) :is(.pip-9, .pip-10),
.deal-card:is([data-rank="3"], [data-rank="5"], [data-rank="9"]) .pip-11,
.deal-card:is([data-rank="4"], [data-rank="5"], [data-rank="6"], [data-rank="7"], [data-rank="8"], [data-rank="9"], [data-rank="10"]) :is(.pip-1, .pip-2, .pip-7, .pip-8),
.deal-card:is([data-rank="6"], [data-rank="7"], [data-rank="8"], [data-rank="9"], [data-rank="10"]) :is(.pip-3, .pip-4),
.deal-card:is([data-rank="9"], [data-rank="10"]) :is(.pip-5, .pip-6),
.deal-card:is([data-rank="7"], [data-rank="8"], [data-rank="10"]) .pip-9,
.deal-card:is([data-rank="8"], [data-rank="10"]) .pip-10 { display: block; }
.deal-card:is([data-rank="6"], [data-rank="7"], [data-rank="8"]) :is(.pip-3, .pip-4) { top: 50%; }
.deal-card:is([data-rank="2"], [data-rank="3"]) .pip-9 { top: 12%; }
.deal-card:is([data-rank="2"], [data-rank="3"]) .pip-10 { top: 88%; }

/* Resting positions; the controller reveals each piece only in its own turn. */
.deal-card:nth-child(1) { --card-x: -180%; }
.deal-card:nth-child(2) { --card-x: -90%; }
.deal-card:nth-child(3) { --card-x: 0%; }
.deal-card:nth-child(4) { --card-x: 90%; }
.deal-card:nth-child(5) { --card-x: 180%; }
.chip-rack { position: absolute; left: 78%; top: 78%; width: clamp(30px, 3.1vw, 46px); aspect-ratio: 100 / 64; --chip-lift-scale: 1; }
.deal-chip { opacity: 0; --chip-x: 0%; --chip-y: 0%; --chip-lift: 0px; --chip-turn: 0deg; position: absolute; inset: 0; transform: translate(var(--chip-x), calc(var(--chip-y) - var(--chip-lift) * var(--chip-lift-scale))) rotate(var(--chip-turn)); transform-origin: center; }
.deal-chip img { width: 100%; height: 100%; }
.deal-chip:nth-child(n+4):nth-child(-n+6) { --chip-x: 125%; }
.deal-chip:nth-child(n+7) { --chip-x: 250%; }
.deal-chip:nth-child(3n+1) { z-index: 1; }
.deal-chip:nth-child(3n+2) { --chip-y: -12.5%; z-index: 2; }
.deal-chip:nth-child(3n+3) { --chip-y: -25%; z-index: 3; }

/* Native document scroll supplies the timeline; it is never wheel/touch hijacked. */
[data-enhanced="true"] .studio-story { height: calc(100svh + var(--chapter-travel) * 3); }
[data-enhanced="true"] .studio-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
[data-enhanced="true"] .studio-stage { height: 100%; }
[data-enhanced="true"] .studio-flow { position: absolute; top: clamp(124px, 17svh, 185px); bottom: 106px; left: max(var(--page-gutter), calc((100vw - 1560px) / 2)); width: min(calc((100vw - var(--page-gutter) * 2) * .47), 560px); }
[data-enhanced="true"] .studio-panel { position: absolute; inset: 0; display: block; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(255 172 0 / 38%) transparent; opacity: 0; transform: translateY(var(--copy-shift, 0px)); pointer-events: none; scroll-padding-block: 12px; }
[data-enhanced="true"] .studio-panel[data-active="true"] { pointer-events: auto; }
[data-enhanced="true"] .panel-inner { width: 100%; padding: 8px 18px 18px 8px; }
[data-enhanced="true"] .panel-copy { width: 100%; }
[data-enhanced="true"] .panel-copy::before { display: none; }

.studio-controls { display: none; }
[data-enhanced="true"] .studio-controls { position: absolute; inset: auto 0 calc(22px + env(safe-area-inset-bottom)); z-index: 5; display: block; pointer-events: none; }
.studio-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.scene-nav { display: flex; align-items: center; gap: 6px; pointer-events: auto; }
.scene-nav a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #c1b9a8; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; position: relative; transition: color .2s; }
.scene-nav a::after { content: ''; position: absolute; inset: auto 12px 4px; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .3s; }
.scene-nav a[aria-current], .scene-nav a:hover { color: var(--brass); }
.scene-nav a[aria-current]::after { transform: scaleX(1); }
.motion-controls { pointer-events: auto; }
.motion-toggle { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; width: 44px; padding: 0; border: 1px solid rgb(255 172 0 / 32%); background: rgb(24 23 18 / 88%); color: #ffe3aa; border-radius: 3px; transition: border-color .2s, background .2s; }
.motion-toggle:hover { background: #30291a; border-color: var(--brass); }
.play-icon, .motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
.site-footer { position: relative; background: var(--ink); padding: 55px 0 40px; }
.site-footer::before { content: ''; position: absolute; inset: -1px var(--page-gutter) auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.footer-brand .brand { width: 252px; margin-bottom: 24px; }
.footer-brand > p { font-size: 13px; color: #c1b9a8; }
.footer-brand .audience-note { max-width: 420px; margin-top: 8px; font-size: 13px; }
.legal-nav { display: flex; gap: 30px; flex-wrap: wrap; font-size: 14px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.legal-nav a:hover, .legal-nav a[aria-current] { color: var(--brass); }
.legal-page { max-width: 850px; padding-block: 156px 100px; }
.legal-page > p { color: var(--muted); margin-bottom: 30px; }
.legal-page > p a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brass); text-decoration: underline; text-underline-offset: 5px; }
.legal-page h1 { font-size: clamp(42px, 6vw, 70px); line-height: 1.1; margin-bottom: 30px; }
.legal-page .draft-notice { font-size: 15px; line-height: 1.6; border-left: 1px solid var(--brass); padding: 12px 0 12px 20px; }
.legal-section { margin-top: 44px; }
.legal-section h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; }
.legal-section p { color: var(--muted); }

@media (min-width: 50.001rem) and (max-width: 68.75rem) {
  h1 { font-size: clamp(57px, 6.8vw, 74px); }
  h2, .panel-details h2 { font-size: 44px; }
  .panel-copy > p:not(.eyebrow) { font-size: 18px; }
  .card-deck { left: 59%; width: clamp(52px, 5.4vw, 60px); }
}
@media (max-width: 50rem) {
  :root { --page-gutter: clamp(22px, 5vw, 40px); --header-height: 72px; }
  body { font-size: 17px; }
  .brand { width: clamp(195px, 47vw, 252px); }
  .header-inner { gap: 14px; }
  .menu-toggle { padding-inline: 14px; }
  .site-nav { position: absolute; top: calc(100% - 2px); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: #1c1b16; border: 1px solid var(--line); box-shadow: 0 18px 40px rgb(0 0 0 / 24%); }
  .site-nav a { padding-block: 8px; }
  [data-studio] { --mobile-art-height: clamp(155px, 28svh, 280px); --chapter-travel: max(480px, 80svh); }
  .studio-room img { object-position: 70% 30%; }
  .studio-room { opacity: .88; }
  .studio-cast { width: calc(var(--mobile-art-height) * 1.333333); height: var(--mobile-art-height); top: 72px; bottom: auto; left: 50%; right: auto; margin-left: calc(var(--mobile-art-height) * -.666667); }
  .cast-photo { --cast-photo-source: url('../images/gold-host-720.webp'); }
  .studio-vignette { background: linear-gradient(0deg, var(--ink), rgb(17 17 15 / 97%) 35%, rgb(17 17 15 / 48%) 59%, transparent 76%), linear-gradient(90deg, rgb(17 17 15 / 25%), transparent 22%, transparent 88%, rgb(17 17 15 / 25%)); }
  .card-deck { left: 48%; width: clamp(31px, 8.8vw, 52px); max-width: 11%; --card-depth-scale: .4; }
  .card-corner span { font-size: clamp(6px, 2.1vw, 10px); }
  .card-court { font-size: clamp(18px, 6vw, 30px); }
  .chip-rack { width: clamp(13px, 4vw, 21px); max-width: 6%; --chip-lift-scale: .4; }
  .deal-card { box-shadow: 0 1px 0 #d0c8b6, 1px 4px 8px rgb(0 0 0 / 32%); }
  .studio-panel { align-items: flex-start; }
  .panel-inner { padding-block: calc(90px + var(--mobile-art-height)) 80px; }
  .panel-copy { width: 100%; max-width: 540px; margin-inline: auto; }
  .eyebrow { gap: 10px; padding: 5px 12px 5px 10px; font-size: 11px; letter-spacing: .07em; min-height: 18px; margin-bottom: 15px; }
  .eyebrow-rule { width: 24px; }
  h1 { font-size: clamp(39px, 10.1vw, 68px); letter-spacing: -.01em; margin-bottom: 18px; }
  h1 .title-accent { display: inline; }
  h2, .panel-details h2 { font-size: clamp(34px, 8.1vw, 52px); line-height: 1.06; margin-bottom: 18px; }
  .panel-copy > p:not(.eyebrow) { max-width: 520px; font-size: 17px; line-height: 1.58; }
  .button { min-height: 46px; margin-top: 22px; padding: 9px 17px; font-size: 15px; }
  .chapter-index { min-height: 18px; margin-bottom: 15px; }
  .reading-contrasts { max-width: none; gap: 16px; }
  .reading-contrasts > div { padding-top: 12px; }
  .reading-contrasts dt { font-size: 17px; margin-bottom: 5px; }
  .reading-contrasts dd { font-size: 16px; line-height: 1.5; }
  [data-enhanced="true"] .studio-flow { top: calc(84px + var(--mobile-art-height)); bottom: calc(90px + env(safe-area-inset-bottom)); left: max(var(--page-gutter), calc((100vw - 540px) / 2)); width: min(calc(100% - var(--page-gutter) * 2), 540px); }
  [data-enhanced="true"] .panel-inner { padding: 6px 12px 16px 6px; }
  [data-enhanced="true"] .studio-controls { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .studio-toolbar { width: calc(100% - var(--page-gutter) * 2); min-height: 54px; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
  .scene-nav { gap: 4px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .site-footer { padding-block: 40px calc(24px + env(safe-area-inset-bottom)); }
  .footer-brand .brand { width: 240px; margin-bottom: 22px; }
  .legal-nav { gap: 8px 24px; }
  .legal-page { padding-block: 112px 70px; }
}
@media (max-width: 50rem) and (max-height: 680px) {
  [data-studio] { --mobile-art-height: clamp(118px, 22svh, 150px); }
  [data-enhanced="true"] .studio-flow { top: calc(78px + var(--mobile-art-height)); bottom: calc(78px + env(safe-area-inset-bottom)); }
  h1 { font-size: 36px; }
  h2, .panel-details h2 { font-size: 32px; }
  .panel-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
  .eyebrow { padding-block: 2px; }
  .eyebrow, .chapter-index { margin-bottom: 10px; }
  h1, h2, .panel-details h2 { margin-bottom: 14px; }
  .button { margin-top: 16px; min-height: 44px; }
  [data-enhanced="true"] .panel-inner { padding-bottom: 8px; }
  .studio-toolbar { min-height: 48px; padding-top: 3px; }
  .card-deck { width: 24px; }
  .card-corner span { font-size: 5px; }
  .card-court { font-size: 16px; }
  .chip-rack { width: 12px; --chip-lift-scale: .28; }
}
@media (max-width: 22.4375rem) {
  :root { --page-gutter: 16px; }
  .brand { width: 188px; }
  [data-enhanced="true"] .panel-inner { padding-inline: 6px 10px; }
}
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  :root { --header-height: 62px; --page-gutter: max(28px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .brand { width: 206px; }
  .studio-cast { top: auto; bottom: calc(64px + env(safe-area-inset-bottom)); left: auto; right: 0; height: auto; margin: 0; width: min(calc((100svh - 128px - env(safe-area-inset-bottom)) * 1.333333), 60vw); }
  .card-deck { left: 50%; width: 38px; max-width: 11%; }
  .card-corner span { font-size: 8px; }
  .card-court { font-size: 24px; }
  .chip-rack { width: 18px; max-width: 6%; --chip-lift-scale: .5; }
  .studio-vignette { background: linear-gradient(90deg, rgb(17 17 15 / 93%), rgb(17 17 15 / 78%) 40%, transparent 73%), linear-gradient(0deg, var(--ink), transparent 16%); }
  [data-enhanced="true"] .studio-flow { top: 86px; bottom: calc(76px + env(safe-area-inset-bottom)); left: var(--page-gutter); width: 49%; }
  [data-enhanced="true"] .studio-controls { bottom: calc(10px + env(safe-area-inset-bottom)); }
  h1 { font-size: 38px; }
  h2, .panel-details h2 { font-size: 32px; }
  .panel-copy > p:not(.eyebrow) { font-size: 16px; }
  .studio-toolbar { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
[data-motion="reduced"] .studio-panel, [data-motion="reduced"] .scene-nav a::after { transition: none; }
@media (forced-colors: active) {
  .title-accent { background: none; -webkit-text-fill-color: currentColor; }
}
@media print {
  .site-header, .studio-controls, .studio-stage, .button, .skip-link { display: none !important; }
  body { background: white; color: black; }
  [data-enhanced="true"] .studio-story, [data-enhanced="true"] .studio-pin { height: auto; position: static; overflow: visible; }
  [data-enhanced="true"] .studio-flow { position: static; width: 100%; }
  [data-enhanced="true"] .studio-panel { position: static; opacity: 1 !important; transform: none; overflow: visible; min-height: 0; }
  [data-enhanced="true"] .panel-inner { padding-block: 30px; }
  .panel-copy { width: 100%; max-width: none; }
  .panel-copy::before { display: none; }
  .panel-copy > p:not(.eyebrow), .title-accent, .reading-contrasts dt, .reading-contrasts dd { color: black; }
  .title-accent { background: none; -webkit-text-fill-color: currentColor; }
  .site-footer { background: white; }
}
