/* ==========================================================================
   AZEIT — Apple-style scroll experience
   Tokens come from the original Azeit design system (cubist planes, 3px radius).
   ========================================================================== */

:root {
  --blue: #0a5bd7;
  --blue-deep: #073c99;
  --blue-mid: #3b82f0;
  --blue-sky: #dce9ff;
  --olive: #6b7a2a;
  --olive-deep: #454f1b;
  --olive-pale: #e8eccb;
  --saffron: #f2b01e;
  --saffron-deep: #d9950b;
  --terracotta: #d2582f;
  --terracotta-ink: #b03a12;
  --paper: #f6f4ee;
  --stone: #ece9e1;
  --ink: #14202e;
  --ink-deep: #0b121a;
  --ink-soft: #4a5765;
  --cream-soft: rgba(246, 244, 238, .72);

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 3px;
  --cut: clamp(28px, 6vw, 72px);
  --gutter: clamp(20px, 4.5vw, 64px);
  --nav-h: 72px;
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.js) { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--saffron); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--saffron); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .8125rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em;
  color: var(--terracotta-ink); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 12px; background: var(--saffron); clip-path: polygon(0 100%, 50% 0, 100% 100%); flex: none; }
.on-dark .eyebrow, .eyebrow--light { color: var(--saffron); }

.lede { font-size: clamp(1.1rem, 1.6vw + .6rem, 1.5rem); line-height: 1.45; color: var(--ink-soft); max-width: 36ch; }
.on-dark .lede { color: var(--cream-soft); }

/* Word / line masks (added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln__i { display: block; will-change: transform; }
.sw { display: inline; } /* scrub words */

/* --- Buttons ------------------------------------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--body); text-decoration: none; text-align: center; white-space: nowrap;
  padding: 17px 28px; min-height: 54px; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn--saffron { background: var(--saffron); color: var(--ink); }
.btn--saffron:hover { background: #ffc233; box-shadow: 0 10px 34px -8px rgba(242, 176, 30, .65); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #1a6cf0; box-shadow: 0 10px 34px -8px rgba(10, 91, 215, .6); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(246, 244, 238, .5); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(246, 244, 238, .08); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { box-shadow: 0 10px 34px -8px rgba(20, 32, 46, .6); }
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --- Navigation ---------------------------------------------------------- */
.nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; padding: 14px 14px 0; display: flex; justify-content: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto; position: relative; width: min(1240px, 100%); height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 10px 0 22px; border-radius: 6px; border: 1px solid transparent;
  transition: width .6s var(--ease), height .5s var(--ease), background .4s ease, border-color .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
