:root {
  --black: #2d2922;
  --ink: #3f3a33;
  --muted: #8a7f76;
  --green: #3d502f;
  --brown: #9b8f80;
  --accent: #3d502f;
  --accent-bright: #b5a596;
  --paper: #f6f3f0;
  --soft: #ebe5dd;
  --white: #fff;
  --line: #e0d9cf;
  --hero-sky: #6b7d5f;
  --lang-h: 36px;
  --nav-h: 78px;
  --maxw: 1920px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-inout: cubic-bezier(.77, 0, .175, 1);
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 900;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lang-h) + var(--nav-h));
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  z-index: 40;
  left: 20px;
  top: 16px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.language-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 36;
  height: var(--lang-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 18px;
  background: var(--green);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.language-bar p {
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: .78rem;
  line-height: 1;
}

/* ============================================================
   ROADMAP - horizontal project timeline.
   Per phase (top → bottom): step + year, marker centred on the
   connecting line, project title, photo, description.
   The connecting line is drawn per phase: each .phase-track is a
   full-width strip with the marker centred in it, and ::before /
   ::after draw the left / right half-segments of the line. This
   keeps every marker exactly on the line's centre regardless of
   column width. Segments before/at the active marker are solid
   green; segments after are dotted grey. Drive this with the
   .is-done / .is-current classes (see markup) - here we colour by
   marker state via the parent .phase.
   ============================================================ */

:root {
  --roadmap-amber: #d98a1f;
  --roadmap-amber-core: #7a4a10;
  --roadmap-line: 6px;
  --roadmap-marker: 42px;
}

.roadmap {
  background: linear-gradient(180deg, rgba(22, 39, 29, .02), rgba(22, 39, 29, .04));
  color: var(--ink);
}

/* Override the two-column .section-grid: the roadmap is one centred
   column so the timeline sits balanced in the page. */
.roadmap.section-grid {
  display: block;
  text-align: center;
}

.roadmap > .section-label {
  display: inline-flex;
  justify-content: center;
  margin-inline: auto;
}

.roadmap > div {
  width: 100%;
}

.roadmap .timeline {
  display: flex;
  align-items: flex-start;
  margin-top: clamp(32px, 4.5vw, 56px);
  flex-wrap: nowrap;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.roadmap .timeline::-webkit-scrollbar {
  display: none;
}

.roadmap .phase {
  flex: 1 1 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  /* Horizontal breathing room between phases. Applied as padding (not a
     flex gap) so the connecting line keeps running edge to edge while the
     photos and text get spacing between them. */
  padding-inline: clamp(8px, 1.2vw, 22px);
}

.roadmap .phase-step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.roadmap .phase-step b {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.roadmap .phase-step .phase-year {
  color: var(--muted);
  font-size: .85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Full-width strip holding the marker; the line is drawn inside it so
   the marker is always perfectly centred on the line. */
.roadmap .phase-track {
  position: relative;
  width: 100%;
  height: var(--roadmap-marker);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left and right half-segments of the connecting line. */
.roadmap .phase-track::before,
.roadmap .phase-track::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: var(--roadmap-line);
  border-radius: var(--roadmap-line);
  z-index: 0;
}

/* Segments extend into the phase's horizontal padding (negative
   offsets) so the line stays continuous across the gap between photos. */
.roadmap .phase-track::before { left: calc(-1 * clamp(8px, 1.2vw, 22px)); right: 50%; }
.roadmap .phase-track::after  { left: 50%; right: calc(-1 * clamp(8px, 1.2vw, 22px)); }

/* First phase has no segment to its left; last phase none to its right. */
.roadmap .phase:first-child .phase-track::before,
.roadmap .phase:last-child .phase-track::after {
  content: none;
}

/* Default (future) segments: dotted grey. */
.roadmap .phase-track::before,
.roadmap .phase-track::after {
  background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 15px);
}

/* Solid green only for completed connections. Green runs up to the RIGHT
   half of the last completed marker (fase 3) - i.e. it stops halfway to the
   active "Nu" marker. The left half leading into "Nu" stays the future
   colour, so the green ends in the middle of the fase 3 → Nu gap. */
.roadmap .phase:has(.marker.completed) .phase-track::before,
.roadmap .phase:has(.marker.completed) .phase-track::after {
  background: linear-gradient(90deg, var(--green), #2f9e72);
}

/* The "still to go" segment leading into the active "Nu" marker: a solid
   line in a quiet sand tone (not green, not dotted) so the half-way stop
   reads clearly. */
.roadmap .phase:has(.marker.active) .phase-track::before {
  background: var(--brown);
}

.roadmap .marker {
  width: var(--roadmap-marker);
  height: var(--roadmap-marker);
  border-radius: 50%;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.roadmap .marker.completed {
  background: var(--green);
}

.roadmap .marker.completed::after {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

/* Active marker: dark amber core + soft amber ring (the "Nu" pulse). */
.roadmap .marker.active {
  background: var(--roadmap-amber-core);
  box-shadow: 0 0 0 8px rgba(217, 138, 31, .22);
}

.roadmap .marker.planned {
  background: var(--black);
  opacity: .82;
}

.roadmap .phase-label {
  display: block;
  margin: 20px 0 14px;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink);
}

.roadmap .phase-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  background-color: var(--soft);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.roadmap .phase-text {
  margin: 0 auto;
  max-width: 30ch;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.45;
}

@media (max-width: 680px) {
  /* Stack the timeline vertically on narrow screens: line runs down the
     left, marker + content beside it. */
  .roadmap .timeline {
    flex-direction: column;
    overflow-x: visible;
  }

  .roadmap .phase {
    display: grid;
    grid-template-columns: var(--roadmap-marker) 1fr;
    column-gap: 20px;
    align-items: start;
    text-align: left;
    min-width: 0;
    padding-bottom: 30px;
  }

  .roadmap .phase-step {
    display: none;
  }

  /* The track becomes a vertical rail in the left column. */
  .roadmap .phase-track {
    grid-row: 1 / 60;
    grid-column: 1;
    width: var(--roadmap-marker);
    height: 100%;
    align-self: stretch;
  }

  .roadmap .phase-track::before,
  .roadmap .phase-track::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: var(--roadmap-line);
    height: auto;
  }

  .roadmap .phase-track::before { top: 0; bottom: 50%; height: auto; }
  .roadmap .phase-track::after  { top: 50%; bottom: 0; height: auto; }

  .roadmap .phase:has(.marker.completed) .phase-track::before,
  .roadmap .phase:has(.marker.active) .phase-track::before,
  .roadmap .phase:has(.marker.completed) .phase-track::after {
    background: linear-gradient(180deg, var(--green), #2f9e72);
  }

  .roadmap .phase-label,
  .roadmap .phase-img,
  .roadmap .phase-text {
    grid-column: 2;
    max-width: none;
    margin-inline: 0;
  }

  .roadmap .phase-label {
    margin: 0 0 8px;
  }

  .roadmap .phase-img {
    max-width: 280px;
  }
}

.switch-track {
  position: relative;
  width: 50px;
  height: 19px;
  display: inline-block;
  overflow: hidden;
  border: 1px solid rgba(45, 28, 12, .45);
  border-radius: 5px;
  /* Clean wood: warm timber tone, lighter in the centre, with a soft top
     highlight and bottom shading so it reads as a turned wooden bead. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .2) 100%),
    linear-gradient(90deg, #93623a 0%, #b0814e 50%, #8c5c35 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 3px rgba(0, 0, 0, .3);
}

.switch-thumb {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 4px;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  /* Light birch peg against the wood. */
  background: linear-gradient(180deg, #f8f0dd, #e8d6b7);
  border: 1px solid rgba(60, 40, 20, .3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .55);
  transform: translateY(-50%);
  transition: transform .28s var(--ease-out);
}

.language-switch[aria-pressed="true"] .switch-thumb {
  transform: translate(29px, -50%);
}

.topbar {
  position: fixed;
  inset: var(--lang-h) 0 auto;
  z-index: 35;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-h);
  width: 100%;
  max-width: 100vw;
  padding: 7px clamp(20px, 4vw, 44px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(22, 19, 15, .1);
  box-shadow: 0 16px 40px rgba(22, 39, 29, .07);
  color: var(--ink);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand-mark,
.wordmark {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  height: calc(var(--nav-h) - 30px);
}

.brand-logo {
  width: auto;
  height: 100%;
  object-fit: contain;
  /* Nudge down a touch: the heavy top line makes the logo read as too high,
     so a small offset balances it optically in the bar. */
  transform: translateY(3px);
}

/* ============================================================
   INLINE NAVIGATION  (replaces the old .menu-button / .menu-panel block).
   The .topbar shell (fixed, blur, semi-white bg, border, shadow,
   pointer-events:none with children pointer-events:auto) is unchanged.
   ============================================================ */

.brand-mark {
  flex: 0 0 auto;
  transition: height .4s var(--ease-out);
}

/* Primary nav rail - centered between logo and CTA */
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: gap .4s var(--ease-out);
}

.nav-links li {
  flex: 0 0 auto;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .22s var(--ease-out);
}

/* Sliding underline - same gesture as the old .menu-button::after.
   Pseudo-element, so applyLanguage()'s textContent overwrite is safe. */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* Active-section indicator driven by the scrollspy (aria-current). */
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:focus-visible,
.nav-cta:focus-visible,
.brand-mark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* CTA - compact accent-fill sibling of .hero-button-primary, sized for
   the bar. Arrow is a pseudo-element so the i18n textContent swap can't
   strip it. */
.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 2px solid var(--accent);
  transition:
    background .22s var(--ease-out),
    border-color .22s var(--ease-out),
    transform .22s var(--ease-out),
    padding .4s var(--ease-out),
    box-shadow .22s var(--ease-out);
}

.nav-cta::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(22, 39, 29, .2);
}

.nav-cta:hover::after {
  transform: translateX(3px) rotate(45deg);
}

/* IS-SCROLLED - graceful condensation (layout never depends on it). */
.topbar.is-scrolled .nav-links {
  gap: clamp(14px, 1.8vw, 30px);
}

.topbar.is-scrolled .brand-mark {
  height: calc(var(--nav-h) - 28px);
}

.topbar.is-scrolled .nav-cta {
  padding: 0 16px;
  min-height: 40px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(20px, 2.2vw, 44px);
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-sky);
  color: var(--white);
  padding: calc(var(--lang-h) + var(--nav-h) + 54px) clamp(20px, 4vw, 44px) 72px;
}

/* On viewports taller than 1080 (e.g. 3440x1440 ultrawides) the default grid
   stretch balloons the gap between the wordmark and the card. Centre the block
   with a 1920-like gap instead, so the wordmark drops a little and the card
   rises a little - matching the 1920x1080 feel. 1920x1080 / 2560x1080 (height
   1080) are below the threshold and stay exactly as they are. */
@media (min-height: 1081px) {
  .hero {
    align-content: center;
    gap: clamp(72px, 6.5vh, 112px);
    /* Bias the centred block a little above the middle so the wordmark sits in
       the upper area and the card rises - closer to the 1920x1080 balance. */
    padding-bottom: clamp(110px, 13vh, 220px);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22, 39, 29, .04), rgba(22, 39, 29, .3));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: translateY(45svh) rotate(-.4deg) scale(1.02);
  animation: hero-bg-in 1.08s var(--ease-out) forwards .08s;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(.16) saturate(.68) contrast(.94);
  opacity: .52;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.05);
  will-change: transform;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(.12) saturate(.72) contrast(.92);
  opacity: .54;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.05);
  will-change: transform;
}

