/* ==========================================================================
   Zeig AG — Concept 04 "Signal"
   Concept 05. Structure adapted from the Openbrief template (floating pill
   nav, inset rounded cards, one glass card in the hero, two-tone statement
   with blur reveal, stats row, tonal service cards, staircase timeline,
   contact with info rows, footer card with the full wordmark), re-drawn in
   the Zeig brand. No eyebrow labels, no section numbering, no glows.
   Brand: Zeig green #17402F · Signal orange #F07D1A · Graphite #2B2D2F
          Slate grey #5E6164 · Classic grey #D5D7D2 · Sage green #C6D8CD
   Type:  Archivo (headings) · Inter (text) — see fonts.css
   ========================================================================== */

:root {
  /* brand sheet — the only colours used (plus white and alpha of these) */
  --green: #17402F;      /* Zeig green   */
  --orange: #F07D1A;     /* Signal orange */
  --graphite: #2B2D2F;   /* Graphite     */
  --slate: #5E6164;      /* Slate grey   */
  --grey: #D5D7D2;       /* Classic grey */
  --sage: #C6D8CD;       /* Sage green   */
  --white: #FFFFFF;
  --paper: var(--grey);
  --paper-2: var(--white);
  --ivory: var(--white);
  --green-deep: var(--green);
  --green-ink: var(--graphite);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(23, 64, 47, 0.14);
  --muted: rgba(23, 64, 47, 0.38);

  --f-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --pad: clamp(20px, 4vw, 64px);
  --inset: clamp(8px, 0.9vw, 14px);
  --r-card: clamp(22px, 2.2vw, 34px);
  --max: 1520px;
  --nav-h: 84px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --fs-hero: clamp(40px, 5.2vw, 88px);
  --fs-h2: clamp(40px, 5.4vw, 92px);
  --fs-body: clamp(15px, 1.05vw, 17px);
}

