/* =============================================================
   EXPERIENZ — shared stylesheet
   Tokens · base · components · reveal system · page sections
   Website by FF CODE
   ============================================================= */

/* ---------- Fonts (self-hosted Manrope, variable) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --ivory: #f2f0ea;
  --warm-white: #f8f7f3;
  --charcoal: #171815;
  --forest: #303a33;
  --dark-forest: #252e29;
  --stone: #a4a29b;
  --white: #fff;
  --border: rgba(23, 24, 21, 0.18);
  --border-strong: rgba(23, 24, 21, 0.28);
  --ink-soft: #3a3b36; /* body copy on light */
  --stone-2: #6c6d66; /* small meta */
  /* on-dark */
  --on-dark: var(--ivory);
  --on-dark-soft: rgba(242, 240, 234, 0.82);
  --on-dark-border: rgba(242, 240, 234, 0.3);
  --on-hero-soft: rgba(248, 247, 243, 0.88);
  --on-hero-border: rgba(248, 247, 243, 0.34);

  /* type */
  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(38px, 4.7vw, 82px);
  --fs-h2: clamp(31px, 4.4vw, 78px);
  --fs-h2-sm: clamp(30px, 3.8vw, 64px);
  --fs-h3-lg: clamp(24px, 3.2vw, 52px);
  --fs-h3: clamp(22px, 2.4vw, 38px);
  --fs-country: clamp(34px, 5vw, 86px);
  --fs-num: clamp(34px, 3.4vw, 52px);
  --fs-body: 17px;
  --fs-body-sm: 16px;
  --fs-kicker: 11px;
  --fs-wordmark: 17px;

  /* layout */
  --mx: clamp(32px, 5vw, 80px);
  --maxw: 1480px;
  --sec: clamp(72px, 11vw, 180px);
  --header-h: 86px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  text-wrap: pretty;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--charcoal);
  text-decoration: none;
}
a:hover {
  color: var(--forest);
}
h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
}
::selection {
  background: var(--forest);
  color: var(--ivory);
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.header.is-solid :focus-visible,
.section--dark :focus-visible,
.hero :focus-visible {
  outline-color: currentColor;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 12px 20px;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}
.skip-link:focus {
  transform: none;
  color: var(--warm-white);
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.pt-0 {
  padding-top: 0;
}
.pb-sm {
  padding-bottom: clamp(52px, 7vw, 110px);
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--mx);
}
.section {
  padding: var(--sec) 0;
}
.section--ivory {
  background: var(--ivory);
}
.section--warm {
  background: var(--warm-white);
}
.section--dark {
  background: var(--dark-forest);
  color: var(--ivory);
}
.kicker {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.lead {
  font-size: var(--fs-body);
  line-height: 1.66;
  color: var(--ink-soft);
}
.section--dark .lead {
  color: var(--on-dark-soft);
}
.cols {
  display: flex;
  gap: clamp(36px, 5vw, 90px);
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ---------- Typography: headings & masked lines ---------- */
.h1,
.h2,
.h3 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.018em;
  line-height: 1;
}
.h1 {
  font-size: var(--fs-hero);
  line-height: 1;
}
.h2 {
  font-size: var(--fs-h2);
}
.h2--sm {
  font-size: var(--fs-h2-sm);
  line-height: 1.02;
  letter-spacing: -0.016em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.04;
  letter-spacing: -0.014em;
}
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.03em;
}

/* ---------- Buttons (identical across all pages) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--charcoal);
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.btn:hover {
  border-color: var(--charcoal);
  background: rgba(23, 24, 21, 0.04);
  color: var(--charcoal);
}
.btn__arrow {
  font-size: 14px;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(5px);
}
.btn--on-dark {
  border-color: var(--on-dark-border);
  color: var(--ivory);
}
.btn--on-dark:hover {
  border-color: var(--ivory);
  background: rgba(242, 240, 234, 0.07);
  color: var(--ivory);
}
.btn--on-hero {
  border-color: var(--on-hero-border);
  color: var(--warm-white);
}
.btn--on-hero:hover {
  border-color: var(--warm-white);
  background: rgba(248, 247, 243, 0.08);
  color: var(--warm-white);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--warm-white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s ease,
    backdrop-filter 0.5s ease, height 0.4s ease, color 0.5s ease;
}
.header.is-solid {
  background: rgba(242, 240, 234, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(23, 24, 21, 0.12);
  color: var(--charcoal);
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--mx);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.wordmark:hover {
  color: inherit;
}
.logo {
  display: block;
  height: 24px;
  width: auto;
  fill: currentColor;
  color: inherit;
}
.logo--lg {
  height: 28px;
}
@media (max-width: 900px) {
  .logo {
    height: 21px;
  }
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav a {
  color: inherit;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, color 0.4s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: inherit;
  border-bottom-color: currentColor;
}
.header__end {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}
.langs {
  display: flex;
  align-items: center;
  gap: 13px;
}
.langs a {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.langs a:hover {
  color: inherit;
  opacity: 1;
}
.langs a[aria-current="true"] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  color: inherit;
}
.burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ivory);
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  padding: 0 var(--mx);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
}
.menu__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu__close {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: var(--fs-kicker);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  padding-bottom: 12vh;
}
.menu__nav a {
  font-size: clamp(34px, 9vw, 58px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(24px);
}
.menu.is-open .menu__nav a {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
  transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
}
.menu__foot {
  padding-bottom: clamp(28px, 5vw, 52px);
}
.menu__langs {
  display: flex;
  gap: 22px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.menu__langs a {
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.menu__langs a[aria-current="true"] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.menu__loc {
  font-size: var(--fs-kicker);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Media (images) ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}
.media__inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.media[data-parallax] .media__inner {
  top: -5%;
  height: 110%;
}
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-4x5 {
  aspect-ratio: 4 / 5;
}
.ratio-3x2 {
  aspect-ratio: 3 / 2;
}
.ratio-1x1 {
  aspect-ratio: 1 / 1;
}
.ratio-16x7 {
  aspect-ratio: 16 / 7;
}
/* image hover */
.media-link {
  display: block;
  color: inherit;
}
.media-link:hover {
  color: inherit;
}
.media-link .media__img {
  transition: transform 0.8s var(--ease);
}
.media-link:hover .media__img,
a.card:hover .media__img {
  transform: scale(1.035);
}
a.card .media__img {
  transition: transform 0.8s var(--ease);
}
a.card {
  color: inherit;
}

/* ---------- Placeholder (Magnetic photo TODO) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ph--alt {
  background: var(--ivory);
  color: var(--stone-2);
  border: 1px solid var(--border);
}
.ph__tag {
  max-width: 80%;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(242, 240, 234, 0.4);
  pointer-events: none;
}
.ph--alt::after {
  border-color: var(--border);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-forest);
  color: var(--warm-white);
}
.hero--home {
  min-height: 760px;
  min-height: max(100svh, 760px);
}
.hero--page {
  min-height: min(78svh, 720px);
}
.hero--contact {
  min-height: min(72svh, 660px);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* flat readability overlay + directional gradient */
  background: linear-gradient(rgba(23, 24, 21, 0.22), rgba(23, 24, 21, 0.22)),
    linear-gradient(
      180deg,
      rgba(23, 24, 21, 0.42) 0%,
      rgba(23, 24, 21, 0.14) 42%,
      rgba(23, 24, 21, 0.55) 100%
    );
}
.hero__scrim--home,
.hero__scrim--page {
  /* modifiers reserved for per-hero tuning; base treatment applies to all */
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(140px, 18vw, 220px) var(--mx) clamp(40px, 5vw, 64px);
}
.hero--home .hero__inner {
  padding: 0 var(--mx) clamp(32px, 4vw, 54px);
}
.hero .h1 {
  color: var(--warm-white);
}
.hero__kicker {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 247, 243, 0.82);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.hero__body {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 620px;
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--on-hero-soft);
}
.hero__cta {
  margin-top: clamp(28px, 3.5vw, 42px);
}
.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 7vw, 90px);
}
.hero__meta {
  padding-left: 18px;
  border-left: 1px solid rgba(248, 247, 243, 0.3);
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(248, 247, 243, 0.8);
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: clamp(26px, 3.4vw, 44px);
}

