/* ═════════════════════════════════════════════════════════════════════════════
   MONZA Deutschland — design system
   Deep Carbon Black · Signature Electric Blue · Acid Neon Yellow (accents only)
   Champagne Gold (logo) · Warm Off-White (light editorial sections)
   DM Sans for interface + headlines, Cardo for selected editorial moments.
   ═════════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans-var.woff') format('woff'); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cardo'; src: url('/assets/fonts/cardo.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --black: #030407;
  --graphite: #171717;
  --blue: #1558c9;
  --yellow: #d4ff1f;
  --gold: #eed9a4;
  --offwhite: #f5f2eb;
  --brown: #4b3226;
  --copper: #c8641c;

  --ink: #030407;
  --ink-2: #4a4640;            /* body text on off-white */
  --paper-line: rgba(3, 4, 7, 0.12);
  --night-line: rgba(245, 242, 235, 0.12);
  --night-2: rgba(245, 242, 235, 0.72);
  --night-3: rgba(245, 242, 235, 0.56);
  --surface: #0c0d11;

  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Cardo', 'Iowan Old Style', Palatino, Georgia, serif;

  --frame: clamp(10px, 1.4vw, 24px);         /* inset of rounded media frames */
  --gutter: clamp(20px, 4.4vw, 72px);
  --wrap: 1440px;
  --text: 68ch;
  --radius: clamp(14px, 1.3vw, 22px);
  --radius-sm: 6px;
  --header: 76px;
  --sec: clamp(88px, 10vw, 184px);
  --ease: cubic-bezier(0.22, 0.61, 0.12, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 2200px) { :root { --wrap: 1760px; } }

/* ── Page transitions (cross-document View Transitions; graceful fallback) ── */
@view-transition { navigation: auto; }
.header { view-transition-name: header; }
::view-transition-old(root) { animation: vt-out 0.32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 72px); background: var(--black); }
body { margin: 0; background: var(--black); color: var(--offwhite); font: 400 1.0625rem/1.7 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
[role='list'] { list-style: none; }
h1, h2, h3 { margin: 0; }
address { font-style: normal; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
.sec--light :focus-visible, .cta :focus-visible { outline-color: var(--black); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--yellow); color: var(--black); font-weight: 700; text-decoration: none; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--text) + 2 * var(--gutter)); }

/* ── Type ── */
.display { font: 700 clamp(2.5rem, 6.4vw, 6.25rem)/1.02 var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
.title { font: 700 clamp(2rem, 4.2vw, 4rem)/1.06 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
.lead { font: 400 clamp(1.25rem, 1.9vw, 1.75rem)/1.45 var(--serif); letter-spacing: -0.005em; }
.eyebrow { margin: 0 0 18px; font: 600 0.8125rem/1.3 var(--sans); letter-spacing: 0.07em; text-transform: uppercase; color: var(--yellow); }
.sec--light .eyebrow { color: var(--blue); }
.cta .eyebrow { color: var(--offwhite); }
.eyebrow--hero { color: var(--yellow); }

.link { display: inline-block; margin-top: 8px; font-weight: 600; text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); }
.link::after { content: ''; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.55em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-0.1em) rotate(45deg); transition: transform 0.4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:hover::after { transform: translate(4px, -0.1em) rotate(45deg); }

/* ── Buttons ── */
.btn { --bg: transparent; --fg: var(--offwhite); --bd: rgba(245, 242, 235, 0.32);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px;
  border: 1px solid var(--bd); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg);
  font: 600 0.96875rem/1.1 var(--sans); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 1rem; }
