/* AI-only synthesis: The Passage (01) + Systems in Motion (02).
   Artwork moves; reading and contact remain visible in every state. */
html:has(body.ai-page) { --ai-nav-clearance: calc(64px + env(safe-area-inset-top, 0px)); scroll-padding-top: var(--ai-nav-clearance); }
body.ai-page {
  --ai-navy: #0A1628; --ai-lilac: #D6D4ED; --ai-forest: #1B3A32; --ai-olive: #BDB414;
  --ai-gutter: clamp(24px, 5.2vw, 88px); --ai-rule: rgb(10 22 40 / 26%);
  margin: 0; padding: 0; background: var(--ai-lilac); color: var(--ai-navy); font-family: Inter, "Inter Fallback", sans-serif;
}
.ai-page *, .ai-page *::before, .ai-page *::after { box-sizing: border-box; }
.ai-page main { margin: 0; padding: 0; outline: none; }
.ai-page :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; color: inherit; }
.ai-page :is(h1, h2) { font-family: Inter, "Inter Fallback", sans-serif; font-weight: 700; letter-spacing: -.065em; text-wrap: balance; }
.ai-page :is(h1, h2) { padding-bottom: .12em; overflow-wrap: anywhere; }
.ai-page main a { color: inherit; }
/* Rings take the control's own ink (olive on the navy opening, navy on lilac), ahead of the shared site ring. */
.ai-page :is(main, .ai-footer) :is(a, button, summary):focus-visible { outline: 3px solid currentColor !important; outline-offset: 5px; }
.ai-page :is(section, header, footer)[id] { scroll-margin-top: 12px; }
.ai-eyebrow { font: 400 .75rem/1.8 Inter, "Inter Fallback", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.ai-eyebrow-rule { display: flex; align-items: center; gap: 14px; }
.ai-eyebrow-rule::before { content: ""; flex: 0 0 28px; height: 1px; background: currentColor; }

/* One stable bar: dark over the opening, lilac over the reading chapters.
   The shared menu panel retains its existing lilac treatment. */
.ai-page .navbar { position: sticky; top: 0; z-index: 40; border: 0; background: var(--ai-lilac) !important; }
html body.ai-page:not([data-ai-nav="light"]) .navbar { background: var(--ai-navy) !important; color: var(--ai-lilac); --immersive-link-ink: var(--ai-lilac); }
html body.ai-page:not([data-ai-nav="light"]) .navbar :is(.nav-link, .home-nav-monogram, .home-nav-label, .menu-button, .site-nav-icon) { color: var(--ai-lilac) !important; }
html body.ai-page:not([data-ai-nav="light"]) .navbar .nav-logo-wrap img { filter: brightness(0) saturate(100%) invert(92%) sepia(8%) saturate(655%) hue-rotate(196deg) brightness(98%) contrast(88%) !important; }
.ai-lang { display: inline-flex; align-items: center; gap: 2px; }
.ai-lang > span { color: inherit; opacity: .74; font-size: .75rem; }
.ai-lang .nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ai-page:not([data-ai-nav="light"]) .ai-lang { color: var(--ai-lilac); }

/* The opening is an environment, not an image inside a card. */
.ai-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: calc(100svh - var(--ai-nav-clearance)); overflow: hidden; background: var(--ai-navy); color: var(--ai-lilac); }
.ai-hero-copy { position: relative; z-index: 2; width: 68%; padding: clamp(48px, 8svh, 100px) var(--ai-gutter) 112px; }
.ai-hero-kicker { margin-bottom: 30px !important; }
.ai-hero h1 { max-width: 13ch; font-size: clamp(3.5rem, 6.1vw, 6.5rem); line-height: .96; overflow-wrap: normal; }
/* Hungarian and German copy runs longer: one smaller scale for both, so the three heroes of one template keep the same line count (2026-10-23). */
html:is([lang="hu"], [lang="de"]) .ai-hero h1 { font-size: clamp(3rem, 5.1vw, 5.5rem); }
.ai-hero-dek { max-width: 28ch; margin-top: 22px; font-size: clamp(1.25rem, 1.85vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.3; text-wrap: balance; }
.ai-hero-services { max-width: 43ch; margin-top: 18px; font-size: clamp(.875rem, 1.1vw, 1.0625rem); line-height: 1.55; }
.ai-page .footer-email.ai-cta-underline { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; height: auto; max-width: 100%; margin: 30px 0 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--ai-olive); font: 500 clamp(1.125rem, 1.5vw, 1.375rem)/1.3 Inter, "Inter Fallback", sans-serif; letter-spacing: -.02em; white-space: normal; text-align: left; text-decoration: none; cursor: pointer; }
.ai-page .footer-email.ai-cta-underline > span { font-size: 1.15em; line-height: 1; }
.ai-page .footer-email.ai-cta-underline::before { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: currentColor; transform-origin: left; }
.ai-page .footer-email.ai-cta-underline:hover { color: var(--ai-lilac); background: transparent; }
.ai-link-plain { display: flex; align-items: center; min-height: 44px; width: fit-content; font: 400 .875rem/1.4 Inter, "Inter Fallback", sans-serif; text-decoration: underline; text-underline-offset: 5px; }
.ai-hero-explore { margin-top: 10px !important; }
.ai-hero-foot { position: absolute; left: var(--ai-gutter); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 24px; width: 38%; }
.ai-hero-foot::after { content: ""; flex: 1; height: 1px; background: rgb(214 212 237 / 30%); }
/* The passage's glass (2026-09-16): the home page's refractive chevron stands in
   the opening on a second stage of hero-scene.js and stays glass throughout:
   it never folds into the flat gate artwork here, and there is no flat drawing
   in reserve (owner: only the glass over the picture). On a desktop the opening
   holds under the sticky bar for 80svh of its track while the object turns; on
   a phone it turns inside its own slot as the slot passes. Without a renderer
   the picture stands alone. */
