@import url('../rebuild/essay.css');
@import url('../assets/fonts/episode-3-v2/google-fonts-1e27fbdca57c.css');

:root {
  --historic-paper: #f0dfbd;
  --historic-ink: #30261b;
  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
}

.historical-preview { background: #f7efd9; }
.historical-preview .essay-nav { background: #f9f3e4; border-color: #b9ac8f; }
.historical-preview .essay-nav a { font-size: 13px; }
.historical-preview .chapter.journey-chapter { padding: 0; background: transparent; }
.historical-preview .essay-paragraph { font-size: 20px; line-height: 1.8; letter-spacing: -.008em; }
.historical-preview .cms-prose-slot { display: block !important; }
.historical-preview.cms-preview [id] { scroll-margin-top: 0; }

/* One printed environment surrounds the opening, rather than a hero collage. */
.immersion-hero { position: relative; isolation: isolate; min-height: 800px; overflow: hidden; color: var(--historic-ink); background: var(--historic-paper); }
.hero-environment { position: absolute; inset: 0; z-index: -1; background: url('woodcut-environment.png') center / cover; }
.hero-print { width: 67%; padding: 56px 0 100px 5.5%; }
.show-title { display: inline-block; border-block: 2px solid currentColor; padding: 10px 0; margin-bottom: 34px; text-decoration: none; font: 700 16px var(--body); }
.show-title span { font-weight: 400; }
.hero-print h1 { margin: 0 0 28px; font: 700 clamp(42px, 5.4vw, 84px)/.96 Georgia, serif; letter-spacing: -.06em; }
.hero-print h1 span { display: block; }
.hero-print h1 strong { display: block; text-transform: uppercase; color: #9d3e26; font: 900 clamp(56px, 7vw, 112px)/1.05 Georgia, serif; letter-spacing: -.07em; margin: 10px 0; }
.hero-print > p { font-size: 15px; }
.hero-print .begin { font-size: 15px; }

/* The environment stays in the viewport while the actual text moves through it. */
.era-scene { position: relative; isolation: isolate; background: var(--scene-paper, #f6edd9); color: var(--scene-ink, #302c21); }
.scene-environment { position: sticky; top: calc(var(--cms-top, 0px) + var(--essay-nav-height, 64px)); height: calc(100svh - var(--cms-top, 0px) - var(--essay-nav-height, 64px)); margin-bottom: calc(-100svh + var(--cms-top, 0px) + var(--essay-nav-height, 64px)); z-index: -1; pointer-events: none; background-position: center; background-size: cover; }
.scene-flow { position: relative; max-width: 1480px; padding: 90px 5.5% 75px; margin: auto; }
.scene-flow > .cms-prose-slot { width: 57%; max-width: 700px; margin: 0 0 45px; }
.scene-flow .essay-paragraph { max-width: none; margin-inline: 0; }
.scene-flow > .chapter-opener { max-width: none; margin: 0 0 65px; width: 64%; }
.scene-flow .chapter-opener h2 { font: 700 clamp(54px, 6.2vw, 96px)/.98 Georgia, serif; letter-spacing: -.045em; max-width: 860px; }
.scene-flow > .graphic { width: 100%; max-width: none; margin: 60px 0 80px; }
.scene-flow .graphic { border: 0; box-shadow: none; border-radius: 0; padding: 36px 0; background: transparent; color: inherit; }
.scene-flow .graphic > h3 { font: 700 40px/1.08 Georgia, serif; letter-spacing: -.035em; }
.scene-flow .graphic figcaption { font-size: 12px; color: inherit; opacity: .78; line-height: 1.65; }
.scene-flow .graphic .chart-subtitle { max-width: 660px; }
.scene-flow .archive { margin: 55px 0; max-width: 1000px; }
.scene-flow .archive img { max-height: 580px; }
.scene-flow .era-art { margin: 45px 0; }
.scene-flow .era-art figcaption, .scene-flow .archive figcaption { color: inherit; }
.scene-flow .graphic .line-chart { overflow: visible; }
.scene-flow .scene-duet { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 7%; align-items: start; margin-bottom: 70px; }
.scene-duet > .cms-prose-slot { min-width: 0; }
.scene-duet > .scene-exhibit { position: sticky; top: calc(var(--cms-top, 0px) + var(--essay-nav-height, 64px) + 88px); min-width: 0; width: 100%; margin: 0; }
.scene-duet .graphic { padding-top: 0; }
.scene-duet .graphic > h3 { font-size: 34px; }
.scene-duet .chart-columns { grid-template-columns: 1fr; gap: 28px; }
.scene-duet .bar-row { grid-template-columns: 110px 1fr 74px; }
.scene-duet .single-number strong { font-size: 48px; }
.scene-duet .market-board > div { grid-template-columns: 1fr 75px; font-size: 14px; }
.scene-duet .market-board > div > span:nth-child(2) { display: none; }
.scene-duet .market-board { padding: 10px 24px; }
.scene-duet .graphic figcaption { margin-top: 23px; }

/* The opening borrows a newspaper's columns, rules and trading-floor imagery. */
.era-news { --scene-paper: #f4ecd9; --scene-ink: #292c24; }
.era-news .scene-environment { background-image: linear-gradient(90deg, #f4ecd9 0%, #f4ecd9 42%, #f4ecd900 80%), url('../rebuild/grain-exchange.jpg'); background-position: center, right center; }
.era-news .scene-flow { padding-top: 95px; }
.era-news .scene-flow > .cms-prose-slot { padding-top: 22px; border-top: 4px double currentColor; }
.era-news .scene-flow > .graphic { width: 58%; background: #f4ecd9; border-block: 5px double #51472e; padding: 28px 0 20px; }
.era-news .document-excerpt { font: 400 26px/1.45 var(--serif); }
.era-news-current { --scene-paper: #edf0df; --scene-ink: #243d35; }
.era-news-current .scene-environment { background: linear-gradient(90deg, #edf0df 0%, #edf0df 50%, #edf0df88 100%), repeating-linear-gradient(0deg, transparent 0 55px, #54816f25 55px 56px); }
.era-news-current .election-ledger { border-block: 3px double #658373; padding: 38px 0; }
.era-news-current .election-ledger h3 { font-size: 58px; }
.era-news-current .graphic:not(.board):not(.election-ledger) { width: 78%; }
.era-news-current .board { background: #234c43; color: #f6efce; padding: 30px; }
.era-news-current .board h3 { font-family: var(--serif); font-weight: 600; }
.era-news-current .board .market-board { padding: 0; background: transparent; }
.era-news-current .board figcaption { color: #f6efce; }

/* Woodcut marks are printed on the same paper as the prose and legal record. */
.era-woodcut { --scene-paper: #f0dfbd; --scene-ink: #342519; --coral: #9d3e26; }
.era-woodcut .scene-environment { background-image: url('woodcut-environment.png'); }
.era-woodcut .scene-flow { padding-bottom: 110px; }
.era-woodcut .essay-paragraph { font-family: Georgia, serif; font-size: 20px; line-height: 1.82; }
.era-woodcut .scene-flow > .cms-prose-slot { padding: 25px 28px 1px 0; }
.era-woodcut .broadside-duet { gap: 6%; }
.era-woodcut .broadside-duet > .cms-prose-slot { padding: 18px 22px 0 0; }
.era-woodcut .history-graphic { background: #f5e6c8; border: 5px double #745236; padding: 30px 28px; box-shadow: 12px 16px 0 #62462428; transform: rotate(1deg); }
.era-woodcut .history-graphic h3 { font-size: 36px; padding-bottom: 18px; border-bottom: 2px solid currentColor; }
.era-woodcut .history summary { font-size: 14px; }
.era-woodcut .history .timeline { max-height: 315px; overflow-y: auto; padding-right: 12px; }
.era-woodcut .history .timeline li { grid-template-columns: 55px 1fr; font-size: 14px; }
.era-woodcut .history-graphic figcaption { max-height: 80px; overflow-y: auto; }
.era-woodcut .archive { max-width: 850px; width: 76%; padding: 35px; background: #e9cd95; transform: rotate(-1.8deg); box-shadow: 15px 22px 0 #75572c24; }
.era-woodcut .archive img { width: 100%; }

/* Ruled accounts, the wheat pit and the working hedge share one ledger spread. */
.era-ledger { --scene-paper: #ecebdc; --scene-ink: #2c4238; --coral: #9d422b; }
.era-ledger .scene-environment { background-image: linear-gradient(90deg,#ecebdc 0%,#ecebdcf0 48%,#ecebdc30 100%), url('../rebuild/grain-exchange.jpg'); background-position: center,right; }
.era-ledger .scene-flow { background: linear-gradient(90deg,#ecebdcee 0%,#ecebdcdd 59%,transparent 59%); }
.era-ledger .graphic { background: #ecebdc; border-top: 4px double #779182; padding: 28px; }
.era-ledger .ledger-duet .graphic { background: repeating-linear-gradient(0deg,#f3f0dc 0 38px,#b1c3ad 39px,#f3f0dc 40px); box-shadow: 11px 13px 0 #43563c28; transform: rotate(.7deg); padding: 30px; }
.ledger-duet .equation { grid-template-columns: 1fr; gap: 8px; }
.ledger-duet .equation > div { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.ledger-duet .equation strong { font-size: 46px; }
.ledger-duet .equation > b { display: none; }
.ledger-duet .equation .total { border-top: 3px double currentColor; padding-top: 16px; margin-top: 14px; }
.ledger-duet .hedge input { margin-bottom: 22px; }
.era-ledger .archive-duet .scene-exhibit, .vegas-arrival .scene-exhibit { background: #f6f0dd; padding: 18px 18px 0; transform: rotate(-2deg); box-shadow: 14px 18px 0 #263b3027; }
.era-ledger .scene-exhibit img { max-height: 510px; object-fit: cover; }
.era-ledger .vegas-arrival { padding-top: 35px; }

/* The resort is the page. The cream brochure and photographs sit within it. */
.era-vegas { --scene-paper: #f8edcf; --scene-ink: #205b56; --coral: #c75b39; }
.era-vegas .scene-environment { background-image: url('../assets/ep3-v2-poolside.png'); }
.era-vegas .scene-flow { padding-top: 85px; background: linear-gradient(90deg,#f8edcf 0%,#f8edcf 59%,transparent 59%); }
.era-vegas .scene-flow > .chapter-opener { width: 56%; margin-bottom: 55px; }
.era-vegas .chapter-opener h2 { font-family: var(--display); font-weight: 400; font-size: clamp(70px,8.7vw,136px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; }
.era-vegas .scene-flow .archive-duet { grid-template-columns: minmax(0, 1.08fr) minmax(0,1fr); gap: 9%; }
.era-vegas .archive-duet .scene-exhibit { background: #fff7df; padding: 18px 18px 6px; box-shadow: 13px 16px 0 #15565050; transform: rotate(2deg); }
.era-vegas .archive img { height: 380px; object-fit: cover; }
.era-vegas .archive figcaption { font-size: 12px; }

/* Scale the chapter title to its reading column, including the editor sidebar. */
.historical-preview .era-vegas .vegas-arrival > .chapter-opener {
  container-type: inline-size;
  width: auto;
  min-width: 0;
  margin: 0;
}
.historical-preview .era-vegas .vegas-arrival .chapter-opener h2 {
  max-width: 100%;
  margin-bottom: .45em;
  font-size: clamp(34px, 5.3vw, 100px);
  font-size: min(136px, 17cqi);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* A lottery playslip expands into the page's layout and data graphic. */
.era-lottery { --scene-paper: #e9ad4b; --scene-ink: #2a4f40; --coral: #ac3825; }
.era-lottery .scene-environment { background-image: linear-gradient(90deg,#e9ad4b 0%,#e9ad4be8 40%,#e9ad4b22 100%),url('../rebuild/lottery-counter.jpg'); background-position: center,right center; background-blend-mode: normal,multiply; }
.era-lottery .scene-flow { padding-top: 65px; }
.era-lottery .scene-flow > .cms-prose-slot { background: #f6e6bdeb; padding: 35px 40px 10px; width: 64%; }
.era-lottery .playslip { position: relative; max-width: 1030px; background: #fff3d3; padding: 45px 55px; border-top: 12px solid #ae402b; transform: rotate(-.6deg); box-shadow: 14px 16px 0 #73442030; }
.era-lottery .playslip h3 { font: 400 74px/.98 var(--display); text-transform: uppercase; color: #a7442b; }
.era-lottery .playslip .state-map { max-width: 800px; gap: 7px; }
.era-lottery .state { border-radius: 50%; aspect-ratio: 1; font-size: 16px; border: 1px solid #6c766c; }
.era-lottery .playslip .voters, .era-lottery .playslip .initiative, .era-lottery .playslip .referendum { background: #326c51; }
.era-lottery .playslip .legislation { background: #e2a63e; }
.era-lottery .graphic > h3 { letter-spacing: -.01em; }

/* The online years move inside one large desktop workspace. */
.era-desktop { --scene-paper: #1f7b76; --scene-ink: #253a35; --coral: #a54732; }
.era-desktop .scene-environment { background-image: linear-gradient(90deg,#1f7b7677,#1f7b7666),url('../rebuild/early-internet.jpg'); background-position: center,right; image-rendering: auto; }
.era-desktop .scene-flow { max-width: 1310px; background: #eeeddf; padding: 70px 5%; border: 7px ridge #d7dacb; border-top: 30px solid #2d555f; box-shadow: 18px 20px 0 #143f3755; }
.era-desktop .scene-flow:before { content: ''; position: absolute; left: 13px; right: 13px; top: -24px; height: 16px; background: linear-gradient(90deg,#c6d6c7 0 11px,transparent 11px 20px,#c6d6c7 20px 31px,transparent 31px 40px,#c6d6c7 40px 51px,transparent 51px); }
.era-desktop .chapter-opener h2 { font: 400 clamp(55px,7vw,100px)/.94 var(--display); text-transform: uppercase; letter-spacing: 0; }
.era-desktop .scene-flow > .chapter-opener { width: 78%; }
.era-desktop .scene-flow > .cms-prose-slot { width: 63%; }
.era-desktop .graphic { border-top: 3px solid #385b55; padding-top: 30px; }
.era-desktop .scene-exhibit { background: #fffdf2; border: 3px ridge #aab9a9; border-top: 22px solid #385b55; padding: 30px 24px; box-shadow: 9px 10px 0 #61765e33; }
.era-desktop .graphic > h3 { font-family: var(--body); font-size: 38px; letter-spacing: -.04em; }
.era-desktop .sports-dashboard { background: #fffdf2; padding: 35px; border: 3px ridge #aab9a9; }
.era-desktop .split-bar { height: 62px; }

/* The live contract controls become the phone, with the essay beside them. */
.era-phone { --scene-paper: #eff1dc; --scene-ink: #263d35; --coral: #c34e38; }
.era-phone .scene-environment { background-image: linear-gradient(90deg,#eff1dc 0%,#eff1dc 47%,#eff1dc00 89%),url('../rebuild/phone-at-home.png'); background-position: center,right; }
.era-phone .scene-flow { background: linear-gradient(90deg,#eff1dcf5 0%,#eff1dce8 60%,transparent 60%); }
.era-phone .chapter-opener h2 { font: 650 clamp(56px,6.5vw,100px)/.99 var(--body); letter-spacing: -.07em; }
.era-phone .contract-duet { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 8%; }
.era-phone .contract-device { max-width: 405px; justify-self: center; background: #f6f8ee; border: 9px solid #28382f; border-radius: 43px; padding: 51px 24px 24px; box-shadow: 20px 23px 0 #1f392c44; transform: rotate(2deg); }
.contract-device:before { content: ''; position: absolute; width: 110px; height: 22px; border-radius: 0 0 15px 15px; top: 0; left: calc(50% - 55px); background: #28382f; }
.era-phone .contract-device > h3 { font: 600 28px/1.05 var(--body); letter-spacing: -.045em; }
.contract-device .contract-question { font-size: 19px; }
.contract-device .contract-prices { margin: 20px 0; gap: 10px; }
.contract-device .contract-prices > span { padding: 14px 10px; gap: 6px; border-radius: 9px; font-size: 14px; }
.contract-device .contract-prices b { font-size: 25px; }
.contract-device .contract-demo > p { font-size: 14px; }
.contract-device .outcome-buttons { gap: 8px; }
.contract-device .outcome-buttons button { padding: 12px 9px; font-size: 13px; }
.contract-device .contract-result { font-size: 13px; gap: 12px; }
.contract-device .contract-result strong { font: 650 32px/1.4 var(--body); letter-spacing: -.03em; }
.contract-device figcaption { font-size: 10px !important; line-height: 1.5 !important; }
.era-phone .trading-duet .scene-exhibit { background: #f4f5e5; border-top: 5px solid #476b50; padding: 28px; box-shadow: 14px 18px 0 #405f3433; }
.era-phone .company-duet { grid-template-columns: 1fr; }
.era-phone .company-duet > .cms-prose-slot { max-width: 700px; width: 57%; }
.era-phone .company-duet .companies { position: relative; top: auto; background: #eff1dc; padding: 35px; border-block: 3px double #668568; }
.era-phone .company-timelines { grid-template-columns: 1fr 1fr; }
.era-phone .scene-flow > .graphic { background: #eff1dc; border-block: 2px solid #668568; padding: 35px; }

/* Market data becomes the architecture of the present-day section. */
.era-market { --scene-paper: #e7efdf; --scene-ink: #254236; --coral: #c54d39; }
.era-market .scene-environment { background: repeating-linear-gradient(0deg, transparent 0 89px,#64816c22 89px 90px), repeating-linear-gradient(90deg, transparent 0 89px,#64816c16 89px 90px),#e7efdf; }
.era-market .chapter-opener h2 { font: 650 clamp(60px,7.5vw,110px)/1 var(--body); letter-spacing: -.075em; }
.era-market .volume-duet { grid-template-columns: .8fr 1.2fr; gap: 6%; }
.era-market .volume-chart > h3 { font: 400 29px/1.15 var(--body); letter-spacing: -.04em; }
.volume-chart h3 strong { display: block; color: #c54d39; font: 600 clamp(60px,7.7vw,120px)/.98 var(--serif); letter-spacing: -.06em; }
.era-market .volume-chart { border-bottom: 3px solid #54765c; }
.era-market .scene-flow > .graphic { padding-block: 42px; border-block: 2px solid #54765c; }
.era-market .opinion-rows section { background: #d4dfcc; }
.era-market .opinion-rows .highlight { background: #efc4a7; }
.era-market .scene-flow > .cms-prose-slot { width: 62%; background: #e7efdfd9; }
.era-closing { --scene-paper: #f2e2c3; --scene-ink: #352c21; }
.era-closing .scene-environment { background-image: linear-gradient(90deg,#f2e2c3 0%,#f2e2c3ee 53%,#f2e2c355 100%),url('woodcut-environment.png'); }
.era-closing .graphic { background: #f2e2c3; border-block: 4px double #735e3c; }
.era-closing .country-grid { gap: 40px; }
.historical-preview .share-section { max-width: none; padding: 70px 5.5%; margin: 0; background: #306154; color: #fff3d8; }
.historical-preview .share-section h2 { font-family: var(--serif); font-size: 64px; }
.historical-preview .share-grid > div { border: 0; border-top: 3px solid #d0a955; background: #f5e7c5; color: #2b4d3f; }
.historical-preview .sources, .historical-preview .art-credits { max-width: 1250px; padding-inline: 5%; }

.scene-flow > .cms-prose-slot:has(> .anchored-graphic) { width: 100%; max-width: none; }
.cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph,.essay-subheading,.cms-prose-list,.cms-prose-quote) { max-width: 700px; width: 57%; }
.scene-flow .anchored-graphic { width: 100%; margin: 60px 0 80px; position: relative; top: auto; }
.era-woodcut .anchored-graphic.history-graphic { width: 90%; padding: 40px; }
.era-woodcut .anchored-graphic .history .timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; max-height: none; overflow: visible; }
.era-woodcut .anchored-graphic.history-graphic figcaption { max-height: none; }
.anchored-graphic.playslip { background: #f8e8bb; color: #345443; border: 0; border-top: 10px solid #b55234; padding: 40px; box-shadow: 10px 12px 0 #554c2d22; }
.anchored-graphic.playslip > h3 { font: 400 60px/1 var(--display); text-transform: uppercase; }
.anchored-graphic.playslip .state { border-radius: 50%; aspect-ratio: 1; }
.era-phone .anchored-graphic.companies { background: #eff1dc; border-block: 3px double #668568; padding: 40px 0; }
.era-phone .anchored-graphic .company-timelines { grid-template-columns: 1fr 1fr; }

@media (min-width: 1480px) {
  .scene-flow { padding-inline: 80px; }
}
@media (max-width: 1050px) {
  .hero-print { width: 73%; }
  .immersion-hero { min-height: 690px; }
  .scene-flow { padding-inline: 5%; }
  .scene-flow > .cms-prose-slot { width: 62%; }
  .scene-flow .scene-duet { gap: 5%; }
  .scene-duet .graphic > h3 { font-size: 30px; }
  .scene-duet .bar-row { grid-template-columns: 95px 1fr 65px; gap: 10px; font-size: 13px; }
  .era-desktop .scene-flow { margin-inline: 25px; }
  .era-vegas .scene-flow { background: linear-gradient(90deg,#f8edcf 0%,#f8edcf 60%,transparent 60%); }
  .era-vegas .archive img { height: 310px; }
  .era-woodcut .history-graphic { padding: 24px 20px; }
  .era-phone .contract-device { padding-inline: 17px; }
}
@media (max-width: 760px) {
  .immersion-hero { min-height: 830px; }
  .hero-environment { background-position: 63% bottom; background-size: auto 100%; }
  .hero-print { width: 100%; padding: 40px 24px 350px; background: linear-gradient(#f0dfbdee 0%,#f0dfbddb 52%,transparent 76%); }
  .show-title { font-size: 13px; margin-bottom: 30px; }
  .hero-print h1 { font-size: clamp(39px,7.8vw,60px); letter-spacing: -.055em; }
  .hero-print h1 strong { font-size: clamp(42px,10.2vw,80px); }
  .scene-flow { padding: 50px 24px 30px; }
  .scene-flow > .cms-prose-slot, .scene-flow > .chapter-opener, .era-phone .company-duet > .cms-prose-slot { width: 100%; }
  .scene-flow .chapter-opener h2 { font-size: 55px; }
  .scene-flow .scene-duet { grid-template-columns: 1fr; gap: 30px; margin-bottom: 45px; }
  .scene-duet > .scene-exhibit { position: relative; top: auto; }
  .historical-preview .essay-paragraph { font-size: 18px; line-height: 1.85; }
  .scene-flow .graphic { padding: 27px 0; margin: 35px 0; }
  .scene-flow .graphic > h3 { font-size: 33px; }
  .era-news .scene-environment { background-image: linear-gradient(#f4ecd9bb,#f4ecd9dd),url('../rebuild/grain-exchange.jpg'); }
  .era-news .scene-flow { padding-top: 45px; background: #f4ecd9d9; }
  .era-news .scene-flow > .graphic { width: 100%; }
  .era-news-current .graphic:not(.board):not(.election-ledger) { width: 100%; }
  .era-news-current .board { padding: 27px 20px; }
  .era-woodcut .scene-environment { background-position: 80% bottom; }
  .era-woodcut .scene-flow { background: #f0dfbde8; }
  .era-woodcut .scene-flow > .chapter-opener { padding: 12px 0 240px; margin: 0 -24px 30px; width: calc(100% + 48px); background: linear-gradient(#f0dfbd 0%,#f0dfbd00 70%),url('woodcut-environment.png') right bottom / cover; }
  .era-woodcut .chapter-opener h2 { padding-inline: 24px; }
  .era-woodcut .essay-paragraph { font-size: 18px; }
  .era-woodcut .broadside-duet > .cms-prose-slot, .era-woodcut .scene-flow > .cms-prose-slot { padding: 0; background: none; }
  .era-woodcut .history-graphic { padding: 24px; transform: rotate(.4deg); }
  .era-woodcut .archive { width: 100%; padding: 20px; }
  .era-ledger .scene-flow { background: #ecebdce8; }
  .era-ledger .ledger-duet .graphic { padding: 28px; }
  .era-ledger .scene-exhibit img { min-height: 0; }
  .era-vegas .scene-environment { background-position: 60% center; }
  .era-vegas .scene-flow { background: #f8edcfed; padding-top: 0; }
  .era-vegas .scene-flow > .chapter-opener { margin: 0 -24px 45px; width: calc(100% + 48px); padding: 50px 24px 260px; background: linear-gradient(#f8edcfdf,transparent 75%),url('../assets/ep3-v2-poolside.png') center / cover; }
  .era-vegas .chapter-opener h2 { font-size: 72px; }
  .era-vegas .scene-flow .archive-duet { grid-template-columns: 1fr; gap: 30px; }
  .era-vegas .archive img { height: auto; min-height: 0; }
  .era-lottery .scene-flow { padding-inline: 17px; }
  .era-lottery .playslip { padding: 27px 20px; }
  .era-lottery .playslip h3 { font-size: 50px; }
  .era-lottery .playslip .state-map { gap: 3px; }
  .era-lottery .state { font-size: 8px; }
  .era-lottery .scene-flow > .cms-prose-slot { width: 100%; padding: 25px 23px 5px; }
  .era-desktop .scene-flow { margin-inline: 10px; padding: 45px 20px 20px; border-width: 4px; border-top-width: 28px; }
  .era-desktop .scene-flow > .cms-prose-slot, .era-desktop .scene-flow > .chapter-opener { width: 100%; }
  .era-desktop .chapter-opener h2 { font-size: 58px; }
  .era-desktop .scene-exhibit, .era-desktop .sports-dashboard { padding: 25px 18px; }
  .era-desktop .graphic > h3 { font-size: 31px; }
  .era-phone .scene-flow { background: #eff1dce8; }
  .era-phone .contract-duet { grid-template-columns: 1fr; }
  .era-phone .contract-device { padding: 48px 23px 24px; max-width: 370px; transform: rotate(1deg); }
  .era-phone .contract-device > h3 { font-size: 29px; }
  .era-phone .company-timelines { grid-template-columns: 1fr; }
  .era-phone .scene-flow > .graphic { padding: 30px 0; }
  .era-phone .company-duet .companies { padding: 25px 0; }
  .era-market .scene-flow > .cms-prose-slot { width: 100%; }
  .era-market .volume-chart h3 strong { font-size: 80px; }
  .era-closing .scene-flow { background: #f2e2c3df; }
  .era-closing .country-grid { gap: 24px; }
  .historical-preview .share-section { padding-inline: 24px; }
  .historical-preview .share-grid { grid-template-columns: 1fr; }
  .historical-preview .share-section h2 { font-size: 48px; }
  .cms-prose-slot:has(> .anchored-graphic) > :is(.essay-paragraph,.essay-subheading,.cms-prose-list,.cms-prose-quote) { width: 100%; }
  .era-woodcut .anchored-graphic.history-graphic { width: 100%; padding: 24px; }
  .era-woodcut .anchored-graphic .history .timeline { grid-template-columns: 1fr; }
  .anchored-graphic.playslip { padding: 25px 18px; }
  .anchored-graphic.playslip > h3 { font-size: 44px; }
  .era-phone .anchored-graphic .company-timelines { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-environment { position: absolute; top: 0; inset-inline: 0; height: 100%; margin: 0; background-repeat: repeat-y; background-size: auto 850px; }
}

@media (max-height: 820px) and (min-width: 761px) {
  .scene-duet > .scene-exhibit { position: relative; top: auto; }
}