*, *::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; }
body {
  margin: 0; background: var(--paper); color: var(--green);
  font-family: var(--f-text); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.inset { padding: 0 var(--inset); }
.card { position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate; }
.card--green { background: var(--green); color: var(--ivory); }
.card--sage { background: var(--sage); color: var(--green); }
.card--graphite { background: var(--graphite); color: var(--ivory); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
.h2 { font-family: var(--f-head); font-weight: 500; letter-spacing: -0.038em; line-height: 0.98; font-size: var(--fs-h2); }
.h2--sm { font-size: clamp(32px, 3.4vw, 56px); line-height: 1.02; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons: label + icon disc ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 6px 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn__fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--ease-out); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: scaleX(1); transform-origin: 0 50%; }
.btn__icon { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none; transition: background-color .5s, color .5s; }
.btn__icon svg { width: 17px; height: 17px; transition: transform .6s var(--ease-out); }
.btn__icon svg + svg { position: absolute; transform: translate(-200%, 200%); }
.btn:hover .btn__icon svg:first-child { transform: translate(200%, -200%); }
.btn:hover .btn__icon svg + svg { transform: none; }
.btn--sm { height: 48px; padding-left: 20px; gap: 12px; font-size: 14px; }
.btn--sm .btn__icon { width: 38px; height: 38px; }

.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange .btn__icon { background: var(--green-ink); color: var(--ivory); }
.btn--orange .btn__fill { background: var(--graphite); }
.btn--outline { border: 1px solid rgba(255, 255, 255, .3); color: var(--ivory); }
.btn--outline .btn__icon { background: rgba(255, 255, 255, .12); }
.btn--outline .btn__fill { background: var(--ivory); }
.btn--outline:hover { color: var(--green); border-color: var(--ivory); }
.btn--outline:hover .btn__icon { background: var(--green); color: var(--ivory); }
.btn--dark { background: var(--green); color: var(--ivory); }
.btn--dark .btn__icon { background: var(--orange); color: var(--white); }
.btn--dark .btn__fill { background: var(--green-ink); }
.btn--light { background: var(--paper); color: var(--green); border: 1px solid var(--line-light); }
.btn--light .btn__icon { background: var(--green); color: var(--ivory); }
.btn--light .btn__fill { background: var(--green); }
.btn--light:hover { color: var(--ivory); }
.btn--light:hover .btn__icon { background: var(--orange); }

/* ==========================================================================
   Nav — floating pill
   ========================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: calc(var(--inset) + 10px) calc(var(--inset) + 10px) 0; pointer-events: none; }
.nav__bar {
  position: relative; margin: 0 auto; max-width: 1240px; height: 60px; padding: 0 6px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--paper-2); border: 1px solid rgba(23, 64, 47, .08); border-radius: 999px;
  box-shadow: 0 8px 30px -20px rgba(43, 45, 47, .45);
  pointer-events: auto; overflow: hidden;
}
.nav__logo { display: block; width: 118px; flex: none; color: #12472B; }  /* logotype colours as supplied */
.nav__logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--slate); transition: color .3s, background-color .3s; }
.nav__link:hover { color: var(--green); }
.nav__link.is-active { color: var(--green); background: rgba(23, 64, 47, .07); }
.nav__link .roll { position: relative; display: block; height: 1.3em; overflow: hidden; line-height: 1.3em; }
.nav__link .roll span { position: relative; display: block; transition: transform .5s var(--ease-out); }
.nav__link .roll span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.nav__link:hover .roll span { transform: translateY(-100%); }
.nav__menu { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--ivory); align-items: center; justify-content: center; }
.nav__menu i { position: absolute; width: 16px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.nav__menu i:first-child { transform: translateY(-3px); }
.nav__menu i:last-child { transform: translateY(3px); }
.menu-open .nav__menu i:first-child { transform: rotate(45deg); }
.menu-open .nav__menu i:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--inset); z-index: 90; border-radius: var(--r-card); background: var(--green-deep); color: var(--ivory);
  clip-path: inset(0 0 100% 0 round var(--r-card)); transition: clip-path .8s var(--ease-io); visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 30px) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
}
.menu-open .menu { clip-path: inset(0 0 0 0 round var(--r-card)); visibility: visible; }
.menu__links a { display: block; overflow: hidden; font-family: var(--f-head); font-weight: 500; font-size: clamp(44px, 12vw, 84px); letter-spacing: -0.04em; line-height: 1.08; }
.menu__links a span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links li:nth-child(2) a span { transition-delay: .06s; }
.menu-open .menu__links li:nth-child(3) a span { transition-delay: .12s; }
.menu-open .menu__links li:nth-child(4) a span { transition-delay: .18s; }
.menu__foot { font-size: 14px; color: rgba(255, 255, 255, .62); line-height: 1.6; }

/* ==========================================================================
   Hero — inset card, scroll-driven 3D object, glass stage card
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 580px; padding: var(--inset); background: var(--paper); }
.hero__card {
  position: relative; height: 100%; border-radius: var(--r-card); overflow: hidden; isolation: isolate; color: var(--ivory);
  /* concept 04 vignette, in brand tints: lighter pool behind the object, darker edges */
  background:
    radial-gradient(46% 42% at 68% 46%, rgba(198, 216, 205, .13) 0%, rgba(198, 216, 205, 0) 70%),
    radial-gradient(120% 90% at 70% 45%, rgba(198, 216, 205, .07) 0%, rgba(198, 216, 205, 0) 55%),
    radial-gradient(130% 110% at 70% 45%, transparent 50%, rgba(43, 45, 47, .55) 100%),
    var(--green);
}
.hero__visual { position: absolute; inset: 0; z-index: 0; }
.hero__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hero__visual canvas:active { cursor: grabbing; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center center;
  -webkit-mask-image: radial-gradient(60% 65% at 68% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 65% at 68% 45%, #000 0%, transparent 75%);
}
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(55% 60% at 12% 78%, rgba(43, 45, 47, .62), transparent 70%), linear-gradient(to top, rgba(43, 45, 47, .35), transparent 30%); }