.ai-hero-track { position: relative; }
[data-ai-glass="pinned"] .ai-hero-track { height: calc(180svh - var(--ai-nav-clearance)); }
[data-ai-glass="pinned"] .ai-hero { position: sticky; top: var(--ai-nav-clearance); height: calc(100svh - var(--ai-nav-clearance)); min-height: 0; }
/* The passage itself stays the visible environment (owner request, 2026-09-16):
   full-bleed behind the copy as the approved opening had it, and the glass
   refracts this very image, so what shows through the object is what stands
   around it. */
.ai-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ai-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 50% 100%; }
.ai-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 22 40 / 40%), transparent 68%); }
[data-ai-motion="on"] .ai-hero-bg img { animation: ai-settle 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ai-settle { from { transform: scale(1.05); } to { transform: none; } }
.ai-hero-art { position: absolute; top: 0; bottom: 0; left: 46%; right: 6%; z-index: 1; pointer-events: none; }
.ai-hero-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
[data-ai-glass="pinned"] .ai-hero-art[data-hero-scene="ready"] .ai-hero-canvas,
[data-ai-glass="slot"] .ai-hero-art[data-hero-scene="ready"] .ai-hero-canvas { opacity: 1; }
[data-ai-glass="off"] .ai-hero-canvas { visibility: hidden; }
[data-ai-motion="on"] .ai-hero .ai-cta-underline::before { animation: ai-draw .8s .4s ease both; }
@keyframes ai-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Preserve the approved photographic rail composition as one piece of artwork. */
.ai-shape { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3vw; padding: clamp(72px, 9vw, 144px) var(--ai-gutter); overflow: hidden; }
.ai-shape-copy { min-width: 0; }
.ai-shape h2 { max-width: 15ch; margin-top: 24px; font-size: clamp(2.375rem, 4.4vw, 4.5rem); line-height: 1; }
.ai-shape-dek { max-width: 36ch; margin-top: 24px; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.5; }
.ai-shape-art { position: relative; width: 115%; margin-left: -5%; aspect-ratio: 730 / 440; pointer-events: none; }
.ai-shape-art img { display: block; width: 100%; height: auto; }

/* All reading rows stay visible. The camera follows the continuous ribbon. */
.ai-pieces { color: var(--ai-navy); background: var(--ai-lilac); }
.ai-pieces-track { position: relative; }
.ai-pieces-stage { position: relative; isolation: isolate; display: grid; align-content: center; gap: clamp(32px, 4svh, 48px); padding: 96px var(--ai-gutter) 64px; overflow: hidden; }
[data-ai-mode="cinematic"] .ai-pieces-track { height: 300svh; }
[data-ai-mode="cinematic"] .ai-pieces-stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.ai-pieces-head { display: grid; grid-template-columns: auto minmax(0, 1.2fr) 1px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.ai-pieces-count { font: 600 clamp(1.5rem, 2vw, 2.125rem)/1 Inter, "Inter Fallback", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.ai-pieces-count span { font-size: 1.35em; }
.ai-pieces h2 { max-width: 14ch; font-size: clamp(2.125rem, 3.6vw, 3.625rem); line-height: 1; }
.ai-pieces-divider { width: 1px; align-self: stretch; background: var(--ai-rule); }
.ai-pieces-intro { display: grid; gap: 8px; }
.ai-pieces-intro p { max-width: 30ch; font-size: clamp(.9375rem, 1.15vw, 1.125rem); line-height: 1.5; }
.ai-pieces-intro strong { font-weight: 600; }
.ai-journey { position: relative; }
.ai-ribbon { position: relative; z-index: 2; margin: 0 calc(-1 * var(--ai-gutter)) 30px; padding: 22px 0; pointer-events: none; }
.ai-ribbon-strip { position: relative; width: 100%; aspect-ratio: 7.5; transform-origin: center; }
.ai-ribbon-strip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; mask-image: linear-gradient(transparent, #000 4%, #000 92%, transparent); }
.ai-ribbon-label { position: absolute; font: 400 .6875rem/1 Inter, "Inter Fallback", sans-serif; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; padding: 0; background: transparent; }
.ai-ribbon-label-insight { left: 15%; top: 52.5%; transform: translate(-50%, -50%) rotate(10deg); color: #F4F3FB; }
.ai-ribbon-label-integration { left: 48%; top: 44%; transform: translate(-50%, -50%) rotate(-6deg); color: var(--ai-navy); }
.ai-ribbon-label-impact { left: 84%; top: 44%; transform: translate(-50%, -50%) rotate(9deg); color: var(--ai-navy); }
.ai-pieces-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; }
.ai-pieces-steps li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 22px clamp(16px, 2vw, 32px) 0; border-top: 1px solid var(--ai-rule); border-left: 1px solid var(--ai-rule); }
.ai-pieces-steps li:first-child { padding-left: 0; border-left: 0; }
.ai-pieces-steps li::before { content: ""; position: absolute; top: -2px; height: 3px; left: 0; right: 0; background: var(--ai-forest); transform: scaleX(0); transform-origin: left; }
[data-ai-active="1"] [data-ai-step="1"]::before, [data-ai-active="2"] [data-ai-step="2"]::before, [data-ai-active="3"] [data-ai-step="3"]::before { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) { .ai-pieces-steps li::before { transition: transform .35s cubic-bezier(.45,0,.55,1); } }
.ai-step-no { padding-top: 3px; }
.ai-pieces-steps h3 { font: 600 clamp(1.125rem, 1.4vw, 1.375rem)/1.25 Inter, "Inter Fallback", sans-serif; letter-spacing: -.03em; }
.ai-pieces-steps p { margin-top: 12px; max-width: 36ch; font-size: clamp(.9375rem, 1.05vw, 1.0625rem); line-height: 1.55; }

/* Practical detail follows the camera chapter in unpinned, readable rows. */
.ai-workflow { padding: clamp(64px, 8vw, 120px) var(--ai-gutter); border-top: 1px solid var(--ai-rule); }
.ai-workflow-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px clamp(32px, 6vw, 96px); }
.ai-workflow-intro > .ai-eyebrow { grid-column: 1 / -1; }
.ai-workflow-intro h2 { grid-row: span 2; max-width: 16ch; font-size: clamp(2.25rem, 3.8vw, 3.875rem); line-height: 1.05; }
.ai-workflow-intro > p:not(.ai-eyebrow) { max-width: 56ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; overflow-wrap: anywhere; }
.ai-workflow-steps { list-style: none; padding: 0; margin-top: 48px !important; border-top: 1px solid var(--ai-rule); }
.ai-workflow-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); padding: 28px 0; border-bottom: 1px solid var(--ai-rule); }
.ai-workflow-steps > li > .ai-eyebrow { padding-top: 4px; }
.ai-workflow-steps > li > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 14px clamp(24px, 4vw, 64px); }
.ai-workflow-steps h3 { grid-row: span 2; max-width: 22ch; font: 600 clamp(1.375rem, 2vw, 1.875rem)/1.2 Inter, "Inter Fallback", sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.ai-workflow-steps p { max-width: 64ch; font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.ai-workflow-steps .ai-workflow-output { font-size: .9375rem; }
.ai-workflow-output strong { font-weight: 600; }
/* A chapter may close with the project contact capsule, and the reference
   chapter carries the related articles in the same reading rows (2026-10-22). */
.ai-chapter-cta { margin-top: 40px; }
/* Enlarged text wraps inside the capsule instead of leaving the viewport. */
.ai-chapter-cta > .hero-work-link { max-width: 100%; height: auto; margin-top: 0; padding-block: 10px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.ai-related .ai-workflow-intro { margin-top: clamp(56px, 7vw, 96px); }

/* The same quiet, geometric list language as the portfolio. One proof per row. */
.ai-related { padding: clamp(64px, 8vw, 120px) var(--ai-gutter); }
.ai-related-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; margin-bottom: 48px; }
.ai-related h2 { max-width: 17ch; font-size: clamp(2.125rem, 3.5vw, 3.5rem); line-height: 1.05; }
.ai-related-context { max-width: 62ch; margin: 0 0 32px; font-size: 1rem; line-height: 1.65; }
.ai-related-context p + p { margin-top: 18px; }
.ai-related-context a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ai-related-context-after { margin: 32px 0 0; }
.ai-related-list { list-style: none; padding: 0; border-top: 1px solid var(--ai-rule); }
.ai-related-list li { border-bottom: 1px solid var(--ai-rule); }
.ai-related-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 24px 0; text-decoration: none; }
.ai-related-list a:hover > span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.ai-related-list img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
.ai-related-list span { display: block; min-width: 0; font: 600 clamp(1.625rem, 3vw, 3rem)/1.12 Inter, "Inter Fallback", sans-serif; letter-spacing: -.05em; }
.ai-related-list small { display: block; max-width: 44ch; margin-top: 12px; font: 400 clamp(.9375rem, 1.1vw, 1.125rem)/1.5 Inter, "Inter Fallback", sans-serif; letter-spacing: -.01em; text-decoration: none; }

/* The gate owns a bounded frame; a long biography never stretches its crop. */
.ai-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(40px, 6vw, 100px); padding: 64px var(--ai-gutter) 112px; }
.ai-start-art { position: relative; aspect-ratio: 1; overflow: hidden; pointer-events: none; }
.ai-start-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ai-start h2 { max-width: 14ch; font-size: clamp(2.5rem, 4.2vw, 4.25rem); line-height: 1; }
.ai-start-bring { max-width: 45ch; margin-top: 24px; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; }
.ai-who { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ai-rule); }
.ai-who-text { max-width: 62ch; margin-top: 18px; font-size: 1rem; line-height: 1.65; }
.ai-who-text a { display: inline-block; padding: 10px 0; margin: -10px 0; text-decoration: underline; text-underline-offset: 5px; }
.ai-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 6vw; padding: 80px var(--ai-gutter) 100px; border-top: 1px solid var(--ai-rule); }
.ai-faq h2 { max-width: 12ch; margin-top: 24px; font-size: clamp(2.25rem, 3.6vw, 3.625rem); line-height: 1.05; }
.ai-faq-list { border-top: 1px solid var(--ai-rule); }
.ai-faq details { border-bottom: 1px solid var(--ai-rule); }
.ai-faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 22px 2px; cursor: pointer; list-style: none; }
.ai-faq summary::-webkit-details-marker { display: none; }
.ai-faq summary::after { content: "+"; flex: 0 0 20px; font: 400 1.625rem/1 Inter, "Inter Fallback", sans-serif; }
.ai-faq details[open] summary::after { content: "−"; }
.ai-faq h3 { font: 500 clamp(1.0625rem, 1.35vw, 1.375rem)/1.4 Inter, "Inter Fallback", sans-serif; letter-spacing: -.025em; }
.ai-faq details p { max-width: 60ch; padding: 0 36px 28px 2px; font-size: 1rem; line-height: 1.65; }
.ai-start-lang { grid-column: 2; font-size: .875rem; }
.ai-start-lang a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }

/* The selected Passage closing. Utilities sit on the scene's quiet floor. */
.ai-page .footer-section.ai-footer { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: min(940px, 105svh); padding: 48px var(--ai-gutter) 0; overflow: hidden; background: var(--ai-navy); color: var(--ai-lilac); border: 0; border-radius: 0; }
.ai-footer-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.ai-footer-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.ai-footer-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 22 40 / 95%), transparent 30%), linear-gradient(90deg, rgb(10 22 40 / 24%), transparent 75%); }
.ai-footer-content { max-width: 720px; }
.ai-footer-top { display: flex; align-items: center; gap: 32px; margin-bottom: clamp(40px, 7svh, 80px); }
.ai-footer .footer-brand { display: inline-flex; width: auto; min-height: 44px; }
.ai-footer .footer-wordmark { width: 44px; height: auto; filter: brightness(0) saturate(100%) invert(92%) sepia(8%) saturate(655%) hue-rotate(196deg) brightness(98%) contrast(88%); }
.ai-footer h2 { font-size: clamp(3.75rem, 7.4vw, 7.5rem); line-height: .95; }
/* The German close runs four lines at the English scale and pushes the note
   onto the lit floor of the artwork (3.5:1); one step down keeps the whole
   content block on the dark wall (2026-10-23). */