.nav.is-scrolled .nav__bar {
  width: min(960px, 100%); height: 52px;
  background: rgba(11, 18, 26, .9); border-color: rgba(246, 244, 238, .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);
}
.nav__brand { display: inline-flex; align-items: center; flex: none; }
.nav__brand img { height: 40px; width: auto; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__brand img { height: 34px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav__link { position: relative; color: var(--paper); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 2px; opacity: .88; transition: opacity .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link:focus-visible { opacity: 1; }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__lang {
  background: transparent; border: 1px solid rgba(246, 244, 238, .35); color: var(--paper);
  border-radius: var(--radius); padding: 6px 10px; min-width: 44px; min-height: 34px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nav__lang:hover { background: rgba(246, 244, 238, .12); border-color: var(--paper); }
.nav__toggle { display: none; width: 46px; height: 42px; background: transparent; border: 0; cursor: pointer; padding: 0; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper); transition: transform .4s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__bar { background: rgba(11, 18, 26, .9); border-color: rgba(246, 244, 238, .1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 22px; border-radius: 6px; background: rgba(11, 18, 26, .94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(246, 244, 238, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__link { font-size: 1.25rem; padding: 12px 4px; }
  .nav__lang { align-self: flex-start; margin: 8px 0; }
  .nav__links .btn { margin-top: 6px; }
}

.progress { position: fixed; z-index: 120; left: 0; top: 0; height: 3px; width: 100%; background: var(--saffron); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* --- Sections shared ----------------------------------------------------- */
.sec { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.sec--paper { background: var(--paper); }
.sec--stone { background: var(--stone); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--blue { background: var(--blue); color: #fff; }
.on-dark { color: var(--paper); }
.sec__head { max-width: 900px; margin-bottom: clamp(36px, 6vw, 72px); }
.h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); margin-bottom: .35em; }

/* --- HERO ---------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: var(--vh); min-height: 560px; background: var(--ink-deep); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 70% at 78% 48%, rgba(242, 176, 30, .22), transparent 70%),
  radial-gradient(50% 60% at 12% 100%, rgba(10, 91, 215, .3), transparent 70%),
  linear-gradient(180deg, #0b121a 0%, #14202e 100%); }
.hero__planes { position: absolute; right: -8vw; top: 50%; width: min(78vw, 980px); max-width: none; aspect-ratio: 1; transform: translateY(-50%) rotate(-6deg); opacity: .1; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 92%); mask-image: radial-gradient(closest-side, #000 25%, transparent 92%); will-change: transform; }
/* Store photo sits under the 3D scene; the scrim keeps the headline readable and lets the photo show on the right. */
.hero__photo { position: absolute; inset: 0; display: block; }
.hero__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; }
.hero--photo .hero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 26, .94) 0%, rgba(11, 18, 26, .82) 36%, rgba(11, 18, 26, .5) 68%, rgba(11, 18, 26, .62) 100%),
    linear-gradient(180deg, rgba(11, 18, 26, .92) 0%, rgba(11, 18, 26, .68) 11%, rgba(11, 18, 26, 0) 34%, rgba(11, 18, 26, 0) 58%, rgba(11, 18, 26, .88) 100%); }
.hero--photo .hero__planes, .hero--photo .hero__fallback { display: none !important; }
@media (max-width: 860px) {
  .hero__photo img { object-position: 50% 45%; }
  .hero--photo .hero__bg::after { background: linear-gradient(180deg, rgba(11, 18, 26, .8) 0%, rgba(11, 18, 26, .58) 40%, rgba(11, 18, 26, .9) 100%); }
}
.hero__stage { position: absolute; inset: 0; z-index: 1; }
.hero__stage canvas { width: 100%; height: 100%; }
.hero__fallback { position: absolute; right: 12vw; top: 50%; width: min(34vw, 420px); transform: translateY(-50%); display: none; }
.no-webgl .hero__fallback { display: block; }
.hero__content {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; bottom: 0; padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(28px, 6vh, 64px);
  display: flex; flex-direction: column; justify-content: flex-end; max-width: 1400px; margin-inline: auto; transform-origin: 0 60%;
}
.hero h1 { font-size: clamp(2.7rem, 8.6vw, 8.2rem); line-height: .95; letter-spacing: -0.045em; margin: 0 0 .32em; text-shadow: 0 2px 40px rgba(11, 18, 26, .55); }
.hero h1 .hl { color: var(--saffron); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw + .4rem, 1.45rem); line-height: 1.45; max-width: 34ch; color: var(--cream-soft); margin: 0 0 28px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.hero__chips li { font-size: .875rem; font-weight: 500; padding: 8px 14px; border: 1px solid rgba(246, 244, 238, .22); border-radius: 999px; color: var(--paper); background: rgba(246, 244, 238, .05); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--saffron); border-radius: 50%; margin-right: 9px; vertical-align: middle; }
.hero__zeit {
  position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 10px 20px 10px 12px; border-radius: 6px; background: rgba(246, 244, 238, .08); border: 1px solid rgba(246, 244, 238, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--paper); font-weight: 700; transition: background .3s, transform .4s var(--ease);
}
.hero__zeit:hover { background: rgba(246, 244, 238, .16); transform: translateY(-3px); }
.hero__zeit img { width: 58px; height: 56px; object-fit: contain; animation: bob 4s ease-in-out infinite; }
.hero__zeit small { display: block; font-weight: 500; opacity: .7; font-size: .78rem; }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-soft); }
.hero__cue i { width: 1px; height: 34px; background: linear-gradient(var(--saffron), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
.hero__wipe { position: absolute; inset: 0; z-index: 5; background: var(--stone); clip-path: circle(0% at 76% 50%); pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 900px) { .hero__cue { display: flex; } .hero__zeit { bottom: 80px; } }
@media (max-width: 720px) {
  .hero__zeit { display: none; }
  .hero__chips { margin-top: 20px; }
  .hero__chips li { font-size: .78rem; padding: 6px 11px; }
  .hero__lead { font-size: 1rem; margin-bottom: 20px; }
  .hero .btn { padding: 14px 20px; min-height: 48px; }
}
@media (max-height: 640px) and (min-width: 721px) { .hero h1 { font-size: clamp(2.4rem, 7vw, 5.5rem); } .hero__chips { margin-top: 16px; } .hero__lead { margin-bottom: 16px; } }

/* --- CHOOSE ------------------------------------------------------------- */
.choose { background: var(--stone); padding-top: clamp(64px, 9vw, 120px); }
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); perspective: 1200px; }
.portal {
  --acc: var(--saffron); --acc-ink: var(--ink);
  position: relative; display: flex; flex-direction: column; min-height: 460px; padding: clamp(24px, 2.6vw, 38px); text-decoration: none; color: var(--ink);
  background: #fff; border-radius: var(--radius); overflow: hidden; isolation: isolate; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 1px 0 rgba(20, 32, 46, .06), 0 30px 60px -34px rgba(20, 32, 46, .35);
  clip-path: polygon(0 0, calc(100% - var(--cut) * .6) 0, 100% calc(var(--cut) * .6), 100% 100%, 0 100%);
}
.portal--inv { --acc: var(--blue); --acc-ink: #fff; }
.portal--ll { --acc: var(--olive); --acc-ink: #fff; }
.portal::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 52%; background: var(--acc); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 100%); transition: height .7s var(--ease); }
.portal:hover::before, .portal:focus-visible::before { height: 64%; }
.portal__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .35), transparent 45%); opacity: 0; transition: opacity .3s; }
.portal:hover .portal__glare { opacity: 1; }
.portal__icon { width: 88px; height: 88px; margin-bottom: auto; transform: translateZ(50px); filter: drop-shadow(0 16px 20px rgba(20, 32, 46, .25)); transition: transform .6s var(--ease); }
.portal:hover .portal__icon { transform: translateZ(70px) rotate(-6deg) scale(1.08); }
.portal__tag { align-self: flex-start; font: 700 .75rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; padding: 7px 10px; border-radius: 2px; background: var(--ink); color: var(--paper); margin: 26px 0 14px; }
.portal h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .3em; }
.portal p { color: var(--ink-soft); margin-bottom: 22px; }
.portal__go { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.portal__go span { display: inline-block; transition: transform .35s var(--ease); }
.portal:hover .portal__go span { transform: translateX(6px); }
@media (max-width: 860px) { .portals { grid-template-columns: 1fr; } .portal { min-height: 380px; } }

/* --- MENU (pinned, 3D) --------------------------------------------------- */
.menu { position: relative; background: var(--ink-deep); color: var(--paper); overflow: hidden; isolation: isolate; }
.menu__glow { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(48% 62% at 72% 52%, var(--glow, rgba(242, 176, 30, .34)), transparent 72%),
  linear-gradient(180deg, #0b121a, #14202e 60%, #0b121a); }
.menu__stage { position: absolute; inset: 0; z-index: 1; }
.menu__stage canvas { width: 100%; height: 100%; }
.menu__copy { position: relative; z-index: 3; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; max-width: 1400px; margin-inline: auto; }
.menu__panels { position: relative; }
.menu__intro h2 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -.045em; }
.lane { position: relative; }
.lane__n { display: block; font: 700 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); margin-bottom: 18px; }
.lane__icon { width: 64px; height: 64px; margin-bottom: 18px; }
.lane h3 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); line-height: .98; letter-spacing: -.04em; margin-bottom: .3em; }
.lane p { font-size: clamp(1.05rem, 1.3vw + .5rem, 1.35rem); line-height: 1.5; color: var(--cream-soft); max-width: 30ch; }
.menu__dots { display: none; }

