@font-face { font-family: 'Newsreader'; src: url('/assets/newsreader-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/newsreader-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mona Sans'; src: url('/assets/mona-sans-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mona Sans'; src: url('/assets/mona-sans-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Mona Sans'; src: url('/assets/mona-sans-600-normal.woff2') format('woff2'); font-weight: 600 900; font-display: swap; }
:root { --serif: 'Newsreader', Georgia, serif; --body: 'Mona Sans', Arial, sans-serif; --ink: #163e32; --paper: #edf3e9; --forest: #164638; --muted: #526d5b; --rule: #adbfac; }
body { background: #edf3e9; }
body::after { display: none; }
.chapter-review, .scenario-picker button span { font-family: var(--body); }
.opening h1 { font-family: var(--serif); font-size: 15.9cqw; line-height: .77; letter-spacing: -.06em; }
.opening h1 > * { transform: scaleX(.82); }
.chapter h2 { letter-spacing: -.045em; line-height: 1; }
.chapter h2 em { font-weight: 400; }
.case-card h3 { line-height: 1.08; }
.opening, .chapter, .footer { position: relative; isolation: isolate; }
.opening { background: radial-gradient(ellipse at 15% 10%, #ddf7e7, transparent 58%), radial-gradient(ellipse at 85% 65%, #d4e9db, transparent 60%), #eef1e4; }
.hero-visual::after, .chapter::after, .footer::after {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  opacity: .2; background: url('/assets/paper-grain.svg') repeat; background-size: 180px 180px; mix-blend-mode: multiply;
}
.hero-visual::after { z-index: 0; }
.opening-stage, .opening-caption { z-index: 1; }
.opening .plate-photo { background: #168b6c; }
.opening .plate-photo img { filter: none; image-rendering: auto; }
.opening .plate-03 img { object-position: center; }
.opening .plate-04 img { object-position: 50% 54%; }
.opening .photo-window::after { display: none; }
.opening .plate-07 img { object-fit: cover; }
.opening .plate-01 { background: #164e3d; overflow: visible; box-shadow: none; }
.opening .plate-01 svg { width: 160%; height: 150%; }
.opening .plate-01 svg { animation: none; }
.opening .plate-01 { background: transparent; }
.opening .plate-01 .orbit-art { transform: rotate(-7deg); }
.plate-02, .plate-06 { background: #174e3e; }
.plate-05 { background: #d6e9d5; }
.plate b { letter-spacing: -.04em; }
.chapter-work { background: radial-gradient(ellipse at 10% 80%, #d1eddb, transparent 70%), #e2eddd; }
.cases { background: #eef2e7; }
.chapter-review { background: radial-gradient(at 90% 10%, #cae9d9, transparent 65%), #dbe9d7; }
.chapter-data { background: radial-gradient(at 90% 100%, #146449, transparent 70%), #153e31; }
.pilot { background: #deead9; }
.chapter-questions { background: #edf3e9; }
.case-scene { background: #dcece0; }
.episode { background: radial-gradient(ellipse at 70% 50%, #35674f, transparent 70%), #173e30; }
.context-orbit, .case-orbit { background: transparent; border: 0; }
.context-orbit .orbit-icon, .case-orbit { width: 64px; height: 48px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.case-orbit svg { width: 64px; height: 48px; }
.context-orbit:not(:disabled):hover .orbit-icon, .context-orbit[data-demo-hover] .orbit-icon, .context-orbit[aria-expanded="true"] .orbit-icon,
.case-orbit:hover, .case-orbit[aria-expanded="true"] { background: transparent; color: inherit; }
.context-orbit .orbit-icon, .case-orbit svg { filter: drop-shadow(0 3px 5px #087c6430); }
.context-orbit:hover .orbit-icon, .case-orbit:hover svg { transform: translateY(-2px) rotate(-5deg); }
.context-orbit[aria-expanded="true"] .orbit-icon { transform: rotate(-6deg) scale(1.1); }
.intake-orbit, .manager-desk[data-state="received"] .intake-orbit { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.intake-orbit { width: 7rem; height: 5rem; }
.intake-orbit::before, .intake-orbit::after { display: none; }
.intake-orbit .orbit-icon { width: 100%; height: 100%; }
.manager-desk[data-state="received"] .intake-orbit { width: 4rem; height: 3rem; }
.manager-desk[data-state="sending"] .intake-orbit { box-shadow: none; }
.case-orbit:focus-visible, .context-orbit:focus-visible { outline: 2px solid #28624a; outline-offset: 5px; border-radius: 6px; }
.chapter-menu summary svg { width: 42px; height: 34px; }
.chapter-menu summary { background: #d6e9d5; border-color: #819c86; }
.generated-film { margin-top: 4.5rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,6vw,5rem); }
.film-frame { position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 3/4; overflow: hidden; background: #79d3af; box-shadow: 0 15px 45px #204f3220; }
.film-frame > img { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-frame .film-orb-layer { opacity: 0; mask-image: linear-gradient(to bottom, transparent 11%, #000 15%); transition: opacity .9s ease; }
.film-frame .film-question-layer { opacity: 0; mask-image: linear-gradient(to bottom, #000 11%, transparent 15%); transition: opacity .6s ease; }
.generated-film[data-scene="orbit"] .film-orb-layer,
.generated-film[data-scene="click"] .film-orb-layer,
.generated-film[data-scene="question"] .film-orb-layer { opacity: 1; }
.generated-film[data-scene="question"] .film-question-layer { opacity: 1; }
.film-cursor { position: absolute; z-index: 2; left: 71%; top: 22%; width: 25px; height: 30px; opacity: 0; transform: translate(-45px,55px); pointer-events: none; color: #123e2f; filter: drop-shadow(0 1px 1px #fff); }
.film-cursor svg { width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: 1.5; }
.generated-film[data-scene="click"] .film-cursor { opacity: 1; transform: translate(0,0); transition: transform .8s cubic-bezier(.2,.7,.3,1), opacity .2s; }
.generated-film[data-scene="question"] .film-cursor { opacity: 0; transform: translate(0,0); transition: opacity .25s; }
.film-hotspot { position: absolute; z-index: 1; left: 56%; top: 14%; width: 39%; height: 15%; border: 0; background: transparent; border-radius: 50%; }
.generated-film[data-scene="work"] .film-hotspot { visibility: hidden; }
.film-controls { position: absolute; z-index: 3; bottom: .8rem; left: .8rem; right: .8rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.film-controls span { padding: .4rem .6rem; background: #174e3ee0; color: #edfff1; font: .62rem/1.4 var(--label); }
.film-pause { min-width: 44px; min-height: 44px; background: #eef9e9e8; color: #164537; border: 1px solid #5fa487; font-size: .72rem; padding: .35rem .6rem; }
.film-copy h3 { font: 400 clamp(2.5rem,4.1vw,4.3rem)/1.02 var(--serif); letter-spacing: -.035em; margin: 1rem 0 1.4rem; }
.film-copy > p { max-width: 37ch; font-size: .98rem; line-height: 1.65; color: #4a6853; }
.film-copy .eyebrow { font-size: .65rem; }
.film-stages { padding: 0; margin: 1.5rem 0; list-style: none; }
.film-stages li { border-top: 1px solid #a7bda5; padding: .8rem 0; font-size: .84rem; color: #63806a; display: flex; gap: .8rem; transition: color .3s; }
.film-stages li span { font: .65rem/1.8 var(--label); }
.film-stages li[aria-current="step"] { color: #123e2f; }
.film-stages li[aria-current="step"] span { color: #127f5b; }
.film-copy .film-note { font-size: .75rem; max-width: 43ch; }
.film-context-image { display: block; width: 100%; border: 1px solid #62977a; margin: 1rem 0 0; }
.grain-swatch { background: #dbefe0; }
@media (prefers-reduced-motion: no-preference) {
  .opening.is-in-view .plate-01 .orbit-art { animation: orbit-bob 5s ease-in-out infinite; }
  @keyframes orbit-bob { 0%,100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-4px) rotate(-2deg); } }
}
@media (max-width:800px) {
  .opening h1 { font-size: 24cqw; }
  .generated-film { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .film-copy h3 { font-size: 2.5rem; }
}
@media (max-width:620px) {
  .generated-film { grid-template-columns: 1fr; }
  .film-frame { max-width: 350px; }
  .film-copy { max-width: 350px; margin: auto; }
  .chapter h2 { font-size: clamp(2.65rem,10vw,3.7rem); }
  .case-card h3 { font-size: 2.2rem; }
  .context-orbit .orbit-icon, .case-orbit, .case-orbit svg { width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-frame *, .film-stages * { animation: none !important; transition: none !important; }
}