.hero-wordmark,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-wordmark {
  margin-left: clamp(38px, 7vw, 102px);
  color: var(--white);
  font-size: clamp(5.4rem, 9vw, 9.5rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: 0;
  overflow: visible;
  opacity: 0;
  transform: translateY(170px) scale(.62);
  transform-origin: 16% 50%;
  animation: wordmark-in .95s var(--ease-out) forwards .2s;
}

.hero-wordmark span {
  display: block;
}

.hero-card {
  width: min(620px, calc(100% - 76px));
  justify-self: start;
  align-self: start;
  margin-left: clamp(38px, 7vw, 102px);
  padding-right: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
}

.eyebrow > span:first-child,
.section-label::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--accent);
  vertical-align: .03em;
}

/* Eyebrow lives on the dark hero, so its marker uses the brighter sage. */
.eyebrow > span:first-child {
  background: var(--accent-bright);
}

.eyebrow > span:last-child {
  min-width: 0;
}

.section-label::before {
  margin-right: 10px;
}

.hero-card h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.7rem, 3.8vw, 3.45rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  width: min(100%, 520px);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 184px;
  max-width: 100%;
  min-height: 52px;
  padding: 0 18px 0 22px;
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  border: 2px solid rgba(255, 255, 255, .86);
  transition: background .22s ease, border-color .22s ease, transform .22s var(--ease-out);
}