.btn--accent { --bg: var(--yellow); --fg: var(--black); --bd: var(--yellow); }
.btn--accent:hover { --bg: var(--offwhite); --bd: var(--offwhite); }
.btn--ghost:hover { --bd: var(--offwhite); --bg: rgba(245, 242, 235, 0.08); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── Header ── */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header); transition: height 0.4s var(--ease), background-color 0.4s, box-shadow 0.4s; }
.header.is-scrolled { --header: 64px; background: rgba(3, 4, 7, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--night-line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; padding-inline: calc(var(--frame) + clamp(8px, 1.6vw, 24px)); }
.header__logo { flex: none; margin-right: auto; }
.logo { height: 44px; width: auto; transition: height 0.4s var(--ease); }
.header.is-scrolled .logo { height: 36px; }
.logo--footer { height: 72px; }
.header__nav ul { display: flex; gap: clamp(24px, 3vw, 48px); }
.header__nav a { position: relative; display: block; padding: 8px 0; font-size: 0.96875rem; font-weight: 500; color: var(--night-2); text-decoration: none; transition: color 0.25s; }
.header__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.header__nav a:hover, .header__nav a[aria-current='page'] { color: var(--offwhite); }
.header__nav a:hover::after, .header__nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; }
.lang a { padding: 8px 2px; color: var(--night-3); text-decoration: none; transition: color 0.2s; }
.lang a:hover, .lang a[aria-current='true'] { color: var(--offwhite); }
.lang span { color: var(--night-3); }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--offwhite); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger span { position: absolute; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), width 0.4s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 17px; width: 24px; }
.burger span:last-child { top: 25px; width: 16px; }
.burger[aria-expanded='true'] span { top: 21px; width: 24px; }
.burger[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

/* Fullscreen menu */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--black); clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path 0.8s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: calc(var(--header) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom)); }
.menu__list { list-style: none; }
.menu__list li { border-bottom: 1px solid var(--night-line); opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: 0.06s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: 0.12s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: 0.18s; }
.menu__link { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; font: 700 clamp(2rem, 9vw, 3.5rem)/1.1 var(--sans); letter-spacing: -0.03em; text-decoration: none; color: var(--night-2); transition: color 0.25s, padding 0.4s var(--ease); }
.menu__link:hover, .menu__link[aria-current='page'] { color: var(--offwhite); padding-left: 8px; }
.menu__num { font: 600 0.8125rem var(--sans); letter-spacing: 0.06em; color: var(--yellow); }
.menu__foot { display: grid; gap: 14px; color: var(--night-3); font-size: 0.9375rem; opacity: 0; transition: opacity 0.6s 0.3s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a[href^='mailto'] { color: var(--offwhite); font-weight: 600; text-decoration: none; }

@media (max-width: 899px) {
  :root { --header: 64px; }
  .header__nav { display: none; }
  .burger { display: block; }
  .logo { height: 36px; }
  .header.is-scrolled .logo { height: 32px; }
  .header__inner { gap: 14px; }
  body.menu-open .header { background: var(--black); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 900px) { .menu { display: none !important; } }

/* ── Media frames ── */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); isolation: isolate; }
.media img, .media .media__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media--tall { aspect-ratio: 4 / 5; }
.media--cinema { aspect-ratio: 21 / 9; margin-block: clamp(-40px, -2vw, 0px); }
.media__fallback { display: block; background: radial-gradient(70% 70% at 70% 30%, rgba(21, 88, 201, 0.35), transparent 70%), linear-gradient(160deg, #11131a, #030407); }

/* Progressive motion: images and copy never start hidden. */
.js [data-reveal-media] { clip-path: none; }
.js [data-reveal-media] img { transform: none; }
.js [data-reveal-media].is-in img { animation: photo-settle .75s var(--ease-out) both; }
.js [data-reveal] { opacity: 1; transform: none; }
.js [data-reveal].is-in { animation: text-settle .6s var(--ease-out) both; }
@keyframes photo-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
@keyframes text-settle { from { transform: translateY(6px); opacity: .9; } to { transform: none; opacity: 1; } }
.tiles__note { margin-top: 24px; font-size: .75rem; color: var(--night-3); }
.media__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── Home hero (cinematic video frame) ── */
.hero { position: relative; padding-top: var(--header); }
.hero__frame { padding-inline: var(--frame); }
.hero__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); height: calc(100svh - var(--header) - var(--frame)); min-height: 560px; max-height: 1400px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.6s var(--ease-out) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } }
.hero__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(3, 4, 7, 0.86) 0%, rgba(3, 4, 7, 0.35) 42%, rgba(3, 4, 7, 0.18) 70%, rgba(3, 4, 7, 0.4) 100%); }
.hero__chip { position: absolute; z-index: 2; right: 20px; bottom: 20px; padding: 7px 14px; border-radius: 999px; background: rgba(3, 4, 7, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 0.75rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--offwhite); }
.hero__toggle { position: absolute; z-index: 3; top: 20px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(3, 4, 7, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--offwhite); cursor: pointer; transition: background-color 0.25s, transform 0.25s var(--ease); }
.hero__toggle:hover { background: rgba(3, 4, 7, 0.8); transform: scale(1.05); }
.hero__toggle span { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; transform: translate(-50%, -50%); border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.hero__toggle.is-paused span { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; transform: translate(-35%, -50%); }

.hero__content { position: absolute; z-index: 4; left: calc(var(--frame) + var(--gutter)); right: calc(var(--frame) + var(--gutter)); bottom: calc(var(--frame) + clamp(28px, 5vw, 72px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__copy { max-width: 980px; }
.hero__copy .display, .hero__text, .hero__actions, .eyebrow--hero { animation: rise 1.2s var(--ease-out) both; }
.hero__copy .display { animation-delay: 0.25s; }
.hero__text { animation-delay: 0.4s; margin: 22px 0 0; max-width: 58ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--night-2); }
.hero__actions { animation-delay: 0.55s; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.hero__scroll { position: relative; width: 48px; height: 56px; margin-left: 8px; display: grid; place-items: center; color: var(--offwhite); }
.hero__scroll span { position: relative; width: 1.5px; height: 28px; background: rgba(245, 242, 235, 0.3); overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--yellow); animation: scroll 2.2s var(--ease) infinite; }
@keyframes scroll { to { top: 100%; } }

/* Sub-page hero */
.phero { position: relative; padding-top: var(--header); }
.phero__media { position: relative; overflow: hidden; border-radius: var(--radius); height: clamp(360px, 62svh, 820px); background: var(--surface); }
.phero__media img, .phero__media .media__fallback { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; animation: hero-in 1.6s var(--ease-out) both; }
.phero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 4, 7, 0.55), rgba(3, 4, 7, 0.05) 60%); }
.phero__content, .thero .wrap { max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 112px); }
.phero__content .display, .thero .display { max-width: 18ch; animation: rise 1.1s 0.15s var(--ease-out) both; }
.phero .hero__text, .thero .hero__text { animation: rise 1.1s 0.3s var(--ease-out) both; }
.thero { padding-top: calc(var(--header) + clamp(48px, 9vw, 140px)); }
.is-legal .thero .display { font-size: clamp(2.5rem, 5vw, 4.5rem); }

