@font-face { font-family: 'DM Sans'; src: url('./dm-sans.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('./instrument-serif.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('./instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #f6f5ef;
  --panel: #fbfaf5;
  --ink: #19271e;
  --body: #415045;
  --muted: #5a655a;
  --rule: #c9cec0;
  --hot: #435e35;
  --pink: #865115;
  --green: #396638;
  --accent: var(--hot);
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, 'Courier New', monospace;
  --gutter: clamp(22px, 5.4vw, 100px);
  --measure: 45ch; /* about 70 characters of body text in Instrument at any size */
  --mast-height: 76px;
  font: 16px/1.5 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--mast-height); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; font-weight: 500; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
button, textarea, summary { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #bb701e; outline-offset: 4px; }
::selection { background: #e2b16a; color: #172319; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1500px); margin-inline: auto; }
.mono, .eyebrow, .kicker { font: 600 .68rem/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.eyebrow { color: var(--hot); }
.dash, .kicker > span { display: inline-block; width: 24px; height: 1px; background: currentColor; margin-right: 8px; vertical-align: .3em; }
.skip { position: fixed; z-index: 8; left: 15px; top: 9px; transform: translateY(-160%); background: var(--ink); color: white; padding: 12px 16px; }
.skip:focus { transform: none; }
.mast { position: sticky; top: 0; z-index: 6; background: var(--bg); border-bottom: 1px solid var(--rule); }
.mast-inner { height: calc(var(--mast-height) - 1px); display: flex; align-items: center; gap: clamp(18px, 3.2vw, 60px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 37px; height: 37px; display: grid; place-content: center; gap: 3px; border-radius: 50%; background: #273725; }
.brand-mark i { width: 18px; height: 2px; background: #e8e9cf; transform: rotate(-35deg); }
.brand-mark i:first-child { translate: -2px 0; }
.brand-mark i:last-child { translate: 2px 0; }
.brand-type { display: grid; gap: 4px; }
.brand-type strong, .footer-name { font-family: var(--serif); font-weight: 400; font-size: 1.56rem; line-height: .9; letter-spacing: -.03em; }
.brand-type small { font: .56rem/1.1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 42px); }
.main-nav a, .nav-cta { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .84rem; font-weight: 550; }
.main-nav a:hover, .main-nav [aria-current], .footer a:hover { text-decoration: underline; }
.nav-cta { gap: 16px; min-height: 40px; padding-inline: 18px; color: #f9f8ef; background: #253724; border-radius: 30px; }
.nav-cta:hover, .primary:hover { background: #3a5337; }
.mobile-menu { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 21px; min-height: 46px; font: 600 .86rem/1.3 'DM Sans', Arial, sans-serif; border: 1px solid transparent; border-radius: 24px; text-decoration: none; }
.primary { background: #243824; color: #fffdf4; }
.secondary { color: var(--ink); background: transparent; border-color: #94a18c; }
.secondary:hover:not(:disabled) { background: #e7ebdc; }
.secondary:disabled { opacity: .6; }
.journey { position: relative; background: #111810; color: #f8f5e9; }
.journey-stage { display: flex; flex-direction: column; }
.cinema { display: grid; position: relative; isolation: isolate; overflow: hidden; min-height: 520px; }
.camera, .scene-image, .scene-image img, .cinema::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.camera { z-index: -2; }
.scene-image { display: block; transform-origin: 77% 46%; }
.scene-image + .scene-image { opacity: 0; }
.scene-image img { object-fit: cover; object-position: 62% 50%; }
.cinema::after { content: ''; z-index: -1; background: linear-gradient(90deg,#0d170dee 0%,#0f190fb0 25%,#0c180c2e 56%,transparent 76%),linear-gradient(0deg,#09100a8a,transparent 22%); }
.cinema-inner { position: relative; display: grid; align-items: center; padding-block: 58px 68px; }
.chapter-copy { max-width: min(53%, 660px); }
.kicker { color: #e0d7b6; margin-bottom: clamp(19px, 2.5vh, 32px); letter-spacing: .13em; }
.kicker > span { color: #e4ae69; width: 28px; }
.chapter h1, .chapter h2 { color: #f6f5e9; font-size: clamp(4rem, 6.2vw, 7.3rem); font-weight: 450; letter-spacing: -.069em; line-height: .99; }
.chapter em { display: inline-block; font: italic 400 1.27em/.95 var(--serif); letter-spacing: -.05em; color: #ebe9cc; }
.intro { max-width: 40ch; margin-top: clamp(20px, 2.7vh, 32px); font-size: clamp(1rem, 1.18vw, 1.18rem); line-height: 1.6; color: #e0e3d8; }
.hero-actions { margin-top: clamp(23px, 3.5vh, 36px); }
.cinema-cta { background: #ececd9; color: #1e2a1d; }
.cinema-cta:hover { background: white; }
.cinema-link { color: #f0f0df; display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: .85rem; text-decoration: none; }
.cinema-link:hover { text-decoration: underline; }
.scene-credit { position: absolute; right: 0; bottom: 24px; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 5px black; color: #fffbea; font: 500 .64rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.scene-credit b { padding-inline: 5px; color: #e8c285; }
.crosshair { width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; background: radial-gradient(circle, currentColor 0 1px, transparent 2px); }
.chapter-rail { background: #eeeee4; color: var(--ink); border-bottom: 1px solid var(--rule); }
.rail-inner { display: grid; grid-template-columns: minmax(230px, .95fr) 2fr; align-items: center; gap: 24px; }
.rail-guide { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.rail-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #a9b09d; }
.rail-guide small { display: block; margin-top: 4px; font-size: .72rem; font-weight: 400; color: var(--muted); }
.stops { display: grid; grid-template-columns: repeat(3, 1fr); }
.stops button { position: relative; min-height: 84px; display: flex; align-items: center; gap: 12px; padding: 0 clamp(12px,2vw,32px); background: transparent; border: 0; border-left: 1px solid #c8cdbe; color: #52604f; font-weight: 500; text-align: left; }
.stops button:last-child { border-right: 1px solid #c8cdbe; }
.stops button::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: transparent; }
.stops button:hover, .stops [aria-pressed="true"] { color: #1d311c; background: #e4e8d9; }
.stops [aria-pressed="true"]::after { background: #4c6339; }
.stop-no { font: .65rem var(--mono); color: #5e6956; }
.journey.scrubbable { height: calc(230svh - var(--mast-height)); }
.scrubbable .journey-stage { position: sticky; top: var(--mast-height); height: calc(100svh - var(--mast-height)); }
.scrubbable .cinema { flex: 1; min-height: 0; }
.section { padding-block: clamp(58px, 7vw, 112px); }
.section h2 { font: 400 clamp(3.4rem, 5.4vw, 6.4rem)/.98 var(--serif); letter-spacing: -.045em; }
.section h2 em { color: var(--hot); }
.section-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline; margin-bottom: 44px; }
.section-intro > div { display: flex; gap: 4vw; align-items: end; justify-content: space-between; }
.section-intro h2 { max-width: 7em; }
.section-intro > div > p { max-width: 28ch; color: var(--body); font-size: 1rem; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.offers article { padding: 28px clamp(14px, 3.4vw, 60px) 4px 0; }
.offers article + article { padding-left: clamp(16px, 3.4vw, 60px); border-left: 1px solid var(--rule); }
.service-icon { display: block; position: relative; width: 28px; height: 27px; color: #576e44; margin-bottom: 26px; }
.design-icon { background: repeating-linear-gradient(0deg, transparent 0 5px, currentColor 5px 6px) center / 20px 19px no-repeat; border-left: 1px solid currentColor; }
.test-icon::before, .test-icon::after { content: ''; position: absolute; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; }
.test-icon::after { top: 5px; left: 8px; }
.review-icon { border: 1px solid currentColor; }
.review-icon::after { content: ''; position: absolute; width: 13px; height: 7px; left: 6px; top: 6px; border: solid currentColor; border-width: 0 0 1px 1px; transform: rotate(-45deg); }
.offers h3 { font-size: clamp(1.45rem, 2vw, 2.15rem); margin-bottom: 11px; }
.offers p, .case-content > p:not(.eyebrow) { line-height: 1.6; color: var(--body); max-width: 43ch; }
.case-section { background: #e5e8dd; }
.case-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.case-photo img { height: clamp(310px, 33vw, 525px); object-fit: cover; }
.case-content h2 { margin: 17px 0 20px; }
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 360px; margin: 24px 0; padding: 14px 0; border-block: 1px solid #adb9a4; }
.price-strip dt { font: .68rem var(--mono); text-transform: uppercase; color: var(--muted); }
.price-strip dd { font-size: 1.65rem; letter-spacing: -.055em; }
.price-strip div:last-child dd { color: #8b4e16; }
.case-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; margin-top: 36px; }
.case-links a, .resource-list a { display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; text-decoration: none; border-bottom: 1px solid var(--rule); padding: 20px 0; }
.case-links a { border-top: 1px solid #adb9a4; }
.case-links .mono, .resource-list .mono { grid-column: 1; color: var(--muted); }
.case-links strong, .resource-list strong { grid-column: 1; font-size: clamp(1rem, 1.55vw, 1.45rem); font-weight: 500; letter-spacing: -.03em; }
.link-arrow { grid-column: 2; grid-row: 1/3; align-self: center; color: var(--hot); font-size: 1.3rem; }
.case-links a:hover strong, .resource-list a:hover strong { text-decoration: underline; }
.resource-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; }
.resource-section .eyebrow { margin-bottom: 20px; }
.resource-list { border-top: 1px solid var(--rule); }
.footer { background: #1d2d21; color: #f1f0df; }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; padding-block: 42px; align-items: center; }
.footer-name { text-decoration: none; font-size: 1.8rem; }
.footer-inner p { color: #c4cfbd; font-size: .85rem; margin-top: 8px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .84rem; text-decoration: none; }

.inner-page { padding-block: clamp(32px, 5vw, 80px) clamp(56px, 8vw, 120px); }
.page-head { padding-bottom: clamp(21px, 3vw, 36px); border-bottom: 1px solid var(--rule); margin-bottom: clamp(22px, 4vw, 48px); }
.page-head .eyebrow { margin-bottom: 21px; }
.page-head h1 { max-width: 1000px; font-size: clamp(2.45rem, 5.7vw, 6.2rem); text-wrap: pretty; }
.lead { color: var(--body); max-width: var(--measure); font-size: clamp(1rem, 1.45vw, 1.22rem); margin-top: 16px; }
.inner-page h2 { font-size: clamp(1.48rem, 2.6vw, 2.45rem); line-height: 1.12; }
.inner-page p:not(.eyebrow, .mono) { color: var(--body); }
.inner-page .actions { margin-top: 28px; }
.inner-page a:hover:not(.button) { color: var(--hot); }
.prose { max-width: var(--measure); }
.prose section { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.prose section:first-child { padding-top: 0; }
.prose h2, .entry h2, .block h2, .workshop h2 { margin-bottom: 12px; }
.entry, .service, .block, .demo { padding: clamp(18px, 3vw, 35px); border: 1px solid var(--rule); background: var(--panel); }
.entry { max-width: 860px; }
.entry .eyebrow, .block .eyebrow, .workshop .eyebrow { margin-bottom: 11px; }
.entry .button, .workshop .button, .block .button { margin-top: 20px; }
.block { margin-top: 25px; }
.grid, .split { display: grid; gap: 14px; }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 30px; }
.service h2 { margin-bottom: 10px; }
.service a { display: inline-block; padding-block: 11px; }
.workshop details { border: 1px solid var(--rule); background: var(--panel); }
.workshop details + details { margin-top: 8px; }
.workshop summary { padding: 11px 15px; min-height: 44px; cursor: pointer; font-weight: 700; }
.workshop summary span { color: var(--hot); padding-inline: 7px; font: .78rem var(--mono); }
.workshop details p { padding: 0 16px 15px; }
.note { margin-top: 12px; }
.case-study-art { margin-bottom: 18px; border: 1px solid var(--rule); max-width: 870px; }
.case-study-art img { width: 100%; height: clamp(200px, 29vw, 375px); object-fit: cover; object-position: 50% 54%; }
.case-study-art figcaption { padding: 11px 15px; color: var(--muted); }
.demo .mono { color: var(--pink); margin-bottom: 13px; }
.demo .result { margin-top: 21px; }
.demo .result > p:not(.eyebrow) { margin-top: 6px; max-width: var(--measure); }
.readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.readouts div { border: 1px solid var(--rule); padding: clamp(7px, 2vw, 20px); background: #110f10; }
.readouts small, .readouts strong { display: block; }
.readouts small { color: var(--body); font-size: .81rem; }
.readouts strong { margin-top: 6px; font: 600 clamp(1.13rem, 3vw, 2rem)/1.2 var(--mono); }

.bench-layout { display: grid; grid-template-columns: minmax(0, .71fr) minmax(0, 1.29fr); gap: clamp(24px, 5vw, 76px); padding-block: clamp(36px, 5vw, 80px) clamp(65px, 8vw, 110px); }
.bench-intro h1 { font-size: clamp(3rem, 5.2vw, 5.9rem); line-height: .96; }
.bench-intro > .eyebrow { margin-bottom: 18px; }
.lab-instructions { margin-block: 18px 20px; padding-left: 21px; color: var(--body); }
.lab-instructions li { margin-bottom: 7px; padding-left: 2px; }
.lab-instructions li::marker { color: var(--hot); font-family: var(--mono); }
.lab-study { --accent: var(--green); max-width: 520px; margin-block: 24px; border: 1px solid var(--rule); background: #171b18; }
.lab-study img { width: 100%; aspect-ratio: 1.62; object-fit: cover; object-position: 50% 58%; }
.lab-study figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 12px; }
.case-index h2 { margin-bottom: 5px; }
.case-index a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--rule); font-weight: 700; text-decoration: none; }
.case-index a:hover, .case-index a span { color: var(--hot); }
.console { align-self: start; background: var(--panel); border: 1px solid #57434f; border-top: 2px solid var(--hot); min-width: 0; }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(12px, 2.2vw, 30px); background: #231c22; border-bottom: 1px solid #57434f; color: var(--body); }
.local { color: var(--green); display: flex; align-items: center; gap: 7px; }
.local i { width: 6px; height: 6px; background: currentColor; }
.console-inner { padding: clamp(12px, 2.2vw, 30px); }
.console h2 { font-size: clamp(1.7rem, 3.05vw, 3rem); }
.console-intro { color: var(--body); margin: 7px 0 16px; }
#lab-fallback > p { color: var(--body); padding-block: 10px; }
#lab-fallback a { color: var(--pink); }
.presets { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.presets button { min-height: 44px; padding: 6px 10px; border: 1px solid #65535c; background: #20191e; color: var(--body); font-size: .8rem; font-weight: 700; }
.presets button:hover, .presets button[aria-pressed="true"] { color: var(--hot); border-color: var(--hot); background: #362321; }
.editor, .evidence { border: 1px solid #584650; background: #151214; }
.editor summary, .trace-label { min-height: 44px; cursor: pointer; padding: 11px; line-height: 1.35; }
.editor summary { color: var(--pink); font-weight: 700; }
.editor label { display: block; margin: 3px 10px 6px; color: var(--body); font-size: .88rem; }
.editor textarea { display: block; width: calc(100% - 20px); margin: 0 10px 10px; resize: vertical; min-height: 85px; border: 1px solid #715963; background: #100e10; color: var(--ink); padding: 9px; font: max(1rem, .83em)/1.45 var(--mono); }
.run-line, .run-meta, .gate { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.run-line { padding-block: 10px; }
.run-line .button, .gate .button { min-height: 44px; }
.count-good { color: var(--green); }
.count-flag { color: var(--hot); }
.count-hold { color: var(--pink); }
.run-meta { min-height: 22px; color: var(--muted); margin-bottom: 7px; font-size: .64rem; }
.fingerprint { color: var(--pink); }
#lab-results { display: grid; gap: 5px; }
.evidence { border-left: 2px solid var(--pink); }
.evidence-good { border-left-color: var(--green); }
.evidence-flag { border-left-color: var(--hot); }
.trace-label { display: flex; align-items: center; gap: 8px; list-style: none; }
.trace-label::-webkit-details-marker { display: none; }
.trace-label::before { content: '+'; color: var(--muted); font: 700 1rem var(--mono); }
.evidence[open] .trace-label::before { content: '−'; }
.trace-label:hover { background: #251b22; }
.trace-code { flex: 1; font: 700 .79rem/1.25 var(--mono); overflow-wrap: anywhere; }
.pill { padding: 3px 6px; border: 1px solid currentColor; color: var(--pink); text-align: right; font: .66rem/1.2 var(--mono); }
.pill-flag { color: var(--hot); }
.pill-good { color: var(--green); }
.trace-body { padding: 0 11px 11px; color: var(--body); font-size: .92rem; }
.trace-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; }
.trace-cell { padding: 7px 5px; border: 1px solid var(--rule); }
.trace-cell small, .trace-cell b { display: block; }
.trace-cell b { color: var(--ink); font: 600 clamp(.68rem, 1.5vw, .92rem)/1.35 var(--mono); }
.trace-next { margin-top: 5px; }
.review-check { display: flex; align-items: center; gap: 7px; margin-top: 7px; min-height: 44px; cursor: pointer; color: var(--ink); }
.review-check input { width: 19px; height: 19px; accent-color: var(--pink); }
.gate { margin-top: 12px; border: 1px solid #584650; background: #221b22; padding: 10px; }
.gate p { color: var(--body); font-size: .83rem; margin-top: 3px; }
.receipt:not(:empty) { color: var(--green); padding-top: 10px; }

.page-head h1, .bench-intro h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.page-head h1 { max-width: 19ch; }
.bench-intro h1 em { color: var(--hot); }
.inner-page .eyebrow, .bench-layout .eyebrow { color: var(--hot); }
.inner-page .prose > h2:not(:first-child) { margin-top: 26px; }
.inner-page .readouts div { background: #e8ecdf; }
.lab-study { background: var(--panel); }
.lab-study img, .case-study-art img { object-position: 50% 50%; }
.study-tick, .local i { width: 7px; height: 7px; background: currentColor; display: inline-block; border-radius: 50%; }
.console { border-color: #abb8a2; border-top-color: #536c45; }
.console-bar { background: #e4eadb; border-color: #b0bca7; }
.presets button { color: #364836; background: #f2f4ec; border-color: #abb6a2; }
.presets button:hover, .presets button[aria-pressed="true"] { color: #193016; background: #dde7d1; border-color: #557348; }
.editor, .evidence, .gate { background: #f4f5ed; border-color: #bbc4b2; }
.editor textarea { background: #fffef9; border-color: #9daa94; }
.trace-label:hover { background: #e4e9db; }
.evidence-flag { border-left-color: #99642a; }
.evidence-good { border-left-color: #487443; }
.evidence-hold { border-left-color: #96613d; }
.pill-flag, .count-flag { color: #805019; }
@media (max-width: 1000px) {
  .section-intro > div { display: block; }
  .section-intro h2 { max-width: none; }
  .section-intro > div > p { max-width: 45ch; margin-top: 16px; }
}
@media (max-width: 850px) {
  :root { --mast-height: 65px; }
  .main-nav { gap: 14px; }
  .mast-inner { gap: 18px; }
  .main-nav a { font-size: .77rem; }
  .bench-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .lab-study { display: none; }
  .case-index { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
  .case-index a { font-size: .85rem; }
  .rail-inner { grid-template-columns: 190px 1fr; gap: 12px; }
  .chapter-copy { max-width: 62%; }
  .chapter h1, .chapter h2 { font-size: clamp(3.7rem, 7.4vw, 5.2rem); }
}
@media (max-width: 700px) {
  :root { --mast-height: 62px; --gutter: clamp(19px, 5.4vw, 35px); }
  .mast-inner { gap: 14px; }
  .main-nav { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-type strong { font-size: 1.32rem; }
  .brand-type small { font-size: .51rem; }
  .nav-cta { min-height: 36px; font-size: .76rem; gap: 6px; padding-inline: 12px; }
  .mobile-menu { display: block; order: 3; }
  .mobile-menu summary { display: grid; place-items: center; width: 36px; height: 44px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-lines { position: relative; width: 21px; height: 10px; border-block: 1.5px solid currentColor; }
  .mobile-menu[open] .menu-lines { height: 1.5px; background: currentColor; border: 0; transform: rotate(45deg); }
  .mobile-menu[open] .menu-lines::after { content: ''; position: absolute; width: 100%; height: 100%; background: currentColor; transform: rotate(90deg); }
  .mobile-menu nav { display: grid; position: absolute; inset: 100% 0 auto; padding: 10px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 15px #16241618; }
  .mobile-menu nav a { text-decoration: none; padding: 13px 2px; border-bottom: 1px solid var(--rule); }
  .cinema { display: block; min-height: 0; }
  .camera { height: clamp(240px, 64vw, 390px); }
  .scene-image img { object-position: 50% 45%; }
  .cinema::after { background: linear-gradient(to bottom, transparent calc(clamp(240px,64vw,390px) * .58), #111810 clamp(240px,64vw,390px)); }
  .cinema-inner { display: block; padding-block: clamp(195px, 53vw, 324px) 32px; }
  .chapter-copy { max-width: 100%; }
  .chapter { min-height: 0; }
  .kicker { font-size: .61rem; margin-bottom: 14px; }
  .kicker > span { width: 18px; margin-right: 5px; }
  .chapter h1, .chapter h2 { font-size: clamp(3.2rem, 12.4vw, 5rem); line-height: .96; }
  .chapter em { font-size: 1.19em; }
  .intro { margin-top: 14px; font-size: .98rem; max-width: 45ch; }
  .hero-actions { margin-top: 18px; gap: 8px 18px; }
  .hero-actions .button { font-size: .82rem; padding-inline: 15px; gap: 10px; }
  .cinema-link { font-size: .81rem; gap: 7px; }
  .scene-credit { display: none; }
  .rail-inner { display: block; }
  .rail-guide { display: none; }
  .stops button { justify-content: center; min-height: 57px; gap: 8px; padding-inline: 5px; font-size: .85rem; }
  .section-intro, .case-feature, .resource-section { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { margin-bottom: 26px; }
  .section h2 { font-size: clamp(3.2rem, 11vw, 4.4rem); }
  .offers, .grid, .case-links { grid-template-columns: minmax(0,1fr); }
  .offers article, .offers article + article { display: grid; grid-template-columns: 30px 1fr; gap: 0 16px; padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .offers .service-icon { grid-row: span 2; margin: 0; }
  .offers p { max-width: 52ch; }
  .case-photo img { height: clamp(225px, 64vw, 350px); }
  .case-content { padding-top: 6px; }
  .case-links { gap: 0; }
  .case-links a + a { border-top: 0; }
  .resource-section h2 br { display: none; }
  .footer-inner { display: grid; align-items: start; }
  .footer nav { gap: 0 16px; }
}
@media (min-width: 701px) and (max-height: 700px) {
  .cinema-inner { padding-block: 26px 32px; }
  .chapter h1, .chapter h2 { font-size: clamp(3.3rem, 5.4vw, 5rem); }
  .stops button { min-height: 62px; }
}
@media (max-width: 360px) {
  .mast-inner { gap: 5px; }
  .brand-type strong { font-size: 1.18rem; }
  .hero-actions { gap: 4px 12px; }
  .stops button { gap: 4px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .scene-image { transition: opacity .35s ease; }
}

/* Large screens: proportional gutters and a wider shell for flat pages (story mode uses mau.css) */
@media (min-width: 1780px) {
  :root { --gutter: clamp(100px, 7vw, 520px); }
  .wrap { width: min(calc(100% - 2 * var(--gutter)), 2400px); }
}