.hero-button::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 22px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s var(--ease-out);
}

.hero-button:hover {
  transform: translateY(-2px);
}

.hero-button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.hero-button-primary {
  border-color: var(--accent);
  background: var(--accent);
}

.hero-button-secondary {
  background: rgba(0, 0, 0, .08);
}

.show-card {
  display: grid;
  width: min(394px, 100%);
  margin-top: 26px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transform: translateZ(0);
}

.show-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
  transition: transform .8s var(--ease-out), filter .35s ease;
}

.show-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.show-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  font-weight: 800;
}

.show-card span::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  transition: transform .22s var(--ease-out);
}

.show-card:hover span::after {
  transform: translateX(4px);
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 0 0 4px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  transition: color .18s ease, border-color .18s ease;
}

.footer-actions a:hover {
  color: var(--accent-bright);
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 120px);
  padding: clamp(72px, 10vw, 160px) clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.about {
  overflow: hidden;
  background: var(--white);
}

.about::after {
  display: none;
}

/* Subheading inside the about section (e.g. "Rebuild your world"). */
.about-sub {
  margin: clamp(34px, 4vw, 56px) 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-grid h2,
.works-heading h2,
.why-copy h2,
.site-footer h2,
.faq h2 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: 0;
}

.faq h2 {
  margin-bottom: 18px;
}