.anim .menu { height: 100vh; height: var(--vh); }
.anim .menu__copy { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.anim .menu__panels { width: min(560px, 46%); height: min(430px, 60vh); }
.anim .menu__intro, .anim .lane { position: absolute; left: 0; top: 50%; width: 100%; }
.anim .lane { opacity: 0; visibility: hidden; }
.anim .menu__dots { display: flex; flex-direction: column; gap: 12px; position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.menu__dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(246, 244, 238, .3); transition: transform .4s var(--ease), background .3s; }
.menu__dots i.is-on { background: var(--saffron); transform: scale(1.7); }
.lane .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .anim .menu__copy { justify-content: flex-end; padding-bottom: clamp(24px, 6vh, 56px); }
  .anim .menu__panels { width: 100%; height: min(300px, 40vh); }
  .anim .menu__intro, .anim .lane { top: auto; bottom: 0; }
  .anim .menu__dots { flex-direction: row; right: auto; left: var(--gutter); top: calc(var(--nav-h) + 12px); transform: none; }
  .lane__icon { display: none; }
  .lane h3 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .lane p { font-size: 1rem; max-width: 34ch; }
}
/* static fallback (no JS or reduced motion) */
.rm .menu__stage, .rm .menu__dots, html:not(.js) .menu__stage { display: none; }
.rm .menu__copy, html:not(.js) .menu__copy { padding-block: 96px; }
.rm .menu__intro, html:not(.js) .menu__intro { margin-bottom: 48px; }
.rm .menu__panels, html:not(.js) .menu__panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rm .menu__intro, html:not(.js) .menu__intro { grid-column: 1 / -1; }
@media (max-width: 860px) { .rm .menu__panels, html:not(.js) .menu__panels { grid-template-columns: 1fr; } }
.rm .lane__icon { display: block; }