.hero__copy {
  position: absolute; z-index: 2; left: clamp(22px, 3.4vw, 56px); bottom: clamp(24px, 4.4vw, 64px);
  width: min(44vw, 660px); display: flex; flex-direction: column; align-items: flex-start;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.hero__title { margin-top: clamp(16px, 2.2vh, 24px); font-family: var(--f-head); font-weight: 500; font-size: var(--fs-hero); letter-spacing: -0.04em; line-height: 0.98; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__text { margin-top: clamp(16px, 2.6vh, 26px); max-width: 520px; color: rgba(255, 255, 255, .76); font-size: clamp(15px, 1.08vw, 17px); line-height: 1.6; }
.hero__actions { margin-top: clamp(22px, 3.6vh, 36px); display: flex; flex-wrap: wrap; gap: 10px; }

.hero__shade { background: linear-gradient(90deg, rgba(23, 64, 47, .82) 0%, rgba(23, 64, 47, .55) 32%, transparent 58%), linear-gradient(to top, rgba(23, 64, 47, .7), transparent 30%); }
.chapters {
  position: absolute; z-index: 3; right: clamp(20px, 2.6vw, 44px); bottom: clamp(22px, 3vw, 44px);
  width: min(46vw, 760px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.chapter { text-align: left; color: var(--white); display: flex; flex-direction: column; gap: 6px; opacity: .55; transition: opacity .3s; }
.chapter:hover, .chapter.is-active { opacity: 1; }
.chapter__bar { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; margin-bottom: 10px; }
.chapter__bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.chapter__t { font-family: var(--f-head); font-weight: 500; font-size: clamp(15px, 1.15vw, 18px); letter-spacing: -0.015em; line-height: 1.2; }
.chapter__s { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.chapters__cap { display: none; }
.no-webgl .chapters { display: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(80px, 9vw, 150px) 0; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; margin-bottom: clamp(44px, 5.6vw, 84px); }
.head__lead { color: var(--slate); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; max-width: 440px; justify-self: end; }

/* ---------- Experience: two-tone + stats ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.twotone { font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 2.75vw, 46px); line-height: 1.16; letter-spacing: -0.028em; color: var(--green); }
.twotone__muted { color: var(--muted); }
.twotone .bw { display: inline-block; will-change: filter, opacity; }
.split__body { margin-top: clamp(26px, 3vw, 40px); max-width: 640px; color: var(--slate); font-size: clamp(16px, 1.15vw, 18px); }
.stats { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line-light); }
.stat:nth-child(2n) { padding-left: 26px; border-left: 1px solid var(--line-light); }
.stat__v { display: block; font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -0.035em; line-height: 1.05; color: var(--green); }
.stat__v em { font-style: normal; color: var(--orange); }
.stat__d { display: block; margin-top: 10px; color: var(--slate); font-size: 15px; line-height: 1.5; max-width: 300px; }

/* ---------- Milestones — staircase card with drifting particles ---------- */
.route { margin-top: clamp(80px, 9vw, 140px); padding: clamp(30px, 4vw, 64px); min-height: clamp(560px, 48vw, 740px); display: flex; flex-direction: column; }
.route::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 90% at 80% 110%, rgba(198, 216, 205, .1), transparent 65%); }
.route__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.route__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(36px, 4.4vw, 72px); letter-spacing: -0.04em; line-height: 1; }
.stairs { --rise: clamp(40px, 4.6vw, 78px); position: relative; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; margin-top: 40px; }
.step { position: relative; padding: 0 18px 0 24px; transform: translate3d(0, calc(var(--i) * var(--rise) * var(--p, 1) * -1), 0); will-change: transform; }
.step::before { content: ""; position: absolute; left: 0; top: 6px; bottom: calc(var(--i) * var(--rise) * var(--p, 1) * -1); width: 1px; background: rgba(255, 255, 255, .2); }
.step__dot { position: absolute; left: -4px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: rgba(198, 216, 205, .55); box-shadow: 0 0 0 4px var(--green); transition: background-color .5s; }
.step__y { display: block; font-family: var(--f-head); font-weight: 500; font-size: clamp(36px, 3.4vw, 58px); letter-spacing: -0.045em; line-height: .95; color: rgba(255, 255, 255, .3); transition: color .6s; margin-top: -4px; }
.step__t { margin-top: 12px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; color: rgba(255, 255, 255, .74); max-width: 220px; }
.step.is-on .step__dot { background: var(--ivory); }
.step.is-on .step__y { color: var(--ivory); }
.step--today.is-on .step__dot { background: var(--orange); }
.step--today.is-on .step__y { color: var(--orange); }

/* ---------- Services — tonal cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 50px;
  min-height: clamp(320px, 27vw, 420px); padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  transition: transform .8s var(--ease-out);
}
.svc-card:hover { transform: translateY(-4px); }
.svc-card--light { background: var(--paper-2); color: var(--green); border: 1px solid var(--line-light); }
.svc-card--green { background: var(--green); color: var(--ivory); }
.svc-card--ink { background: var(--graphite); color: var(--white); }
.svc-card__icon { display: block; width: 44px; height: 44px; }
.svc-card__icon svg { width: 100%; height: 100%; display: block; transition: transform .5s var(--ease-out); }
.svc-card__icon svg .d2 { opacity: .16; }
.svc-card--light .svc-card__icon { color: var(--green); }
.svc-card--green .svc-card__icon, .svc-card--ink .svc-card__icon { color: var(--sage); }
.svc-card:hover .svc-card__icon svg { transform: translateY(-3px); }
.svc-card__t { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -0.025em; line-height: 1.12; }
.svc-card__d { margin-top: 12px; font-size: 15px; line-height: 1.55; opacity: .74; max-width: 400px; }

.chips { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line-light); font-size: 14px; font-weight: 500; color: var(--green); }

/* ---------- Team ---------- */
.people { display: grid; gap: 12px; }
.person {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.4fr) minmax(0, 4.6fr); gap: clamp(24px, 3vw, 56px);
  padding: clamp(12px, 1.2vw, 18px) clamp(22px, 2.6vw, 44px) clamp(12px, 1.2vw, 18px) clamp(12px, 1.2vw, 18px);
  background: var(--paper-2); border: 1px solid var(--line-light); border-radius: var(--r-card); align-items: stretch;
}
.person__media { position: relative; }
.person__photo { position: relative; height: 100%; min-height: 380px; border-radius: calc(var(--r-card) - 10px); overflow: hidden; background: var(--grey); }
.person__photo picture { display: block; position: absolute; inset: 0; }
.person__photo img { position: absolute; left: 0; top: 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.person__main { padding: clamp(10px, 1.4vw, 24px) 0; display: flex; flex-direction: column; align-items: flex-start; }
.person__name { font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 2.8vw, 46px); letter-spacing: -0.035em; line-height: 1; }
.person__role { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 600; font-size: 14px; }

.person__bio { margin-top: 20px; color: var(--slate); max-width: 460px; }
.person__cta { margin-top: 28px; }
.person__cv { padding: clamp(10px, 1.4vw, 24px) 0; }
.cv li { padding: 14px 0; border-top: 1px solid var(--line-light); font-size: 15px; line-height: 1.55; color: var(--graphite); }
.cv li:first-child { border-top: 0; padding-top: 0; }
.cv .per { color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Contact — info column + light form card ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.contact__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.contact__title { font-family: var(--f-head); font-weight: 500; letter-spacing: -0.05em; line-height: .9; font-size: clamp(60px, 8.4vw, 150px); color: var(--green); }
.contact__lead { margin-top: 26px; max-width: 440px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--green); }
.reply { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line-light); font-size: 14px; line-height: 1.4; color: var(--graphite); max-width: 440px; }
.reply__faces { display: flex; flex: none; }
.reply__faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--paper-2); background: var(--grey); }
.reply__faces img + img { margin-left: -10px; }
.info { margin: 36px 0 0; max-width: 440px; }
.info__row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line-light); }
.info__row:last-child { border-bottom: 1px solid var(--line-light); }
.info__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-light); display: grid; place-items: center; flex: none; color: var(--green); margin: 0; }
.info__icon svg { width: 18px; height: 18px; }
.info dd { margin: 0; line-height: 1.55; color: var(--graphite); padding-top: 2px; }
.info dd strong { display: block; color: var(--green); font-weight: 600; }