.about > div > p,
.works-heading > p,
.why-copy > p,
.site-footer p,
details p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 76px);
  background: var(--line);
  border: 1px solid var(--line);
}

.stats div {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  padding: 20px;
}

.stats strong {
  color: var(--accent);
  font-size: 4.1rem;
  font-weight: 560;
  line-height: .9;
}

.stats span {
  color: var(--muted);
}

.image-marquee {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}

.image-marquee figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.image-marquee img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* Caption labels what each step shows, sitting over the bottom of the image. */
.image-marquee figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: linear-gradient(180deg, transparent, rgba(22, 39, 29, .72));
}

/* Wide video stills: frame the square tile on the action, not the edges. */
.marquee-hoisting img {
  object-position: 62% 46%;
}

.marquee-connections img {
  object-position: center;
}

@media (max-width: 680px) {
  .image-marquee figcaption {
    font-size: .9rem;
  }
}

.service-list {
  margin-top: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 90px minmax(220px, 420px) minmax(260px, 1fr);
  gap: clamp(18px, 4vw, 70px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  color: var(--accent);
  font-weight: 760;
}

.service-list h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.04;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.works {
  padding: clamp(72px, 10vw, 160px) clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.works-heading {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.works-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 16px;
  filter: saturate(.92);
  transition: transform .72s var(--ease-out), filter .25s ease;
}

.work-card:hover img {
  transform: scale(.985);
  filter: saturate(1.05);
}

.work-card span {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.work-card h3 {
  margin: 8px 0;
  font-size: 1.75rem;
  line-height: 1.02;
}

.work-card p {
  margin: 0;
  color: var(--muted);
}

.why {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 100svh;
  background: var(--green);
  color: var(--white);
}

.why-media {
  overflow: hidden;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-copy {
  padding: clamp(48px, 7vw, 110px) clamp(22px, 5vw, 86px);
}

.why-copy > p {
  color: rgba(255, 255, 255, .72);
}

/* This label sits on the dark-green panel - use the brighter sage accent. */
.why .section-label {
  color: var(--accent-bright);
}

.why .section-label::before {
  background: var(--accent-bright);
}

.why-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 70px);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
}

.why-points article {
  padding: 28px 24px;
  background: rgba(0, 0, 0, .16);
}

/* Large lead-in figure (e.g. 100%) on the green panel. */
.why-value {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-bright);
  font-size: 3rem;
  font-weight: 560;
  line-height: .9;
}

.why-points h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.why-points p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.audiences article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 54px);
  border-right: 1px solid var(--line);
  transition: background .25s ease;
}