/* ── Sections ── */
.sec { position: relative; padding-block: var(--sec); }
.sec--light { background: var(--offwhite); color: var(--ink); }
.sec--dark { background: var(--black); }
.sec--flush { padding-top: 0; }
.sec--light + .sec--light.sec--flush, .sec--dark + .sec--dark.sec--flush { margin-top: calc(var(--sec) * -0.35); }
/* soft rounded hand-over between dark and light areas */
.sec--light { border-radius: var(--radius) var(--radius) 0 0; }
.sec--light + .sec--light, .sec--light.sec--legal, .sec--contact { border-radius: 0; }
.sec--light:has(+ .sec--dark), .sec--light:has(+ .statement), .sec--light:has(+ .cta) { border-radius: var(--radius); }

.head { display: grid; gap: 0; margin-bottom: clamp(48px, 6vw, 96px); max-width: 1100px; }
.head__intro { margin: 22px 0 0; max-width: 56ch; color: var(--night-3); }
.sec--light .head__intro { color: var(--ink-2); }

/* Editorial (home 02) */
.editorial { display: grid; gap: 32px; max-width: 1100px; }
.editorial .lead { max-width: 40ch; font-size: clamp(1.375rem, 2.3vw, 2.125rem); color: var(--ink); }
.editorial__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 5vw, 80px); color: var(--ink-2); }
.editorial__cols p { margin: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(16px, 2vw, 32px); align-items: end; margin-top: clamp(64px, 8vw, 128px); }
.duo__b { margin-bottom: clamp(-96px, -6vw, -40px); }