/* ---------- Hero scroll cue (home) ---------- */
.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(20px, 3vw, 32px);
  margin-inline: auto;
  width: max-content;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(248, 247, 243, 0.82);
  transition: color 0.4s ease;
}
.scroll-cue:hover {
  color: var(--white);
}
.scroll-cue__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(248, 247, 243, 0.25);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 45%;
  background: currentColor;
  animation: cueFlow 2.2s var(--ease) infinite;
}
@keyframes cueFlow {
  0% {
    transform: translateY(-105%);
  }
  55%,
  100% {
    transform: translateY(240%);
  }
}
@media (max-width: 700px) {
  .scroll-cue {
    display: none;
  }
}

/* =============================================================
   INTRO / SPLIT sections
   ============================================================= */
.split {
  display: flex;
  gap: clamp(40px, 6vw, 110px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.split__text {
  flex: 1 1 500px;
  min-width: 0;
}
.split__media {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 520px;
}
.measure {
  max-width: 640px;
}
.stack-p > * + * {
  margin-top: 22px;
}
.mt-h {
  margin-top: clamp(30px, 3.6vw, 52px);
}
.mt-btn {
  margin-top: clamp(30px, 3.6vw, 48px);
}
.mb-kicker {
  margin-bottom: clamp(26px, 3.4vw, 46px);
}

/* two-column heading + intro paragraph */
.duo {
  display: flex;
  gap: clamp(36px, 5vw, 90px);
  flex-wrap: wrap;
  align-items: flex-start;
}
.duo__head {
  flex: 1 1 460px;
  min-width: 0;
}
.duo__aside {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 520px;
  padding-top: clamp(8px, 3vw, 60px);
}

/* =============================================================
   STAT ROW (home)
   ============================================================= */
.stats {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 200px;
  padding: clamp(30px, 3.6vw, 52px) clamp(16px, 2vw, 32px) 0;
}
.stat + .stat {
  border-left: 1px solid var(--border);
}
.stat:first-child {
  padding-left: 0;
}
.stat__n {
  font-size: var(--fs-num);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat__l {
  margin-top: 14px;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--stone);
}

/* =============================================================
   SERVICE BLOCKS (home) & feature lists
   ============================================================= */
.svc {
  display: flex;
  gap: clamp(36px, 5vw, 90px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.svc--rev {
  flex-wrap: wrap-reverse;
}
.svc__media {
  flex: 1 1 440px;
  min-width: 0;
}
.svc__text {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 600px;
}
.svc__index {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone);
}
.svc__index::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(23, 24, 21, 0.22);
}
.section--dark .svc__index::after {
  background: rgba(242, 240, 234, 0.22);
}
.svc__title {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(28px, 2.9vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.list-dash {
  margin-top: clamp(26px, 3vw, 38px);
  display: grid;
  gap: 11px;
}
.list-dash li {
  display: flex;
  gap: 16px;
  font-size: 15px;
}
.list-dash li::before {
  content: "\2014";
  color: var(--stone);
}

/* =============================================================
   EDITORIAL ROWS (services detail, about, nordic)
   ============================================================= */
.rows {
  display: block;
}
.row {
  display: flex;
  gap: clamp(20px, 4vw, 64px);
  flex-wrap: wrap;
  padding: clamp(30px, 3.8vw, 56px) 0;
  border-top: 1px solid var(--border);
}
.rows .row:last-child {
  border-bottom: 1px solid var(--border);
}
.section--dark .row {
  border-color: rgba(242, 240, 234, 0.16);
}
.row__side {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 340px);
}
.row__num {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone);
}
.row__num--lg {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.row__label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.row__num--lg + .row__label {
  margin-top: 14px;
}
.row__body {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 760px;
}
.row__body p {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--ink-soft);
}
.row__body .h3 + p {
  margin-top: clamp(18px, 2vw, 26px);
}

/* =============================================================
   APPROACH LIST (home)
   ============================================================= */
.principles {
  margin-top: clamp(56px, 7vw, 120px);
}
.principle {
  display: flex;
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(26px, 3.4vw, 48px) 0;
  border-top: 1px solid var(--border);
}
.principles .principle:last-child {
  border-bottom: 1px solid var(--border);
}
.principle__n {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone);
  flex: 0 0 auto;
}
.principle__t {
  font-size: clamp(24px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.014em;
  text-transform: uppercase;
}

/* =============================================================
   COUNTRIES (nordic band)
   ============================================================= */
.countries {
  flex: 1 1 460px;
  min-width: 0;
}
.countries--sm .country {
  font-size: clamp(30px, 3.8vw, 60px);
}
.country {
  padding: clamp(14px, 1.6vw, 22px) 0;
  border-top: 1px solid rgba(242, 240, 234, 0.16);
  font-size: var(--fs-country);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.countries .country:last-child {
  border-bottom: 1px solid rgba(242, 240, 234, 0.16);
}

/* =============================================================
   PARTNERS grid + filter
   ============================================================= */
.filters {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.filter {
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid transparent;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.filter:hover {
  color: var(--charcoal);
}
.filter[aria-pressed="true"] {
  color: var(--charcoal);
  border-bottom-color: var(--charcoal);
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 52px);
  margin-top: clamp(36px, 5vw, 80px);
}
.card {
  flex: 1 1 300px;
  min-width: 0;
  color: inherit;
}
.card--wide {
  flex: 1 1 420px;
}
.card--offset .media,
.card--offset .ph {
  margin-top: clamp(0px, 4vw, 64px);
}
.card[hidden] {
  display: none;
}
.card__meta {
  padding-top: 20px;
}
.card__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card__sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone-2);
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid {
  display: flex;
  gap: clamp(40px, 6vw, 110px);
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 520px;
}
.info-block {
  margin-top: clamp(36px, 4.4vw, 64px);
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--border);
}
.info-block__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.info-block address {
  margin-top: 16px;
  font-size: 16px;
  font-style: normal;
  line-height: 1.8;
  color: var(--ink-soft);
}
.info-cols {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.info-cols dt {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.info-cols dd {
  margin: 8px 0 0;
  font-size: 16px;
}

/* form */
.form {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 720px;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 36px);
}
.field {
  flex: 1 1 240px;
  min-width: 0;
  display: block;
}
.field--full {
  flex-basis: 100%;
}
.field__label,
.legend {
  display: block;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.field__req {
  color: var(--stone);
}
.field input,
.field textarea {
  width: 100%;
  margin-top: 12px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  transition: border-color 0.3s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--stone);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--forest);
}
.field textarea {
  resize: vertical;
}
.field__error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8a3a2f;
  min-height: 1em;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-bottom-color: #8a3a2f;
}
.fieldset {
  margin: 0;
  padding: clamp(22px, 2.6vw, 32px) 0 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.legend {
  padding: 0;
}
.choices {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.choice:hover {
  border-color: var(--charcoal);
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice:has(input:checked) {
  border-color: var(--charcoal);
  background: rgba(23, 24, 21, 0.05);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.form__submit {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.form__status {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.form__status.is-ok {
  color: var(--forest);
}
/* [hidden] must beat .form { display:grid } — otherwise the sent form stays visible */
.form[hidden],
.form__thanks[hidden] {
  display: none !important;
}
/* honeypot — off-screen, never shown to people */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
/* sending state */
.form.is-sending .btn {
  opacity: 0.6;
  pointer-events: none;
}
/* slide-up + fade when the form has been sent */
.form.is-leaving {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-28px);
  transition: height 0.6s var(--ease), opacity 0.45s ease, transform 0.6s var(--ease);
}
/* thank-you panel (takes the form's place) */
.form__thanks {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 720px;
  padding-top: clamp(26px, 3.4vw, 44px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.form__thanks.is-in {
  opacity: 1;
  transform: none;
}
.form__thanks .h2 {
  margin-top: clamp(18px, 2.4vw, 30px);
}
.form__thanks .lead {
  margin-top: clamp(16px, 2vw, 26px);
}

/* =============================================================
   CTA band (image bg)
   ============================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark-forest);
}
.cta__media {
  position: absolute;
  inset: 0;
}
.cta__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(23, 24, 21, 0.56);
}
.cta__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(84px, 13vw, 200px) var(--mx);
}
.cta .h2 {
  color: var(--warm-white);
}
.cta__body {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  max-width: 620px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--on-hero-soft);
}
.cta__cta {
  margin-top: clamp(30px, 3.6vw, 48px);
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--warm-white);
  padding: clamp(56px, 7vw, 110px) 0 clamp(28px, 3vw, 44px);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(28px, 3.6vw, 56px);
  border-bottom: 1px solid var(--border);
}
.footer__brand {
  flex: 1 1 260px;
  min-width: 0;
}
.footer__brandname {
  font-size: var(--fs-wordmark);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer__loc {
  margin-top: 12px;
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer__col {
  flex: 1 1 180px;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer__col--nav {
  flex: 2 1 480px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px clamp(18px, 2.4vw, 38px);
}
@media (max-width: 700px) {
  .footer__col--nav {
    flex-direction: column;
  }
}
.footer__col a {
  font-size: var(--fs-kicker);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer__col--contact a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-top: clamp(20px, 2.4vw, 32px);
  font-size: var(--fs-kicker);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer__bottom a,
.footer__bottom a:hover {
  color: inherit;
  text-decoration: none;
}

/* =============================================================
   REVEAL SYSTEM (progressive: hidden only when JS on)
   ============================================================= */
.js [data-r="up"] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-r="up"].is-in {
  opacity: 1;
  transform: none;
}
.js .r-line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-r].is-in .r-line,
.js .r-line.is-in {
  transform: none;
}
.js [data-r="img"] .media__img,
.js [data-r="img"] .ph {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 0.8s var(--ease);
}
.js [data-r="img"].is-in .media__img,
.js [data-r="img"].is-in .ph {
  opacity: 1;
  transform: none;
}
.js [data-r="hero"] .media__img {
  transform: scale(1.045);
  transition: transform 1.8s var(--ease);
}
.js [data-r="hero"].is-in .media__img {
  transform: none;
}
.js [data-r="country"] {
  opacity: 0.22;
  transition: opacity 0.9s var(--ease);
}
.js [data-r="country"].is-in {
  opacity: 1;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }
  .nav,
  .langs {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (min-width: 901px) {
  .menu {
    display: none;
  }
}
@media (max-width: 640px) {
  .stat {
    flex-basis: 45%;
    padding-left: clamp(16px, 4vw, 24px);
  }
  .stat:first-child,
  .stat:nth-child(3) {
    padding-left: 0;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .row__side {
    width: 100%;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-r],
  .js [data-r] .media__img,
  .js [data-r] .ph,
  .js .r-line,
  .menu__nav a {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .media[data-parallax] .media__inner {
    top: 0;
    height: 100%;
    transform: none !important;
  }
  .form.is-leaving,
  .form__thanks {
    transition: none !important;
    transform: none !important;
  }
  .form__thanks {
    opacity: 1 !important;
  }
  .scroll-cue__line::after {
    animation: none !important;
    height: 100%;
    opacity: 0.6;
  }
  * {
    scroll-behavior: auto !important;
  }
}