.form { background: var(--paper-2); color: var(--green); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: clamp(24px, 3vw, 44px); position: relative; overflow: hidden; box-shadow: 0 30px 60px -50px rgba(43, 45, 47, .5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--slate); }
.field__line { display: block; }
.field input, .field textarea { width: 100%; background: var(--paper); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; font-size: 16px; color: var(--green); outline: none; transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; display: block; }
.field input:hover, .field textarea:hover { border-color: var(--line-light); }
.field input:focus, .field textarea:focus { border-color: var(--green); background: var(--white); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--orange); }
.field__err { display: block; height: 0; overflow: hidden; font-size: 12px; color: var(--orange); transition: height .2s; }
.field.is-invalid .field__err { height: 18px; margin-top: 6px; }
.recips { margin: 4px 0 18px; border: 0; padding: 0; }
.recips legend { font-size: 13px; font-weight: 500; color: var(--slate); margin-bottom: 8px; padding: 0; }
.recips__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recip { position: relative; }
.recip input { position: absolute; opacity: 0; pointer-events: none; }
.recip label { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 16px; cursor: pointer; min-height: 58px; background: var(--paper); border: 1px solid transparent; transition: border-color .2s, background-color .2s, color .2s; }
.recip label:hover { border-color: var(--line-light); }
.recip input:checked + label { background: var(--green); color: var(--ivory); }
.recip input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.recip__av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; background: var(--grey); }
.recip__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.recip__av--zeig { background: var(--green); display: grid; place-items: center; }
.recip__av--zeig svg { width: 22px; height: 22px; }
.recip input:checked + label .recip__av--zeig { background: var(--green-deep); }
.recip__txt { line-height: 1.25; min-width: 0; }
.recip__name { display: block; font-weight: 600; font-size: 14px; }
.recip__role { display: block; font-size: 12px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recip__check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; opacity: .3; display: grid; place-items: center; flex: none; transition: opacity .2s, background-color .2s, border-color .2s; }
.recip__check svg { width: 12px; height: 12px; opacity: 0; color: var(--white); }
.recip input:checked + label .recip__check { opacity: 1; background: var(--orange); border-color: var(--orange); }
.recip input:checked + label .recip__check svg { opacity: 1; }
.recip.flash label { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(23,64,47,.5); } 100% { box-shadow: 0 0 0 12px rgba(23,64,47,0); } }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; font-size: 14px; color: var(--graphite); cursor: pointer; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; }
.consent__box { width: 22px; height: 22px; border-radius: 7px; border: 1px solid rgba(23,64,47,.3); background: var(--white); flex: none; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.consent__box svg { width: 14px; height: 14px; opacity: 0; color: var(--white); transition: opacity .2s; }
.consent input:checked + .consent__box { background: var(--green); border-color: var(--green); }
.consent input:checked + .consent__box svg { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--orange); outline-offset: 2px; }
.consent.is-invalid .consent__box { border-color: var(--orange); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: 14px; color: var(--slate); min-height: 20px; }
.form.is-sending .btn--orange { pointer-events: none; opacity: .7; }
.form__done { position: absolute; inset: 0; background: var(--paper-2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.form.is-done .form__done { opacity: 1; visibility: visible; }
.form__done .sig { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--ivory); display: grid; place-items: center; }
.form__done .sig svg { width: 26px; height: 26px; }
.form__done .sig i { display: none; }
.form__done h3 { font-family: var(--f-head); font-weight: 500; font-size: 32px; letter-spacing: -0.03em; }
.form__done p { color: var(--slate); max-width: 380px; }

/* ---------- Footer — graphite card + full wordmark ---------- */
.footer { padding: 0 0 var(--inset); }
.footer__card { padding: clamp(36px, 4.4vw, 72px) clamp(24px, 4.4vw, 72px) clamp(28px, 3vw, 48px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 2fr); gap: 40px; }
.footer__tag { font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -0.03em; line-height: 1.1; max-width: 620px; }
.footer__h { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5); margin-bottom: 16px; display: block; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: rgba(255,255,255,.86); transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.86); }
.footer__base { margin-top: clamp(60px, 8vw, 140px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer__logo { display: block; width: clamp(200px, 30vw, 440px); color: var(--ivory); }
.footer__logo svg { width: 100%; height: auto; display: block; }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: rgba(255,255,255,.55); text-align: right; }
.legal { display: inline-block; font-size: 14px; color: rgba(255,255,255,.86); margin-bottom: 8px; }
.legal:hover { color: var(--ivory); }

.js [data-reveal] { opacity: 0; }
.reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .person__media { grid-row: span 2; }
  .person__main { padding-bottom: 0; }
  .person__cv { grid-column: 2; padding-top: 0; }
}