/* --- VIDEO --------------------------------------------------------------- */
.vid { position: absolute; inset: 0; overflow: hidden; background-color: #0b121a; background-size: cover; background-position: center; z-index: 0; }
.vid__fx, .vid__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__el { opacity: 0; transition: opacity 1s ease; }
.vid.is-playing .vid__el { opacity: 1; }
.vid__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 45%, transparent 30%, rgba(5, 9, 14, .65) 100%),
  linear-gradient(180deg, rgba(5, 9, 14, .55), rgba(5, 9, 14, .1) 35%, rgba(5, 9, 14, .1) 60%, rgba(5, 9, 14, .7)); }
/* the real olive-oil clip is bright (hummus): darken the text side so cream copy stays legible */
.vid[data-vid="oil"] .vid__shade { background:
  linear-gradient(90deg, rgba(5, 9, 14, .82) 0%, rgba(5, 9, 14, .6) 42%, rgba(5, 9, 14, .12) 78%),
  radial-gradient(120% 90% at 50% 45%, transparent 30%, rgba(5, 9, 14, .6) 100%),
  linear-gradient(180deg, rgba(5, 9, 14, .55), rgba(5, 9, 14, .1) 35%, rgba(5, 9, 14, .1) 60%, rgba(5, 9, 14, .7)); }
@media (max-width: 860px) { .vid[data-vid="oil"] .vid__shade { background: linear-gradient(180deg, rgba(5, 9, 14, .7), rgba(5, 9, 14, .55) 60%, rgba(5, 9, 14, .75)); } }

.fire { position: relative; height: 100vh; height: var(--vh); background: var(--ink-deep); color: var(--paper); overflow: hidden; isolation: isolate; }
.fire__clip { position: absolute; inset: 0; will-change: clip-path; }
.fire__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: var(--nav-h) var(--gutter) 0; max-width: 1400px; margin-inline: auto; }
.fire__quote { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 8.4vw, 8rem); line-height: .96; letter-spacing: -.045em; max-width: 14ch; margin: 0; }
.fire__quote .sw { opacity: .16; }
.fire__caps { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 76px); display: flex; gap: clamp(14px, 3vw, 44px); flex-wrap: wrap; list-style: none; margin: 0 auto; padding: 0; max-width: 1400px; }
.fire__caps li { flex: 1 1 200px; padding-top: 14px; border-top: 2px solid rgba(246, 244, 238, .22); font-weight: 500; font-size: clamp(1rem, 1.3vw + .4rem, 1.35rem); color: rgba(246, 244, 238, .62); position: relative; transition: color .4s; text-shadow: 0 1px 14px rgba(5, 9, 14, .8); }
.fire__caps li b { display: block; font: 700 .75rem/1 var(--body); letter-spacing: .18em; color: var(--saffron); margin-bottom: 8px; }
.fire__caps li::after { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--saffron); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.fire__caps li.is-on { color: var(--paper); }
.rm .fire { height: auto; min-height: 90vh; }
.rm .fire__quote .sw { opacity: 1; }
.rm .fire__caps { position: relative; margin-top: 40px; margin-bottom: 40px; }
.rm .fire__body { min-height: 70vh; }
.rm .fire__caps li { color: var(--paper); }

