/* DDC — practical robotics, clearly presented. */
:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-deep: #eae9e1;
  --white: #fffefa;
  --ink: #182622;
  --muted: #5c6861;
  --line: #d1d5c9;
  --accent: #d7ec71;
  --accent-hover: #c9df60;
  --dark-line: #3d4941;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, input, select, textarea, button { font-family: var(--sans); }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .6; cursor: wait; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { height: auto; }
p, h1, h2, h3, h4, ul, ol { margin-top: 0; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
h1 { margin-bottom: 28px; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.035; overflow-wrap: break-word; hyphens: auto; }
h2 { margin-bottom: 22px; font-size: clamp(32px, 4vw, 48px); }
h3 { margin-bottom: 16px; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.18; }
h4 { font-size: 21px; }
strong { font-weight: 600; }
hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #687d22; outline-offset: 5px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.wrap > *, .hero-grid > *, .grid > *, .split-grid > *, .contact-grid > *, .footer-grid > *, .case-layout > *, .form-grid > *, .check-grid > * { min-width: 0; }
.eyebrow, .mini-label, .number, .tag, .pill, .breadcrumb, .brand-caption, .board-head, .board-foot { font-family: var(--mono); font-size: 11px; line-height: 1.5; font-weight: 400; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--muted); }
.eyebrow::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; background: currentColor; }
.lead { max-width: 560px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); }
.micro, .form-note { color: var(--muted); font-size: 13px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 32px 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.45; font-weight: 500; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { background: #31473c; border-color: #31473c; }
.btn.secondary { color: var(--ink); background: transparent; border-color: #aab2a4; }
.btn.secondary:hover { border-color: var(--ink); background: var(--paper-deep); }
.btn.text { color: var(--ink); background: transparent; border-color: transparent; padding-inline: 8px; text-decoration: underline; text-underline-offset: 5px; }
.btn.text:hover { color: #536628; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.tag, .pill { display: inline-block; padding: 5px 9px; border: 1px solid var(--line); letter-spacing: .025em; }
.pill { border-radius: 999px; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); }

/* The header stays spare: identity, routes, one next step. */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; background: var(--ink); color: var(--accent); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: -.045em; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.brand-caption { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .065em; color: var(--muted); }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 25px; }
.main-nav a { padding: 12px 0; font-size: 13px; font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: #31473c; border-color: #31473c; }
.language-switch { display: flex; align-items: center; gap: 2px; }
.language-switch a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 29px; padding: 8px 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-decoration: none; }
.language-switch a.active { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.language-switch a:hover { color: var(--ink); }
.header-actions .btn { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-size: 12px; }

.hero { padding: 56px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.hero-copy { max-width: 630px; }
.hero-copy h1 em { color: #677f37; font-style: normal; }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: center; }
.hero-art > * { width: 100%; }
.hero-art > svg { min-height: 320px; max-height: 560px; }
.hero.compact { padding: 64px 0 72px; }
.hero.compact h1 { max-width: 860px; font-size: clamp(42px, 5.4vw, 68px); }
.hero.compact .lead { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* HTML schematics remain legible at phone width. */
.flow-board { position: relative; width: 100%; overflow: hidden; border: 1px solid #415244; background: var(--ink); color: var(--paper); }
.board-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 17px 22px; border-bottom: 1px solid var(--dark-line); font-size: 10px; color: #c3ceb8; }
.board-head .pill { border-color: #6c7e51; color: var(--accent); font-size: 9px; }
.engineering-art { width: 100%; height: auto; max-height: 320px; aspect-ratio: 560 / 360; }
.flow-line { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 22px 25px; }
.flow-line > span[aria-hidden] { color: #9eaf8d; font-size: 14px; text-align: center; }
.flow-node { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 6px; border: 1px solid #61754c; color: #d9e1cd; font-family: var(--mono); font-size: 10px; line-height: 1.4; text-align: center; }
.flow-node:last-child { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.board-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 15px 22px; border-top: 1px solid var(--dark-line); font-size: 9px; color: #a4b397; }
.board-foot .pill { padding: 3px 7px; border-color: #6c7e51; font-size: 9px; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip-item { padding: 26px 30px; border-right: 1px solid var(--line); }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { padding-right: 0; border-right: 0; }
.strip-item strong { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.strip-item span { display: block; max-width: 330px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.section { padding: 100px 0; }
.section.alt { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 810px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { max-width: 680px; color: var(--muted); font-size: 18px; }
.section.dark .eyebrow, .section.dark .section-head p, .section.dark .micro { color: #bdc8b8; }
.section.dark h2 em { font-style: normal; color: var(--accent); }
.section.dark .btn { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.section.dark .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.section.dark .btn.secondary { color: var(--paper); background: transparent; border-color: #6e7c6b; }
.section.dark .btn.secondary:hover { background: #2b3d30; }
.section.dark .text-link { color: var(--accent); }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 25px; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); background: var(--white); }
.card .number { margin-bottom: 42px; color: var(--muted); }
.card p { color: var(--muted); font-size: 15px; }
.card .text-link { margin-top: auto; padding-top: 20px; }
.card .tag { margin-bottom: 18px; }
.card ul { padding-left: 18px; font-size: 15px; color: var(--muted); }
.card li + li { margin-top: 7px; }
.section.dark .card { border-color: var(--dark-line); background: #203028; }
.section.dark .card p, .section.dark .card ul, .section.dark .card .number { color: #c2ccbd; }
.section.dark .tag { color: #c2ccbd; border-color: #57654f; }
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.project-image { width: 100%; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); object-fit: cover; object-position: center; background: #e2e5db; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.project-body .tag { margin-bottom: 22px; font-size: 9px; }
.project-body > .mini-label { margin-bottom: 17px; font-size: 10px; color: var(--muted); }
.project-body h3 { font-size: 26px; }
.project-body p { color: var(--muted); font-size: 15px; }
.project-body .text-link { margin-top: auto; padding-top: 16px; }
.vision-art { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; background: #20342b; color: #becea8; }
.vision-art > .mini-label { font-size: 9px; }
.vision-frame { position: relative; flex: 1; min-height: 110px; margin: 0 16px; border: 1px solid #586f56; }
.vision-frame::before { position: absolute; content: ''; left: 12%; top: 26%; width: 74%; height: 5px; border-top: 1px solid #819773; border-bottom: 1px solid #819773; }
.vision-frame::after { position: absolute; content: ''; left: 67%; top: 20%; width: 9px; height: 80%; border-left: 1px solid #819773; border-right: 1px solid #819773; transform: skewY(-25deg); }
.vision-box { position: absolute; z-index: 1; left: 20%; top: 47%; width: 27%; height: 32%; border: 1px solid var(--accent); background: #d7ec7110; }
.vision-box::before { position: absolute; content: 'OBJECT / 01'; left: -1px; bottom: calc(100% + 5px); color: var(--accent); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.vision-track { position: absolute; left: 34%; top: 27%; width: 1px; height: 37%; background: #adbf96; }
.vision-track::after { position: absolute; content: ''; left: 0; bottom: 0; width: 95px; border-bottom: 1px dashed #b7c68f; transform: rotate(27deg); transform-origin: left; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.split-grid > p { color: var(--muted); font-size: 19px; }
.steps { border-top: 1px solid var(--line); }
.step { position: relative; padding: 27px 0 27px 58px; border-bottom: 1px solid var(--line); }
.step .number { position: absolute; top: 29px; left: 0; color: var(--muted); }
.step h3 { margin-bottom: 10px; font-size: 23px; }
.step p { max-width: 620px; color: var(--muted); font-size: 15px; }
.section.dark .steps, .section.dark .step { border-color: var(--dark-line); }
.section.dark .step p, .section.dark .step .number { color: #c2ccbd; }
.proof-panel { padding: 36px; background: var(--accent); color: var(--ink); }
.proof-panel .eyebrow { color: #485832; }
.proof-panel h3 { font-size: 30px; }
.proof-panel p { font-size: 15px; }
.proof-panel .text-link { margin-top: 24px; }
.status-list { padding: 0; margin-bottom: 0; list-style: none; }
.status-list li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.status-list li::before { position: absolute; content: '↗'; left: 0; color: var(--ink); }
.status-list li:last-child { border-bottom: 0; }
.status-list li strong { color: var(--ink); }
.status-list li strong, .status-list li > span { display: block; }
.status-list li > span { margin-top: 3px; font-size: 13px; }
.proof-panel .status-list li { border-color: #b0c456; color: #3f4d2d; }
.logo-list { display: flex; align-items: center; flex-wrap: wrap; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-list > * { display: flex; align-items: center; justify-content: center; flex: 1 1 180px; min-height: 110px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.logo-list img { max-width: 150px; max-height: 42px; object-fit: contain; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 48px 24px 0; list-style: none; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; content: '+'; top: 20px; right: 7px; font-family: var(--mono); font-size: 25px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details > p, .faq details > div { max-width: 840px; padding: 0 48px 25px 0; margin: 0; color: var(--muted); font-size: 16px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 90px; }
.contact-copy h2 { max-width: 480px; }
.contact-copy p { max-width: 450px; color: var(--muted); }
.contact-copy > a { display: inline-block; margin-top: 12px; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-form, .check-form { position: relative; padding: 32px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid > .full, .form-grid > .wide { grid-column: 1 / -1; }
label, .check-field { display: block; margin-bottom: 20px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.form-grid label { margin-bottom: 0; }
input:not([type='checkbox']):not([type='radio']), textarea, select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px 13px; border: 1px solid #b8c0b1; border-radius: 2px; background: #fcfcf7; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #73806e; opacity: 1; }
input:hover, textarea:hover, select:hover { border-color: #71826a; }
textarea { min-height: 118px; resize: vertical; }
select { padding-right: 30px; }
input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; min-width: 18px; margin: 3px 9px 0 0; vertical-align: top; accent-color: var(--ink); }
label:has(input[type='checkbox']), label:has(input[type='radio']) { display: flex; align-items: flex-start; gap: 0; margin-top: 20px; font-weight: 400; font-size: 12px; }
.contact-form > label { margin-top: 20px; }
.form-note { margin-top: 16px; margin-bottom: 0; font-size: 12px; }
.form-note a { text-decoration: underline; }
.contact-form .form-note + .btn { margin-top: 22px; }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.success, .form-status[data-state='success'] { padding: 14px 16px; background: #e7efce; color: #30441d; border: 1px solid #b1c679; }
.form-status.error, .form-status[data-state='error'] { padding: 14px 16px; background: #f9e8de; color: #843a29; border: 1px solid #d9a68f; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.section.dark .contact-copy p { color: #bdc8b8; }
.section.dark .contact-form .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.section.dark .contact-form .btn:hover { background: #31473c; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.check-field { margin-bottom: 0; }
.check-field > .number { display: block; margin-bottom: 9px; color: var(--muted); }
.check-form .actions { margin-bottom: 0; }
.check-result { margin-top: 24px; padding: 30px; border: 1px solid #a9bb6b; background: #edf2d5; }
.check-result h3 { font-size: 27px; }
.check-result p, .check-result li { font-size: 15px; }
.check-result ul { padding-left: 20px; }

.case-layout { display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.case-meta { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.case-meta .eyebrow, .case-meta .mini-label { margin: 22px 0 7px; }
.case-meta .eyebrow:first-child { margin-top: 0; }
.case-meta strong { display: block; color: var(--ink); }
.case-meta dl { margin: 0; }
.case-meta dt { margin-top: 20px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.case-meta dd { margin: 6px 0 0; color: var(--ink); }
.case-body { font-size: 18px; }
.case-body h2 { margin-top: 46px; font-size: 34px; }
.case-body h2:first-child { margin-top: 0; }
.case-body h3 { margin-top: 30px; }
.case-body p, .case-body li { color: var(--muted); }
.case-body li + li { margin-top: 8px; }
.case-body img { width: 100%; margin: 34px 0; border: 1px solid var(--line); }
.case-body .proof-panel { margin-top: 34px; }
.case-body .proof-panel p { color: var(--ink); }

.site-footer { padding: 56px 0 0; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 50px; }
.footer-brand .brand { color: var(--paper); margin-bottom: 21px; }
.footer-brand .brand-mark { border: 1px solid #687c59; }
.footer-brand .brand-caption { color: #acb9a5; }
.footer-brand p { max-width: 300px; color: #acb9a5; font-size: 14px; }
.footer-brand > a:not(.brand) { font-size: 14px; overflow-wrap: anywhere; }
.footer-links, .footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer-links > strong, .footer-legal > strong, .footer-links .mini-label, .footer-legal .mini-label { margin-bottom: 10px; color: #9eaf93; font-family: var(--mono); font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: .075em; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal p { color: #bdc8b8; font-size: 13px; line-height: 1.75; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--dark-line); color: #aebca5; font-family: var(--mono); font-size: 10px; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

@media (min-width: 1500px) {
  .hero { padding-top: 76px; padding-bottom: 76px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 18px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .brand-caption { font-size: 8px; }
  .hero-grid { gap: 40px; }
  .hero { padding-top: 48px; }
  .flow-line { padding: 10px 18px 22px; gap: 6px; }
  .card { padding: 26px; }
  .split-grid, .contact-grid, .case-layout { gap: 44px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 82px; gap: 0; padding-block: 16px; }
  .header-actions { margin-right: 0; }
  .menu-toggle { display: block; }
  .main-nav { display: none; order: 4; flex: 1 0 100%; justify-content: flex-start; align-items: stretch; flex-wrap: wrap; gap: 0 28px; padding-top: 18px; margin-top: 16px; border-top: 1px solid var(--line); }
  .main-nav a { min-height: 44px; font-size: 14px; }
  .site-header.nav-open .main-nav { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; }
  h1 { font-size: clamp(42px, 5.7vw, 58px); }
  .flow-line { padding: 8px 14px 20px; gap: 5px; }
  .flow-node { padding: 8px 4px; font-size: 9px; }
  .board-head, .board-foot { padding-inline: 18px; }
  .section { padding: 78px 0; }
  .grid { gap: 18px; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid.three > .project-card:last-child:nth-child(odd) { grid-column: auto; }
  .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 30px; }
  .contact-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .strip-item { padding: 23px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 40px); }
  .header-cta { display: none; }
  body { font-size: 16px; }
  h1 { font-size: clamp(44px, 8.7vw, 62px); }
  h2 { font-size: 36px; }
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { max-width: 570px; }
  .hero-art { max-width: 550px; }
  .hero-art > svg { min-height: 0; }
  .hero.compact { padding: 40px 0 48px; }
  .hero.compact h1 { font-size: clamp(41px, 8vw, 56px); }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .lead { font-size: 18px; }
  .actions { margin-top: 26px; }
  .flow-line { padding: 10px 24px 24px; gap: 10px; }
  .flow-node { padding: 10px 7px; font-size: 11px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item, .strip-item:first-child, .strip-item:last-child { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; padding: 21px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .strip-item strong { font-size: 15px; margin: 0; }
  .strip-item span { font-size: 12px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 16px; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .grid.three > :last-child:nth-child(odd), .grid.three > .project-card:last-child:nth-child(odd) { grid-column: auto; }
  .card { padding: 28px; }
  .card .number { margin-bottom: 28px; }
  .card h3 { font-size: 27px; }
  .project-image { aspect-ratio: 16 / 9; }
  .project-body { padding: 26px; }
  .vision-art { padding: 22px; gap: 14px; }
  .vision-frame { min-height: 95px; }
  .split-grid, .contact-grid, .case-layout { grid-template-columns: 1fr; gap: 32px; }
  .split-grid > p { font-size: 17px; }
  .step { padding-left: 44px; }
  .proof-panel { padding: 28px; }
  .contact-copy h2 { max-width: 540px; }
  .contact-form, .check-form { padding: 26px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .check-result { padding: 24px; }
  .contact-form .btn, .check-form .btn { width: 100%; }
  .faq summary { padding-block: 21px; font-size: 18px; }
  .faq details > p, .faq details > div { padding-right: 18px; font-size: 15px; }
  .case-body { font-size: 16px; }
  .case-body h2 { font-size: 30px; }
  .case-meta { display: block; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .case-meta dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .case-meta dt { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 380px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 33px; flex-basis: 33px; font-size: 11px; }
  .brand-name { font-size: 21px; }
  .brand-caption { max-width: 114px; font-size: 7px; line-height: 1.35; }
  .header-actions { margin-right: 0; gap: 7px; }
  .header-actions .btn { padding-inline: 10px; font-size: 10px; }
  .menu-toggle { min-width: 44px; padding-inline: 7px; font-size: 11px; }
  h1 { font-size: 44px; letter-spacing: -.05em; overflow-wrap: anywhere; hyphens: auto; }
  h2 { font-size: 32px; }
  .hero h1 { margin-bottom: 22px; }
  .hero.compact h1 { font-size: 39px; }
  .actions { align-items: stretch; gap: 10px; }
  .actions .btn { flex: 1 1 auto; padding-inline: 16px; font-size: 13px; }
  .actions .btn.text { flex: 0 1 auto; }
  .hero .actions .btn { width: 100%; }
  .flow-line { padding: 7px 15px 18px; gap: 6px; }
  .board-head, .board-foot { font-size: 9px; padding-inline: 16px; }
  .flow-node { padding: 8px 4px; font-size: 9px; }
  .vision-art { padding: 18px; gap: 10px; }
  .vision-frame { margin-inline: 8px; min-height: 85px; }
  .strip-item, .strip-item:first-child, .strip-item:last-child { gap: 16px; }
  .card, .project-body, .proof-panel, .contact-form, .check-form { padding: 23px; }
  .card h3 { font-size: 25px; }
  .check-result { padding: 20px; }
  .footer-grid { column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .contact-form, .menu-toggle, .actions { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { width: 100%; }
  .hero, .section { padding: 25px 0; }
  .hero-grid, .split-grid, .contact-grid, .case-layout { display: block; }
  .hero-art { max-width: 420px; margin-top: 24px; }
  h1 { font-size: 36pt; }
  h2 { font-size: 24pt; }
  .section.dark { background: #fff; color: #000; }
  .card, .project-card, .flow-board, .step { break-inside: avoid; }
  .faq details > p { display: block; }
}
/* German compound words must fit narrow screens. */
h1, h2, h3 { overflow-wrap:anywhere; hyphens:auto; }

/* All supported languages remain available on the current page. */
.language-switch select { width: 128px; min-height: 44px; padding: 9px 22px 9px 10px; border: 1px solid var(--line); border-radius: 2px; background-color: var(--paper); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.language-switch select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.legal-copy { max-width: 840px; margin-inline: auto; }
.legal-copy h1 { font-size: clamp(36px,5vw,64px); margin-bottom: 24px; }
.legal-copy h2 { font-size: 25px; margin-top: 40px; margin-bottom: 16px; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
@media (max-width: 1190px) {
 .header-inner { flex-wrap: wrap; gap: 0; padding-block: 16px; }
 .menu-toggle { display: block; }
 .main-nav { display: none; order: 4; flex: 1 0 100%; justify-content: flex-start; align-items: stretch; flex-wrap: wrap; gap: 0 28px; padding-top: 18px; margin-top: 16px; border-top: 1px solid var(--line); }
 .main-nav a { min-height: 44px; font-size: 14px; }
 .site-header.nav-open .main-nav { display: flex; }
}
@media (max-width: 600px) {
 .header-cta { display: none; }
 .brand-caption { display: none; }
 .language-switch select { width: 123px; }
}
@media (max-width: 360px) {
 .language-switch select { width: 112px; }
 .header-actions { gap: 5px; }
}
@media (max-width: 420px) {
 html[lang="en"] h1, html[lang="ru"] h1 { font-size: 40px; hyphens: none; }
}