.audiences article:hover {
  background: var(--soft);
}

.audiences article:last-child {
  border-right: 0;
}

.audiences span {
  color: var(--accent);
  font-weight: 800;
}

.audiences h2 {
  margin: auto 0 18px;
  font-weight: 560;
  font-size: 3.4rem;
  line-height: 1.05;
}

.audiences p {
  margin: 0;
  color: var(--muted);
}

details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1.12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  transition: color .25s var(--ease-out);
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  color: var(--accent);
}

/* Chevron that rotates a half-turn as the answer opens (driven by .is-open,
   so it animates at the start of both opening and closing). */
summary::after {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0 4px 5px 0;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .42s var(--ease-out);
}

details.is-open summary::after {
  transform: rotate(225deg);
}

/* Soft reveal of the answer as the panel expands. */
details.is-open p {
  animation: faq-answer .5s var(--ease-out) both;
}

@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   AWARDS - trust strip just above the footer. Centred heading +
   three cards. The winner card carries the green accent; finalists
   stay quieter so the win stands out.
   ============================================================ */

.awards {
  padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.awards > .section-label {
  display: inline-flex;
  justify-content: center;
  margin-inline: auto;
}

.awards h2 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 560;
  line-height: 1.06;
}

.awards-intro {
  max-width: 56ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.25rem;
}

/* Horizontal cards stacked vertically: text left, prize image right.
   This suits the wide Wubbo banner (which includes a portrait) far better
   than a top logo, and keeps the other two logos tidy in a matching panel. */
/* Three cards side by side. Each card: text on the left, prize image as a
   full-height strip on the right. */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.award-card {
  display: grid;
  grid-template-columns: 1fr minmax(96px, 116px);
  align-items: stretch;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 39, 29, .08);
}

/* Winner stands out: green left edge + tinted panel. */
.award-card.is-winner {
  border-left-color: var(--accent);
  background: linear-gradient(110deg, rgba(76, 99, 60, .07), var(--paper) 55%);
}

.award-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 32px);
}

.award-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.award-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.award-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}

.award-card.is-winner .award-status {
  color: var(--accent);
}

.award-card.is-winner .award-status::before {
  background: var(--accent);
}

.award-year {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.award-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

.award-card h3 {
  margin: 14px 0 6px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.award-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

/* Full-height image strip on the right of each card. */
.award-media {
  position: relative;
  border-left: 1px solid var(--line);
}

/* Full-bleed photo/banner (Wubbo): fills the strip. Pinned left so the
   handwritten name + globe stay visible in the narrow strip. */
.award-media-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Logo on a white panel (Alkmaar, CSU): contained and centred. */
.award-media-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--white);
}

.award-media-contain img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Wubbo logo: shown whole, centred, nothing cropped (contain). The teal
   panel matches the image's own teal so the letterbox margins blend in. */
.award-media-wubbo {
  background: #0d8a93;
  padding: 0;
}

.award-media-wubbo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  /* Cards stack vertically but keep text-left / image-right, with a wider
     image strip now that there is room. */
  .award-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .award-card {
    grid-template-columns: 1fr minmax(0, 220px);
  }
}