html[lang="de"] .ai-footer h2 { font-size: clamp(3.25rem, 5.8vw, 6rem); }
.ai-footer-invitation { max-width: 34ch; margin-top: 20px !important; font-size: clamp(1.0625rem, 1.4vw, 1.375rem); line-height: 1.5; }
.ai-footer .footer-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-top: 22px; }
.ai-footer .footer-email.ai-cta-underline { margin-top: 0; }
/* LinkedIn keeps the editorial footer's icon and underlined label (design.md LinkedInHitSquare). */
.ai-page .ai-footer a.footer-contact-link { display: inline-flex; align-items: center; gap: 9px; width: auto; min-height: 48px; height: auto; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--ai-lilac); font: 400 .9375rem/1.4 Inter, "Inter Fallback", sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.ai-page .ai-footer a.footer-contact-link .footer-icon { display: block; flex: 0 0 17px; width: 17px; height: 17px; }
.ai-page .ai-footer a.footer-contact-link:hover { text-decoration-thickness: 2px; }
.ai-footer-note { max-width: 54ch; margin-top: 28px !important; font-size: .8125rem; line-height: 1.6; }
.ai-footer .footer-lede { max-width: 54ch; margin-top: 16px; font-size: .8125rem; line-height: 1.6; color: var(--ai-lilac); }
.ai-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 24px; margin-top: 56px; padding: 18px 0; border-top: 1px solid rgb(214 212 237 / 30%); font-size: .875rem; line-height: 1.5; }
.ai-footer .footer-copyright { color: inherit; font: inherit; padding-left: 0; }
.ai-footer-bottom :is(nav, .footer-privacy) { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; border: 0; }
.ai-footer-bottom :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; width: auto; margin: 0; padding: 8px 0; border: 0; background: transparent; color: var(--ai-lilac); font: inherit; text-decoration: none; cursor: pointer; }
.ai-footer-bottom :is(a, button):hover { text-decoration: underline; text-underline-offset: 5px; }
.ai-footer [hidden] { display: none !important; }