/* stacked hero below 1024px or on portrait screens — the copy lifts away
   as you scroll and the object takes the whole card */
@media (max-width: 1023px), (max-aspect-ratio: 4/5) {
  .hero__copy { left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); top: calc(var(--nav-h) + 6px); bottom: auto; width: auto; will-change: transform, opacity; }
  .hero__title { font-size: clamp(34px, 8.4vw, 64px); }
  .hero__shade { background: linear-gradient(to bottom, rgba(23, 64, 47, .85) 0%, rgba(23, 64, 47, .5) 40%, transparent 62%), linear-gradient(to top, rgba(23, 64, 47, .75), transparent 26%); opacity: calc(1 - var(--mo, 0) * 0.7); }
  .chapters { left: 20px; right: 20px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); gap: 6px; opacity: var(--mo, 0); }
  .chapter { opacity: 1; gap: 0; }
  .chapter__bar { margin: 0; height: 3px; }
  .chapter__t, .chapter__s { display: none; }
  .chapters__cap { display: block; position: absolute; z-index: 3; left: 20px; right: 20px; bottom: calc(18px + env(safe-area-inset-bottom)); height: 48px; overflow: hidden; color: var(--white); opacity: var(--mo, 0); }
  .cap { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease-out), opacity .4s; }
  .cap.is-active { opacity: 1; transform: none; }
  .cap.is-past { transform: translateY(-100%); }
  .cap b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
  .cap span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
}