@media (max-width: 680px) {
  /* Stack image above text on the narrowest screens. */
  .award-card {
    grid-template-columns: 1fr;
  }

  .award-media {
    grid-row: 1;
    min-height: 150px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .award-media-cover img {
    position: static;
    height: 150px;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: clamp(34px, 3.6vw, 64px);
  padding: clamp(34px, 4.5vw, 58px) clamp(20px, 4vw, 44px);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.footer-logo {
  width: min(270px, 100%);
  margin: 0 0 22px;
  opacity: .92;
}

.site-footer p {
  color: rgba(255, 255, 255, .7);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact,
.footer-social {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-contact h3,
.footer-social h3 {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-contact address {
  display: grid;
  gap: 10px;
  font-style: normal;
  line-height: 1.5;
}

.footer-contact a,
.footer-social a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 2px;
  justify-self: start;
  transition: color .18s ease, border-color .18s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.footer-contact span {
  color: rgba(255, 255, 255, .7);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: clamp(22px, 2.4vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-legal p {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  letter-spacing: .01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .85rem;
  transition: color .18s ease;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

/* ============================================================
   SUB-PAGE BUILDING BLOCKS - shared by pages other than the home page
   (start: contact). .page-head is a compact header that clears the fixed
   bar; .founder is a media + copy split (a portrait of the maker + text).
   Reuse .section-label, .hero-button and the shared h2/p styles so new
   pages stay consistent with the home page.
   ============================================================ */
.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--lang-h) + var(--nav-h) + clamp(56px, 8vw, 120px)) clamp(20px, 4vw, 44px) clamp(44px, 6vw, 88px);
}

.page-head h1 {
  margin: 16px 0 0;
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -.015em;
}

.page-head-intro {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.founder-media {
  margin: 0;
  overflow: hidden;
  min-height: clamp(380px, 46vw, 660px);
}

.founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.founder-copy {
  align-self: center;
  padding: clamp(48px, 6vw, 100px) clamp(22px, 5vw, 86px);
}

.founder-copy h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: 0;
}

.founder-copy p {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.founder-copy .founder-sign {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.02rem;
}

.founder-copy .founder-sign strong {
  font-weight: 760;
}

/* ============================================================
   CONTACT HERO - a calm, centred welcome: a big title in the middle of a
   dark-green field with a few very soft blurred blobs drifting slowly.
   Pure CSS, GPU-composited (transform/opacity only); the global
   prefers-reduced-motion rule freezes it.
   ============================================================ */
.contact-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--lang-h) + var(--nav-h) + 40px) clamp(20px, 5vw, 64px) clamp(72px, 11vh, 132px);
  background: radial-gradient(125% 118% at 50% 26%, #46583a 0%, #344426 50%, #27331e 100%);
  color: var(--white);
  text-align: center;
}

.contact-hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.contact-hero-field .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.contact-hero-field .blob-1 {
  width: 48vmax;
  height: 48vmax;
  left: -12%;
  top: -16%;
  background: radial-gradient(circle, rgba(128, 160, 98, .5), transparent 68%);
  animation: contact-blob-1 34s ease-in-out infinite alternate;
}

.contact-hero-field .blob-2 {
  width: 42vmax;
  height: 42vmax;
  right: -14%;
  top: 12%;
  background: radial-gradient(circle, rgba(56, 92, 52, .62), transparent 68%);
  animation: contact-blob-2 43s ease-in-out infinite alternate;
}

.contact-hero-field .blob-3 {
  width: 38vmax;
  height: 38vmax;
  left: 24%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(168, 196, 134, .36), transparent 68%);
  animation: contact-blob-3 39s ease-in-out infinite alternate;
}

@keyframes contact-blob-1 { to { transform: translate(16%, 13%) scale(1.18); } }
@keyframes contact-blob-2 { to { transform: translate(-13%, 9%) scale(1.12); } }
@keyframes contact-blob-3 { to { transform: translate(10%, -12%) scale(1.22); } }

.contact-hero-inner {
  position: relative;
  width: min(900px, 100%);
}

.contact-hero-eyebrow {
  margin: 0 0 20px;
  color: var(--accent-bright);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  animation: contact-rise .8s var(--ease-out) both .15s;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.012em;
  animation: contact-rise .9s var(--ease-out) both .28s;
}

.contact-hero-sub {
  max-width: 46ch;
  margin: clamp(20px, 3vw, 34px) auto 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  animation: contact-rise 1s var(--ease-out) both .46s;
}

@keyframes contact-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.contact-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4.5vh, 46px);
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  animation: contact-rise 1s var(--ease-out) both .8s;
}

.contact-scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 13px;
  height: 13px;
  border-right: 2px solid rgba(255, 255, 255, .72);
  border-bottom: 2px solid rgba(255, 255, 255, .72);
  transform: translate(-50%, 0) rotate(45deg);
  animation: contact-scroll-bounce 1.9s var(--ease-inout) infinite;
}

@keyframes contact-scroll-bounce {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .45; }
  50% { transform: translate(-50%, 8px) rotate(45deg); opacity: 1; }
}