@media (max-width: 991px) {
  html:has(body.ai-page) { --ai-nav-clearance: calc(56px + env(safe-area-inset-top, 0px)); }
  html body.ai-page:not([data-ai-nav="light"]) .navbar .nav-menu :is(.nav-link, .home-nav-label) { color: var(--ai-navy) !important; }
  .ai-page .nav-menu .ai-lang { color: var(--ai-navy); gap: 12px; }
  .ai-lang .nav-link { width: auto !important; min-width: 44px; }
  .ai-hero { min-height: calc(100svh - var(--ai-nav-clearance)); align-items: start; }
  .ai-hero-copy { width: 100%; padding: 32px var(--ai-gutter) clamp(200px, 35svh, 340px); }
  .ai-hero-kicker { margin-bottom: 20px !important; font-size: .75rem; }
  .ai-hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 8.8vw, 4.625rem); line-height: .98; }
  html:is([lang="hu"], [lang="de"]) .ai-hero h1 { font-size: clamp(2rem, 7.5vw, 4.125rem); }
  .ai-hero-dek { max-width: 30ch; margin-top: 16px; font-size: clamp(1.125rem, 2.8vw, 1.5rem); }
  .ai-hero-services { max-width: 34ch; margin-top: 14px; font-size: .875rem; }
  .ai-page .ai-hero .footer-email.ai-cta-underline { margin-top: 20px; }
  .ai-hero-explore { font-size: .8125rem; margin-top: 4px !important; }
  .ai-hero-foot { display: none; }
  .ai-hero-bg { top: auto; height: 66%; }
  .ai-hero-bg img { object-position: 82% 50%; }
  .ai-hero-bg::after { background: linear-gradient(180deg, var(--ai-navy) 0%, rgb(10 22 40 / 85%) 18%, transparent 70%); }
  .ai-hero-art { top: auto; left: 0; right: 0; height: 66%; }
  .ai-shape { gap: 12px; grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 48px; }
  .ai-shape h2 { max-width: 17ch; font-size: clamp(2.25rem, 6vw, 3.625rem); }
  .ai-shape-dek { max-width: 45ch; }
  .ai-shape-art { width: 100%; max-width: 680px; margin: 16px auto 0; }
  .ai-pieces-stage { display: block; padding: 56px var(--ai-gutter) 40px; overflow: visible; }
  .ai-pieces-head { grid-template-columns: 1fr; gap: 18px; }
  .ai-pieces-divider { display: none; }
  .ai-pieces h2 { max-width: 17ch; font-size: clamp(2.25rem, 6vw, 3.5rem); }
  .ai-pieces-intro p { max-width: 44ch; }
  .ai-ribbon { margin: 24px calc(-1 * var(--ai-gutter)) 0; padding: 16px 0 58px; overflow: hidden; background: var(--ai-lilac); }
  .ai-ribbon-label { top: calc(100% + 12px); width: 30%; transform: translateX(-50%); color: var(--ai-navy); font-size: .625rem; line-height: 1.5; letter-spacing: .12em; white-space: normal; text-align: center; }
  .ai-ribbon-label-insight { left: 16.6667%; }
  .ai-ribbon-label-integration { left: 50%; }
  .ai-ribbon-label-impact { left: 83.3333%; }
  @media (min-height: 600px) {
    [data-ai-motion="on"] .ai-journey .ai-ribbon { position: sticky; top: var(--ai-nav-clearance); z-index: 2; padding: 16px 0; }
    [data-ai-motion="on"] .ai-ribbon-strip { width: 300%; }
    [data-ai-motion="on"] .ai-ribbon-label { width: auto; font-size: .625rem; line-height: 1; letter-spacing: .17em; white-space: nowrap; }
    [data-ai-motion="on"] .ai-ribbon-label-insight { left: 15%; top: 52.5%; transform: translate(-50%, -50%) rotate(10deg); color: #F4F3FB; }
    [data-ai-motion="on"] .ai-ribbon-label-integration { left: 48%; top: 44%; transform: translate(-50%, -50%) rotate(-6deg); }
    [data-ai-motion="on"] .ai-ribbon-label-impact { left: 84%; top: 44%; transform: translate(-50%, -50%) rotate(9deg); }
  }
  .ai-ribbon-strip { width: 100%; max-width: none; transform-origin: 0 50%; }
  .ai-pieces-steps { grid-template-columns: 1fr; gap: 0; padding-top: 12px; }
  .ai-pieces-steps li, .ai-pieces-steps li:first-child { padding: 26px 0; border-left: 0; }
  .ai-pieces-steps p { max-width: 60ch; font-size: 1rem; }
  .ai-workflow-intro { grid-template-columns: minmax(0, 1fr); }
  .ai-workflow-intro h2 { grid-row: auto; max-width: 20ch; }
  .ai-workflow-steps > li > div { grid-template-columns: 1fr; }
  .ai-workflow-steps h3 { grid-row: auto; max-width: 32ch; }
  .ai-related-head { grid-template-columns: 1fr; gap: 24px; }
  .ai-related-list a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; }
  .ai-start { gap: 32px; grid-template-columns: 1fr; padding: 32px var(--ai-gutter) 64px; }
  .ai-start-art { width: min(100%, 560px); margin: 0 auto; }
  .ai-start-body { max-width: 720px; }
  .ai-start h2 { font-size: clamp(2.5rem, 7vw, 4rem); }
  .ai-faq { grid-template-columns: 1fr; gap: 32px; padding: 64px var(--ai-gutter); }
  .ai-start-lang { grid-column: 1; }
  .ai-page .footer-section.ai-footer { min-height: 0; padding-top: 40px; }
  .ai-footer h2 { font-size: clamp(3.625rem, 9vw, 5.75rem); }
  .ai-footer-content { max-width: 580px; padding-right: 8%; }
  .ai-footer-art img { object-position: 80% center; }
  .ai-footer-art::after { background: linear-gradient(0deg, rgb(10 22 40 / 95%), transparent 30%), linear-gradient(90deg, rgb(10 22 40 / 75%) 92%, rgb(10 22 40 / 25%)); }
  .ai-footer-bottom { margin-top: 64px; }
}
@media (max-width: 599px) {
  /* The artwork band is 60% of the opening's viewport, not of the hero, and the
     copy reserves the band: the glass object stands in the lower 82% of the
     band (data-glass-slot), so a long heading (German, Hungarian) pushes the
     band down instead of pushing the actions into the yellow object (2026-10-23). */
  body.ai-page { --ai-gutter: 20px; --ai-hero-band: calc(.6 * (100svh - var(--ai-nav-clearance))); }
  .ai-hero h1 { font-size: clamp(2.375rem, 11.8vw, 3.75rem); overflow-wrap: anywhere; }
  /* 'Webanwendungen' (14 glyphs) fits the 280px column at 320 only below 34px. */
  html:is([lang="hu"], [lang="de"]) .ai-hero h1 { font-size: clamp(1.875rem, 9.8vw, 3.25rem); }
  .ai-hero-copy { min-width: 0; max-width: 100%; padding-top: 26px; padding-bottom: calc(.82 * var(--ai-hero-band) + 8px); }
  .ai-hero-bg, .ai-hero-art { height: var(--ai-hero-band); }
  .ai-hero-bg img { object-position: 78% 50%; }
  .ai-related { padding-top: 48px; padding-bottom: 64px; }
  .ai-related-list a { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .ai-related-list img { flex: 0 0 88px; width: 88px; aspect-ratio: 1; object-fit: cover; }
  .ai-related-list span { flex: 1 1 11ch; font-size: clamp(1.25rem, 5.65vw, 1.625rem); line-height: 1.15; letter-spacing: -.04em; }
  .ai-related-list small { margin-top: 8px; font-size: .875rem; line-height: 1.5; }
  .ai-footer-content { padding-right: 0; }
  .ai-footer h2 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .ai-footer-top { gap: 24px; margin-bottom: 48px; }
  .ai-footer .footer-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ai-footer-invitation { max-width: 28ch; }
  .ai-footer .footer-lede { max-width: 34ch; }
  .ai-footer-note { max-width: 34ch; }
  .ai-footer-bottom { align-items: flex-start; flex-direction: column; gap: 0; }
}

/* Motion frames the approved artwork; reading text remains in normal flow. */
@supports (animation-timeline: view()) {
  [data-ai-motion="on"] .ai-hero-bg { animation: ai-hero-leave linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  [data-ai-motion="on"][data-ai-mode="cinematic"] .ai-pieces-track { view-timeline: --ai-journey block; }
  [data-ai-motion="on"][data-ai-mode="cinematic"] .ai-ribbon-strip { animation: ai-lens linear both; animation-timeline: --ai-journey; animation-range: contain 0% contain 100%; }
  [data-ai-motion="on"] .ai-start-art img { animation: ai-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @media (max-width: 991px) and (min-height: 600px) {
    /* The view window equals the cropped sticky artwork (300vw / 7.5) +32px padding. */
    [data-ai-motion="on"] .ai-journey { view-timeline: --ai-run block; view-timeline-inset: var(--ai-nav-clearance) calc(100% - var(--ai-nav-clearance) - (300vw / 7.5 + 32px)); }
    [data-ai-motion="on"] .ai-journey .ai-ribbon-strip { animation: ai-pan linear both; animation-timeline: --ai-run; animation-range: contain 0% contain 100%; }
  }
}
@keyframes ai-hero-leave { to { transform: translateY(-6%) scale(1.05); } }
/* The camera is tied to the scroll, so its easing is felt as speed: each move
   takes a wide share of the run and a symmetric curve, so the ribbon never
   travels faster than the page under a wheel or a finger. */
@keyframes ai-lens {
  0%, 6% { transform: translateX(22.5%) scale(1.45); animation-timing-function: cubic-bezier(.45,0,.55,1); }
  36%, 44% { transform: translateX(0) scale(1.45); animation-timing-function: cubic-bezier(.45,0,.55,1); }
  74%, 80% { transform: translateX(-22.5%) scale(1.45); animation-timing-function: cubic-bezier(.45,0,.55,1); }
  100% { transform: none; }
}
@keyframes ai-drift { from { transform: translateY(3%) scale(1.03); } to { transform: translateY(-3%) scale(1.01); } }
@keyframes ai-pan {
  0%, 17% { transform: translateX(0); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  50% { transform: translateX(-31.3333%); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  83%, 100% { transform: translateX(-66.6667%); }
}
/* Every animation above is opted into by [data-ai-motion="on"], which the
   owner never sets under reduced motion or html.no-motion; these rules keep
   the same elements still should the attribute outlive a preference change. */
@media (prefers-reduced-motion: reduce) {
  .ai-page :is(.ai-hero-bg, .ai-hero-bg img, .ai-ribbon-strip, .ai-start-art img),
  .ai-page .ai-cta-underline::before { animation: none !important; }
}
html.no-motion .ai-page :is(.ai-hero-bg, .ai-hero-bg img, .ai-ribbon-strip, .ai-start-art img),
html.no-motion .ai-page .ai-cta-underline::before { animation: none !important; }