/* Tiles (home 03) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px); }
.tile--2, .tile--4 { transform: translateY(clamp(0px, 7vw, 120px)); }
.tiles { padding-bottom: clamp(0px, 7vw, 120px); }
.tile__link { display: block; text-decoration: none; color: inherit; }
.tile__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1.08; background: var(--surface); }
.tile__media img, .tile__media .media__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s; }
.tile__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 4, 7, 0.35), transparent 45%); opacity: 0; transition: opacity 0.6s; }
.tile__link:hover .tile__media img { transform: scale(1.06); }
.tile__link:hover .tile__media::after { opacity: 1; }
.tile__body { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: baseline; padding-top: 20px; }
.tile__num { grid-row: 1 / 3; font: 600 0.8125rem var(--sans); letter-spacing: 0.06em; color: var(--yellow); }
.tile__title { font: 700 clamp(1.25rem, 1.8vw, 1.625rem)/1.2 var(--sans); letter-spacing: -0.02em; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; justify-self: start; transition: background-size 0.6s var(--ease); }
.tile__link:hover .tile__title { background-size: 100% 2px; }
.tile__text { grid-column: 2; margin: 6px 0 0; color: var(--night-3); font-size: 0.96875rem; }
.tile__arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; border: 1px solid var(--night-line); border-radius: 50%; position: relative; transition: background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease); }
.tile__arrow::after { content: ''; position: absolute; left: 14px; top: 16px; width: 9px; height: 9px; border-top: 1.5px solid var(--offwhite); border-right: 1.5px solid var(--offwhite); transform: rotate(45deg); transition: border-color 0.35s; }
.tile__link:hover .tile__arrow { background: var(--yellow); border-color: var(--yellow); transform: translateX(4px); }
.tile__link:hover .tile__arrow::after { border-color: var(--black); }

/* Statement band (home 04, services) */
.statement { position: relative; min-height: clamp(520px, 92svh, 1100px); display: grid; align-items: center; overflow: hidden; margin-inline: var(--frame); border-radius: var(--radius); }
.statement__media { position: absolute; inset: 0; }
.statement__media img, .statement__media .media__fallback { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.statement::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 4, 7, 0.82), rgba(3, 4, 7, 0.35) 70%); }
.statement__inner { position: relative; z-index: 2; }
.statement__text { margin: 0; font: 400 clamp(2.5rem, 6.6vw, 7rem)/1.04 var(--serif); letter-spacing: -0.02em; color: var(--offwhite); }
.statement__text span { display: block; }
.statement__text span:nth-child(2) { padding-left: clamp(0px, 8vw, 160px); }
.statement__text span:nth-child(3) { padding-left: clamp(0px, 16vw, 320px); color: var(--gold); }
.sec + .statement, .statement + .sec { margin-top: 0; }
.statement { margin-block: var(--frame); }

