:root {
  color-scheme: var(--scheme, dark);
  --font: "Aptos", "Segoe UI", system-ui, sans-serif;
  --accent-soft: color-mix(in srgb, var(--accent), var(--bg) 85%);
  --paper: color-mix(in srgb, var(--bg), var(--surface) 72%);
  --stroke: color-mix(in srgb, var(--fine), var(--accent) 13%);
  --round: 1rem;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 1.04rem/1.65 var(--font);
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(75rem, calc(100% - 4rem)); margin-inline: auto; }
.skip {
  position: fixed; z-index: 9; top: .55rem; left: .55rem;
  padding: .7rem 1rem; transform: translateY(-150%); background: var(--bg);
}
.skip:focus { transform: none; }
.top {
  position: sticky; top: 0; z-index: 3;
  border-bottom: 1px solid var(--fine);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(15px);
}
.top-line {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 4.5rem; padding-block: .5rem; gap: .6rem 1.7rem;
}
.wordmark, .jump {
  display: inline-flex; align-items: center; gap: .63rem;
  font-size: .94rem; font-weight: 680; color: var(--ink); text-decoration: none;
}
.wordmark img { width: 1.7rem; height: 1.7rem; object-fit: contain; }
.jump { padding: .7rem .95rem; border: 1px solid var(--stroke); border-radius: .55rem; }
.jump:hover { color: var(--accent); border-color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: .1rem 1.3rem; }
nav a { display: inline-block; padding: .35rem 0; color: var(--muted); font-size: .92rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.progress { position: absolute; bottom: -1px; left: 0; width: 100%; pointer-events: none; }
.progress i { display: block; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.masthead {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--lead-bg, var(--surface));
  border-bottom: 1px solid var(--fine);
}
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(1.4rem, 6vw, 5.7rem);
  min-height: min(31rem, 80vh); padding-block: clamp(2.6rem, 7vw, 6rem);
}
.eyebrow { margin: 0 0 .82rem; color: var(--accent); font-weight: 660; font-size: .9rem; }
h1, h2, h3, .stat strong {
  margin: 0; font-family: var(--headline, var(--font)); line-height: 1.1; text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6.6vw, 7rem); letter-spacing: -.07em; }