/* --- HOW ----------------------------------------------------------------- */
.how { position: relative; background: var(--paper); overflow: hidden; }
.how__in { position: relative; max-width: 1400px; margin-inline: auto; padding: clamp(84px, 13vh, 140px) var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.anim .how { height: 100vh; height: var(--vh); }
.anim .how__in { height: 100%; padding-block: calc(var(--nav-h) + 8px) 24px; }
.how__head .h2 { margin-bottom: .3em; }
.how__rail { position: relative; margin-top: clamp(24px, 5vh, 56px); padding-left: 34px; }
.how__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: rgba(20, 32, 46, .12); border-radius: 2px; overflow: hidden; }
.how__fill { position: absolute; inset: 0; background: var(--saffron); transform: scaleY(var(--p, 0)); transform-origin: top; }
.how__nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 3.4vh, 30px); }
.how__nodes li { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: -.02em; color: rgba(20, 32, 46, .32); transition: color .4s; }
.how__nodes li::before { content: ""; position: absolute; left: -34px; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid rgba(20, 32, 46, .2); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.how__nodes li.is-on { color: var(--ink); }
.how__nodes li.is-on::before { background: var(--saffron); border-color: var(--saffron); transform: scale(1.25); }
.how__nodes small { display: block; font: 700 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-ink); margin-bottom: 4px; }

.how__stage { position: relative; perspective: 1500px; aspect-ratio: 1.02; max-height: min(66vh, 620px); width: 100%; margin-inline: auto; }
.how__num { position: absolute; z-index: 30; left: 9%; top: 11%; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 12.5vw, 12rem); line-height: 1; letter-spacing: -.06em; color: rgba(255, 255, 255, .34); display: flex; height: 1em; overflow: hidden; pointer-events: none; user-select: none; }
.how__num .odo { display: block; height: 1em; overflow: hidden; }
.how__num .odo__col { display: block; will-change: transform; }
.how__num .odo__col i { display: block; font-style: normal; height: 1em; line-height: 1; }
.step { position: absolute; inset: 6% 4%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); color: var(--ink); overflow: hidden; will-change: transform, opacity; backface-visibility: hidden;
  box-shadow: 0 40px 80px -40px rgba(20, 32, 46, .5); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.step--1 { background: var(--saffron); }
.step--2 { background: var(--blue); color: #fff; }
.step--3 { background: var(--olive); color: #fff; }
.step__icon { position: absolute; right: 8%; top: 8%; width: clamp(90px, 14vw, 170px); height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25)); }
.step__n { font: 700 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-bottom: 12px; }
.step h3 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-bottom: .25em; }
.step p { margin: 0; font-size: clamp(1rem, 1.2vw + .4rem, 1.25rem); max-width: 28ch; opacity: .92; }
.how__stage[hidden] { display: none; }
@media (max-width: 860px) {
  .how__in { grid-template-columns: 1fr; gap: 10px; align-content: start; }
  .anim .how__in { padding-top: calc(var(--nav-h) + 4px); }
  .how__rail { display: none; }
  .how__head .lede { display: none; }
  .how__stage { aspect-ratio: auto; height: min(64vh, 560px); max-height: none; }
  .step { inset: 4% 3%; }
  .how__num { font-size: 34vw; left: 8%; top: 9%; }
  .how .h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); margin-bottom: .1em; }
}
.rm .how__stage, html:not(.js) .how__stage { display: grid; aspect-ratio: auto; max-height: none; gap: 16px; perspective: none; }
.rm .step, html:not(.js) .step { position: relative; inset: auto; min-height: 240px; transform: none !important; opacity: 1 !important; }
.rm .how__num, html:not(.js) .how__num { display: none; }