/* Approach (home 05) */
.approach { position: relative; list-style: none; padding-left: clamp(28px, 4vw, 64px); }
.approach__line { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--paper-line); }
.approach__line span { position: absolute; inset: 0; background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top; }
.approach__step { position: relative; display: grid; grid-template-columns: minmax(80px, 2fr) minmax(0, 10fr); gap: 12px clamp(24px, 4vw, 64px); padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--paper-line); }
.approach__step:first-of-type { padding-top: 0; }
.approach__num { font: 400 clamp(3rem, 6vw, 6rem)/0.9 var(--serif); color: var(--blue); }
.approach__title { font: 700 clamp(1.5rem, 2.6vw, 2.5rem)/1.15 var(--sans); letter-spacing: -0.025em; margin-bottom: 10px; }
.approach__step p { margin: 0; max-width: 56ch; color: var(--ink-2); font-size: 1.0625rem; }

/* Hamburg (home 06) */
.hamburg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; gap: clamp(24px, 3vw, 48px) clamp(32px, 5vw, 96px); align-items: start; }
.hamburg__text { grid-column: 1; grid-row: 1; }
.hamburg__text p { color: var(--night-2); max-width: 52ch; }
.hamburg__a { grid-column: 2; grid-row: 1 / 3; }
.hamburg__b { grid-column: 1; grid-row: 2; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin: 40px 0 0; border-top: 1px solid var(--night-line); }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--night-line); }
.facts dt { font: 600 0.75rem var(--sans); letter-spacing: 0.07em; text-transform: uppercase; color: var(--night-3); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; }
.sec--light .facts, .sec--light .facts > div { border-color: var(--paper-line); }
.sec--light .facts dt { color: var(--ink-2); }
.principles + .facts { margin-top: clamp(64px, 7vw, 112px); }

/* CTA (Signature Electric Blue) */
.cta { position: relative; margin: var(--frame); border-radius: var(--radius); background: var(--blue); color: var(--offwhite); padding-block: clamp(80px, 10vw, 168px); overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border: 1px solid rgba(245, 242, 235, 0.18); border-radius: 50%; }
.cta::after { content: ''; position: absolute; right: 6%; top: 10%; width: 34%; aspect-ratio: 1; border: 1px solid rgba(245, 242, 235, 0.12); border-radius: 50%; }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 80px; flex-wrap: wrap; }
.cta .title { max-width: 16ch; }
.cta__text { margin: 24px 0 0; max-width: 52ch; color: rgba(245, 242, 235, 0.86); font-size: 1.125rem; }
.cta .btn--accent:hover { --bg: var(--black); --fg: var(--offwhite); --bd: var(--black); }

/* ── Company page ── */
.article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 96px); }
.article__aside .eyebrow { position: sticky; top: calc(var(--header) + 40px); }
.article__body { max-width: var(--text); }
.article__body .title { margin-bottom: 28px; }
.article__body .lead { margin-bottom: 24px; }
.sec--light .article__body p { color: var(--ink-2); }
.sec--light .article__body .lead { color: var(--ink); }
.sec--dark .article__body p { color: var(--night-2); }
.sec--dark .article__body .lead { color: var(--offwhite); }
.article__body a:not(.link) { text-decoration-color: var(--blue); text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(48px, 7vw, 128px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text .title { margin-bottom: 26px; }
.sec--light .split__text p { color: var(--ink-2); }
.sec--dark .split__text p { color: var(--night-2); }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.principles > div { padding-top: 28px; border-top: 2px solid var(--ink); }
.principles h3 { font: 700 1.375rem/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 12px; }
.principles p { color: var(--ink-2); margin: 0; }

/* ── Services page ── */
.subnav { position: sticky; top: var(--header); z-index: 50; background: rgba(3, 4, 7, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--night-line); transition: top 0.4s var(--ease); }
.header.is-scrolled ~ main .subnav { top: 64px; }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--night-2); text-decoration: none; transition: background-color 0.25s, color 0.25s; }
.subnav a:hover { color: var(--offwhite); background: rgba(245, 242, 235, 0.08); }
.subnav a.is-active { background: var(--yellow); color: var(--black); }
.service__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(48px, 7vw, 128px); align-items: start; }
.service__grid--reverse .service__text { order: 2; }
.service__text .title { margin-bottom: 26px; }
.service__text .lead { margin-bottom: 20px; }
.service__grid .media { position: sticky; top: calc(var(--header) + 96px); }
.sec--light .service__text p { color: var(--ink-2); }
.sec--light .service__text .lead { color: var(--ink); }
.sec--dark .service__text p { color: var(--night-2); }
.sec--dark .service__text .lead { color: var(--offwhite); }
.service__text p { max-width: 64ch; }