/* Basic contact info strip, directly under the hero. */
.contact-info {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 84px) clamp(20px, 4vw, 44px);
}

.contact-info .section-label {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .07);
}

.contact-card-label {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-card-value {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 560;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* Legal / text pages (privacy policy, terms): one readable column. */
.legal {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 96px) clamp(20px, 4vw, 44px) clamp(60px, 8vw, 120px);
}

.legal-prose {
  max-width: 74ch;
}

.legal-prose h2 {
  margin: clamp(32px, 4vw, 48px) 0 12px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 620;
  line-height: 1.2;
}

.legal-prose > :first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.legal-prose p {
  margin: 0 0 14px;
}

.legal-prose ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal-prose li {
  margin-bottom: 6px;
}

.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   ULTRAWIDE - cap content to a centered max width so very wide screens
   read like ~1920px. Applied as inline padding, so section backgrounds,
   the hero video and the image band still span the full viewport. The
   max() means at <=1920 the normal gutter wins and nothing changes.
   ============================================================ */
.topbar,
.hero,
.page-head,
.contact-info,
.legal,
.section-grid,
.works,
.awards,
.site-footer {
  padding-inline: max(clamp(20px, 4vw, 44px), (100% - var(--maxw)) / 2);
}

.why,
.audiences,
.founder {
  padding-inline: max(0px, (100% - var(--maxw)) / 2);
}

.reveal,
.has-js [data-animate],
.has-js .section-label,
.has-js .stats div,
.has-js .service-list article,
.has-js .works-heading > *,
.has-js .work-card,
.has-js .why-media,
.has-js .why-copy > *,
.has-js .audiences article,
.has-js .faq details,
.has-js .site-footer > div:not(.footer-legal) {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .72s ease, transform .72s var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}

.reveal.is-visible,
.has-js [data-animate].is-visible,
.has-js .section-label.is-visible,
.has-js .stats div.is-visible,
.has-js .service-list article.is-visible,
.has-js .works-heading > *.is-visible,
.has-js .work-card.is-visible,
.has-js .why-media.is-visible,
.has-js .why-copy > *.is-visible,
.has-js .audiences article.is-visible,
.has-js .faq details.is-visible,
.has-js .site-footer > div:not(.footer-legal).is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-reveal {
  overflow: hidden;
}

.image-reveal img {
  transform: translateY(34px) scale(1.08);
  clip-path: inset(12% 0 0 0);
  transition: transform 1s var(--ease-out), clip-path 1s var(--ease-out);
}

.image-reveal.is-visible img {
  transform: translateY(0) scale(1);
  clip-path: inset(0);
}

.has-js [data-split] .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
  vertical-align: bottom;
}

.has-js [data-split] .word > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform .74s var(--ease-out);
  transition-delay: calc(var(--stagger, 0ms) + var(--word-delay, 0ms));
}

.has-js [data-split].is-visible .word > span,
.has-js .hero [data-split] .word > span {
  transform: translateY(0);
}

@keyframes hero-bg-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes wordmark-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1200px) {
  .hero-wordmark {
    font-size: 7.4rem;
  }

  .section-grid h2,
  .works-heading h2,
  .why-copy h2,
  .site-footer h2,
  .faq h2 {
    font-size: 4rem;
  }

  .nav-links {
    gap: clamp(14px, 1.8vw, 28px);
  }

  .nav-links a {
    font-size: .95rem;
  }
}