h2 { margin-bottom: .85rem; font-size: clamp(1.55rem, 3vw, 2.6rem); letter-spacing: -.045em; }
h3 { margin: 1rem 0 .45rem; font-size: 1.14rem; }
.subtitle { margin: .72rem 0 .5rem; font-size: clamp(1.23rem, 2.3vw, 1.77rem); line-height: 1.3; font-weight: 610; }
p { margin: 0 0 .9rem; }
p:last-child { margin-bottom: 0; }
.lead { max-width: 51ch; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.16rem); }
.hero .jump {
  margin-top: .75rem; color: var(--on-accent, var(--bg)); background: var(--accent);
  border-color: var(--accent); width: fit-content;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero .jump:hover { transform: translateY(-2px); box-shadow: 0 .35rem 1.25rem var(--accent-soft); }
.frame { margin: 0; min-width: 0; }
.frame-link {
  position: relative; display: grid; place-items: center; overflow: hidden;
  min-height: 7rem; background: var(--paper); border: 1px solid var(--stroke);
  padding: clamp(.4rem, 1.2vw, .8rem); border-radius: var(--round);
  transition: transform .25s ease, border-color .25s ease;
}
.frame-link img { width: 100%; max-height: 21rem; object-fit: contain; border-radius: max(.2rem, calc(var(--round) - .28rem)); }
.frame-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.frame-caption { display: flex; justify-content: space-between; gap: .6rem; margin-top: .42rem; color: var(--muted); font-size: .86rem; }
.frame-caption b { color: var(--accent); font-weight: 620; }
.hero-visual { position: relative; }
.hero-visual .frame-link { padding: clamp(.6rem, 1.9vw, 1.15rem); box-shadow: 0 1.3rem 3rem color-mix(in srgb, #000 25%, transparent); }
.hero-visual .frame-link img { max-height: 24rem; }
.metrics { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.25rem; padding: .86rem 0; border-bottom: 1px solid var(--fine); }
.stat strong { font-size: clamp(1.23rem, 2.8vw, 1.86rem); color: var(--accent); letter-spacing: -.028em; }
.stat span, .metric-note { color: var(--muted); font-size: .88rem; }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .65rem; margin: 0; }
.metric-note { margin: 0 0 0 auto; }
.review { padding-block: clamp(2rem, 6vw, 5rem); }
.stack > * + * { margin-top: clamp(1.5rem, 3.3vw, 2.8rem); }
.tight > * + * { margin-top: 1.35rem; }
.split { display:grid; grid-template-columns:minmax(0,1.43fr) minmax(0,1fr); gap:clamp(1.5rem,5vw,4.3rem); align-items:start; }
.even { grid-template-columns:repeat(2,minmax(0,1fr)); }
.narrow { max-width: 55rem; margin-inline: auto; }
.band { border-block: 1px solid var(--fine); padding-block: clamp(1rem, 3vw, 1.75rem); }
.panel { min-width: 0; }
.panel p { max-width: 70ch; }
.card {
  background: var(--surface); border: 1px solid var(--stroke);
  padding: clamp(1rem, 3vw, 1.75rem); border-radius: var(--round);
}
.card h2, .news h2, .analyst h2, .reader h2 { font-size: clamp(1.34rem, 2.4vw, 1.92rem); }
.news { border-inline-start: 3px solid var(--accent); }
.news time { display: block; margin-bottom: .55rem; color: var(--accent); font-size: .87rem; font-weight: 680; font-variant-numeric: tabular-nums; }
.news p { color: var(--muted); }
.stills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.75rem,2vw,1.35rem); align-items:start; }
.stills .frame-link { height: clamp(8rem, 18vw, 15rem); }
.stills .frame-link img { height: 100%; max-height: 100%; object-fit: contain; }
.stills.single { grid-template-columns: minmax(0,1fr); }
.stills.single .frame-link { height: auto; }
.analyst { margin: 0; min-width: 0; }
.analyst blockquote { margin: .5rem 0 .7rem; }
.analyst figcaption { color: var(--muted); font-size: .87rem; }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.1rem minmax(0,1fr); gap: .75rem; align-items: start; border-top: 1px solid var(--fine); padding: .82rem 0; }
.step-number {
  width: 1.9rem; aspect-ratio: 1; border-radius: .4rem;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; font-size: .88rem;
}
.steps strong { display: block; margin-bottom: .1rem; }
.steps li span { color: var(--muted); }
.scroll-box { overflow-x: auto; border: 1px solid var(--fine); border-radius: var(--round); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
caption { text-align: left; padding: .7rem .85rem; font-weight: 650; }
th, td { text-align: start; vertical-align: top; border-bottom: 1px solid var(--fine); padding: .75rem .85rem; overflow-wrap: anywhere; }
tbody tr:last-child > * { border-bottom: 0; }
thead { background: var(--accent-soft); }
thead th { color: var(--accent); }
td { color: var(--muted); }
.faq details { border-top: 1px solid var(--fine); }
.faq details:last-child { border-bottom: 1px solid var(--fine); }
summary { cursor: pointer; padding: .82rem 1.8rem .82rem 0; position: relative; list-style: none; font-weight: 675; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: .25rem; top: 1.2rem; width: .42rem; height: .42rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .22s ease; }
details[open] > summary::after { transform: rotate(225deg); }
details > p { color: var(--muted); padding-bottom: .62rem; }
details[open] > p { animation: answer-in .23s ease-out; }
@keyframes answer-in { from { opacity: .55; transform: translateY(-.22rem); } to { opacity: 1; transform: translateY(0); } }
.sourcebox { border-top: 1px solid var(--fine); padding-block: 1rem; }
.sourcebox ul { margin: 0 0 1.1rem; padding-inline-start: 1.2rem; }
.sourcebox a { overflow-wrap: anywhere; }
.company { color: var(--muted); max-width: 84ch; font-size: .93rem; }
.company p { margin-top: .55rem; }
footer { border-top: 1px solid var(--fine); background: var(--surface); color: var(--muted); font-size: .9rem; }
.footer-row { padding-block: 1.15rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.2rem; }
.viewer { border: 1px solid var(--stroke); border-radius: var(--round); padding: .75rem; width: min(calc(100% - 2rem),76rem); max-height: calc(100% - 2rem); background: var(--surface); color: var(--ink); }
.viewer::backdrop { background: #03070bd9; }
.viewer-bar { display: flex; justify-content: space-between; gap: .75rem; align-items: center; margin-bottom: .55rem; }
.viewer button { font: inherit; padding: .42rem .7rem; background: var(--bg); color: var(--ink); border: 1px solid var(--fine); border-radius: .4rem; cursor: pointer; }
.viewer img { margin-inline: auto; max-height: 78vh; width: auto; object-fit: contain; }
@keyframes arrive { from { opacity: .72; transform: translateY(.48rem); } to { opacity: 1; transform: translateY(0); } }
.arrived { animation: arrive .46s ease-out; }
@media(max-width:56rem) {
  .wrap { width: calc(100% - 2.6rem); }
  .split { grid-template-columns: 1fr; }
}
@media(max-width:44rem) {
  html { scroll-padding-top: 6.8rem; }
  .wrap { width: calc(100% - 1.8rem); }
  .top-line { flex-wrap: wrap; min-height: 0; gap: .2rem .75rem; }
  .top-line nav { gap: .05rem 1rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 2.3rem; }
  h1 { font-size: clamp(2.55rem,11vw,4rem); }
  th, td { padding: .58rem .5rem; font-size: .84rem; }
  .metric-note { margin-left: 0; }
  .stills .frame-link { min-height: 6rem; }
}
@media(max-width:28rem) {
  .stills { grid-template-columns: 1fr; }
  .stills .frame-link { height: auto; }
  .stills .frame-link img { max-height: 14rem; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

:root { --scheme:light;--bg:#fffaf7;--surface:#fff;--ink:#2a191c;--muted:#5c4547;--fine:#d7b8b7;--accent:#982638;--on-accent:#fff;--headline:Georgia,serif;--lead-bg:linear-gradient(#fffaf7 25%,#f9e4e3); }
.top { border-top:.28rem solid #a52236; }
.hero { grid-template-columns:1fr; text-align:center; gap:1.65rem; padding-block:3rem 1.2rem; }
.hero .lead,.hero-visual { margin-inline:auto; }
.hero-visual { width:min(100%,45rem); }
.hero-visual .frame-link img { max-height:12rem; }
.north-column { columns:2; column-gap:3rem; }
.north-column > * { break-inside:avoid; margin-bottom:1.2rem; }
@media(max-width:52rem){.north-column{columns:1}}