/* ── Contact ── */
.sec--contact { padding-top: clamp(56px, 6vw, 96px); }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 112px); align-items: start; }
.contact__aside { position: sticky; top: calc(var(--header) + 32px); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--paper-line); color: var(--ink-2); }
.contact__logo { height: 52px; width: auto; margin-bottom: 28px; }
.contact__aside address { color: var(--ink); }
.contact__list { margin: 24px 0 0; }
.contact__list > div { padding: 14px 0; border-top: 1px solid var(--paper-line); }
.contact__list dt { font: 600 0.75rem var(--sans); letter-spacing: 0.07em; text-transform: uppercase; }
.contact__list dd { margin: 2px 0 0; color: var(--ink); word-break: break-word; }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration-color: var(--blue); text-underline-offset: 3px; }

.form { color: var(--ink); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid rgba(3, 4, 7, 0.18); border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(3, 4, 7, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 88, 201, 0.2); }
.field__error { margin: 0; min-height: 0; font-size: 0.875rem; color: #b3121e; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3121e; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { margin: 24px 0 0; font-size: 0.9375rem; color: var(--ink-2); max-width: 70ch; }
.form__privacy a, .form__fallback a { color: var(--ink); font-weight: 600; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form .btn--accent { --bd: var(--black); }
.form .btn--accent:hover { --bg: var(--black); --fg: var(--offwhite); }
.form__status { font-size: 0.9375rem; font-weight: 600; }
.form__status.is-ok { color: #136b2f; }
.form__status.is-err { color: #b3121e; }
.form__fallback { margin: 20px 0 0; font-size: 0.875rem; color: var(--ink-2); }

/* ── Legal pages ── */
.sec--legal { padding-top: clamp(56px, 6vw, 96px); }
.prose h2 { font: 700 1.375rem/1.3 var(--sans); letter-spacing: -0.015em; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--paper-line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--ink); font-weight: 500; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.prose .credits { padding-left: 1.2em; }
.prose__note { margin-top: 40px; font-size: 0.9375rem; }
.notice { padding: 16px 20px; border-left: 3px solid var(--copper); background: rgba(200, 100, 28, 0.08); color: var(--brown) !important; }
.mark { color: var(--copper); font-size: 0.9375rem; border-bottom: 1px dashed currentColor; }

/* ── Footer ── */
.footer { padding: clamp(72px, 8vw, 128px) 0 max(28px, env(safe-area-inset-bottom)); background: var(--black); }
.footer__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; }
.footer__brand address { margin: 32px 0 18px; color: var(--night-3); line-height: 1.8; }
.footer__mail { font-weight: 700; color: var(--offwhite); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size 0.5s var(--ease); }
.footer__mail:hover { background-size: 100% 2px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__nav a { display: inline-block; padding: 7px 0; font-size: 1.0625rem; color: var(--night-2); text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease); }
.footer__nav a:hover { color: var(--offwhite); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 0.8125rem; color: var(--night-3); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--night-2); text-decoration: none; }
.footer__legal a:hover { color: var(--offwhite); text-decoration: underline; }

.notfound { min-height: 100svh; display: flex; align-items: center; }
.notfound .display { margin: 32px 0 12px; }
.notfound__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .principles { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: static; }
}

@media (max-width: 899px) {
  /* Hero follows the reference: video frame first, headline block below */
  .hero__media { height: auto; aspect-ratio: 4 / 5; min-height: 0; max-height: 72svh; }
  .hero__media::after { background: linear-gradient(0deg, rgba(3, 4, 7, 0.35), rgba(3, 4, 7, 0) 40%); }
  .hero__chip { left: 14px; right: auto; bottom: 14px; }
  .hero__toggle { top: 14px; right: 14px; width: 44px; height: 44px; }
  .hero__content { position: static; grid-template-columns: 1fr; gap: 28px; padding: 28px var(--gutter) 64px; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__scroll { position: absolute; right: var(--gutter); margin-top: -64px; }
  .editorial__cols, .duo, .hamburg, .article, .split, .service__grid, .footer__top { grid-template-columns: 1fr; }
  .duo__b { margin-bottom: 0; width: 70%; justify-self: end; margin-top: -18%; }
  .hamburg__a, .hamburg__b, .hamburg__text { grid-column: 1; grid-row: auto; }
  .split--reverse .split__text, .service__grid--reverse .service__text { order: 0; }
  .service__grid .media { position: relative; top: 0; }
  .article__aside .eyebrow { position: static; }
  .tile--2, .tile--4 { transform: none; }
  .tiles { padding-bottom: 0; }
  .media--cinema { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  :root { --sec: 80px; --radius: 14px; }
  body { font-size: 1rem; }
  .display { font-size: clamp(2.375rem, 10.5vw, 3.25rem); line-height: 1.05; }
  .title { font-size: clamp(1.875rem, 8.6vw, 2.5rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__scroll { display: none; }
  .form__grid, .principles, .footer__nav { grid-template-columns: 1fr; }
  .approach { padding-left: 22px; }
  .approach__step { grid-template-columns: 1fr; }
  .approach__num { font-size: 2.75rem; }
  .statement { min-height: 78svh; }
  .statement__text span:nth-child(n) { padding-left: 0; }
  .cta__inner { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
  .form__foot .btn { width: 100%; }
  .lang { font-size: 0.875rem; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile__media { aspect-ratio: 4 / 4.4; }
}

@media (hover: none) {
  .tile__link:hover .tile__media img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-reveal], .js [data-reveal-media] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal-media] img, [data-parallax] img { transform: none !important; }
  .hero__scroll span::after { display: none; }
}

@media print {
  .header, .menu, .hero__frame, .phero__media, .statement, .cta, .form, .subnav { display: none !important; }
  body, .sec--light, .sec--dark { background: #fff; color: #000; }
}

/* Discreet credits on original illustrations. */
.media__credit{position:absolute;z-index:2;bottom:12px;right:12px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;background:#030407bb;color:#fff;padding:5px 8px;border-radius:3px}

/* MONZA v4: dependable media framing and carefully chosen crops. */
.tile__media img, .media img, .phero__media img, .statement__media img { object-position: center; }
.tile--1 .tile__media img { object-position: 50% 48%; }
.tile--2 .tile__media img { object-position: 50% 50%; }
.tile--3 .tile__media img { object-position: 50% 54%; }
.tile--4 .tile__media img { object-position: 50% 56%; }
.hero__video { opacity: 1; animation: none; }
.phero__media img { animation: none; opacity: 1; inset: 0; height: 100%; }
.statement__media img { inset: 0; height: 100%; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal].is-in, .js [data-reveal-media].is-in img { animation: none !important; } }

.media video, .media .media__video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.duo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(18px, 2vw, 28px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.duo__b { margin-bottom: 0; align-self: center; }
.duo__b--balanced { justify-self: start; width: min(100%, 420px); }
.hamburg__video video { filter: saturate(1.02) contrast(1.02); }
.notice { padding: 18px 22px; border-left: 3px solid var(--rust); background: #f6ece3; border-radius: 0 12px 12px 0; color: var(--ink); }
@media (max-width: 900px) { .duo__b--balanced { width: min(74vw, 420px); justify-self: end; } }
