/* Shared visual system - September 2026. Base application/tour components live in styles.css. */
:root {
  --green: #188554;
  --green-bright: #146c43;
  --green-hover: #15784b;
  --green-dark: #153f30;
  --green-text: #266146;
  --ink: #172e25;
  --ink-soft: #526359;
  --white: #f7f8f3;
  --mint: #edf0e7;
  --mint-strong: #dfe9de;
  --line: #d3dbcf;
  --line-dark: #456153;
  --panel-ink: #0b1714;
  --panel-green: #142e24;
  --panel-green-inner: #11231c;
  --panel-muted: #bfd0c4;
  --panel-muted-strong: #c0cfc7;
  --footer-bg: #0b1714;
  --field-border: #8b9e90;
  --device-stage-bg: #e6ebdf;
  --radius-control: 8px;
  --radius-surface: 20px;
  --shell: min(1360px, calc(100% - 96px));
  --shadow-media: 0 24px 54px -18px rgb(18 41 29 / 23%);
}
:root[data-theme="dark"] {
  --green: #146c43;
  --green-bright: #146c43;
  --green-hover: #15784b;
  --green-text: #a6dfba;
  --ink: #f3f3f3;
  --ink-soft: #bcbcbc;
  --white: #000000;
  --mint: #101010;
  --mint-strong: #1c1c1c;
  --line: #303030;
  --line-dark: #686868;
  --panel-ink: #080808;
  --panel-green: #111111;
  --panel-green-inner: #171717;
  --panel-muted: #c7c7c7;
  --panel-muted-strong: #d0d0d0;
  --footer-bg: #000000;
  --device-stage-bg: #141414;
  --field-border: #777777;
}
body { font-size: 17px; line-height: 1.65; }
h1, h2, h3 { font-weight: 560; letter-spacing: -.055em; }
h1 { line-height: 1.01; }
h2 { font-size: clamp(2.35rem, 4.3vw, 4.5rem); line-height: 1.05; }
h3 { line-height: 1.1; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.section { padding-block: clamp(80px, 9vw, 132px); }
.site-header { background: var(--white); }
.nav-row { min-height: 88px; gap: 22px; }
.brand { font-size: 1.12rem; font-weight: 730; }
.brand-mark { width: 36px; height: 36px; }
.primary-nav { gap: 27px; }
.primary-nav > a:not(.button) { font-size: .88rem; }
.theme-toggle { border-radius: 50%; width: 44px; padding: 0; justify-content: center; }
.theme-toggle-label { display: none; }
.button { min-height: 52px; padding: 14px 22px; border-radius: 8px; font-weight: 720; font-size: .94rem; }
.button-small { min-height: 44px; padding: 11px 17px; font-size: .83rem; }
.button span { transition: transform 160ms ease; }
.button:hover span { transform: translate(2px, -2px); }
.system-label { font-size: .68rem; font-weight: 650; letter-spacing: .12em; }
.system-label::before { width: 7px; height: 7px; border-radius: 50%; }
.hero { padding-block: clamp(64px, 7vw, 104px) 48px; background: var(--white); }
.hero-grid { grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 5vw, 76px); }
.hero-copy { padding: 0; }
.hero-copy .system-label { margin-bottom: 31px; }
.hero h1 { margin-bottom: 28px; font-size: clamp(3.5rem, 5.9vw, 6.4rem); font-weight: 560; line-height: 1.02; letter-spacing: -.062em; }
.hero h1 span { color: var(--green-text); }
.hero-lead { max-width: 530px; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.7; }
.hero-actions { margin-top: 31px; gap: 24px; }
.hero-actions .text-link { font-size: .88rem; }
.hero-services { gap: 10px 18px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-services li { font-family: var(--font-body); font-size: .76rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.hero-services li::before { width: 4px; height: 4px; }
.system-sculpture { position: relative; isolation: isolate; min-width: 0; overflow: hidden; aspect-ratio: 1 / 1.04; margin: 0; color: #edf4e9; background: #0b1714; border: 1px solid #2c4437; border-radius: 24px; }
.system-sculpture::before { position: absolute; inset: 14px; z-index: 2; border: 1px solid rgb(167 216 184 / 12%); border-radius: 13px; pointer-events: none; content: ""; }
.sculpture-heading { position: absolute; top: 34px; left: 34px; right: 34px; display: flex; justify-content: space-between; align-items: center; gap: 15px; z-index: 3; }
.sculpture-heading span { color: #b5cbbb; font: 500 .63rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.sculpture-heading i { width: 7px; height: 7px; border-radius: 50%; background: #146c43; box-shadow: 0 0 18px #146c4355; }
.sculpture-media { position: absolute; inset: 30px 0 55px; display: grid; place-items: center; }
.sculpture-media video { width: 100%; height: 100%; object-fit: contain; }
.sculpture-legend { position: absolute; z-index: 3; bottom: 32px; left: 34px; right: 34px; display: flex; gap: 14px; justify-content: space-between; padding-top: 18px; border-top: 1px solid #33473a; }
.sculpture-legend span { display: grid; gap: 4px; font-size: .78rem; font-weight: 550; }
.sculpture-legend small { color: #a2baa8; font: 500 .6rem/1.5 var(--font-mono); }
.motion-toggle { position: absolute; z-index: 4; right: 25px; bottom: 113px; min-width: 44px; min-height: 44px; padding: 7px 13px; color: #d4e8d9; background: #12271fed; border: 1px solid #466453; border-radius: 24px; font-size: .68rem; }
.motion-toggle:hover { background: #233f30; }
.motion-toggle[hidden] { display: none; }
.proof-band { margin: 0; background: var(--white); border: 0; }
.proof-band-grid { padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto; gap: 24px; }
.proof-band p:first-child { color: var(--ink); font-family: var(--font-body); font-size: .96rem; font-weight: 650; letter-spacing: -.02em; text-transform: none; }
.proof-band p:last-child { max-width: 650px; color: var(--ink-soft); font-size: .87rem; }
.proof-band strong { color: var(--ink); }
.project-index-heading { margin-bottom: 54px; }
.section-heading { gap: 22px 60px; }
.section-heading > p:last-child { max-width: 480px; font-size: 1rem; line-height: 1.7; }
.project-card-grid { gap: 64px 34px; }
.project-card-link { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.project-card-link:hover { border: 0; box-shadow: none; transform: none; }
.project-card-meta { padding: 0 0 17px; border-bottom: 0; font-size: .66rem; }
.project-card-meta span:last-child { font-family: var(--font-body); font-size: 1rem; font-weight: 750; letter-spacing: -.02em; text-transform: none; }
.project-card-media { height: clamp(300px, 29vw, 415px); border: 1px solid var(--line); border-radius: 15px; background: var(--device-stage-bg); }
.project-card-media-desktop { padding: clamp(20px, 2.5vw, 38px); }
.project-card-media-desktop .project-image-frame { height: 100%; border: 1px solid rgb(80 103 88 / 18%); border-radius: 9px; }
.project-card-media-desktop img { object-fit: cover; object-position: left top; }
.project-card:nth-child(2) .project-card-media { background: #d9e1d1; }
.project-card:nth-child(3) .project-card-media { background: #d5e8e0; }
.project-card:nth-child(4) .project-card-media { background: #dadce9; }
:root[data-theme="dark"] .project-card:nth-child(2) .project-card-media { background: var(--device-stage-bg); }
:root[data-theme="dark"] .project-card:nth-child(3) .project-card-media { background: var(--device-stage-bg); }
:root[data-theme="dark"] .project-card:nth-child(4) .project-card-media { background: var(--device-stage-bg); }
.project-card-copy { min-height: 0; padding: 25px 0 0; }
.project-card-copy h3 { max-width: 520px; font-size: clamp(1.7rem, 2.55vw, 2.6rem); margin-bottom: 14px; }
.project-card-copy > p { font-size: .93rem; max-width: 500px; margin-bottom: 22px; }
.project-card-tags { margin: auto 0 23px; gap: 8px 16px; }
.project-card-tags li { padding: 0; color: var(--ink-soft); background: transparent; border: 0; border-radius: 0; font-size: .73rem; font-weight: 500; }
.project-card-cta { padding-block: 15px; font-size: .86rem; }
.project-card-cta span { display: grid; width: 32px; height: 32px; place-items: center; background: var(--mint-strong); border-radius: 50%; transition: background 160ms, transform 160ms; }
.project-card-link:hover .project-card-cta span { color: #ffffff; background: #146c43; transform: rotate(45deg); }
.project-duration { color: var(--green-text); font-size: .82rem; }
.product-window-section { padding-top: 0; }
.product-window-grid { display: grid; grid-template-columns: .67fr 1.33fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: clamp(28px, 4vw, 60px); background: var(--mint); border: 1px solid var(--line); border-radius: 20px; }
.product-window-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.7rem); }
.product-window-copy > p:not(.system-label) { font-size: .94rem; color: var(--ink-soft); }
.product-window-copy .text-link { font-size: .86rem; }
.broadcast-showcase { padding-top: 0; }
.broadcast-caption { padding-bottom: 14px; margin-bottom: 20px; }
.broadcast-caption span { font-size: .62rem; }
.broadcast-caption span:last-child { font-size: .68rem; }
.broadcast-laptop { transform: none; }
.broadcast-screen { aspect-ratio: 16 / 11; }
.broadcast-static { display: none !important; }
.broadcast-showcase.is-switching .broadcast-laptop { animation: none; }
.broadcast-scene { transition: opacity 220ms ease; }
.broadcast-shot { animation: none !important; }
.broadcast-scene.is-active .broadcast-shot { animation: none !important; }
.broadcast-shot-order, .broadcast-shot-plan, .broadcast-shot-wide { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.broadcast-hud { font-size: .52rem; }
.broadcast-note { font-family: var(--font-body); font-size: .72rem; }
.broadcast-toggle, .broadcast-channels button { min-width: 44px; min-height: 44px; }
.builder-teaser { color: #edf4e9; background: #15372a; }
.builder-teaser h2 { font-size: clamp(2.5rem, 4.5vw, 4.65rem); }
.builder-teaser-facts dd { font-weight: 500; }
.capability-list h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); }
.capability-list > li { padding-block: 25px; }
.capability-list > li > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .65rem; }
.method { background: var(--mint); }
.method-intro { max-width: 960px; }
.method-intro > p:last-child { font-size: 1.05rem; }
.method-steps li { position: relative; }
.step-number { font-size: .85rem; }
.method-steps h3 { font-size: 1.6rem; }
.mcp-section { background: #15372a; }
.mcp-copy h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.mcp-readiness { border-radius: 12px; }
.contact h2 { font-size: clamp(2.7rem, 4.6vw, 4.8rem); }
.contact-form { border-radius: 15px; }
.site-footer { padding-top: 55px; }
.footer-bottom { padding-block: 22px; }
/* Project studies: a broad media stage and full-width architecture. */
.project-page-hero { background: var(--white); padding-block: 40px 95px; }
.case-breadcrumb { margin-bottom: 55px; font-size: .67rem; }
.project-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.project-hero-copy h1 { font-size: clamp(3.3rem, 5.25vw, 5.7rem); line-height: 1.02; font-weight: 560; }
.project-hero-lead { font-size: 1.08rem; line-height: 1.7; }
.project-hero-facts { margin-top: 30px; }
.project-hero-facts > div { grid-template-columns: 115px minmax(0, 1fr); }
.project-hero-facts dt { font-size: .64rem; }
.project-hero-facts dd { font-size: .9rem; }
.project-period-note { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.project-hero-facts > .project-period { grid-template-columns: 1fr; gap: 7px; margin-top: 15px; padding: 18px 20px; background: var(--mint); border: 1px solid var(--line); border-radius: 10px; }
.project-hero-facts dt { overflow-wrap: anywhere; }
.project-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; margin-top: 28px; }
.project-hero-actions .text-link { font-size: .88rem; }
.architecture-full-link { color: #a6dfba; }
.project-hero-stage { border-radius: 18px; }
.project-gallery-frame { border-radius: 16px; }
.project-outcome-grid h2, .project-detail-heading h2 { font-size: clamp(2.3rem, 3.8vw, 4rem); }
.project-engineering-wrap { background: #0b1714; padding-block: 92px; }
.project-engineering-wrap .case-engineering { padding: 0; border: 0; border-radius: 0; background: transparent; }
.project-engineering-wrap .case-engineering::before { display: none; }
.engineering-header h2 { max-width: 760px; font-size: clamp(2.3rem, 4.2vw, 4.3rem); font-weight: 530; }
.engineering-header > p:last-child { font-size: .99rem; }
.architecture-scroll { min-height: 0; padding: 0; border: 1px solid #334b3e; border-radius: 16px; background: #0b1714; }
.architecture-scroll img { display: block; width: 100%; min-width: 850px; max-width: none; height: auto; }
.architecture-artifact figcaption { flex-wrap: wrap; gap: 10px 25px; margin-top: 17px; font-size: .81rem; line-height: 1.6; }
.architecture-artifact figcaption::after { display: none; }
.architecture-open-link, .architecture-artifact figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: #a6dfba; font-weight: 650; }
.architecture-actions { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: 12px; }
.architecture-zoom { min-height: 44px; padding: 10px 17px; color: #dcece0; background: #183024; border: 1px solid #466453; border-radius: 7px; font: 600 .84rem var(--font-body); }
.architecture-zoom:hover { background: #2a4735; }
.architecture-mobile-hint { display: none; color: #b3c7b9; font-size: .76rem; }
.engineering-notes { gap: 60px; }
.application-insights h3, .tech-ledger h3 { font-size: .74rem; }
.engineering-principle h3 { font-size: 1.19rem; }
.engineering-principle p { font-size: .9rem; }
.architecture-dialog { position: fixed; inset: 0; width: min(1550px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; color: #e9f4ec; background: #0b1714; border: 1px solid #54715e; border-radius: 16px; }
.architecture-dialog::backdrop { background: rgb(3 13 8 / 83%); }
.architecture-dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 20px; border-bottom: 1px solid #334b3e; background: #0b1714; }
.architecture-dialog-header p { margin: 0; font-size: .91rem; }
.architecture-dialog-close { min-height: 44px; padding: 8px 14px; background: #183024; border: 1px solid #54715e; border-radius: 6px; color: #e9f4ec; font: inherit; font-size: .85rem; }
.architecture-dialog-body { overflow: auto; max-height: calc(100dvh - 116px); }
.architecture-dialog-body img { width: 100%; min-width: 1000px; max-width: none; height: auto; }
html:has(.architecture-dialog[open]) { overflow: hidden; }
.project-end { border-top: 1px solid var(--line); }
.project-pagination a { padding-inline: 0; }
.project-pagination a + a { padding-left: 25px; }
.project-pagination a:first-child { padding-right: 25px; }
/* Tours and configurator retain their native behavior. */
.tour-hero { padding-block: 40px 88px; background: var(--white); }
.tour-hero h1 { font-size: clamp(3.2rem, 6.1vw, 6.6rem); font-weight: 560; }
.tour-hero-grid { gap: 60px; }
.tour-hero .case-breadcrumb { margin-bottom: 50px; }
.tour-workspace-section { background: var(--mint); }
.tour-rail { border-radius: 12px; }
.tour-rail button { min-height: 72px; }
.tour-rail button strong { font-size: .87rem; }
.tour-rail button small { font-size: .65rem; }
.tour-rail button[aria-current="step"] { background: #146c43; color: #ffffff; }
.tour-preview { border-radius: 15px; }
.tour-controls { border-radius: 9px; }
.builder-hero { background: var(--white); padding-block: 65px 90px; }
.builder-hero h1 { font-size: clamp(3.5rem, 6.3vw, 6.5rem); }
.builder-base-card { border-radius: 16px; background: var(--mint); }
.builder-base-card > strong { font-weight: 500; }
.builder-module { border-radius: 12px; }
.builder-module.is-selected { border-color: var(--green); }
.builder-summary { top: 108px; border-radius: 16px; }
.builder-discount-table > div { border-radius: 7px; }
.builder-total-row dd { font-weight: 550; }
.legal-hero, .legal-main { background: var(--white); }
/* Short one-time entrances; content stays visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-revealed { animation: section-arrive 600ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes section-arrive { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  .project-card-link:hover .project-card-media img { transform: scale(1.025); }
}
@media (min-width: 1101px) {
  .project-card:nth-child(even) { padding-top: 62px; }
}
@media (max-width: 1100px) {
  :root { --shell: calc(100% - 56px); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(3.5rem, 6.4vw, 5rem); }
  .hero-actions { flex-wrap: wrap; }
  .hero-services { gap: 10px 15px; }
  .sculpture-heading { left: 24px; right: 24px; top: 28px; }
  .sculpture-legend { left: 24px; right: 24px; bottom: 28px; }
  .primary-nav { gap: 18px; }
  .project-hero-grid { gap: 32px; }
  .project-hero-copy h1 { font-size: 3.7rem; }
  .product-window-grid { grid-template-columns: .7fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav-row { min-height: 74px; }
  .primary-nav { background: var(--white); }
  .theme-toggle { width: 44px; }
  .hero { padding-top: 50px; }
  .hero-grid, .project-hero-grid, .tour-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 690px; }
  .hero h1 { font-size: clamp(3.5rem, 8.8vw, 5.8rem); }
  .hero-lead { max-width: 640px; }
  .system-sculpture { aspect-ratio: 1.35; }
  .sculpture-media { inset: 35px 0 75px; }
  .sculpture-media video { object-fit: contain; }
  .hero-services { margin-bottom: 8px; }
  .proof-band-grid { grid-template-columns: 1fr; gap: 8px; }
  .project-card-grid { gap: 45px 26px; }
  .project-card-media { height: 300px; }
  .project-card-media-desktop { padding: 20px; }
  .project-card-copy h3 { font-size: 1.8rem; }
  .project-card-meta { gap: 10px; flex-wrap: wrap; }
  .product-window-grid { grid-template-columns: 1fr; }
  .product-window-copy { max-width: 550px; }
  .broadcast-screen { aspect-ratio: 16 / 10; }
  .project-hero-copy h1 { max-width: 700px; font-size: clamp(3.3rem, 7.6vw, 5rem); }
  .project-hero-facts { max-width: 680px; }
  .project-engineering-wrap { padding-block: 65px; }
  .engineering-header, .engineering-notes { grid-template-columns: 1fr; gap: 25px; }
  .architecture-mobile-hint { display: inline; }
  .tour-hero-grid { gap: 32px; }
  .builder-hero-grid { gap: 36px; }
  .builder-summary { top: 90px; }
}
@media (max-width: 600px) {
  :root { --shell: calc(100% - 40px); --radius-surface: 14px; }
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .nav-row { min-height: 70px; gap: 12px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-controls { gap: 8px; }
  .hero { padding-top: 43px; padding-bottom: 34px; }
  .hero h1 { font-size: clamp(2.75rem, 11.5vw, 4.4rem); margin-bottom: 24px; }
  .hero-copy .system-label { font-size: .6rem; margin-bottom: 24px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { gap: 19px; margin-top: 25px; }
  .hero-actions .button { width: auto; }
  .hero-services { margin-top: 28px; font-size: .7rem; gap: 8px 14px; }
  .system-sculpture { aspect-ratio: 1.03; border-radius: 17px; }
  .system-sculpture::before { inset: 10px; border-radius: 10px; }
  .sculpture-heading { top: 23px; left: 22px; right: 22px; }
  .sculpture-heading span { font-size: .57rem; }
  .sculpture-legend { bottom: 22px; left: 22px; right: 22px; gap: 10px; padding-top: 12px; }
  .sculpture-legend span { font-size: .68rem; }
  .sculpture-legend small { font-size: .54rem; }
  .motion-toggle { bottom: 94px; right: 20px; }
  .proof-band-grid { padding-block: 23px; }
  .proof-band p:last-child { font-size: .84rem; }
  .project-index-heading { margin-bottom: 34px; }
  .project-card-grid { grid-template-columns: 1fr; gap: 43px; }
  .project-card-meta { flex-wrap: nowrap; padding-bottom: 13px; font-size: .59rem; }
  .project-card-media { height: 300px; }
  .project-card-copy { padding-top: 22px; }
  .project-card-copy h3 { font-size: 2rem; }
  .project-card-copy > p { font-size: .92rem; }
  .project-card-tags { gap: 7px 15px; margin-bottom: 19px; }
  .product-window-section { padding-top: 0; }
  .product-window-grid { padding: 27px 19px; gap: 32px; border-radius: 14px; }
  .broadcast-caption span:last-child { display: none; }
  .broadcast-controls { gap: 5px; flex-wrap: wrap; }
  .broadcast-channels { gap: 0; }
  .broadcast-toggle, .broadcast-channels button { min-width: 40px; padding: 6px; }
  .broadcast-hud { font-size: .43rem; }
  .broadcast-scene figcaption strong { font-size: .67rem; }
  .broadcast-scene figcaption span { font-size: .54rem; }
  .broadcast-note { font-size: .67rem; }
  .builder-teaser h2, .contact h2 { font-size: 2.65rem; }
  .method-intro > p:last-child { font-size: 1rem; }
  .capability-list > li { padding-block: 21px; }
  .mcp-copy h2 { font-size: 2.5rem; }
  .project-page-hero { padding-block: 28px 58px; }
  .case-breadcrumb, .tour-hero .case-breadcrumb { margin-bottom: 35px; flex-wrap: wrap; }
  .project-hero-copy h1 { font-size: clamp(2.75rem, 10.4vw, 3.8rem); }
  .project-hero-lead { font-size: 1rem; }
  .project-hero-facts > div { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .project-hero-facts dt { font-size: .6rem; }
  .project-hero-facts dd { font-size: .83rem; }
  .architecture-scroll { border-radius: 10px; }
  .architecture-artifact figcaption { font-size: .8rem; }
  .architecture-actions { gap: 6px; align-items: start; flex-direction: column; }
  .architecture-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .architecture-dialog-header { padding: 9px 12px; }
  .architecture-dialog-header p { font-size: .8rem; }
  .architecture-dialog-body { max-height: calc(100dvh - 84px); }
  .engineering-principles { grid-template-columns: 1fr; }
  .engineering-principle, .engineering-principle + .engineering-principle { padding: 24px 0; border-right: 0; border-bottom: 1px solid #334b3e; }
  .engineering-principle span { margin-bottom: 13px; }
  .project-pagination a { min-height: 130px; }
  .project-pagination span { font-size: .61rem; }
  .tour-hero { padding-block: 28px 58px; }
  .tour-hero h1 { font-size: clamp(2.6rem, 10.2vw, 3.8rem); }
  .tour-hero-grid { gap: 25px; }
  .builder-hero { padding-block: 45px 60px; }
  .builder-hero h1 { font-size: clamp(2.9rem, 10.5vw, 4rem); }
  .builder-base-card { padding: 26px; }
  .builder-summary { position: static; }
  .builder-module-copy strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .broadcast-scene, .broadcast-shot, .broadcast-phone { transform: none !important; }
}
@media print {
  .motion-toggle, .architecture-actions, .architecture-dialog { display: none !important; }
  .architecture-scroll img { min-width: 0; }
}

/* A project-specific Blender sequence connects learning material and flashcards. */
.learning-build-section { background: var(--mint); border-block: 1px solid var(--line); }
.learning-build-grid { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(35px, 6vw, 88px); }
.learning-motion { min-width: 0; margin: 0; }
.learning-motion-stage { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #0b1714; border-radius: 18px; border: 1px solid #385442; }
.learning-motion video { display: block; width: 100%; height: 100%; object-fit: contain; }
.learning-motion .motion-toggle { bottom: 20px; right: 20px; }
.learning-motion figcaption { margin-top: 13px; color: var(--ink-soft); font-size: .74rem; line-height: 1.6; }
.learning-build-copy > p:not(.system-label) { max-width: 540px; color: var(--ink-soft); font-size: 1rem; }
.learning-build-copy h2 { font-size: clamp(2.5rem, 4.4vw, 4.4rem); }
.development-ledger { margin: 28px 0 16px; border-top: 1px solid var(--line); }
.development-ledger > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.development-ledger dt { color: var(--ink-soft); font-size: .8rem; }
.development-ledger dd { color: var(--ink); font-size: 1.18rem; font-weight: 650; }
.learning-build-copy > .development-note { font-size: .78rem !important; }
.learning-build-copy > .text-link { margin-top: 16px; font-size: .88rem; }
@media (max-width: 860px) { .learning-build-grid { grid-template-columns: 1fr; gap: 38px; } .learning-motion { max-width: 650px; width: 100%; } }
@media (max-width: 600px) { .learning-motion-stage { border-radius: 12px; } .learning-build-copy h2 { font-size: 2.55rem; } .learning-motion figcaption { font-size: .68rem; } }

/* Black page surfaces with neutral panels in dark mode. */
:root[data-theme="dark"] :is(.builder-teaser, .mcp-section, .project-engineering-wrap) {
  background: var(--panel-ink);
}
:root[data-theme="dark"] :is(.system-sculpture, .learning-motion-stage, .architecture-scroll, .architecture-dialog, .architecture-dialog-header) {
  background: var(--panel-ink);
  border-color: var(--line);
}
:root[data-theme="dark"] :is(.motion-toggle, .architecture-zoom, .architecture-dialog-close) {
  background: var(--mint-strong);
  border-color: var(--line-dark);
}
:root[data-theme="dark"] :is(.motion-toggle, .architecture-zoom, .architecture-dialog-close):hover {
  background: #2a2a2a;
}

:root[data-theme="dark"] body { background: #000000; }

/* Show the Blender render on its own. The asset itself remains operable. */
#start .system-sculpture-bare {
  aspect-ratio: 5 / 4;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#start .system-sculpture-bare::before { content: none; }
#start .system-sculpture-bare .sculpture-media { position: static; display: block; }
#start .system-sculpture-bare video { display: block; width: 100%; height: auto; }
#start .motion-toggle-surface,
#start .motion-toggle-surface:hover {
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
#start .motion-toggle-surface:focus-visible { outline: 2px solid var(--green-text); outline-offset: -4px; }

/* Each project occupies the full content width, with complete source images. */
#projekte .project-card-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(72px, 9vw, 128px); }
#projekte .project-card { min-width: 0; padding-top: 0; }
#projekte .project-card-link { display: block; }
#projekte .project-card-meta { align-items: baseline; padding-bottom: 22px; }
#projekte .project-card-meta span:last-child { font-size: clamp(22px, 2.2vw, 32px); }
#projekte .project-card-media-desktop { height: auto; padding: clamp(12px, 3vw, 44px); }
#projekte .project-card-media-desktop .project-image-frame { height: auto; aspect-ratio: auto; }
#projekte .project-card-media-desktop img { display: block; width: 100%; height: auto; object-fit: contain; transform: none; }
#projekte .project-card-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px 8%; padding-top: 32px; }
#projekte .project-card-copy h3 { max-width: 650px; margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; }
#projekte .project-card-description { min-width: 0; }
#projekte .project-card-description p { max-width: 54ch; margin: 0 0 22px; color: var(--ink-soft); font-size: 1rem; }
#projekte .project-card-description .project-duration { color: var(--green-text); font-size: .82rem; }
#projekte .project-card-tags { margin: 24px 0 0; }
#projekte .project-card-cta { grid-column: 1 / -1; margin: 0; padding-block: 20px; }
#projekte .project-card-media-phone { height: auto; min-height: 0; padding: clamp(24px, 4vw, 56px); gap: 28px; place-items: center; }
#projekte .project-card-phone-pair { width: 100%; height: auto; gap: clamp(16px, 5vw, 70px); align-items: center; }
#projekte .project-card-phone-pair .project-image-frame { width: min(34%, 290px); height: auto; flex-shrink: 0; border-radius: 22px; }
#projekte .project-card-phone-pair .project-image-frame:last-child { transform: none; }
#projekte .project-card-phone-pair img { display: block; width: 100%; height: auto; }
#projekte .project-card-media-phone figcaption { position: static; padding: 0; background: transparent; border: 0; color: var(--ink-soft); font-size: .7rem; }
@media (max-width: 760px) {
  #projekte .project-card-copy { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 24px; }
  #projekte .project-card-copy h3 { font-size: clamp(28px, 6vw, 40px); }
  #projekte .project-card-meta { padding-bottom: 16px; }
  #projekte .project-card-meta span:first-child { font-size: .6rem; }
  #projekte .project-card-description p { font-size: .95rem; }
  #projekte .project-card-phone-pair .project-image-frame { width: 44%; border-width: 2px; border-radius: 14px; }
}

/* The process section follows the foreground colors of its actual surface. */
#arbeitsweise { color: var(--ink); background: var(--mint); }
#arbeitsweise :is(h2, h3) { color: var(--ink); }
#arbeitsweise :is(.method-intro > p:last-child, .method-steps p) { color: var(--ink-soft); }
#arbeitsweise :is(.system-label, .step-number) { color: var(--green-text); }
#arbeitsweise .method-steps li { border-color: var(--line); border-top-color: var(--green-text); }
#arbeitsweise .method-steps li::before { background: var(--mint); border-color: var(--green-text); }
@media (min-width: 861px) and (max-width: 1100px) {
  .primary-nav { gap: 14px; }
  .primary-nav > a[href$="#kontakt"]:not(.button) { display: none; }
}

.primary-nav > a[aria-current="page"] { color: var(--green-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* Detailed architecture images, September 2026. */
.architecture-artifact .architecture-downloads {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
}
.architecture-artifact .architecture-downloads a {
  min-height: 44px; overflow-wrap: anywhere;
}
/* The dense source diagrams need their logical width in the enlarged view.
   1000px reduced a 1560px diagram's labels to less than two thirds of their size. */
.architecture-dialog[open] {
  display: flex; flex-direction: column;
  height: min(1100px, calc(100dvh - 40px));
}
.architecture-dialog-header { flex: 0 0 auto; }
.architecture-dialog-body {
  flex: 1 1 auto; min-height: 0; max-height: none;
  overflow: auto; overscroll-behavior: contain;
}
.architecture-dialog-body img {
  display: block;
  width: max(100%, var(--architecture-logical-width, 1560px));
  min-width: var(--architecture-logical-width, 1560px);
  max-width: none; height: auto;
}
@media (max-width: 600px) {
  .architecture-dialog[open] { height: calc(100dvh - 16px); }
  .architecture-dialog-header { gap: 12px; }
  .architecture-dialog-close { flex-shrink: 0; }
}
@media print { .architecture-dialog[open] { display: none !important; } }
/* End detailed architecture images. */


/* Project planner entry in direct contact. */
.contact-planner-hint { margin: 28px 0; padding: 24px; border: 1px solid var(--line); border-left: 3px solid var(--green-text); border-radius: 10px; background: var(--mint); }
.contact-planner-hint .system-label { margin: 0 0 14px; }
.contact-planner-hint h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.035em; }
.contact-intro .contact-planner-hint p:not(.system-label) { margin: 0 0 20px; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }
.contact-planner-hint .button { width: 100%; gap: 12px; text-align: left; }
.contact-planner-hint small { display: block; margin-top: 14px; color: var(--ink-soft); font-size: .76rem; line-height: 1.6; }
@media(max-width: 600px) { .contact-planner-hint { padding: 20px; } }

/* Preserve the registered product spelling in editorial labels. */
.brand-name { text-transform: none; }

/* Pfeile als echte Symbole statt Schriftzeichen. Textpfeile wie U+2197
   haben nicht jede Schrift; auf dem Telefon springt der Browser dann in
   eine Ersatzschrift, und der Pfeil sitzt schief und in falscher Groesse
   neben der Beschriftung. Das SVG erbt Farbe und Schriftgroesse. */
.icon-arrow { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