@media (max-width: 900px) {
  :root { --nav-h: 76px; }
  .nav { padding: calc(var(--inset) + 8px) calc(var(--inset) + 8px) 0; }
  .nav__bar { height: 56px; padding: 0 6px 0 18px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__logo { width: 104px; }
  .head { display: block; }
  .head__lead { margin-top: 22px; justify-self: start; }
  .split { display: block; }
  .split__aside { position: static; margin-bottom: 34px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .route { min-height: 0; }
  .route__head { flex-direction: column; gap: 0; }
  .stairs { grid-template-columns: 1fr; margin-top: 34px; align-items: start; }
  .step { padding: 0 0 30px 26px; transform: translate3d(calc((1 - var(--p, 1)) * 40px), 0, 0); opacity: calc(.25 + var(--p, 1) * .75); }
  .step::before { bottom: 0; }
  .step:last-child { padding-bottom: 4px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; gap: 34px; }
  .person { display: block; padding: 12px; }
  .person__photo { min-height: 0; height: auto; aspect-ratio: 4 / 5; max-height: 460px; }
  .person__main { padding: 26px 10px 0; }
  .person__cv { padding: 24px 10px 10px; }
  .contact__grid { display: block; }
  .contact__intro { position: static; }
  .form { margin-top: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__tag { grid-column: 1 / -1; margin-bottom: 10px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .footer__meta { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .btn { height: 52px; font-size: 14px; }
  .btn__icon { width: 40px; height: 40px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .form__row, .recips__list { grid-template-columns: 1fr; }
  .form { padding: 20px 16px; }
  .reply { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* intro: hide hero copy until the entrance timeline runs */
.js:not(.reduced) [data-hero-in] { visibility: hidden; }

/* Keep photo repaint/layout work within the rounded image viewport. */
.person__photo { contain: layout paint; isolation: isolate; }
.person__photo img { backface-visibility: hidden; }