/* --- NAME & BIRD --------------------------------------------------------- */
.name { position: relative; height: 100vh; height: var(--vh); background: var(--ink-deep); color: var(--paper); overflow: hidden; isolation: isolate; }
.name__clip { position: absolute; inset: 0; will-change: clip-path; }
.name__a { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: var(--nav-h) var(--gutter) 0; max-width: 1400px; margin-inline: auto; }
.name__a h2 { font-size: clamp(2.5rem, 7.4vw, 7rem); line-height: .96; letter-spacing: -.045em; max-width: 13ch; margin-bottom: .4em; }
.name__a h2 em { font-style: normal; color: var(--saffron); }
.name__p { font-size: clamp(1.15rem, 2vw + .5rem, 2rem); line-height: 1.35; max-width: 30ch; font-weight: 500; margin: 0; }
.name__p .sw { opacity: .18; }
.name__b { position: absolute; z-index: 4; inset: 0; background: var(--saffron); color: var(--ink); clip-path: circle(0% at 50% 100%); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(16px, 4vw, 64px); padding: var(--nav-h) var(--gutter) 0; }
.name__b-in { max-width: 1400px; margin-inline: auto; width: 100%; display: contents; }
.zeit-stage { position: relative; height: min(78vh, 760px); width: 100%; }
.zeit-stage canvas { width: 100%; height: 100%; touch-action: pan-y; }
.zeit-stage__fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.zeit-stage__fallback img { width: min(70%, 440px); }
.no-webgl .zeit-stage__fallback, .rm.no-webgl .zeit-stage__fallback { display: flex; }
.name__b-copy .eyebrow { color: var(--ink); }
.name__b-copy .eyebrow::before { background: var(--ink); }
.name__b-copy p:not(.eyebrow) { font-size: clamp(1.25rem, 2.2vw + .4rem, 2.3rem); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; max-width: 24ch; margin: 0; font-family: var(--display); }
.name__b-tag { display: inline-block; margin-top: 22px; font: 700 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; background: var(--ink); color: var(--saffron); border-radius: 2px; }
@media (max-width: 860px) {
  .name__b { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-bottom: clamp(28px, 6vh, 56px); gap: 0; }
  .zeit-stage { height: 100%; min-height: 0; }
  .name__b-copy p:not(.eyebrow) { font-size: 1.25rem; }
}
/* static: no JS / reduced motion */
.rm .name, html:not(.js) .name { height: auto; }
.rm .name__clip, html:not(.js) .name__clip { position: absolute; }
.rm .name__a, html:not(.js) .name__a { position: relative; min-height: 80vh; }
.rm .name__b, html:not(.js) .name__b { position: relative; clip-path: none; padding-block: 80px; }
.rm .name__p .sw { opacity: 1; }

