/* Shared design system: change these tokens before changing individual pages. */
:root {
  color-scheme: dark;
  --background: #111311;
  --surface: #191c18;
  --surface-raised: #20241e;
  --text: #f0f0e8;
  --muted: #a6ac9f;
  --line: #353b31;
  --accent: #ef793e;
  --working: #b5cfa4;
  --font: 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --gutter: clamp(22px, 4.2vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body::selection { background: var(--accent); color: var(--background); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, summary, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1.25rem; color: var(--muted); font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1 { font-size: clamp(54px, 7.2vw, 104px); line-height: 1.04; letter-spacing: -0.067em; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.09; letter-spacing: -0.055em; white-space: pre-line; }
h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.035em; white-space: pre-line; }
h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
[hidden] { display: none !important; }
.container { width: min(100%, 1500px); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex-shrink: 0; width: 22px; height: 22px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--accent); font: 11px/1.5 var(--mono); letter-spacing: 0.1em; }
.status-dot, .footer-status > span { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 14px 22px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 12px; }

/* Navigation stays shared across all five pages. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(17, 19, 17, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand > span { font: 600 17px/1.3 var(--font); letter-spacing: -0.015em; }
.brand small { display: block; margin-top: 4px; font: 8px/1.4 var(--mono); color: var(--muted); letter-spacing: 0.19em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { padding: 12px 0; font-size: 13px; color: var(--muted); transition: color 160ms; }
.site-nav > a:hover, .site-nav > a[aria-current='page'] { color: var(--text); }
.site-nav > a[aria-current='page']:not(.nav-contact) { position: relative; }
.site-nav > a[aria-current='page']:not(.nav-contact)::after { content: ''; height: 3px; width: 3px; background: var(--accent); position: absolute; border-radius: 50%; bottom: 2px; left: 50%; }
.site-nav .nav-contact { display: inline-flex; align-items: center; gap: 22px; margin-left: 20px; border: 1px solid var(--line); padding: 12px 17px; color: var(--text); }
.nav-contact .icon { width: 17px; height: 17px; color: var(--accent); }
.site-nav .nav-contact:hover { border-color: var(--accent); }
.menu-toggle { display: none; }

/* Landing page and a neutral space for future prototype photography or a 3D model. */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 650px; padding-top: 65px; padding-bottom: 76px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 30px; font-size: 10px; }
.hero h1 { font-size: clamp(70px, 8.5vw, 124px); line-height: 0.96; letter-spacing: -0.065em; }
.hero h1 > span { color: #a2a89a; }
.hero-description { margin: 30px 0 32px; max-width: 450px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 50px; padding: 14px 18px; border: 1px solid var(--line); font-size: 12px; line-height: 1.4; transition: background 160ms, border-color 160ms; }
.button .icon { width: 18px; height: 18px; }
.button-light { background: var(--text); border-color: var(--text); color: var(--background); }
.button-light:hover { background: var(--accent); border-color: var(--accent); }
.button-outline:hover { background: var(--surface); border-color: var(--muted); }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; margin: -50px -24px -12px -36px; }
.hero-visual::before { content: ''; position: absolute; inset: 30px -100px 20px -10px; z-index: -1; background-image: linear-gradient(#22271f 1px, transparent 1px), linear-gradient(90deg, #22271f 1px, transparent 1px); background-size: 56px 56px; opacity: 0.25; mask-image: radial-gradient(ellipse, #000 10%, transparent 72%); }
.hero-image { width: 100%; height: 100%; object-fit: contain; }
.hero-visual.has-photography { margin: 0 0 0 20px; }
.has-photography .hero-image { object-fit: cover; opacity: 0.85; }
.hero-video { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.visual-caption { position: absolute; bottom: 15px; right: 34px; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 8px/1.5 var(--mono); letter-spacing: 0.12em; padding: 8px; background: var(--background); }
.caption-mark { display: block; width: 12px; height: 12px; border: 1px solid var(--muted); position: relative; }
.caption-mark::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--accent); left: 3px; top: 3px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; position: relative; }
.hero-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.hero-bottom > span { color: var(--muted); font: 8px/1.5 var(--mono); letter-spacing: 0.06em; }
.hero-bottom > a { display: inline-flex; align-items: center; gap: 20px; font-size: 11px; }
.hero-bottom > a span { color: var(--accent); font-size: 18px; }
.system-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.system-strip > .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.system-strip .container > span { display: flex; align-items: center; gap: 22px; padding: 26px 24px 26px 0; font: 11px/1.4 var(--mono); letter-spacing: 0.1em; }
.system-strip small { color: var(--accent); font-size: 9px; }
.system-strip .icon, .strip-end { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
.strip-end { font-size: 20px; line-height: 1; }

/* Page sections and reusable content pieces. */
.section { padding-top: 104px; padding-bottom: 104px; }
.section + .section.container { border-top: 1px solid var(--line); }
.section-tinted { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 36px; }
.section-heading .section-description { margin-top: 24px; }
.section-description { max-width: 580px; font-size: 16px; }
.section-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 46px; }
.section-topline .section-heading { margin-bottom: 0; max-width: 800px; }
.section-topline > .text-link, .section-topline > .status-badge { flex-shrink: 0; margin-bottom: 7px; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.split-layout > * { min-width: 0; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 9px 0; margin-top: 14px; color: var(--text); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; transition: border-color 160ms; }
.text-link .icon { color: var(--accent); width: 18px; height: 18px; }
.text-link:hover { border-color: var(--accent); }
.problem-section .split-layout { align-items: center; }
.problem-section .section-heading { max-width: none; margin-bottom: 0; }
.problem-section .section-description { max-width: 580px; margin-bottom: 0; }
.problem-row { display: flex; gap: 28px; border-top: 1px solid var(--line); padding: 24px 0 18px; }
.problem-row:first-child { border-top: 0; padding-top: 0; }
.item-number { font: 10px/1.5 var(--mono); padding-top: 6px; color: var(--accent); }
.problem-row h3 { font-size: 23px; margin-bottom: 0; }
.problem-row p { margin-bottom: 0; font-size: 14px; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 9px/1.6 var(--mono); padding: 5px 8px; border: 1px solid var(--line); white-space: nowrap; }
.status-badge > span { width: 4px; height: 4px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.status-working { color: var(--working); border-color: #485341; }
.status-development { color: #f2ad83; border-color: #694530; }
.status-research { color: #b3c1cc; border-color: #424d55; }
.section-note { margin: 28px 0 0; font-size: 12px; max-width: 750px; }

/* Interactive architecture overview. Full detail is on the technology page. */
.interactive-system { border: 1px solid var(--line); }
html:not(.js) .system-tabs { display: none; }
html:not(.js) .system-panel + .system-panel { border-top: 1px solid var(--line); }
.system-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.system-tabs button { appearance: none; display: flex; align-items: center; gap: 14px; padding: 27px 24px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; font: 11px/1.5 var(--mono); text-align: left; }
.system-tabs button:last-child { border-right: 0; }
.system-tabs button > span { color: var(--muted); font-size: 9px; }
.system-tabs button strong { font-weight: 400; letter-spacing: 0.06em; }
.system-tabs button .icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.system-tabs button[aria-selected='true'] { background: #2a2f25; border-bottom-color: var(--accent); }
.system-tabs button[aria-selected='true'] > span, .system-tabs button[aria-selected='true'] .icon { color: var(--accent); }
.system-panel { display: grid; grid-template-columns: 0.9fr 1.3fr; padding: 38px; gap: 44px; min-height: 320px; align-items: center; }
.system-panel .eyebrow { margin-bottom: 16px; }
.system-panel h3 { font-size: 38px; }
.system-panel p { font-size: 15px; }
.system-panel-copy > p:last-child { margin: 22px 0 0; }
.architecture-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.architecture-step { position: relative; padding: 34px 25px; border-right: 1px solid var(--line); }
.architecture-step:first-child { padding-left: 0; }
.architecture-step:last-child { border-right: 0; }
.architecture-step .eyebrow { font-size: 10px; }
.architecture-step h3 { font-size: 28px; min-height: 68px; margin-bottom: 20px; }
.architecture-step > p:not(.eyebrow) { font-size: 14px; min-height: 143px; }
.architecture-step::after { content: '→'; position: absolute; right: -10px; top: 37px; background: var(--background); color: var(--accent); padding: 0 3px; z-index: 1; }
.architecture-step:last-child::after { display: none; }

.prototype-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; }
.prototype-figure { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.prototype-figure img { width: 100%; height: auto; object-fit: contain; flex: 1; min-height: 0; }
.prototype-figure figcaption { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 16px 20px; color: var(--muted); font: 8px/1.6 var(--mono); }
.prototype-notes > .eyebrow { margin-bottom: 20px; }
.prototype-notes > h3 { font-size: 30px; margin-bottom: 30px; }
.capability-row { padding: 18px 0 16px; border-top: 1px solid var(--line); }
.capability-row h4 { margin-bottom: 8px; }
.capability-row p { font-size: 13px; margin: 0; }
.roadmap-preview { padding: 0; margin: 60px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
.roadmap-preview > li { padding: 0 28px 0 0; min-width: 0; }
.phase-marker { position: relative; padding: 0 0 28px; margin-bottom: 26px; border-bottom: 1px solid #505747; }
.phase-marker::after { position: absolute; content: ''; height: 7px; width: 7px; background: var(--surface); border: 1px solid #737b65; bottom: -4px; left: 0; }
.roadmap-preview > li:first-child .phase-marker::after { background: var(--working); border-color: var(--working); }
.phase-marker span { font: 28px/1 var(--mono); color: var(--muted); }
.roadmap-preview > li:first-child .phase-marker span { color: var(--working); }
.roadmap-preview .status-badge { font-size: 8px; padding: 3px 6px; }
.roadmap-preview h3 { font-size: 25px; margin: 18px 0 13px; }
.roadmap-preview p { font-size: 13px; margin: 0; }
.journal-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.journal-preview .section-description { max-width: 420px; }
.journal-teaser { position: relative; min-height: 350px; padding: 56px 40px 36px; border: 1px solid var(--line); background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, #1d221b 8px, #1d221b 9px); }
.journal-teaser .eyebrow, .journal-teaser h3, .journal-teaser p { position: relative; }
.journal-teaser h3 { font-size: 42px; margin-bottom: 22px; }
.journal-teaser p { font-size: 14px; max-width: 340px; margin-bottom: 0; }
.journal-preview-icon { position: absolute; top: 20px; right: 20px; color: var(--accent); }
.team-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.team-count { text-align: center; }
.team-count > span { display: block; font-size: clamp(130px, 20vw, 270px); letter-spacing: -0.1em; font-weight: 400; line-height: 0.95; color: #646e5b; }
.team-count > p { font: 9px/1.5 var(--mono); letter-spacing: 0.08em; margin: 22px 0 0; }
.partnership-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.partnership-heading h2 { font-size: clamp(42px, 6.2vw, 90px); }
.partnership-heading h2 > span { color: var(--muted); }
.partnership-section .section-description { margin-top: 30px; }
.round-link { width: 82px; height: 82px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; margin-bottom: 10px; transition: background 160ms; }
.round-link .icon { width: 38px; height: 38px; color: var(--accent); }
.round-link:hover { background: var(--surface-raised); }
.partnership-types { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 38px; margin-top: 38px; border-top: 1px solid var(--line); font: 9px/1.5 var(--mono); letter-spacing: 0.06em; }
.partnership-types span::before { content: '+'; color: var(--accent); margin-right: 10px; }

/* Dedicated technology, development, team, and contact pages. */
.page-intro { padding-top: 94px; padding-bottom: 88px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 1130px; }
.page-lead { max-width: 670px; margin: 30px 0 0; font-size: 18px; line-height: 1.65; }
.page-intro .button { margin-top: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.editorial-card { padding: 28px 0; border-top: 1px solid var(--line); }
.editorial-card h3 { margin: 22px 0 16px; }
.editorial-card p { font-size: 14px; margin-bottom: 0; }
.editorial-card p + p { margin-top: 12px; }
.editorial-card strong { color: var(--text); font-weight: 500; }
.editorial-card > .eyebrow { margin-bottom: 0; }
.technical-panel { border: 1px solid var(--line); background: var(--surface); padding: 42px; }
.technical-panel h2 { margin-bottom: 28px; }
.technical-panel p { max-width: 650px; }
.technical-panel > img { width: 100%; }
.technical-panel > figcaption { margin-top: 20px; }
.technical-panel .text-link { margin-top: 24px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0; }
.tag { padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); font: 10px/1.4 var(--mono); }
.media-placeholder { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.media-placeholder-copy { position: relative; }
.media-label { display: block; font: 10px/1.5 var(--mono); letter-spacing: 0.07em; color: var(--muted); }
.media-placeholder-copy p { font-size: 12px; margin: 10px 0 0; }
.placeholder-cross { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #606956; }
.placeholder-cross .icon { width: 48px; height: 48px; }
.viewfinder { position: absolute; width: 14px; height: 14px; border-color: #606956; border-style: solid; }
.viewfinder-tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.viewfinder-tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
.viewfinder-bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
.viewfinder-br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }
.prototype-media { min-height: 400px; }
.split-layout + .card-grid { margin-top: 70px; }
.roadmap-list { border-top: 1px solid var(--line); }
.roadmap-item { border-bottom: 1px solid var(--line); }
.roadmap-item summary { display: grid; grid-template-columns: 110px 1fr 24px; align-items: center; gap: 30px; cursor: pointer; padding: 28px 0; list-style: none; }
.roadmap-item summary::-webkit-details-marker { display: none; }
.roadmap-phase { color: var(--accent); font: 10px/1.5 var(--mono); }
.roadmap-copy { display: flex; flex-direction: column; gap: 10px; }
.roadmap-title { font-size: 30px; line-height: 1.2; letter-spacing: -0.03em; }
.roadmap-description { color: var(--muted); font-size: 14px; line-height: 1.6; }
.roadmap-toggle { color: var(--accent); font: 28px/1 var(--mono); text-align: right; transition: transform 150ms; }
.roadmap-item[open] .roadmap-toggle { transform: rotate(45deg); }
.roadmap-details { padding: 0 70px 26px 140px; }
.roadmap-details ul { color: var(--muted); margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.8; }
.roadmap-details li { margin-bottom: 8px; }
.roadmap-details li::marker { color: var(--accent); }
.journal-empty { min-height: 230px; }
.journal-empty h3 { font-size: 36px; margin-bottom: 24px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-card { min-width: 0; }
.team-card .team-portrait { min-height: 350px; margin-bottom: 28px; }
.team-portrait img { height: 400px; width: 100%; object-fit: cover; }
.team-card > .eyebrow { margin-bottom: 12px; }
.team-card h3 { margin-bottom: 16px; }
.team-card > p:not(.eyebrow) { max-width: 480px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-panel { background: var(--surface); border: 1px solid var(--line); padding: 42px; align-self: start; }
.contact-panel h2 { font-size: 48px; }
.contact-detail { display: block; margin: 32px 0; color: var(--text); font-size: 19px; overflow-wrap: anywhere; }
a.contact-detail { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.contact-panel > p:not(.eyebrow):not(.contact-detail) { font-size: 14px; }
.contact-panel .text-link { margin-right: 24px; }
.contact-grid .section-heading h2 { font-size: 40px; }
.video-toggle { position: absolute; bottom: 55px; right: 20px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); background: var(--background); cursor: pointer; font-size: 12px; }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle.is-paused .icon { display: none; }
.video-toggle.is-paused::before { content: '▶'; }

/* Media slots render real files once supplied; empty slots have no fake playback controls. */
.hero-visual.hero-model-visual { margin: 12px 0 12px 30px; }
.hero-model-visual::before { display: none; }
.model-placeholder { position: relative; width: 100%; min-height: 390px; display: grid; place-items: center; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.model-placeholder::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#30362b 1px, transparent 1px), linear-gradient(90deg, #30362b 1px, transparent 1px); background-size: 48px 48px; opacity: 0.28; mask-image: radial-gradient(ellipse, black 5%, transparent 70%); }
.hero-model { min-height: 475px; height: 100%; background: transparent; border-color: transparent; }
.model-stage-label { position: absolute; top: 22px; left: 24px; z-index: 1; font: 9px/1.6 var(--mono); color: var(--muted); letter-spacing: 0.1em; }
.model-space { position: relative; width: min(78%, 360px); aspect-ratio: 1; }
.model-orbit { position: absolute; inset: 8%; border: 1px solid #758068; border-radius: 50%; }
.model-orbit-one { transform: rotate(-28deg) scaleY(0.48); }
.model-orbit-two { transform: rotate(46deg) scaleY(0.48); }
.model-orbit-three { transform: rotate(100deg) scaleY(0.48); border-color: #a15f39; }
.model-centre { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font: 38px/1 var(--mono); color: var(--accent); }
.model-axis { position: absolute; background: #424b38; opacity: 0.6; }
.model-axis-x { height: 1px; top: 50%; left: -15%; width: 130%; }
.model-axis-y { width: 1px; height: 130%; left: 50%; top: -15%; }
.model-placeholder-caption { position: absolute; bottom: 22px; left: 24px; display: flex; gap: 10px; align-items: center; font: 8px/1.5 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.prototype-model { min-height: 500px; flex: 1; border: 0; }
.technology-model { min-height: 400px; }
.media-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.media-gallery-single { grid-template-columns: 1fr; }
.media-slot { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media-slot.media-placeholder { min-height: 240px; padding: 20px; }
.media-slot .media-label { font-size: 9px; overflow-wrap: anywhere; }
.media-slot img, .media-slot video { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #0d0f0c; }
.media-slot > figcaption { padding: 16px 20px; border-top: 1px solid var(--line); }
.media-slot-video .placeholder-cross { border: 1px solid var(--line); border-radius: 50%; padding: 18px; }
.media-slot-video .placeholder-cross .icon { width: 28px; height: 28px; }
.journal-video .media-placeholder { min-height: 360px; }
.development-story { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 0 0 35px; }
.development-story p { font-size: 15px; }
.development-gallery { margin-bottom: 42px; }
.development-gallery .media-placeholder { min-height: 340px; }
.application-primary { padding: 28px; border: 1px solid #765036; background: var(--surface); }
.application-primary h3 { color: #f2b189; }
.partnership-cards { margin-top: 46px; }

.site-footer { background: #0d0f0c; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 52px 0; }
.footer-top > p { font-size: 12px; margin: 0; }
.footer-top > .text-link { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font: 9px/1.5 var(--mono); }
.footer-status { display: inline-flex; align-items: center; gap: 8px; }
.footer-status > span { background: var(--working); width: 4px; height: 4px; }
.footer-bottom > a { display: inline-flex; align-items: center; gap: 12px; }
.footer-bottom .icon { width: 14px; height: 14px; }
.is-revealed { animation: reveal 650ms ease-out both; }
@keyframes reveal { from { transform: translateY(12px); } to { transform: translateY(0); } }

@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .site-nav .nav-contact { margin-left: 0; }
  .hero-grid { min-height: 590px; }
  .hero h1 { font-size: clamp(70px, 8.8vw, 106px); }
  .hero-stage { display: none; }
  .split-layout, .journal-preview, .team-intro, .contact-grid { gap: 48px; }
  .prototype-layout { gap: 36px; grid-template-columns: 1.1fr 1fr; }
  .system-tabs button { padding: 24px 16px; gap: 10px; font-size: 10px; }
  .architecture-grid { grid-template-columns: 1fr 1fr; }
  .architecture-step { padding: 30px; }
  .architecture-step:first-child { padding-left: 30px; }
  .architecture-step:nth-child(2) { border-right: 0; }
  .architecture-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .architecture-step:nth-child(2)::after { display: none; }
  .architecture-step > p:not(.eyebrow), .architecture-step h3 { min-height: auto; }
  .roadmap-preview > li { padding-right: 16px; }
  .roadmap-preview h3 { font-size: 19px; }
  .roadmap-preview .status-badge { font-size: 7px; }
  .footer-top > p { display: none; }
}

@media (max-width: 900px) {
  .header-inner { height: 76px; }
  .site-nav { gap: 18px; flex-wrap: wrap; }
  .js .site-nav { display: none; position: absolute; top: 75px; left: 0; right: 0; background: var(--background); border-bottom: 1px solid var(--line); padding: 20px var(--gutter) 28px; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .js .site-nav > a { font-size: 16px; padding: 14px 0; }
  .js .site-nav > a[aria-current='page']:not(.nav-contact)::after { display: none; }
  .js .site-nav .nav-contact { padding: 14px 16px; margin-top: 12px; justify-content: space-between; }
  .js .menu-toggle { display: flex; width: 44px; height: 44px; padding: 12px 8px; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle > span { display: block; height: 1px; width: 100%; background: var(--text); transition: transform 160ms; }
  .menu-toggle[aria-expanded='true'] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  html:not(.js) .header-inner { height: auto; min-height: 76px; padding-block: 18px; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr 0.85fr; min-height: 570px; padding-top: 50px; padding-bottom: 50px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero h1 { font-size: clamp(67px, 9vw, 85px); }
  .hero-actions { flex-direction: column; align-items: start; }
  .hero-description { font-size: 14px; }
  .hero-visual { margin-left: -48px; margin-right: -60px; }
  .visual-caption { font-size: 7px; right: 35px; }
  .section { padding-block: 76px; }
  .section-topline { align-items: start; flex-direction: column; gap: 20px; }
  .roadmap-preview { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .roadmap-preview h3 { font-size: 23px; }
  .roadmap-preview .status-badge { font-size: 8px; }
  .prototype-layout { grid-template-columns: 1fr; }
  .prototype-figure img { max-height: 570px; }
  .prototype-notes > h3 br { display: none; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-item summary { grid-template-columns: 72px 1fr 20px; gap: 18px; }
  .roadmap-phase { font-size: 9px; }
  .roadmap-title { font-size: 25px; }
  .roadmap-details { padding-left: 90px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  h1 { font-size: clamp(47px, 10.5vw, 68px); }
  h2 { font-size: 38px; }
  h3 { font-size: 25px; }
  .brand > span { font-size: 15px; }
  .brand > img { width: 28px; height: 28px; }
  .brand small { font-size: 7px; }
  .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 46px; padding-bottom: 22px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: 0.065em; }
  .hero h1 { font-size: clamp(68px, 15vw, 94px); }
  .hero-description { font-size: 14px; margin: 26px 0; max-width: 350px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: row; gap: 10px; }
  .button { font-size: 11px; gap: 16px; padding: 13px 14px; min-height: 47px; }
  .hero-visual { height: 330px; margin: 3px -10px 0; }
  .hero-visual.has-photography { height: 340px; margin: 28px 0 10px; }
  .visual-caption { right: 8px; bottom: 0; font-size: 7px; }
  .hero-bottom { min-height: 60px; }
  .hero-bottom > span:first-child { max-width: 155px; font-size: 7px; line-height: 1.6; }
  .hero-bottom > a { font-size: 10px; gap: 12px; }
  .system-strip > .container { grid-template-columns: 1fr 1fr; }
  .system-strip .container > span { padding: 20px 14px 20px 0; font-size: 10px; gap: 12px; }
  .system-strip .container > span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding-block: 62px; }
  .section-heading { margin-bottom: 28px; }
  .section-description { font-size: 14px; }
  .split-layout, .journal-preview, .team-intro { grid-template-columns: 1fr; gap: 36px; }
  .problem-section .section-heading { max-width: 370px; }
  .problem-section .section-description { max-width: none; }
  .problem-row { gap: 20px; padding-top: 24px; }
  .problem-row h3 { font-size: 22px; }
  .problem-row p { font-size: 13px; }
  .system-tabs { grid-template-columns: 1fr 1fr; }
  .system-tabs button { padding: 20px 15px; }
  .system-tabs button:nth-child(2) { border-right: 0; }
  .system-tabs button strong { font-size: 10px; }
  .system-panel { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px; min-height: 350px; }
  .system-panel h3 { font-size: 34px; }
  .system-panel p { font-size: 14px; }
  .prototype-figure figcaption { font-size: 7px; padding: 14px; gap: 14px; }
  .prototype-notes > h3 { font-size: 29px; }
  .roadmap-preview { grid-template-columns: 1fr; margin-top: 20px; gap: 0; }
  .roadmap-preview > li { position: relative; padding: 25px 0 25px 58px; margin: 0; border-bottom: 1px solid var(--line); }
  .phase-marker { position: absolute; top: 27px; left: 0; border: 0; padding: 0; margin: 0; }
  .phase-marker::after { display: none; }
  .phase-marker span { font-size: 20px; }
  .roadmap-preview h3 { font-size: 23px; margin: 14px 0 10px; }
  .journal-teaser { min-height: 310px; padding: 40px 26px 28px; }
  .journal-teaser h3 { font-size: 39px; }
  .team-count > span { font-size: 200px; }
  .team-count > p { font-size: 8px; }
  .partnership-heading { gap: 15px; }
  .partnership-heading h2 { font-size: clamp(35px, 7.5vw, 46px); }
  .round-link { width: 48px; height: 48px; margin-bottom: 0; }
  .round-link .icon { width: 25px; height: 25px; }
  .partnership-types { gap: 18px; font-size: 8px; margin-top: 28px; padding-top: 28px; }
  .page-intro { padding-block: 58px; }
  .page-lead { font-size: 16px; margin-top: 26px; }
  .architecture-grid, .card-grid, .team-grid { grid-template-columns: 1fr; }
  .architecture-step, .architecture-step:first-child { padding: 30px 0; border-right: 0; }
  .architecture-step + .architecture-step { border-top: 1px solid var(--line); }
  .architecture-step::after { display: none; }
  .architecture-step h3 { font-size: 30px; margin-bottom: 16px; }
  .architecture-step .eyebrow { margin-bottom: 16px; }
  .card-grid { gap: 0; }
  .editorial-card h3 { margin-top: 18px; }
  .technical-panel, .contact-panel { padding: 28px 24px; }
  .technical-panel h2, .contact-panel h2 { font-size: 36px; }
  .technical-panel > p { font-size: 14px; }
  .technical-panel.split-layout { gap: 14px; }
  .media-placeholder { min-height: 300px; padding: 24px; }
  .split-layout + .card-grid { margin-top: 42px; }
  .roadmap-item summary { grid-template-columns: 1fr auto; gap: 14px; padding-block: 24px; }
  .roadmap-phase { grid-column: 1; }
  .roadmap-copy { grid-column: 1 / -1; grid-row: 2; }
  .roadmap-item .status-badge { grid-column: 1; grid-row: 3; justify-self: start; }
  .roadmap-toggle { grid-column: 2; grid-row: 1; }
  .roadmap-title { font-size: 27px; }
  .roadmap-description { font-size: 13px; }
  .roadmap-details { padding: 0 0 24px; }
  .roadmap-details ul { font-size: 13px; }
  .team-card .team-portrait { min-height: 320px; }
  .team-grid { gap: 34px; }
  .contact-grid .section-heading h2 { font-size: 36px; }
  .contact-detail { font-size: 17px; margin-block: 26px; }
  .footer-top { padding-block: 36px; gap: 28px; align-items: flex-start; flex-direction: column; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 14px; padding-block: 24px; }
  .footer-top .text-link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .hero-visual.hero-model-visual { margin: 15px -12px 15px 15px; }
  .hero-model { min-height: 400px; }
  .system-panel { grid-template-columns: 1fr 1.1fr; gap: 28px; padding: 30px; }
  .system-media { grid-template-columns: 1fr; }
  .system-media .media-placeholder { min-height: 175px; }
  .prototype-model { min-height: 430px; }
}

@media (max-width: 640px) {
  .brand > span { font-size: 14px; }
  .hero-visual.hero-model-visual { height: 300px; margin: 24px 0 0; }
  .hero-model { min-height: 300px; }
  .model-stage-label { left: 16px; top: 16px; font-size: 8px; }
  .model-placeholder-caption { left: 16px; bottom: 16px; font-size: 8px; }
  .model-space { width: min(66%, 270px); }
  .system-panel { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .system-media { grid-template-columns: 1fr; }
  .system-media .media-placeholder { min-height: 190px; }
  .prototype-model { min-height: 340px; }
  .technology-model { min-height: 320px; }
  .journal-video .media-placeholder { min-height: 300px; }
  .development-story { grid-template-columns: 1fr; gap: 0; }
  .development-gallery { grid-template-columns: 1fr; }
  .development-gallery .media-placeholder { min-height: 260px; }
  .application-primary { padding: 24px; margin-bottom: 24px; }
  .team-intro { gap: 12px; }
}

/* Full-screen opening: future project artwork sits behind the title. */
.hero-intro { --intro-header-height: 88px; display: grid; grid-template-rows: 1fr auto; min-height: calc(100vh - var(--intro-header-height)); min-height: calc(100svh - var(--intro-header-height)); isolation: isolate; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; background: #0c100d; pointer-events: none; }
.hero-background-image, .hero-background-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-background-video { position: absolute; inset: 0; }
.hero-backdrop-placeholder::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#273023 1px, transparent 1px), linear-gradient(90deg, #273023 1px, transparent 1px); background-size: 88px 88px; opacity: 0.25; mask-image: radial-gradient(ellipse, black, transparent 75%); }
.hero-backdrop-placeholder::after { content: ''; position: absolute; width: min(80vw, 1000px); aspect-ratio: 1.4; border: 1px solid #283222; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); opacity: 0.45; }
.hero-intro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 10, 0.25), rgba(10, 13, 10, 0.1) 45%, rgba(10, 13, 10, 0.65)); pointer-events: none; }
.hero-intro-content { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 80px; text-align: center; }
.hero .hero-title { font-size: clamp(48px, 15.2vw, 220px); line-height: 1; letter-spacing: -0.065em; font-weight: 500; }
.hero-tagline { margin: 24px 0 0; color: var(--text); font-size: clamp(14px, 2.1vw, 28px); line-height: 1.5; letter-spacing: 0.025em; }
.hero-intro-footer { position: relative; padding-bottom: 28px; }
.hero-intro-footer > a { display: inline-flex; align-items: center; gap: 24px; font-size: 11px; }
.hero-intro-footer > a > span { color: var(--accent); font-size: 20px; }
.hero-intro > .video-toggle { z-index: 3; bottom: 28px; right: var(--gutter); }

/* The platform and roadmap deliberately keep only their essential labels. */
.prototype-layout-minimal .prototype-notes { display: flex; flex-direction: column; justify-content: center; }
.prototype-layout-minimal .prototype-notes > h3 { font-size: clamp(30px, 3.3vw, 48px); margin-bottom: 0; }
.roadmap-preview.roadmap-minimal { display: block; margin-top: 36px; }
.roadmap-minimal > li { position: static; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 26px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 0; }
.roadmap-minimal > li:last-child { border-bottom: 1px solid var(--line); }
.roadmap-step-number { color: var(--accent); font: 12px/1.5 var(--mono); }
.roadmap-minimal h3 { margin: 0; max-width: 1100px; font-size: 25px; line-height: 1.25; }

@media (max-width: 900px) {
  .hero-intro { --intro-header-height: 76px; }
  .roadmap-minimal h3 { font-size: 23px; }
}

@media (max-width: 640px) {
  .hero-intro-content { padding-block: 56px; }
  .hero-tagline { margin-top: 18px; }
  .hero-intro-footer { padding-bottom: 24px; }
  .roadmap-minimal > li { grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding-block: 22px; }
  .roadmap-step-number { font-size: 10px; }
}
