@font-face { font-family: Manrope; src: url('../fonts/manrope-latin.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { color-scheme: dark; --bg: #080e17; --surface: #0d1521; --raised: #121e2c; --text: #f0f5fa; --muted: #9aaabc; --line: #263342; --accent: #73e9d7; --accent-dark: #082622; --header: #080e17eb; --grid: #9dc9e309; --shadow: #0007; }
:root[data-theme="light"] { color-scheme: light; --bg: #f4f7fa; --surface: #eaf0f5; --raised: #fff; --text: #102332; --muted: #506575; --line: #c8d6df; --accent: #087e73; --accent-dark: #e0f8f2; --header: #f4f7faeb; --grid: #10476209; --shadow: #243c4b20; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 Manrope, system-ui, sans-serif; }
body.modal-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--bg); }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
figure, h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.shell { width: min(100% - 96px, 1320px); margin-inline: auto; }
.mono, .eyebrow { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 24px; padding: 15px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; background: var(--header); backdrop-filter: blur(18px); z-index: 40; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.wordmark > span:first-child { color: var(--accent); font-size: 25px; font-weight: 400; }
.brand-divider { height: 26px; width: 1px; background: var(--line); margin-inline: 15px; }
.project-brand { font-size: 14px; letter-spacing: .09em; }
.project-brand .mono { display: block; margin-top: 8px; font-size: 8px; letter-spacing: .06em; color: var(--muted); }
#project-nav { display: flex; gap: 25px; }
#project-nav a { font-size: 12px; padding-block: 12px; color: var(--muted); transition: color .2s; }
#project-nav a:hover, #project-nav a[aria-current] { color: var(--accent); }
.header-tools, .languages { display: flex; align-items: center; gap: 12px; }
.languages { font-size: 10px; gap: 7px; }
.languages a { color: var(--muted); padding-block: 10px; }
.languages a[aria-current] { color: var(--text); font-weight: 800; }
.languages > span { color: var(--line); }
.theme-button { border: 1px solid var(--line); border-radius: 50%; background: transparent; width: 34px; height: 34px; font-size: 19px; line-height: 1; }
.menu-button { display: none; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--accent); }
.hero { position: relative; overflow: hidden; padding-top: 38px; }
.hero-grid { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px), radial-gradient(ellipse at 80% 35%, #23b0c015, transparent 60%); background-size: 64px 64px, 64px 64px, auto; mask-image: linear-gradient(#000, #000 75%, transparent); }
.hero-topline { display: flex; align-items: center; justify-content: space-between; color: var(--muted); gap: 20px; }
.hero-topline > span:first-child { display: flex; align-items: center; gap: 9px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 14px #73e9d74d; }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 36px; min-height: 650px; padding-block: 58px 65px; }
.hero-copy { position: relative; z-index: 2; }
h1 { font-size: clamp(66px, 6.8vw, 104px); line-height: 1.04; letter-spacing: -.065em; font-weight: 600; }
h1 > span { color: var(--accent); }
.hero-intro { max-width: 470px; color: var(--muted); font-size: 16px; line-height: 1.9; margin-top: 30px; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 50px; padding: 14px 21px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-dark); }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--shadow); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; padding-block: 8px; }
.text-link:hover { color: var(--accent); }
.project-credit { display: flex; align-items: center; gap: 15px; margin-top: 43px; font-size: 10px; color: var(--muted); }
.project-credit strong { color: var(--text); font-size: 16px; letter-spacing: .12em; }
.hero-visual { position: relative; padding: 45px 70px 58px 12px; min-width: 0; }
.visual-coordinate { color: var(--muted); margin: 0 0 18px 10px; }
.terminal-frame { position: relative; padding: 8px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; transform: rotate(-5deg); box-shadow: 0 40px 80px var(--shadow); }
.frame-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 15px; gap: 8px; color: var(--muted); font-size: 8px; }
.frame-bar > span:first-child { display: flex; gap: 4px; }
.frame-bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .65; }
.terminal-image { display: block; overflow: hidden; border-radius: 5px; }
.terminal-image img { width: 100%; }
.media-link { position: relative; }
.image-expand { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #0b1729e6; border: 1px solid #5e788e; color: #fff; font-size: 21px; transition: background .2s; }
.media-link:hover .image-expand { background: #087e73; }
.floating-session { position: absolute; right: 0; bottom: 16px; width: 37%; background: #0d1724; padding: 7px; border: 1px solid #43576b; border-radius: 8px; box-shadow: 0 20px 50px #0004; transform: rotate(5deg); }
.floating-session > div { display: flex; justify-content: space-between; gap: 5px; font-size: 7px; padding: 8px 3px 12px; color: #a6bacb; }
.floating-session > div > span { color: #73e9d7; }
.floating-session img { width: 100%; height: 235px; object-fit: cover; object-position: top; border-radius: 3px; }
.floating-caption { display: block; font-size: 6px; color: #a6bacb; padding: 10px 2px 4px; }
.visual-note { position: absolute; bottom: -25px; left: 14px; color: var(--muted); font-size: 9px; letter-spacing: .03em; }
.visual-note span { color: var(--accent); }
.signal-bridge { display: flex; gap: 5px; position: absolute; right: 42px; top: 35px; transform: rotate(-45deg); }
.signal-bridge span { width: 8px; height: 8px; border: 1px solid var(--accent); animation: signal 3s infinite; }
.signal-bridge span:nth-child(2) { animation-delay: .3s; }
.signal-bridge span:nth-child(3) { animation-delay: .6s; }
@keyframes signal { 0%, 80%, 100% { opacity: .2; } 30% { opacity: 1; background: var(--accent); } }
.tech-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 0; padding-block: 27px; }
.tech-rail > div { border-left: 1px solid var(--line); padding-left: 30px; }
.tech-rail > div:first-child { padding-left: 0; border-left: 0; }
.tech-rail dt { color: var(--muted); }
.tech-rail dd { margin: 8px 0 0; font-size: 18px; letter-spacing: -.03em; }
.section { padding-block: 112px; }
.section-heading { margin-bottom: 50px; max-width: 860px; }
.eyebrow { color: var(--accent); margin-bottom: 21px; font-size: 10px; }
h2 { font-size: clamp(32px, 3.7vw, 54px); line-height: 1.17; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.split-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; max-width: none; align-items: end; }
.split-heading > p { color: var(--muted); font-size: 14px; max-width: 420px; padding-bottom: 4px; }
h3 { font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -.03em; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 45px; }
.context-block > .mono { color: var(--muted); }
.context-block h3 { margin: 17px 0; }
.context-block p { font-size: 13px; color: var(--muted); }
.contribution { padding: 25px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.contribution > p { color: var(--accent); }
.contribution ul { list-style: none; padding: 0; margin: 18px 0 0; }
.contribution li { position: relative; padding-left: 15px; font-size: 12px; margin-top: 12px; color: var(--muted); }
.contribution li::before { content: '+'; position: absolute; left: 0; color: var(--accent); }
.architecture { border-block: 1px solid var(--line); background: var(--surface); }
.architecture-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.architecture-node { position: relative; border: 1px solid var(--line); padding: 30px; background: var(--bg); border-radius: 6px; }
.architecture-node:not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: -31px; width: 30px; text-align: center; color: var(--accent); }
.node-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); margin-bottom: 30px; }
.node-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); color: var(--accent); font-size: 23px; border-radius: 6px; }
.node-tech { margin: 13px 0 20px; color: var(--accent); font-size: 9px; letter-spacing: .03em; }
.architecture-node > p:last-child { font-size: 13px; color: var(--muted); }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.process-console { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.console-top { padding: 20px 25px; display: flex; justify-content: space-between; color: var(--muted); border-bottom: 1px solid var(--line); }
.console-top > span:last-child { color: var(--accent); }
.stage-list { list-style: none; margin: 0; padding: 14px; }
.stage-list li { position: relative; }
.stage-list button { display: flex; align-items: center; gap: 19px; width: 100%; min-height: 59px; padding: 11px 18px; border: 1px solid transparent; background: transparent; text-align: left; font-size: 13px; border-radius: 4px; }
.stage-list button:hover { background: var(--raised); }
.stage-list button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); color: var(--accent); }
.stage-number { color: var(--muted); }
.stage-marker { width: 6px; height: 6px; background: var(--line); border-radius: 50%; margin-left: auto; flex-shrink: 0; }
[aria-pressed="true"] .stage-marker { background: var(--accent); box-shadow: 0 0 12px #73e9d74d; }
.stage-source { padding: 6px 18px 18px; color: var(--muted); font-size: 12px; }
.js .stage-source { display: none; }
.stage-detail { padding-top: 18px; }
.stage-detail .eyebrow { display: flex; justify-content: space-between; }
.stage-detail h3 { font-size: 34px; margin-top: 30px; }
#stage-description { font-size: 14px; color: var(--muted); margin-top: 18px; min-height: 76px; }
.stage-meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 28px 0 16px; }
.stage-meter span { height: 4px; background: var(--line); transition: background .2s; }
.stage-meter .filled { background: var(--accent); }
.stage-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.stage-controls button { width: 36px; height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.stage-controls button:disabled { opacity: .3; cursor: default; }
.stage-controls span { color: var(--muted); font-size: 8px; }
.process-image { padding: 8px; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; }
.process-image .media-link { display: block; }
.process-image img { width: 100%; height: 270px; object-fit: cover; object-position: 50% 29%; border-radius: 3px; }
.process-image figcaption { color: var(--muted); font-size: 8px; padding: 9px 5px 2px; }
.stage-note { font-size: 10px; color: var(--muted); margin-top: 16px; }
.platform { background: var(--surface); border-block: 1px solid var(--line); }
.gallery { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); }
.gallery-tabs { display: flex; border-bottom: 1px solid var(--line); }
.gallery-tabs a { flex: 1; display: flex; align-items: center; gap: 14px; padding: 22px 27px; border-right: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.gallery-tabs a:last-child { border-right: 0; }
.gallery-tabs .mono { font-size: 9px; }
.gallery-tabs a[aria-selected="true"] { background: var(--raised); color: var(--accent); box-shadow: inset 0 -2px var(--accent); }
.gallery-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; padding: 45px; align-items: center; border-bottom: 1px solid var(--line); }
.gallery-panel:last-child, .js .gallery-panel { border-bottom: 0; }
.gallery-copy { padding: 15px 10px; }
.panel-index { color: var(--accent); }
.gallery-copy h3 { font-size: 34px; max-width: 400px; margin-top: 24px; }
.gallery-copy p { font-size: 14px; color: var(--muted); margin-top: 20px; }
.gallery-copy .text-link { margin-top: 30px; }
.capture-label { display: block; color: var(--muted); font-size: 8px; margin-top: 50px; }
.gallery-image { display: flex; align-items: center; justify-content: center; height: 470px; border: 1px solid var(--line); background: var(--raised); border-radius: 5px; padding: 14px; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: contain; }
.modules-heading { font-size: 22px; margin-top: 65px; max-width: 560px; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; margin-top: 32px; }
.module-grid article { border-top: 1px solid var(--line); padding-top: 23px; }
.module-grid article > span { color: var(--accent); font-size: 9px; }
.module-grid h4 { font-size: 16px; font-weight: 600; margin-top: 16px; }
.module-grid p { color: var(--muted); font-size: 12px; margin-top: 12px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.report-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.report-heading { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; }
.report-heading .mono { color: var(--muted); font-size: 8px; }
.report-heading h3 { margin-top: 6px; }
.report-heading > span { color: var(--accent); font-size: 26px; }
.report-image { display: block; background: #e9edf3; margin: 0 15px; border-radius: 4px; padding: 20px; }
.report-image img { height: 500px; width: 100%; object-fit: contain; }
.report-footer { padding: 23px 28px; }
.report-footer p { font-size: 12px; }
.report-footer .mono { display: block; color: var(--muted); font-size: 8px; margin-top: 8px; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; gap: 45px; }
.analytics-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.analytics-grid h3 { font-size: 18px; }
.analytics-grid p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.export-note { padding: 18px 20px; margin-top: 30px; display: flex; gap: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 9px; }
.export-note > span { color: var(--accent); }
.value { border-top: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.value-number { display: block; font-size: 65px; font-weight: 300; line-height: 1; color: var(--accent); letter-spacing: -.06em; margin-bottom: 27px; }
.value-grid h3 { font-size: 20px; }
.value-grid p { margin-top: 15px; font-size: 13px; color: var(--muted); }
.contact { background: radial-gradient(ellipse at 80% 100%, #73e9d711, transparent 65%), var(--surface); border-block: 1px solid var(--line); }
.contact h2 { font-size: clamp(34px, 4.5vw, 65px); }
.contact .shell > p:not(.eyebrow) { margin-top: 25px; max-width: 560px; color: var(--muted); font-size: 14px; }
.contact .actions { margin-top: 36px; }
footer { padding-block: 30px; }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer .mono { color: var(--muted); font-size: 9px; }
footer .shell > a:last-child { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.lightbox { padding: 22px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; width: min(1040px, 94vw); max-height: 94dvh; }
.lightbox::backdrop { background: #02060eeb; backdrop-filter: blur(8px); }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.lightbox h2 { font-size: 17px; letter-spacing: -.02em; }
.lightbox-close { flex-shrink: 0; border: 1px solid var(--line); background: var(--raised); border-radius: 50%; width: 38px; height: 38px; }
.lightbox-image-wrap { max-height: 70dvh; overflow: auto; border-radius: 4px; background: #e9edf3; }
.lightbox-image-wrap img { margin-inline: auto; width: auto; max-height: 70dvh; object-fit: contain; }
.lightbox > a { margin-top: 14px; color: var(--accent); }
[data-reveal] { transition: opacity .65s ease, transform .65s ease; }
.reveal-pending { opacity: 0; transform: translateY(20px); }
@media (min-width: 1600px) { .hero-layout { min-height: 730px; } }
@media (max-width: 1150px) {
    .shell { width: calc(100% - 64px); }
    .header-inner { gap: 18px; flex-wrap: wrap; padding-block: 17px; min-height: 80px; }
    .js .menu-button { display: flex; gap: 12px; align-items: center; margin-left: auto; background: transparent; border: 1px solid var(--line); padding: 7px 12px; font-size: 11px; border-radius: 4px; }
    #project-nav { order: 4; width: 100%; justify-content: center; }
    .js #project-nav { display: none; }
    .js #project-nav.is-open { display: flex; padding-top: 10px; border-top: 1px solid var(--line); }
    .hero-layout { gap: 25px; padding-block: 60px 75px; min-height: 580px; }
    h1 { font-size: clamp(52px, 6.4vw, 76px); }
    .hero-intro { font-size: 14px; }
    .hero-visual { padding-right: 48px; padding-left: 0; }
    .floating-session img { height: 195px; }
    .visual-note { font-size: 8px; }
    .actions { gap: 18px; }
    .button { gap: 16px; }
    .overview-grid { gap: 25px; }
    .split-heading { gap: 40px; }
    .architecture-node { padding: 24px; }
    .process-layout { gap: 30px; }
    .gallery-panel { gap: 25px; padding: 30px; }
    .gallery-tabs a { padding: 20px; }
    .gallery-copy h3 { font-size: 29px; }
    .gallery-image { height: 420px; }
}
@media (max-width: 800px) {
    .hero-topline > span:last-child { display: none; }
    .hero-layout { grid-template-columns: 1fr; gap: 15px; }
    h1 { font-size: clamp(62px, 10vw, 88px); }
    .hero-intro { font-size: 16px; max-width: 560px; }
    .hero-visual { width: min(100%, 580px); justify-self: center; margin-top: 15px; padding-bottom: 35px; }
    .floating-session img { height: 230px; }
    .project-credit { margin-top: 28px; }
    .tech-rail dd { font-size: 16px; }
    .tech-rail > div { padding-left: 18px; }
    .section { padding-block: 80px; }
    .overview-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .contribution { grid-column: 1 / -1; }
    .contribution ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; }
    .split-heading { grid-template-columns: 1fr; gap: 24px; }
    .split-heading > p { max-width: 550px; }
    .architecture-flow { grid-template-columns: 1fr; gap: 25px; }
    .architecture-node:not(:last-child)::after { content: '↓'; top: auto; bottom: -27px; right: calc(50% - 15px); }
    .node-top { margin-bottom: 20px; }
    .process-layout { grid-template-columns: 1fr 1fr; gap: 22px; }
    .stage-list { padding: 7px; }
    .stage-list button { gap: 12px; padding-inline: 12px; font-size: 11px; }
    .console-top { padding: 20px 15px; font-size: 8px; }
    .stage-detail h3 { font-size: 28px; }
    #stage-description { min-height: 110px; font-size: 12px; }
    .process-image img { height: 240px; }
    .gallery-tabs a { padding: 18px; gap: 10px; }
    .gallery-panel { grid-template-columns: 1fr; }
    .gallery-copy { padding: 0; }
    .gallery-copy h3 { margin-top: 14px; max-width: 500px; }
    .gallery-copy .text-link { margin-top: 17px; }
    .capture-label { margin-top: 15px; }
    .gallery-image { height: 470px; }
    .module-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .report-image { margin-inline: 10px; padding: 12px; }
    .report-image img { height: 380px; }
    .report-heading, .report-footer { padding: 20px; }
    .analytics-grid, .value-grid { gap: 25px; }
    .value-grid h3 { font-size: 18px; }
}
@media (max-width: 540px) {
    .shell { width: calc(100% - 40px); }
    .header-inner { min-height: 74px; gap: 12px; }
    .wordmark { font-size: 22px; gap: 5px; }
    .wordmark > span:first-child { font-size: 19px; }
    .brand-divider { margin-inline: 7px; height: 24px; }
    .project-brand { font-size: 10px; }
    .project-brand .mono { font-size: 6px; margin-top: 6px; }
    .js .menu-button { font-size: 10px; padding: 7px 8px; gap: 7px; }
    .header-tools { gap: 8px; }
    .languages { font-size: 9px; gap: 4px; }
    .theme-button { width: 28px; height: 28px; font-size: 17px; }
    #project-nav, .js #project-nav.is-open { flex-wrap: wrap; gap: 0 24px; justify-content: flex-start; }
    #project-nav a { font-size: 12px; }
    .hero { padding-top: 26px; }
    .hero-topline { font-size: 8px; letter-spacing: .07em; }
    .hero-layout { padding-top: 38px; padding-bottom: 55px; }
    h1 { font-size: clamp(49px, 12.5vw, 68px); }
    .hero-intro { margin-top: 24px; font-size: 14px; }
    .actions { gap: 20px; margin-top: 26px; }
    .button { font-size: 11px; min-height: 46px; padding: 12px 16px; }
    .text-link { font-size: 11px; }
    .project-credit { font-size: 9px; }
    .project-credit strong { font-size: 14px; }
    .hero-visual { margin-top: 0; padding: 36px 45px 35px 8px; }
    .visual-coordinate { font-size: 8px; margin-left: 0; }
    .frame-bar { font-size: 6px; }
    .floating-session { width: 37%; padding: 5px; }
    .floating-session > div { font-size: 5px; padding-block: 6px; }
    .floating-session img { height: 165px; }
    .floating-caption { font-size: 5px; }
    .visual-note { left: 0; bottom: -13px; font-size: 7px; }
    .signal-bridge { right: 15px; }
    .tech-rail { grid-template-columns: 1fr 1fr; padding-block: 0; margin-top: 10px; }
    .tech-rail > div { padding: 20px 15px; }
    .tech-rail > div:first-child { padding: 20px 15px 20px 0; }
    .tech-rail > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .tech-rail > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .tech-rail dt { font-size: 8px; }
    .tech-rail dd { font-size: 16px; }
    .section { padding-block: 64px; }
    .section-heading { margin-bottom: 32px; }
    .eyebrow { font-size: 8px; margin-bottom: 16px; }
    h2 { font-size: 32px; }
    .split-heading { gap: 20px; }
    .split-heading > p { font-size: 13px; }
    .overview-grid { grid-template-columns: 1fr; gap: 30px; }
    .contribution { grid-column: auto; }
    .contribution ul { grid-template-columns: 1fr; gap: 0; }
    .process-layout { grid-template-columns: 1fr; gap: 24px; }
    .stage-list { padding: 10px; }
    .stage-list button { min-height: 49px; font-size: 12px; }
    .stage-detail { padding-top: 0; }
    .stage-detail h3 { font-size: 30px; margin-top: 16px; }
    #stage-description { min-height: 70px; font-size: 13px; }
    .process-image img { height: 220px; }
    .gallery-tabs a { padding: 15px 9px; gap: 6px; font-size: 10px; }
    .gallery-tabs .mono { font-size: 7px; }
    .gallery-panel { padding: 24px 18px; gap: 24px; }
    .gallery-copy h3 { font-size: 27px; }
    .gallery-copy p { font-size: 13px; }
    .gallery-image { height: 360px; padding: 8px; }
    .modules-heading { margin-top: 40px; font-size: 22px; }
    .module-grid { gap: 24px; }
    .module-grid h4 { font-size: 15px; }
    .module-grid p { font-size: 11px; }
    .report-grid { grid-template-columns: 1fr; }
    .report-image img { height: 430px; }
    .analytics-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .value-grid { grid-template-columns: 1fr; gap: 35px; }
    .value-number { font-size: 48px; margin-bottom: 18px; }
    .export-note { font-size: 8px; line-height: 1.8; }
    .contact h2 { font-size: 34px; }
    footer .mono { font-size: 7px; max-width: 135px; }
    .lightbox { padding: 14px; }
    .lightbox h2 { font-size: 14px; }
}
@media (max-width: 370px) {
    .shell { width: calc(100% - 32px); }
    .brand-divider, .project-brand { display: none; }
    .header-tools { gap: 10px; }
    h1 { font-size: 46px; }
    .hero-visual { padding-right: 35px; }
    .floating-session img { height: 140px; }
    .gallery-tabs a { padding-inline: 8px; }
    .gallery-tabs .mono { display: none; }
    .report-image img { height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal-pending { opacity: 1; transform: none; }
}