/* --- LOCAL / MAP --------------------------------------------------------- */
.local { background: var(--stone); overflow: hidden; }
.local__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.local .h2 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); }
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-deep); aspect-ratio: 1.12; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); box-shadow: 0 40px 80px -40px rgba(7, 60, 153, .6); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__road { fill: none; stroke: rgba(246, 244, 238, .16); stroke-width: 6; stroke-linecap: round; }
.map__st { fill: none; stroke: rgba(246, 244, 238, .07); stroke-width: 2; }
.map__lee { fill: none; stroke: var(--saffron); stroke-width: 9; stroke-linecap: round; }
.map__plane { opacity: .5; }
.map__label { font: 700 15px var(--body); fill: var(--paper); letter-spacing: .04em; }
.map__label--dim { fill: rgba(246, 244, 238, .65); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.map__dot { fill: var(--paper); }
.map__pulse { fill: none; stroke: var(--saffron); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.map__pulse:nth-of-type(2) { animation-delay: .9s; }
.map__pulse:nth-of-type(3) { animation-delay: 1.8s; }
@keyframes pulse { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.map__ring { fill: none; stroke: rgba(246, 244, 238, .28); stroke-width: 1.5; stroke-dasharray: 3 9; transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.local__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.local__tags li { font-weight: 700; font-size: .9rem; padding: 9px 14px; border-radius: 2px; background: var(--ink); color: var(--paper); }
.local__tags li:nth-child(2) { background: var(--blue); }
.local__tags li:nth-child(3) { background: var(--olive); }
@media (max-width: 860px) { .local__grid { grid-template-columns: 1fr; } }

/* --- OPENING LIST -------------------------------------------------------- */
.opening { background: var(--blue); color: #fff; padding-top: calc(clamp(80px, 12vw, 160px) + var(--cut) * .5); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--cut) * -1); overflow: hidden; }
.opening::before { content: ""; position: absolute; right: -14vw; top: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: var(--blue-mid); opacity: .28; clip-path: polygon(30% 0, 100% 20%, 80% 100%, 0 70%); transform: rotate(8deg); pointer-events: none; }
.opening::after { content: ""; position: absolute; left: -8vw; bottom: -20%; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; background: var(--saffron); opacity: .16; clip-path: polygon(0 20%, 100% 0, 70% 100%); pointer-events: none; }
.opening__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.opening .lede { color: rgba(255, 255, 255, .85); }
.opening .eyebrow { color: var(--saffron); }
.form { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input { width: 100%; font: 500 1.1rem/1.2 var(--body); color: var(--ink); background: #fff; border: 2px solid rgba(20, 32, 46, .16); border-radius: var(--radius); padding: 15px 16px; transition: border-color .2s, box-shadow .2s; }
.field input:hover { border-color: rgba(20, 32, 46, .35); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 91, 215, .18); }
.field input[aria-invalid="true"] { border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(210, 88, 47, .16); }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin: 7px 0 0; }
.field .err { font-size: .85rem; color: var(--terracotta-ink); font-weight: 700; margin: 7px 0 0; min-height: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__msg { min-height: 1.4em; margin: 14px 0 0; font-weight: 700; font-size: .95rem; }
.form__msg.is-err { color: var(--terracotta-ink); }
.form__ok { display: none; text-align: center; padding: 8px 0; }
.form.is-done .form__fields { display: none; }
.form.is-done .form__ok { display: block; }
.form__ok img { width: 150px; margin: 0 auto 10px; animation: bob 3.5s ease-in-out infinite; }
.form__ok h3 { font-size: 2rem; margin-bottom: .25em; }
.form__ok p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .opening__grid { grid-template-columns: 1fr; } }

/* --- FOOTER -------------------------------------------------------------- */
.footer { background: var(--ink-deep); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); }
.footer h4 { font: 700 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--saffron); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--cream-soft); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--saffron); }
.footer__logo img { height: 64px; width: auto; }
.footer__tag { margin: 16px 0 0; max-width: 32ch; color: var(--cream-soft); font-size: .95rem; }
.footer__legal { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(246, 244, 238, .12); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; color: rgba(246, 244, 238, .55); font-size: .85rem; }
.footer__legal p { margin: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* --- Reveal helpers ------------------------------------------------------ */
.anim .hero__content { visibility: hidden; }
.rm .hero__wipe, .rm .hero__cue { display: none; }
.menu.no-webgl .menu__stage { display: none; }
.menu.no-webgl .lane__icon { display: block; width: 110px; height: 110px; }
@media (min-width: 861px) { .anim .menu.no-webgl .menu__panels { width: min(560px, 60%); } }

@media (prefers-reduced-motion: reduce) {
  .hero__zeit img, .form__ok img, .hero__cue i, .map__pulse, .map__ring { animation: none; }
}

/* --- Social links (footer): embossed icon tiles ---------------------------- */
.social { margin-top: 22px; }
.social__label { margin: 0 0 12px; font: 700 .8125rem/1 "DM Sans", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #f2b01e; }
.social .social__list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social__link { display: block; width: 44px; height: 44px; border-radius: 12px; transition: transform .25s cubic-bezier(.16, 1, .3, 1), filter .25s; }
.social__link img { display: block; width: 100%; height: 100%; }
.social__link:hover, .social__link:focus-visible { transform: translateY(-3px); filter: brightness(1.1); }
@media (prefers-reduced-motion: reduce) { .social__link { transition: none; } .social__link:hover, .social__link:focus-visible { transform: none; } }

.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 861px) and (max-width: 1160px) {
  .nav__bar { padding-left: 14px; gap: 10px; }
  .nav__links { gap: 12px; }
  .nav__link { font-size: .9rem; white-space: nowrap; padding-inline: 1px; }
  .nav__links .btn--sm { padding: 10px 12px; font-size: .85rem; white-space: nowrap; }
}

/* condensed (scrolled) bar is 960px wide: compact link spacing there at every desktop width (seven links + CTA stay on one line) */
@media (min-width: 861px) {
  .nav.is-scrolled .nav__bar { padding-left: 14px; gap: 10px; }
  .nav.is-scrolled .nav__links { gap: 12px; }
  .nav.is-scrolled .nav__link { font-size: .9rem; white-space: nowrap; padding-inline: 1px; }
  .nav.is-scrolled .nav__links .btn--sm { padding: 10px 12px; font-size: .85rem; white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 960px) {
  .nav__bar, .nav.is-scrolled .nav__bar { padding-left: 10px; padding-right: 6px; gap: 6px; }
  .nav__links, .nav.is-scrolled .nav__links { gap: 6px; }
  .nav__link, .nav.is-scrolled .nav__link { font-size: .84rem; }
  .nav__links .btn--sm, .nav.is-scrolled .nav__links .btn--sm { padding: 10px 8px; font-size: .78rem; }
}