@media (max-width: 1050px) {
  .hero-wordmark {
    margin-left: 24px;
    overflow: hidden;
    font-size: 5.5rem;
  }

  .hero-card {
    grid-column: 1;
    width: min(520px, calc(100% - 48px));
    margin-top: 0;
    padding-right: 0;
    margin-left: 24px;
  }

  .section-grid,
  .works-heading,
  .why,
  .founder,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stats,
  .work-grid,
  .audiences {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list article {
    grid-template-columns: 70px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .why-media {
    min-height: 58svh;
  }

  .topbar {
    padding: 7px clamp(16px, 3vw, 32px);
  }

  .nav-links {
    gap: clamp(10px, 1.6vw, 20px);
  }

  .nav-links a {
    font-size: .9rem;
  }

  .nav-cta {
    padding: 0 16px;
    font-size: .9rem;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 116px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav   nav";
    align-items: center;
    row-gap: 4px;
    height: var(--nav-h);
    padding: 8px 0 0;
  }

  .brand-mark {
    grid-area: brand;
    height: 44px;
    margin-left: 18px;
  }

  .nav-cta {
    grid-area: cta;
    margin-right: 18px;
    min-height: 40px;
    padding: 0 15px;
    font-size: .9rem;
    gap: 9px;
  }

  .nav-cta::after {
    width: 9px;
    height: 9px;
  }

  .primary-nav {
    grid-area: nav;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    border-top: 1px solid rgba(22, 19, 15, .08);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    gap: 22px;
    flex-wrap: nowrap;
    padding: 12px 18px;
  }

  .nav-links li {
    scroll-snap-align: start;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 4px 0;
  }

  .nav-links a::after {
    left: 0;
    right: 0;
  }

  .topbar.is-scrolled .brand-mark {
    height: 44px;
  }

  .topbar.is-scrolled .nav-links {
    gap: 22px;
  }

  .topbar.is-scrolled .nav-cta {
    min-height: 40px;
    padding: 0 15px;
  }
}

@media (max-width: 680px) {
  :root {
    --lang-h: 48px;
  }

  .language-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: initial;
    gap: 8px;
    padding: 0 12px;
  }

  .language-bar p {
    font-size: .74rem;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .language-switch {
    gap: 5px;
    flex: 0 0 auto;
    font-size: .68rem;
  }

  .switch-track {
    width: 42px;
    height: 17px;
  }

  .switch-thumb {
    position: absolute;
    top: 50%;
    left: 3px;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
  }

  .language-switch[aria-pressed="true"] .switch-thumb {
    transform: translate(25px, -50%);
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--lang-h) + var(--nav-h) + 40px) 18px 30px;
  }

  .hero-bg img {
    object-position: 56% center;
    opacity: .48;
  }

  .hero-wordmark {
    margin-left: 0;
    overflow: hidden;
    font-size: clamp(2.9rem, 12.2vw, 4.05rem);
  }

  .hero-card {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
  }

  .hero-card h1 {
    font-size: clamp(2.35rem, 11.2vw, 2.75rem);
    line-height: 1.03;
  }

  .stats,
  .image-marquee,
  .work-grid,
  .audiences,
  .why-points {
    grid-template-columns: 1fr;
  }

  .section-grid {
    grid-template-columns: 1fr;
    padding: 72px 18px;
  }

  .section-grid h2,
  .works-heading h2,
  .why-copy h2,
  .site-footer h2,
  .faq h2 {
    font-size: 3rem;
  }

  .stats strong {
    font-size: 3.5rem;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-list p {
    grid-column: auto;
  }

  .works {
    padding: 72px 18px;
  }

  .audiences article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    padding: 72px 18px;
  }
}

@media (max-width: 380px) {
  :root {
    --nav-h: 112px;
  }

  .brand-mark {
    height: 40px;
    margin-left: 14px;
  }

  .language-bar {
    gap: 6px;
    padding: 0 10px;
  }

  .language-bar p {
    font-size: .68rem;
  }

  .language-switch {
    font-size: .64rem;
  }

  .hero-wordmark {
    font-size: 2.4rem;
  }

  .hero-card h1,
  .section-grid h2,
  .works-heading h2,
  .why-copy h2,
  .site-footer h2,
  .faq h2 {
    font-size: 2.28rem;
  }

  .nav-cta {
    margin-right: 14px;
    padding: 0 13px;
    font-size: .86rem;
  }

  .nav-links {
    gap: 20px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .hero-bg img {
    transform: none !important;
  }

  .nav-cta:hover {
    transform: none;
  }

  .primary-nav {
    scroll-behavior: auto;
  }
}
