@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-latin-400-normal.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('fonts/cinzel-latin-700-normal.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --surface: #fffdf8;
  --ink: #212923;
  --muted: #677068;
  --line: #cfd3c9;
  --green: #294f3d;
  --light-green: #e1e9db;
  --orange: #b75c32;
  --serif: Georgia, 'Times New Roman', serif;
  --display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --arx-container-padding-inline: clamp(1.3rem, 4vw, 2rem);
  --arx-text-font-family: var(--sans);
  --arx-text-font-size: clamp(1.04rem, 1.25vw, 1.13rem);
  --arx-text-line-height: 1.82;
  --arx-text-color: var(--ink);
  --arx-heading-font-family: var(--serif);
  --arx-heading-color: var(--ink);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #17231c;
  --surface: #1e2d23;
  --ink: #f0f2e9;
  --muted: #b4c3b6;
  --line: #45604d;
  --green: #a7c9a9;
  --light-green: #2a4333;
  --orange: #e6a075;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ARX first-paint guard: <arx-cloak> holds the edition until its components,
   fonts and cover artwork are ready, then fades it in. This rule covers the
   moment before the deferred bundles run; the animation is a CSS-only
   failsafe so a failed bundle can never leave the page blank. */
arx-cloak:not(:defined) {
  display: block;
  opacity: 0;
  animation: arx-first-paint-failsafe 0s linear 4s forwards;
}
@keyframes arx-first-paint-failsafe { to { opacity: 1; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
arx-magazine-switcher { display: block; --arx-magazine-switcher-gutter-width: clamp(42px, 5vw, 62px); --arx-magazine-switcher-viewport-height: 100dvh; --arx-magazine-switcher-view-bg: var(--paper); --arx-magazine-switcher-gutter-crease: var(--line); --arx-magazine-switcher-tab-bg: var(--orange); --arx-magazine-switcher-tab-color: #fffdf8; --arx-magazine-switcher-focus-color: var(--orange); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { background: #d2a77e; color: #17231c; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; background: var(--surface); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; letter-spacing: .22em; text-decoration: none; white-space: nowrap; }
.wordmark-dot { color: var(--orange); }

.cover { position: relative; background: #3e2b25; color: #fff9f0; }
.cover-intro { --arx-magazine-intro-page: #3e2b25; --arx-magazine-intro-color: #fff9f0; --arx-magazine-intro-pad: clamp(1.5rem, 7vw, 7rem); --arx-magazine-intro-copy-max-width: min(980px, 90%); --arx-magazine-intro-grade: linear-gradient(180deg, rgba(29, 14, 10, .08) 0%, rgba(29, 14, 10, .15) 35%, rgba(29, 14, 10, .65) 67%, rgba(29, 14, 10, .9) 100%); --arx-magazine-intro-cue-justify: flex-end; --arx-magazine-intro-cue-bottom: clamp(1.2rem, 2.5vw, 2.5rem); --arx-magazine-intro-cue-clear: 2.5rem; }
.cover-theme-toggle { position: absolute; z-index: 3; top: clamp(1.2rem, 3vw, 2.5rem); right: clamp(1.3rem, 5vw, 5rem); display: inline-flex; align-items: center; gap: .7rem; border: 1px solid rgba(255, 249, 240, .7); border-radius: 100px; padding: .65rem .85rem; background: rgba(41, 22, 16, .65); color: #fff9f0; font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.cover-theme-toggle:hover { background: rgba(41, 22, 16, .85); }
.theme-track { width: 2rem; height: 1.12rem; border: 1px solid rgba(245, 242, 232, .8); border-radius: 100px; padding: 2px; display: inline-flex; align-items: center; }
.theme-thumb { width: .7rem; height: .7rem; border-radius: 50%; background: #f5f2e8; transition: transform .2s ease, background .2s ease; }
.cover-theme-toggle[aria-pressed='true'] .theme-thumb { transform: translateX(.83rem); background: #e6a57d; }
.cover-kicker, .cover-foot { text-transform: uppercase; letter-spacing: .24em; font-size: .7rem; font-weight: 700; }
.cover-kicker span, .cover-foot span { color: #f5ba8d; padding: 0 .55rem; }
.cover-intro [slot='title'] { max-width: 980px; font-family: var(--display); font-size: clamp(4rem, 8vw, 8.25rem); line-height: 1.04; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 28px rgba(26, 10, 6, .4); }
.cover-subtitle { max-width: 37rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.5; text-shadow: 0 1px 15px rgba(26, 10, 6, .5); }
.cover-foot { color: #f5e6da; font-size: .6rem; line-height: 1.5; text-shadow: 0 1px 12px rgba(26, 10, 6, .5); }

.contents { padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 9rem); background: var(--surface); }
.contents-inner { --contents-card-gap: clamp(1rem, 2vw, 1.8rem); max-width: 1320px; margin: auto; }
.contents-heading { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.eyebrow, .figure-number { display: block; color: var(--orange); font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .21em; }
.contents h2, .colophon h1 { margin: 1.4rem 0 1.5rem; font-family: var(--display); font-weight: 400; font-size: clamp(2.9rem, 4.5vw, 5.2rem); line-height: 1.16; letter-spacing: -.045em; }
.contents p { color: var(--muted); line-height: 1.75; max-width: 25rem; }
.contents-preamble { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.contents-preamble .eyebrow { grid-column: 1 / -1; }
.contents-preamble h2 { margin: 1rem 0 0; font-size: clamp(2.4rem, 4vw, 4.4rem); text-wrap: balance; }
.contents-preamble-text { padding-top: 1.35rem; }
.contents-preamble-text p { max-width: 38rem; margin: 0 0 1.1rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.6; }
.contents-preamble-text p:last-child { margin-bottom: 0; color: var(--muted); font-style: italic; }
@media (max-width: 799px) { .contents-preamble { grid-template-columns: 1fr; } .contents-preamble-text { padding-top: 1.2rem; } }
.introduction-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-height: 260px; margin: 0 0 var(--contents-card-gap); padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--light-green); color: var(--ink); text-align: left; }
.introduction-art { position: relative; display: block; min-height: 260px; overflow: hidden; background: #29434a; }
.introduction-art::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--orange); }
.introduction-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; transition: transform .7s ease; }
.introduction-feature:hover .introduction-art img, .introduction-feature:focus-visible .introduction-art img { transform: scale(1.055); }
.introduction-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .65rem; padding: clamp(1.5rem, 4vw, 3.5rem); }
.introduction-kicker { color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.introduction-kicker span { padding: 0 .35rem; }
.introduction-copy strong { font-family: var(--display); font-size: clamp(2.5rem, 4.2vw, 4.6rem); font-weight: 400; line-height: 1.13; letter-spacing: -.035em; }
.introduction-description { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-style: italic; line-height: 1.4; }
.introduction-cta { display: inline-flex; align-items: center; gap: 2rem; margin-top: .7rem; border-bottom: 1px solid var(--orange); padding-bottom: .5rem; color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.introduction-cta span { color: var(--orange); font-size: 1.15rem; }
.introduction-feature:hover .introduction-cta { color: var(--orange); }
.contents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--contents-card-gap); list-style: none; padding: 0; margin: 0; }
.contents-grid li { min-width: 0; }
.part-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: clamp(390px, 37vw, 510px); overflow: hidden; border: 0; padding: clamp(1.5rem, 2.5vw, 2.5rem); text-align: left; color: #fffdf8; background: #16343a; }
.part-card img, .part-card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.part-card img { z-index: -2; display: block; object-fit: cover; transition: transform .7s ease; }
.part-card-shade { z-index: -1; background: linear-gradient(180deg, rgba(6, 22, 24, .46) 0%, rgba(6, 22, 24, .04) 32%, rgba(6, 22, 24, .42) 57%, rgba(6, 22, 24, .94) 100%); }
.part-card:hover img, .part-card:focus-visible img { transform: scale(1.055); }
.part-card-number { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.part-card-copy { display: grid; gap: .85rem; max-width: 31rem; }
.part-card-copy strong { font-family: var(--display); font-size: clamp(1.45rem, 2vw, 2.3rem); font-weight: 400; line-height: 1.17; letter-spacing: -.035em; text-wrap: balance; }
.part-card-copy > span:nth-child(2) { max-width: 27rem; font-family: var(--serif); font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.48; }
.part-card-open { display: flex; align-items: center; justify-content: space-between; max-width: 11rem; margin-top: .45rem; border-top: 1px solid rgba(255, 253, 248, .7); padding-top: .7rem; font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.part-card-open span { font-size: 1.1rem; }
.contents-end { padding: 0 clamp(1.5rem, 8vw, 9rem) 4rem; background: var(--surface); }
.contents-end button { border: 0; border-bottom: 1px solid var(--line); padding: 1rem 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 1.4rem; }
.contents-end button span { color: var(--orange); margin-left: 1.5rem; }

.chapter { scroll-margin-top: 0; }
.chapter-intro { --arx-magazine-intro-pad: clamp(1.5rem, 7vw, 7rem); --arx-magazine-intro-copy-max-width: min(980px, 85%); --arx-magazine-intro-color: #fffdf8; --arx-magazine-intro-grade: linear-gradient(180deg, rgba(5, 20, 23, .08) 0%, rgba(5, 20, 23, .08) 32%, rgba(5, 20, 23, .58) 65%, rgba(5, 20, 23, .9) 100%); --arx-magazine-intro-page: var(--paper); }
.chapter-intro [slot='eyebrow'] { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.chapter-intro [slot='title'] { font-family: var(--display); font-size: clamp(2.5rem, 5.5vw, 6.2rem); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.chapter-intro [slot='standfirst'] { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.65rem); font-style: italic; line-height: 1.45; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.story-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(32rem, 72svh, 48rem); border-block: 1px solid var(--line); }
.story-opening-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2.5rem, 6vw, 6.5rem); background: var(--surface); }
.story-opening-text { max-width: 36rem; }
.story-opening-text arx-text { display: block; margin-top: 1.7rem; }
.story-opening-text arx-text:first-child { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1.22; letter-spacing: -.025em; }
.story-opening:not(.story-opening--introduction) .story-opening-text arx-text:first-child { font-size: clamp(1.8rem, 2.7vw, 2.9rem); }
.story-opening-text arx-text:not(:first-child) { font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75; }
.story-opening-credit { margin: 2.5rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-opening-quote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: clamp(2.5rem, 6vw, 6.5rem); background: #203c32; color: #fffaf1; }
.story-opening-quote::before { content: '“'; display: block; height: .6em; color: #e2a477; font-family: var(--serif); font-size: clamp(6rem, 9vw, 10rem); line-height: .8; }
.story-opening-quote blockquote { max-width: 12ch; margin: 2rem 0; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 5rem); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.story-opening-quote figcaption { width: fit-content; padding-top: .85rem; border-top: 2px solid #e2a477; color: #eac5aa; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-opening--the-format .story-opening-quote { background: #4b332d; }
.story-opening-image { position: relative; min-height: 32rem; margin: 0; overflow: hidden; background: #233d3d; }
.story-opening-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.story-opening-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 1.6rem clamp(2rem, 6vw, 6.5rem); background: linear-gradient(transparent, rgba(15, 30, 28, .76)); color: #fffaf1; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-opening-principles { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6.5rem); background: #e1e9db; color: #203c32; }
.story-opening-principles .eyebrow { color: #a4512b; }
.story-opening-principles ol { list-style: none; margin: 2rem 0 0; padding: 0; }
.story-opening-principles li { display: flex; align-items: baseline; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid #a9bba9; }
.story-opening-principles li span { color: #a4512b; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.story-opening-principles li strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.8rem); font-weight: 400; line-height: 1.2; }
.story-opening-principles p { margin: 1.6rem 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.prose { display: block; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.prose-before-story { padding-bottom: clamp(1.5rem, 3vw, 3rem); }
.prose-after-story { padding-top: clamp(2rem, 4vw, 4rem); }
.story-layout { display: block; width: 100%; margin: 0 0 clamp(1rem, 3vw, 3rem); padding: clamp(1.5rem, 3vw, 3rem) 0; border-block: 1px solid var(--line); --arx-story-gap: clamp(2rem, 5vw, 5rem); --arx-story-text-width: min(47%, 40rem); --arx-story-transition: 500ms; }
.story-layout > arx-heading { display: block; margin: clamp(2rem, 5vw, 5rem) 0 1.5rem; --arx-heading-size-3: clamp(2.1rem, 3.3vw, 3.65rem); --arx-heading-font-weight: 400; --arx-heading-line-height-3: 1.17; --arx-heading-letter-spacing: -.04em; }
.story-layout > arx-text { display: block; margin: 0 0 1.75rem; }
.story-layout > arx-story-media { display: block; }
.story-image { --arx-story-media-background: #233d3d; }
.story-figure { --arx-story-media-background: var(--paper); }
.story-figure > .feature { box-sizing: border-box; width: min(100% - 3rem, 40rem); max-height: calc(100% - 3rem); margin: 1.5rem auto; overflow: auto; }
.story-figure .timeline ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--green); }
.story-figure .timeline li { min-height: 0; padding: 0 0 1.4rem 1.5rem; }
.story-figure .timeline li:before { top: .55rem; left: -5px; }
.story-figure .comparison-window { height: clamp(260px, 45svh, 420px); }
.story-quote-media { --arx-story-media-background: #203c32; }
.story-quote { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 2vw, 2rem); width: 100%; height: 100%; min-height: 20rem; margin: 0; padding: clamp(2rem, 5vw, 5rem); background: #203c32; color: #fffaf1; }
.story-quote-mark { height: .55em; color: #e2a477; font-family: var(--serif); font-size: clamp(5rem, 8vw, 9rem); line-height: .8; }
.story-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 3.5rem); line-height: 1.25; text-wrap: balance; }
.story-quote-rule { width: 4rem; border-top: 2px solid #e2a477; }
.story-background { width: 100%; max-width: none; margin: clamp(3rem, 6vw, 6rem) 0; padding: 0; border: 0; background: #162d29; color: #fffaf1; --arx-story-panel-height: 100svh; --arx-story-overlay-width: min(51%, 46rem); --arx-story-overlay-padding: clamp(2rem, 5vw, 5rem); --arx-story-text-surface: rgba(16, 39, 33, .9); --arx-text-color: #fffaf1; --arx-heading-color: #fffaf1; }
.story-background > arx-heading { --arx-heading-color: #fffaf1; }
.story-background > arx-text { --arx-text-color: #fffaf1; }
.story-background > .reveal { margin: 2.5rem 0; border: 0; border-left: 4px solid #e2a477; background: #f7f3e9; color: #1e3027; }
.story-background > .reveal .figure-number { color: #a4512b; }
/* Renting your own work: full-bleed image, copy panel on the left. Placeholder artwork. */
.story-background--renting { margin: 0; background: #1d2326; --arx-story-overlay-width: min(46%, 40rem); --arx-story-text-surface: rgba(22, 28, 31, .88); }
.story-background--renting > arx-text:first-of-type { font-size: 1.15rem; }
/* Run straight from the key-message band into the image, and from the image into the next story. */
.story-background--renting + .story-layout { border-top: 0; padding-top: 0; }
/* No gap between a chapter's key-message band and the story panel that follows it. */
.key-message + .story-layout { border-top: 0; padding-top: 0; }
/* ...but keep the text off the band: pad the text column only, so the media panel still joins it. */
.key-message + .story-layout::part(flow) { padding-top: clamp(2.5rem, 6vw, 6rem); }
/* Room to innovate: each demo needs room to travel before the next one takes over. A keyline
   separates the items; space at the end lets the last demo settle before the closing section. */
.story-innovation > arx-heading:not(:first-child) { padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .story-innovation > arx-heading:not(:first-child) { margin-top: clamp(6rem, 24vh, 15rem); }
  .story-innovation::part(flow) { padding-bottom: clamp(6rem, 30vh, 18rem); }
}
@media (max-width: 800px) { .story-background--renting { margin-block: 0; } }
.prose > arx-text { display: block; margin: 0 0 1.45rem; }
.prose > arx-text:first-of-type { font-size: 1.15rem; }
.prose > arx-heading { display: block; margin: 4.3rem 0 1.4rem; scroll-margin-top: 105px; --arx-heading-size-3: clamp(2rem, 3vw, 3.2rem); --arx-heading-font-weight: 400; --arx-heading-line-height-3: 1.22; --arx-heading-letter-spacing: -.04em; }
.prose strong { font-weight: 700; }
.prose .standfirst { font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.55; margin: 0 0 3.1rem; color: var(--green); }
.standfirst em { font-style: normal; }
.prose-list { padding-left: 1.5rem; margin: 1.8rem 0 2rem; line-height: 1.7; }
.prose-list li { margin: .65rem 0; padding-left: .35rem; }
.takeaway { margin: 4rem 0 0; border-top: 2px solid var(--orange); padding: 1.4rem 0 0; }
.takeaway > span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--orange); font-weight: 700; }
.takeaway p { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.5; margin: 1rem 0 0; }
.hosting-note { padding: 1.6rem 2rem; margin: 2.5rem 0; background: var(--light-green); border-left: 3px solid var(--green); }
.hosting-note arx-text { display: block; margin-top: .6rem; font-size: .95rem; }
.chapter-next { display: grid; width: 100%; border: 0; text-align: left; grid-template-columns: 1fr auto; column-gap: 2rem; padding: 2.2rem clamp(1.5rem, 8vw, 9rem); background: var(--green); color: var(--paper); text-decoration: none; }
.chapter-next > span:first-child { grid-column: 1; font-size: .67rem; text-transform: uppercase; letter-spacing: .2em; opacity: .8; }
.chapter-next strong { grid-column: 1; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.8rem); font-weight: 400; margin-top: .35rem; }
.chapter-next > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 2rem; }
.chapter-next:hover { filter: brightness(1.13); }

.feature { margin: 4rem calc(-1 * clamp(0px, (100vw - 760px) / 5, 160px)); padding: clamp(1.4rem, 3vw, 2.8rem); background: var(--surface); border: 1px solid var(--line); }
.feature figcaption { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 2rem; }
.feature figcaption strong { font-family: var(--serif); font-size: clamp(1.55rem, 2.3vw, 2.3rem); font-weight: 400; line-height: 1.2; }
.feature figcaption > span:last-child:not(.figure-number) { color: var(--muted); font-size: .9rem; }
.stage-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stage-list li { min-height: 145px; padding: 1rem; background: var(--surface); display: flex; flex-direction: column; }
.stage-list li span { color: var(--orange); font-size: .7rem; font-weight: 700; }
.stage-list li b { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-top: auto; }
.stage-list li small { color: var(--muted); margin-top: .35rem; }
.three-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.three-facts div { background: var(--surface); padding: 1.5rem; }
.three-facts b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; color: var(--green); }
.three-facts span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.figure-note { color: var(--muted); font-size: .76rem; line-height: 1.5; margin: 1.5rem 0 0; }
.timeline ol { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--green); }
.timeline li { position: relative; padding: 1.5rem 1rem 0 0; min-height: 100px; }
.timeline li:before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.timeline b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.timeline li span { color: var(--muted); display: block; margin-top: .35rem; font-size: .8rem; line-height: 1.5; }
.comparison-window { position: relative; height: clamp(280px, 42vw, 430px); overflow: hidden; border: 10px solid #253b31; border-radius: 24px; background: #e9e1d4; color: #1f2c22; }
.comparison-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.comparison-print { background: #d3d0c6; }
.mini-spread { width: 65%; min-width: 520px; height: 88%; background: #f8f5ed; box-shadow: 0 8px 25px #53635755; display: grid; grid-template-columns: 1fr 1fr; gap: 0; transform: rotate(-3deg); }
.mini-spread > div { padding: 1.3rem; overflow: hidden; font-family: Georgia, serif; border-right: 1px solid #d1c7b4; }
.mini-spread b { display: block; font-size: clamp(.65rem, 1vw, .9rem); line-height: 1.15; margin: .45rem 0; }
.mini-spread p { font-size: clamp(.35rem, .62vw, .52rem); line-height: 1.45; }
.mini-image { display: block; width: 100%; height: 24%; background: linear-gradient(135deg, #b3633f, #d3aa7c 58%, #3f6950); }
.mini-image.secondary { height: 36%; background: linear-gradient(20deg, #8ca58a, #ded4aa); }
.comparison-web { z-index: 2; background: #f9f6ee; clip-path: inset(0 calc(100% - var(--split)) 0 0); flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 6vw, 5rem) 18%; }
.comparison-web:after { content: ''; position: absolute; right: calc(100% - var(--split)); top: 0; bottom: 0; border-right: 3px solid #b75c32; }
.mini-kicker { font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a74f2f; }
.comparison-web b { max-width: 20rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 3.5rem); line-height: 1.1; margin: 1.2rem 0; font-weight: 400; }
.comparison-web p { max-width: 20rem; line-height: 1.6; font-size: clamp(.8rem, 1.3vw, 1rem); }
.comparison-control { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin-top: 1.5rem; }
.comparison-control span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.comparison-control input { flex: 1; min-width: 50px; accent-color: var(--orange); }
.editorial-chart .chart-reading { max-width: 47rem; margin: -.5rem 0 2rem; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.chart-visual { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--paper); }
.chart-years, .chart-cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.25rem, 1vw, .7rem); }
.chart-years { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.chart-series { margin-top: 1.6rem; }
.chart-series strong { display: block; margin-bottom: .6rem; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 400; }
.chart-cell { display: block; height: clamp(2.3rem, 5vw, 4rem); border-radius: 2px; }
.chart-cell-hosted { background: var(--orange); }
.chart-cell-owned { background: var(--green); }
.chart-cell-optional { border: 2px dashed var(--green); background: var(--light-green); }
.chart-key { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.2rem; font-size: .75rem; }
.chart-key span { display: inline-flex; align-items: center; gap: .45rem; }
.chart-key i { display: inline-block; width: .95rem; height: .95rem; }
.chart-key-hosted { background: var(--orange); }
.chart-key-owned { background: var(--green); }
.chart-key-optional { border: 2px dashed var(--green); background: var(--light-green); }
.chart-data { margin-top: 1.7rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart-data summary { cursor: pointer; padding: .85rem 0; font-size: .85rem; font-weight: 700; }
.chart-table-scroll { max-width: 100%; overflow-x: auto; padding-bottom: 1rem; }
.chart-data table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .78rem; text-align: left; }
.chart-data caption { padding-bottom: .6rem; color: var(--muted); text-align: left; }
.chart-data th, .chart-data td { padding: .7rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.chart-data thead th { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }
.chart-data tbody th { width: 10rem; }
.device-chart-controls { display: flex; gap: .5rem; margin: 1.5rem 0 .9rem; }
.device-chart-controls button { min-width: 4.5rem; border: 1px solid var(--line); border-radius: 2rem; padding: .55rem .9rem; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 700; }
.device-chart-controls button[aria-pressed='true'] { border-color: var(--green); background: var(--green); color: var(--surface); }
.device-chart-highlight { display: flex; align-items: baseline; gap: .75rem; margin: 0 0 1.25rem; color: var(--green); }
.device-chart-highlight strong { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 400; line-height: 1; }
.device-chart-highlight span { max-width: 26rem; font-size: .83rem; line-height: 1.5; }
.device-chart-frame, .mobile-news-chart-frame { display: block; min-height: 220px; border: 1px solid var(--line); background: var(--paper); padding: clamp(1rem, 2vw, 1.8rem); }
.device-chart-fallback { display: grid; gap: 1.7rem; padding: 1.3rem .2rem; }
.device-chart-fallback-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.8rem; gap: .7rem; align-items: center; font-size: .78rem; }
.device-chart-fallback-row strong { font-variant-numeric: tabular-nums; }
.device-chart-fallback-track { height: 2rem; border-bottom: 1px solid var(--line); background: linear-gradient(to right, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px)); }
.device-chart-fallback-track i { display: block; height: 100%; background: var(--light-green); }
.device-chart-frame[data-selected-year='2024'] .device-chart-fallback-row[data-year='2024'] i,
.device-chart-frame[data-selected-year='2025'] .device-chart-fallback-row[data-year='2025'] i { background: var(--orange); }
.mobile-news-fallback { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; list-style: none; margin: 0; padding: 1rem 0; }
.mobile-news-fallback li { min-height: 180px; display: flex; flex-direction: column; justify-content: end; gap: .35rem; border-bottom: 2px solid var(--green); padding: .75rem; background: var(--light-green); font-size: .8rem; }
.mobile-news-fallback strong { color: var(--green); font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 400; font-variant-numeric: tabular-nums; }
.device-chart-axis { margin: .55rem 0 0; color: var(--muted); font-size: .7rem; }
.device-time-chart .chart-data table { min-width: 420px; }
.device-time-chart .figure-note a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.reader-test, .approval-example, .reveal { border-left: 4px solid var(--orange); }
.reader-test h4, .approval-example h4, .reveal h4 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 400; margin: 1rem 0; }
.reader-test p, .approval-example p, .reveal p { line-height: 1.7; }
.approval-example small { display: block; color: var(--muted); line-height: 1.5; }
.principles ol { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principles li { background: var(--surface); padding: clamp(1.3rem, 3vw, 2.4rem); min-height: 170px; }
.principles li span { color: var(--orange); font-size: .7rem; font-weight: 700; }
.principles li b { display: block; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 400; margin-top: .75rem; }
.principles li p { color: var(--muted); font-size: .85rem; margin: .5rem 0 0; }
.reveal details { border-top: 1px solid var(--line); padding-top: 1rem; }
.reveal summary { cursor: pointer; font-weight: 700; }
.reveal li { line-height: 1.7; margin: .35rem 0; }

.colophon { background: #203c2d; color: #f2f0e7; padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 8vw, 9rem); }
.colophon-inner { max-width: 950px; margin: auto; }
.colophon .eyebrow { color: #e6a57d; }
.colophon p { max-width: 670px; line-height: 1.75; }
.colophon dl { margin: 3rem 0; border-top: 1px solid #718976; }
.colophon dl div { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; border-bottom: 1px solid #718976; padding: 1.1rem 0; }
.colophon dt { color: #e6a57d; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.colophon dd { margin: 0; line-height: 1.55; }
.colophon-note { font-size: .8rem; color: #c8d2c9; }
.colophon arx-share { display: inline-block; margin-top: 1.5rem; --arx-share-color: #fff; }
.site-footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.5rem, 8vw, 9rem); font-size: .75rem; color: var(--muted); }
.site-footer a:last-child { color: var(--ink); }
@media (min-width: 800px) {
  .story-opening--reverse .story-opening-copy { grid-column: 2; grid-row: 1; }
  .story-opening--reverse > figure { grid-column: 1; grid-row: 1; }
  .story-layout[side='left']::part(flow) { padding-right: clamp(1.3rem, 5vw, 4rem); }
  .story-layout[side='right']::part(flow) { padding-left: clamp(1.3rem, 5vw, 4rem); }
}
@media (max-width: 900px) {
  .story-opening-copy, .story-opening-quote, .story-opening-principles { padding: clamp(2rem, 5vw, 3rem); }
  .stage-list { grid-template-columns: repeat(2, 1fr); }
  .timeline ol { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--green); margin-left: .2rem; }
  .timeline li { min-height: 0; padding: 0 0 1.5rem 1.5rem; }
  .timeline li:before { top: 3px; left: -5px; }
}
@media (max-width: 799px) {
  .story-opening { grid-template-columns: 1fr; }
  .story-opening-quote { min-height: 20rem; }
  .story-opening-quote blockquote { font-size: clamp(2.4rem, 8vw, 4rem); }
  .story-opening-image { min-height: clamp(18rem, 65vw, 26rem); }
  .story-layout { width: calc(100% - 2.6rem); margin-inline: auto; padding-block: 1.5rem; }
  .story-layout > arx-heading { margin-top: 2.5rem; }
  .story-quote { min-height: 17rem; padding: 2rem; }
  .story-background { width: calc(100% - 2.6rem); margin-inline: auto; padding: 1.3rem; --arx-story-text-surface: transparent; }
  /* No fixed height: the inset image takes its own shape, so wide artwork isn't letterboxed. */
  .story-background > .story-image { --arx-story-mobile-media-height: 0; }
}
@media (max-width: 960px) {
  .contents-grid { grid-template-columns: 1fr; }
  .part-card { min-height: 360px; }
}
@media (max-width: 600px) {
  .cover-intro { --arx-magazine-intro-pad: 1.3rem; --arx-magazine-intro-copy-max-width: 96%; --arx-magazine-intro-cue-justify: center; --arx-magazine-intro-cue-clear: 3.2rem; }
  .cover-theme-toggle { top: 1.2rem; right: 1.2rem; }
  .cover-intro [slot='title'] { font-size: clamp(3.2rem, 12vw, 5.2rem); }
  .cover-foot { font-size: .52rem; letter-spacing: .13em; }
  .contents { padding: 5rem 1.3rem; }
  .introduction-feature { grid-template-columns: 1fr; }
  .introduction-art { min-height: 145px; }
  .introduction-copy { padding: 1.5rem; }
  .introduction-copy strong { font-size: clamp(2.25rem, 9vw, 3.2rem); }
  .contents-grid { grid-template-columns: 1fr; }
  .part-card { min-height: 390px; }
  .part-card-copy strong { font-size: clamp(1.8rem, 7vw, 2.7rem); }
  .chapter-intro { --arx-magazine-intro-pad: 1.5rem; --arx-magazine-intro-copy-max-width: 96%; }
  .chapter-intro [slot='title'] { font-size: clamp(2.1rem, 8vw, 3.7rem); }
  .prose { padding-top: 3.5rem; padding-bottom: 4.5rem; }
  .prose > arx-heading { margin-top: 3.1rem; }
  .feature { margin: 3rem -1.3rem; padding: 1.3rem; }
  .stage-list { grid-template-columns: repeat(2, 1fr); }
  .stage-list li { min-height: 115px; }
  .three-facts { grid-template-columns: 1fr; }
  .three-facts div { padding: 1rem; }
  .comparison-window { height: 340px; border-width: 7px; }
  .mini-spread { min-width: 340px; transform: rotate(-3deg) scale(.82); }
  .comparison-web { padding: 1.4rem 10%; }
  .comparison-web b { font-size: 1.75rem; }
  .comparison-control { gap: .45rem; }
  .comparison-control span { font-size: .55rem; letter-spacing: 0; }
  .device-chart-highlight { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .chart-years { font-size: .58rem; letter-spacing: 0; }
  .chart-series { margin-top: 1.2rem; }
  .principles ol { grid-template-columns: 1fr; }
  .principles li { min-height: 130px; }
  .colophon dl div { grid-template-columns: 1fr; gap: .4rem; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  :root { color-scheme: light !important; --paper: #fff; --surface: #fff; --ink: #000; --muted: #444; --green: #183b2b; --light-green: #eee; }
  .cover-theme-toggle, .chapter-next, .site-footer, .comparison-control, arx-share { display: none !important; }
  .cover { print-color-adjust: exact; }
  .chapter { break-before: page; }
  .feature, .takeaway { break-inside: avoid; }
  .prose { padding: 1rem 0; }
  .device-chart-controls { display: none !important; }
  .device-chart-fallback { display: grid !important; }
}

/* Part Two: working demonstrations. Dark panels led by artwork, all sharing one layout: picture (optional), caption, body, foot.
   Replaces the old "Part Three: working demonstrations" block in assets/edition.css. Media is stand-in artwork. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feature.demo { --demo-bg: #203c32; --demo-ink: #fffaf1; --demo-soft: #c9d3c9; --demo-dim: #a7bba9; --demo-accent: #e2a477; --demo-accent-ink: #1e3027; --demo-edge: rgba(255, 250, 241, .3); --demo-rule: rgba(255, 250, 241, .18); padding: 0; border: 0; background: var(--demo-bg); color: var(--demo-ink); overflow: hidden; }
.story-figure > .feature.demo { overflow: auto; }
.demo button { font: inherit; color: inherit; cursor: pointer; }
.demo :is(button, input, textarea):focus-visible { outline: 3px solid var(--demo-accent); outline-offset: 2px; }
.demo .figure-number { color: var(--demo-accent); }
.demo .figure-note { margin: 0; color: inherit; font-size: inherit; line-height: 1.5; }
.demo-caption { display: flex; flex-direction: column; gap: .4rem; }
.demo-caption strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.75rem); font-weight: 400; line-height: 1.22; text-wrap: balance; }
.demo > .demo-caption:not(.visually-hidden) { padding: 2rem 2rem 0; }
.demo-hero { position: relative; height: clamp(160px, 28svh, 280px); background: #233d3d center / cover no-repeat; }
.demo-hero--short { height: clamp(110px, 18svh, 150px); }
.demo-hero--mid { height: clamp(140px, 22svh, 190px); }
.demo-hero::after, .demo-slide-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 39, 33, .05) 25%, rgba(16, 39, 33, .92)); pointer-events: none; }
.demo-hero .demo-caption { position: absolute; z-index: 1; left: 2rem; right: 2rem; bottom: 1.3rem; }
.demo-body { padding: 1.5rem 2rem 1.9rem; }
.demo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; margin-top: 1.3rem; padding-top: .9rem; border-top: 1px solid var(--demo-rule); color: var(--demo-soft); font-size: .76rem; }
.demo-label { color: var(--demo-soft); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.demo-output { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.demo-foot .demo-output { color: var(--demo-ink); }
.demo .demo-pill { min-height: 2.5rem; padding: .55rem 1.05rem; border: 0; border-radius: 999px; background: var(--demo-accent); color: var(--demo-accent-ink); font-size: .9rem; white-space: nowrap; }
.demo .demo-pill:hover { filter: brightness(1.06); }
.demo-seg { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--demo-edge); border-radius: 999px; }
.demo-seg button { padding: .45rem .9rem; border: 0; border-radius: 999px; background: transparent; font-size: .85rem; transition: background .2s, color .2s; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-chips button { padding: .45rem .9rem; border: 1px solid var(--demo-edge); border-radius: 999px; background: transparent; font-size: .88rem; transition: background .2s, color .2s; }
.demo .demo-seg button[aria-pressed='true'], .demo .demo-chips button[aria-pressed='true'] { border-color: var(--demo-accent); background: var(--demo-accent); color: var(--demo-accent-ink); }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.demo input[type='range'] { width: 100%; margin: 0; accent-color: var(--demo-accent); }
.demo-play-icon { width: 0; height: 0; margin-left: 4px; border-block: 9px solid transparent; border-left: 14px solid currentColor; }

/* Audio: the quote lights up as it is spoken */
.demo-ring { --p: 0; position: absolute; z-index: 2; top: 1.5rem; right: 1.5rem; display: grid; place-items: center; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: conic-gradient(var(--demo-accent) calc(var(--p) * 1turn), rgba(255, 250, 241, .3) 0); }
.demo-ring-inner { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--demo-bg); color: var(--demo-ink); }
.demo-ring .demo-play-icon { margin-left: 5px; border-block-width: 10px; border-left-width: 16px; }
.demo-ring[aria-pressed='true'] .demo-play-icon { width: 4px; height: 18px; margin: 0; border: 0; border-inline: 5px solid currentColor; }
.demo-quote { margin: 0; }
.demo-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.7rem); line-height: 1.35; text-wrap: pretty; }
.demo-audio.is-started .demo-quote span { opacity: .32; transition: opacity .25s; }
.demo-audio.is-started .demo-quote span.is-spoken { opacity: 1; }
.demo-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; color: var(--demo-soft); font-size: .82rem; }
.demo-time { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Read, listen, watch: one stage, three modes, and you keep your place */
.demo-format-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.demo-format-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .75rem .9rem; border: 1px solid var(--demo-edge); border-radius: 10px; background: transparent; text-align: left; transition: background .2s, color .2s; }
.demo-format-tabs b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.demo-format-tabs span { font-size: .75rem; opacity: .85; }
.demo-format-tabs [aria-pressed='true'] { border-color: var(--demo-accent); background: var(--demo-accent); color: var(--demo-accent-ink); }
.demo-format-grid { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; margin-top: 1.1rem; }
.demo-points { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.demo-points button { display: grid; grid-template-columns: 1.5rem 1fr; gap: .4rem; width: 100%; padding: .6rem .5rem; border: 0; border-left: 2px solid rgba(255, 250, 241, .15); background: transparent; color: var(--demo-dim); font-size: .88rem; text-align: left; }
.demo-points button span { font-size: .75rem; font-variant-numeric: tabular-nums; }
.demo .demo-points [aria-current='step'] { border-left-color: var(--demo-accent); color: var(--demo-ink); }
.demo-stage { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .6rem; box-sizing: border-box; min-height: 12.5rem; padding: 1.4rem; border-radius: 10px; overflow: hidden; background: #fffaf1; color: #212923; }
.demo-stage-label { color: #a4512b; font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.demo-stage-text { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.demo-stage-wave, .demo-stage-tag { display: none; }
.demo-stage[data-mode='listen'] { background: #294f3d; color: var(--demo-ink); }
.demo-stage[data-mode='listen'] .demo-stage-wave { display: flex; align-items: center; gap: 3px; height: 2.5rem; }
.demo-stage-wave i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(255, 250, 241, .35); }
.demo-stage-wave i.is-current { background: var(--demo-accent); }
.demo-stage[data-mode='listen'] .demo-stage-text { font-size: 1.15rem; }
.demo-stage[data-mode='listen'] .demo-stage-text::before { content: '“'; }
.demo-stage[data-mode='listen'] .demo-stage-text::after { content: '”'; }
.demo-stage:not([data-mode='read']) .demo-stage-label { display: none; }
.demo-stage:not([data-mode='read']) .demo-stage-tag { display: block; color: #e1e9db; font-size: .75rem; font-variant-numeric: tabular-nums; }
.demo-stage[data-mode='watch'] { justify-content: flex-end; align-items: center; background: #233d3d url('slate-rock-gold-circles.webp') center / cover no-repeat; color: var(--demo-ink); }
.demo-stage[data-mode='watch'] .demo-stage-tag { position: absolute; top: .75rem; left: .75rem; padding: .2rem .5rem; background: rgba(16, 24, 20, .7); color: var(--demo-ink); }
.demo-stage[data-mode='watch'] .demo-stage-text { padding: .4rem .65rem; background: rgba(16, 24, 20, .82); font-family: var(--sans); font-size: .9rem; line-height: 1.4; text-align: center; }
@media (max-width: 520px) {
  .demo-format-grid { grid-template-columns: 1fr; }
  .demo-points { flex-direction: row; }
  .demo-points li { flex: 1; }
  .demo-points button { grid-template-columns: 1fr; border-left: 0; border-top: 2px solid rgba(255, 250, 241, .15); }
  .demo .demo-points [aria-current='step'] { border-top-color: var(--demo-accent); }
}

/* Configure a desk */
.demo-config-preview { --wood-a: #7a5039; --wood-b: #55361f; position: relative; display: flex; justify-content: center; align-items: flex-end; box-sizing: border-box; height: 11.5rem; padding-bottom: 2.1rem; border-radius: 10px; background: #fffaf1 linear-gradient(#cfd3c9, #cfd3c9) 0 calc(100% - 2.1rem) / 100% 1px no-repeat; }
.demo-config-preview[data-finish='Oak'] { --wood-a: #c49562; --wood-b: #a87a48; }
.demo-config-preview[data-finish='Ash'] { --wood-a: #e2cfab; --wood-b: #c4ad86; }
.demo-desk { position: relative; width: var(--size); height: var(--desk-h); transition: width .3s ease, height .5s cubic-bezier(.3, .7, .2, 1); }
.demo-desk-top { position: absolute; inset: 0 0 auto; height: 14px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 11px), linear-gradient(var(--wood-a), var(--wood-b)); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.demo-desk-leg { position: absolute; top: 14px; bottom: 0; width: 9px; background: #2c3530; }
.demo-desk-leg:nth-of-type(2) { left: 8%; }
.demo-desk-leg:nth-of-type(3) { right: 8%; }
.demo-config-height { position: absolute; top: .6rem; right: .75rem; color: #677068; font-size: .75rem; font-variant-numeric: tabular-nums; }
.demo-swatches { display: flex; gap: 1.1rem; margin-top: 1.3rem; }
.demo-swatches button { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 0; border: 0; background: transparent; font-size: .82rem; }
.demo-swatches i { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px var(--demo-bg), 0 0 0 5px transparent; transition: box-shadow .2s; }
.demo-swatches [data-finish='Oak'] i { background: radial-gradient(circle at 30% 30%, #c49562, #a87a48); }
.demo-swatches [data-finish='Walnut'] i { background: radial-gradient(circle at 30% 30%, #7a5039, #55361f); }
.demo-swatches [data-finish='Ash'] i { background: radial-gradient(circle at 30% 30%, #e2cfab, #c4ad86); }
.demo-swatches [aria-pressed='true'] i { box-shadow: 0 0 0 3px var(--demo-bg), 0 0 0 5px var(--demo-accent); }
.demo-swatches [aria-pressed='false'] span { opacity: .75; }
.demo-range { margin-top: 1.3rem; }
.demo-range label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; font-size: .85rem; }
.demo-range output { font-variant-numeric: tabular-nums; }

/* Poll, then a reply */
.demo-poll-options { display: grid; gap: .5rem; }
.demo-poll-options button { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1rem; border: 1px solid var(--demo-edge); border-radius: 10px; background: transparent; font-size: .95rem; text-align: left; }
.demo-poll-options i { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 250, 241, .12); transition: width .7s cubic-bezier(.3, .7, .2, 1); }
.demo-poll.is-voted .demo-poll-options i { width: var(--v); }
.demo-poll.is-voted .demo-poll-options button { cursor: default; }
.demo-poll-options [aria-pressed='true'] { border-color: var(--demo-accent); }
.demo-poll-options [aria-pressed='true'] i { background: rgba(226, 164, 119, .38); }
.demo-poll-label, .demo-poll-pct { position: relative; }
.demo-poll-label em { margin-left: .6rem; color: var(--demo-accent); font-size: .69rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.demo-poll-pct { font-variant-numeric: tabular-nums; }
.demo-reply { display: grid; gap: .5rem; margin-top: 1.1rem; }
.demo-reply[hidden] { display: none; }
.demo-reply label { color: var(--demo-soft); font-size: .85rem; }
.demo-reply textarea { box-sizing: border-box; width: 100%; padding: .65rem .75rem; border: 1px solid var(--demo-edge); border-radius: 8px; background: rgba(255, 250, 241, .06); color: var(--demo-ink); font: inherit; font-size: .95rem; resize: vertical; }
.demo-reply .demo-pill { justify-self: start; }
.demo-poll [data-poll-thanks]:not(:empty) { margin-top: 1.1rem; font-size: 1.15rem; }

/* Step by step: swipe-through cards */
.demo-carousel { overflow: hidden; touch-action: pan-y; }
.demo-track { --i: 0; display: flex; margin: 0; padding: 0; list-style: none; transform: translateX(calc(var(--i) * -100%)); transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.demo-slide { flex: 0 0 100%; min-width: 0; }
.demo-slide-art { position: relative; height: clamp(160px, 26svh, 230px); background: #233d3d center / cover no-repeat; }
.demo-slide-art::after { background: linear-gradient(180deg, rgba(16, 39, 33, 0) 50%, rgba(16, 39, 33, .85)); }
.demo-slide-art .figure-number { position: absolute; z-index: 1; top: 1.3rem; left: 2rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.demo-slide-copy { min-height: 6.5rem; padding: 1.2rem 2rem .4rem; }
.demo-step-number { color: var(--demo-accent); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.demo-slide-copy b { display: block; margin: .4rem 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.demo-slide-copy p { margin: 0; color: #e1e9db; line-height: 1.6; }
.demo-carousel-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 2rem 1.75rem; }
.demo-dots { display: flex; align-items: center; gap: 8px; }
.demo-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 250, 241, .35); transition: width .3s, background .3s; }
.demo-dots button::before { content: ''; position: absolute; inset: -16px -4px; }
.demo .demo-dots [aria-current='step'] { width: 24px; background: var(--demo-accent); }
.demo-carousel-buttons { display: flex; gap: .5rem; }
.demo-round { width: 44px; height: 44px; padding: 0; border: 1px solid var(--demo-edge); border-radius: 50%; background: transparent; font-size: 1.1rem; }
.demo-round:disabled { opacity: .35; cursor: default; }
.demo-steps .demo-pill { min-height: 44px; }
.demo-steps.is-done .demo-dots { display: none; }

/* Data you can explore: one big number, years, regions, and a table */
.demo-data-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.demo-big { display: flex; align-items: flex-end; gap: 1rem; }
.demo-big > span { font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 5.25rem); line-height: .9; color: var(--demo-accent); font-variant-numeric: tabular-nums; }
.demo-big p { display: grid; margin: 0; padding-bottom: .35rem; font-size: .95rem; line-height: 1.45; }
.demo-big p span:last-child { color: var(--demo-soft); }
.demo-stack { display: flex; gap: 2px; height: 20px; margin-top: 1.5rem; border-radius: 4px; overflow: hidden; }
.demo-stack i { width: var(--v); transition: width .45s cubic-bezier(.3, .7, .2, 1); }
.demo-stack i:nth-child(1), .demo-legend li:nth-child(1) i { background: #e2a477; }
.demo-stack i:nth-child(2), .demo-legend li:nth-child(2) i { background: #a7c9a9; }
.demo-stack i:nth-child(3), .demo-legend li:nth-child(3) i { background: rgba(255, 250, 241, .45); }
.demo-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .65rem 0 0; padding: 0; list-style: none; font-size: .82rem; }
.demo-legend li { display: flex; align-items: center; gap: .4rem; }
.demo-legend i { width: 10px; height: 10px; border-radius: 2px; }
.demo-legend b { font-variant-numeric: tabular-nums; }
.demo-data-table table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.demo-data-table thead th { padding: .45rem 0; border-bottom: 1px solid var(--demo-ink); color: var(--demo-soft); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: right; }
.demo-data-table tbody th { font-weight: 400; text-align: left; }
.demo-data-table thead th:first-child { text-align: left; }
.demo-data-table tbody :is(th, td) { padding: .55rem 0; border-bottom: 1px solid var(--demo-rule); }
.demo-data-table td { text-align: right; }
.demo-data-table tr.is-current :is(th, td) { color: var(--demo-accent); font-weight: 700; }
.demo-year { margin-top: 1.5rem; }
.demo-ticks { display: flex; justify-content: space-between; margin-top: .3rem; color: var(--demo-soft); font-size: .75rem; font-variant-numeric: tabular-nums; }
.demo-ticks .is-current { color: var(--demo-accent); font-weight: 700; }
.demo-data .demo-chips { margin-top: 1.2rem; }
@media (max-width: 480px) { .demo-data-head { flex-direction: column-reverse; } }

@media (max-width: 800px) { .feature.demo { padding: 0; } .story-figure > .feature.demo { width: 100%; margin-inline: 0; } /* phones: use the whole stacked column, not the 1.5rem inset (2026-10-11) */ .demo-body, .demo > .demo-caption:not(.visually-hidden) { padding-inline: 1.3rem; } .demo-hero .demo-caption { left: 1.3rem; right: 1.3rem; } .demo-carousel-nav, .demo-slide-copy { padding-inline: 1.3rem; } .demo-slide-art .figure-number { left: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .demo-desk, .demo-stack i, .demo-poll-options i, .demo-track, .demo-dots button, .demo-audio .demo-quote span { transition: none !important; } }
@media print { .feature.demo { print-color-adjust: exact; } .demo-ring, .demo-carousel-nav, .demo-seg, .demo-chips, .demo-year { display: none !important; } }

/* Closing call to action (replaces the colophon) */
.get-yours { padding-bottom: 0; }
.get-yours-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); max-width: 1180px; margin: auto; align-items: start; }
.get-yours h1 { margin: 0 0 1.5rem; font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 1.05; letter-spacing: -.035em; }
.get-yours-lead { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.4 !important; }
.get-yours-steps { list-style: none; margin: 2.5rem 0; padding: 0; border-top: 1px solid #718976; }
.get-yours-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid #718976; }
.get-yours-steps li > span { color: #e6a57d; font-size: .72rem; font-weight: 700; letter-spacing: .12em; padding-top: .3rem; }
.get-yours-steps b { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.get-yours-steps p { margin: .35rem 0 0; color: #c8d2c9; }
.get-yours-agency { padding: 1.3rem 1.5rem; border-left: 3px solid #e6a57d; background: rgba(255, 255, 255, .05); }
.get-yours-agency b { color: #e6a57d; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.get-yours-agency p { margin: .5rem 0 0; }
.get-yours-form { position: sticky; top: 2rem; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 6px; background: #fffdf8; color: #212923; --arx-store-form-submit-bg: #b75c32; --arx-store-form-submit-color: #fffdf8; --arx-store-input-border: #b9c0b5; --arx-store-input-radius: 4px; --arx-brand: #294f3d; --arx-text-color: #212923; }
.get-yours-form arx-store-input { display: block; margin-bottom: 1.1rem; }
.get-yours-small { color: #677068; font-size: .8rem; }
.get-yours-complete b { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.get-yours-about { margin: clamp(4rem, 8vw, 7rem) calc(-1 * clamp(1.5rem, 8vw, 9rem)) 0; padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 8vw, 9rem); background: #182f23; }
.get-yours-about > div { max-width: 1180px; margin: auto; }
.get-yours-about h2 { margin: 0 0 1rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.get-yours-about .get-yours-small { color: #a9b7ab; }
.contents-end button { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; column-gap: 0; text-align: left; cursor: pointer; }
.contents-end-label { flex-basis: 100%; margin: 0 0 .4rem !important; color: var(--orange); font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.chapter-next--cta { background: #b75c32; }
@media (max-width: 900px) { .get-yours-inner { grid-template-columns: 1fr; } .get-yours-form { position: static; } }

/* Full-width call-to-action card under the part cards */
.contents { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; margin-top: var(--contents-card-gap); padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.5rem, 3vw, 2.6rem); border: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.cta-card:hover, .cta-card:focus-visible { border-color: var(--orange); background: var(--surface); }
.cta-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cta-card-copy { display: grid; gap: .4rem; }
.cta-card-label { color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cta-card strong { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.cta-card-text { color: var(--muted); font-size: .98rem; }
.cta-card-arrow { flex: none; color: var(--orange); font-size: clamp(1.6rem, 2.5vw, 2.2rem); transition: transform .25s; }
.cta-card:hover .cta-card-arrow { transform: translate(3px, -3px); }
.demo-tabs { margin: 0 0 1.2rem; }
.demo-format { min-height: 7.5rem; }
.demo-format p { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.demo-format .demo-format-note { margin-top: .8rem; color: var(--muted); font-family: var(--sans); font-size: .85rem; }
.demo-player--small { padding: .8rem 1rem; }
.demo-player--small .demo-play-icon { flex: none; }
.demo-video { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: 10px; background: linear-gradient(135deg, #294f3d, #16343a); }
.demo-video .demo-play-icon { border-left-color: #fffaf1; transform: scale(1.6); }

/* Key-message bands with scroll reveal */
.key-message { --km-bg: #b75c32; --km-ink: #fffaf1; padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 8vw, 9rem); background: var(--km-bg); color: var(--km-ink); }
.key-message--the-edition { --km-bg: #294f3d; }
.key-message--innovation { --km-bg: #16343a; }
.key-message--ownership { --km-bg: #4b332d; }
.key-message-inner { max-width: 54rem; margin: auto; }
.key-message p { margin: 0 0 1.4em; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.45; text-wrap: pretty; }
.key-message edition-reveal:first-child p { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.015em; }
.key-message edition-reveal:last-child p { margin-bottom: 0; }
.key-message strong { color: #fffaf1; }
edition-reveal { display: block; opacity: 0; transform: translateY(1.75rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
edition-reveal[data-visible], edition-reveal:not(:defined) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { edition-reveal { opacity: 1; transform: none; transition: none; } }
@media print { edition-reveal { opacity: 1 !important; transform: none !important; } }
.prose-bullets { list-style: none; padding-left: 0; }
.prose-bullets li { position: relative; padding-left: 1.6rem; margin-bottom: .9rem; }
.prose-bullets li::before { content: ''; position: absolute; left: 0; top: .72em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); }

/* List items: a larger title on its own line, explanation underneath */
.prose-list { list-style: none; padding-left: 0; counter-reset: item; }
.prose-list > li { position: relative; margin: 0 0 1.4rem; padding-left: 2.6rem; }
ol.prose-list > li { counter-increment: item; }
ol.prose-list > li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: .55rem; color: var(--orange); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.prose-bullets > li { padding-left: 2.6rem; margin-bottom: 1.4rem; }
.prose-bullets > li::before { left: .1rem; top: .62rem; width: .7rem; height: .7rem; }
.li-title { display: block; font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.li-text { display: block; margin-top: .3rem; }

/* Two-column section: heading and intro left, list right */
.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); max-width: 1180px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem); }
.split-intro arx-heading { display: block; margin: 0 0 1.5rem; --arx-heading-size-3: clamp(2rem, 3.2vw, 3.2rem); --arx-heading-font-weight: 400; --arx-heading-line-height-3: 1.12; }
.split-intro arx-text { display: block; margin-bottom: 1.4rem; }
.split-intro { position: sticky; top: 2rem; align-self: start; }
.split-list .prose-list { margin-top: .4rem; }
.prose-after-split { padding-top: 0; }
@media (max-width: 860px) { .split-section { grid-template-columns: 1fr; gap: 1rem; } .split-intro { position: static; } }

/* Closing panel that bookends a chapter */
.closing-frame { margin: clamp(4rem, 9vw, 8rem) 0; border-block: 1px solid var(--line); }
.closing-frame .story-opening-copy { background: var(--surface); }
.closing-frame .story-opening-text arx-text:first-child { font-size: clamp(1.6rem, 2.4vw, 2.5rem); }

/* "Continue reading" as a proper button card in the page flow, not a footer bar */
.chapter-next { box-sizing: border-box; width: min(100% - 2.6rem, 760px); margin: clamp(2.5rem, 6vw, 5rem) auto clamp(4rem, 9vw, 7rem); padding: clamp(1.3rem, 2.5vw, 1.9rem) clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: #fffaf1; cursor: pointer; box-shadow: 0 10px 30px rgba(20, 40, 30, .14); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.chapter-next > span:first-child { opacity: .85; font-weight: 700; }
.chapter-next strong { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; }
.chapter-next > span:last-child { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 250, 241, .14); font-size: 1.4rem; transition: transform .25s ease; }
.chapter-next:hover, .chapter-next:focus-visible { filter: none; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20, 40, 30, .22); }
.chapter-next:hover > span:last-child { transform: translate(2px, -2px); }
.chapter-next:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.chapter-next--cta { border-color: #b75c32; background: #b75c32; box-shadow: 0 10px 30px rgba(120, 50, 20, .2); }
@media (prefers-reduced-motion: reduce) { .chapter-next, .chapter-next > span:last-child { transition: none; } .chapter-next:hover { transform: none; } }

/* Question that leads into the next chapter */
.chapter-teaser { max-width: 760px; margin: clamp(5rem, 11vw, 9rem) auto clamp(4rem, 9vw, 7rem); padding: 0 1.3rem; text-align: center; }
.chapter-teaser::before { content: ''; display: block; width: 3.5rem; height: 2px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); background: var(--orange); }
.chapter-teaser-question { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.chapter-teaser-text { margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.chapter-teaser .chapter-next { width: 100%; margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: left; }

/* Smaller, clearly-a-button "read next" inside the closing question */
.chapter-teaser { margin-top: clamp(6rem, 13vw, 11rem); }
.chapter-teaser .chapter-next { display: inline-flex; align-items: center; gap: .9rem; width: auto; max-width: 100%; margin: clamp(1.8rem, 3.5vw, 2.6rem) auto 0; padding: .85rem .9rem .85rem 1.5rem; border-radius: 999px; text-align: left; }
.chapter-teaser .chapter-next > span:first-child { font-size: .62rem; }
.chapter-teaser .chapter-next strong { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.chapter-teaser .chapter-next > span:last-child { width: 2.3rem; height: 2.3rem; font-size: 1.05rem; }

/* Chapter foot: Previous / Contents / Next */
.chapter-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 1rem; margin-top: clamp(2rem, 5vw, 4rem); padding: clamp(1rem, 2vw, 1.4rem) clamp(1.3rem, 6vw, 6rem); background: #b75c32; color: #fffaf1; }
.chapter-nav button { display: flex; flex-direction: column; justify-content: center; gap: .25rem; border: 0; border-radius: 6px; padding: .8rem 1rem; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background .2s; }
.chapter-nav button:hover { background: rgba(255, 250, 241, .12); }
.chapter-nav button:focus-visible { outline: 3px solid #fffaf1; outline-offset: 2px; }
.chapter-nav-prev { justify-self: start; align-items: flex-start; text-align: left; }
.chapter-nav-next { justify-self: end; align-items: flex-end; text-align: right; }
.chapter-nav-dir { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.chapter-nav-title { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.2; }
.chapter-nav-home { flex-direction: row !important; align-items: center; gap: .6rem !important; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1px solid rgba(255, 250, 241, .45) !important; border-radius: 999px !important; padding: .7rem 1.2rem !important; align-self: center; }
.chapter-nav-grid { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; }
.chapter-nav-grid i { width: 5px; height: 5px; background: currentColor; border-radius: 1px; }
.chapter-teaser + .chapter-nav, .chapter-next + .chapter-nav { margin-top: clamp(3rem, 7vw, 6rem); }
.chapter > .chapter-next { margin-bottom: 0; }
@media (max-width: 640px) { .chapter-nav { grid-template-columns: 1fr 1fr; } .chapter-nav-home { grid-column: 1 / -1; grid-row: 1; justify-self: center; } .chapter-nav-title { font-size: 1rem; } }
@media print { .chapter-nav { display: none; } }
@media (max-width: 640px) { .chapter-teaser .chapter-next > span:first-child { display: none; } .chapter-teaser .chapter-next strong { white-space: nowrap; } }

/* Placeholder for the pinch-and-zoom photograph */
.photo-placeholder { display: grid; place-items: center; gap: 1.5rem; text-align: center; }
.phone-mock { width: 11rem; aspect-ratio: 9 / 18.5; padding: .55rem; border-radius: 1.8rem; background: #1d2a24; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 1.35rem; background: #e9e4da; }
.tiny-spread { position: absolute; top: 38%; left: -30%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 160%; height: 22%; padding: 6px; background: #fffdf8; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transform: rotate(-4deg); }
.tiny-spread i { background: repeating-linear-gradient(#c9c3b8 0 2px, transparent 2px 5px); }
.pinch { position: absolute; width: 2.1rem; height: 2.1rem; border: 2px solid rgba(183, 92, 50, .8); border-radius: 50%; background: rgba(183, 92, 50, .18); }
.pinch-a { top: 34%; left: 18%; } .pinch-b { top: 52%; left: 56%; }
.photo-placeholder figcaption { align-items: center; margin: 0; }
/* The key-message band now carries the opening quote */
.key-message--introduction { --km-bg: #203c32; text-align: center; }
.key-message--introduction p { font-size: clamp(2rem, 4.2vw, 3.6rem) !important; line-height: 1.12 !important; letter-spacing: -.025em; }
.key-message--introduction p { max-width: 13em; margin-inline: auto !important; text-wrap: balance; }
.pull-line { margin: 2.5rem 0 0; padding-top: 1.6rem; border-top: 2px solid var(--orange); font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.02em; }

/* Side rail: a more finished Contents tab, and distinct chapter / edition titles */
arx-magazine-switcher::part(back-tab) { border-radius: 0 7px 7px 0; box-shadow: 0 6px 18px rgba(30, 20, 10, .22), inset 0 0 0 1px rgba(255, 250, 241, .22), inset -2px 0 0 rgba(0, 0, 0, .08); letter-spacing: .04em; }
arx-magazine-switcher::part(article-title) { color: var(--ink); font-weight: 700; }
arx-magazine-switcher::part(document-title) { position: relative; padding-inline-start: 1rem; border-inline-start: 2px solid var(--orange); color: var(--muted); font-size: .9em; }

/* Dark mode switch, tucked into the footer */
.footer-actions { display: inline-flex; align-items: center; gap: 1.5rem; }
.footer-theme-toggle { display: inline-flex; align-items: center; gap: .5rem; border: 0; padding: 0; background: none; color: var(--muted); font: inherit; font-size: .75rem; cursor: pointer; }
.footer-theme-toggle .theme-track { width: 1.7rem; height: .95rem; border-color: var(--line); }
.footer-theme-toggle .theme-thumb { width: .55rem; height: .55rem; background: var(--muted); }
.footer-theme-toggle[aria-pressed='true'] .theme-thumb { transform: translateX(.7rem); background: var(--orange); }
.footer-theme-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media print { .footer-theme-toggle { display: none; } }

/* Opening photograph: someone pinch-zooming a PDF on a train. Sits in the same
   framed card as the other panel figures rather than filling the column. */
.photo-pinch img { display: block; width: 100%; height: auto; }
@media (max-width: 800px) { .story-figure > .photo-pinch { width: calc(100% - 1rem); padding: .6rem; } }

/* Closing background story for the Opening ("Faithful, not identical" to the end). */
.story-background--closing { margin-top: 0; margin-bottom: 0; }
/* Run straight from the side-panel story into the image, with no band or rule between. */
.story-layout:has(+ .story-background--closing) { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
@media (max-width: 800px) { .story-background--closing { margin-block: 0; } }
.story-background--closing ol.prose-list { color: #fffaf1; }
.story-background--closing .li-title { color: #fffaf1; }

/* Phones: coloured panels (quotes, demos, the hosting note, background stories)
   run to the full width of the panel instead of stopping at the text column. */
@media (max-width: 799px) {
  .story-layout { --phone-gutter: 1.3rem; }
  .story-layout > .story-quote-media,
  .story-layout > .story-figure:has(> .feature.demo),
  .story-layout > .hosting-note { box-sizing: border-box; width: calc(100% + 2 * var(--phone-gutter)); max-width: none; margin-inline: calc(-1 * var(--phone-gutter)); }
  .story-layout > .hosting-note { padding-inline: var(--phone-gutter); }
  .story-background { width: 100%; }
}

/* Footer with the share button: keep each control on one line, and let the row wrap on phones. */
.footer-actions { flex-wrap: wrap; row-gap: 1rem; }
.footer-actions > * { white-space: nowrap; }
@media (max-width: 600px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* The Edition's opening image is a portrait device mock-up: on phones, show it whole at its own shape
   instead of the short landscape crop the other opening frames use. */
@media (max-width: 800px) {
  .story-opening--the-edition .story-opening-image { min-height: 0; aspect-ratio: 1086 / 1448; }
}
