/* =========================================================
   Alphine Welfare Society — editorial design system (v3)
   Palette: forest green + saffron + ivory (from the emblem)
   Type: Instrument Serif (display) + Plus Jakarta Sans (text)
   ========================================================= */

:root {
  --forest-950: #04170F;
  --forest-900: #082B20;
  --forest-800: #0D3D2D;
  --forest-700: #145A40;
  --forest-600: #1D7452;
  --leaf: #5DB04F;
  --leaf-soft: #E2EFE3;
  --saffron: #EE7B2F;
  --saffron-600: #D2621A;
  --saffron-soft: #FCE7D5;
  --gold: #E9B45C;
  --ivory: #F7F3EA;
  --ivory-2: #EFE8DA;
  --paper: #FFFDF8;
  --ink: #0D1A14;
  --ink-2: #27362E;
  --muted: #5F6C65;
  --on-dark: #F4EFE4;
  --on-dark-2: #A9BEB2;
  --line: rgba(13, 26, 20, .12);
  --line-2: rgba(13, 26, 20, .22);
  --line-light: rgba(255, 255, 255, .16);

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 84px;
  --radius: 22px;
  --radius-lg: 30px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
::selection { background: var(--forest-800); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 500; padding: 12px 18px; border-radius: 12px; background: var(--forest-900); color: #fff; font-weight: 700; }
.skip-link:focus { top: 16px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

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

/* ---------- Sections & type ---------- */
.section { position: relative; padding-block: clamp(96px, 11vw, 176px); }
.section--tight { padding-block: clamp(64px, 7vw, 112px); }
.section--sand { background: var(--ivory-2); }
.section--dark { background: var(--forest-900); color: #D5E2DA; }

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.label::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .35; }
.label__no { font-family: var(--serif); font-size: 19px; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--saffron-600); }
.label--light { color: #CFE0D6; }
.label--light .label__no { color: var(--gold); }

.display {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.2vw, 100px); line-height: .98; letter-spacing: -.02em;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--forest-700); }
.display--sm { font-size: clamp(36px, 4.4vw, 68px); }
.display--xl { font-size: clamp(52px, 8vw, 132px); line-height: .95; }
.section--dark .display, .cta-banner .display { color: var(--on-dark); }
.section--dark .display em, .cta-banner .display em { color: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 9px 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: transform .5s var(--ease), color .45s var(--ease), background-color .4s, border-color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: translateY(102%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:not(:has(.btn__icon)) { padding: 0 28px; }
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .6s var(--ease), background-color .4s, color .4s;
}
.btn__icon .icon { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--light { background: var(--ivory); color: var(--forest-900); }
.btn--light::before { background: var(--saffron); }
.btn--light:hover { color: #fff; }
.btn--light .btn__icon { background: var(--forest-900); color: var(--ivory); }
.btn--light:hover .btn__icon { background: #fff; color: var(--saffron-600); }
.btn--dark { background: var(--forest-900); color: var(--ivory); }
.btn--dark::before { background: var(--saffron); }
.btn--dark .btn__icon { background: var(--ivory); color: var(--forest-900); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--forest-900); }
.btn--outline { border: 1px solid var(--line-2); color: var(--ink); }
.btn--outline::before { background: var(--forest-900); }
.btn--outline:hover { color: var(--ivory); }
.btn--outline .btn__icon { background: var(--forest-900); color: var(--ivory); }
.btn--outline:hover .btn__icon { background: var(--ivory); color: var(--forest-900); }
.btn--sm { height: 46px; gap: 10px; padding-left: 20px; font-size: 14px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--sm .btn__icon .icon { width: 14px; height: 14px; }

.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; font-weight: 600; font-size: 15px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; }
.link-line:hover::after { animation: line-swap .9s var(--ease); }
.link-line .icon { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.link-line:hover .icon { transform: rotate(45deg); }
@keyframes line-swap {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Preloader & page curtain ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  background: var(--forest-900); color: var(--ivory);
}
.is-preloading .preloader { display: block; }
.is-loaded .preloader { transform: translateY(-100%); transition: transform 1.1s var(--ease-in-out) .1s; }
.preloader__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; }
.preloader__logo { width: clamp(84px, 9vw, 120px); height: auto; opacity: 0; transform: translateY(24px) scale(.9); animation: rise-in 1.1s var(--ease) .1s forwards; }
.preloader__name { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); opacity: 0; transform: translateY(24px); animation: rise-in 1.1s var(--ease) .25s forwards; }
.preloader__name em { color: var(--gold); }
.preloader__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 4vw, 52px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.preloader__tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; }
.preloader__count { font-family: var(--serif); font-size: clamp(64px, 10vw, 150px); line-height: .8; font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .1); }
.preloader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--gold), var(--saffron)); transform: scaleX(0); transform-origin: left; }
@keyframes rise-in { to { opacity: 1; transform: none; } }

.curtain {
  position: fixed; inset: 0; z-index: 290;
  display: grid; place-items: center;
  background: var(--forest-900);
  transform: translateY(100%); pointer-events: none;
  visibility: hidden;
}
.is-leaving .curtain, .is-entering .curtain { visibility: visible; }
.curtain img { width: 84px; height: auto; opacity: 0; transition: opacity .35s .15s; }
.is-leaving .curtain { transform: none; transition: transform .6s var(--ease-in-out); pointer-events: all; }
.is-leaving .curtain img, .is-entering .curtain img { opacity: 1; }
.is-entering .curtain { transform: none; }
.is-entering.is-ready .curtain { transform: translateY(-100%); transition: transform .9s var(--ease-in-out) .1s; }
.is-entering.is-ready .curtain img { opacity: 0; transition: opacity .25s; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: #fff;
  transition: transform .7s var(--ease), color .4s;
}
.header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(247, 243, 234, .86);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .45s;
}
.header.is-solid { color: var(--ink); }
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-105%); }
.header__inner { position: relative; display: flex; align-items: center; gap: 28px; max-width: 1400px; height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 50px; height: auto; transition: transform .7s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 28px; letter-spacing: -.01em; }
.brand__sub { margin-top: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; opacity: .78; }
.brand--light { color: var(--on-dark); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 500; }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); transform: translateX(-50%) scale(0); transition: transform .5s var(--ease); }
.nav__link.active::after { transform: translateX(-50%) scale(1); }
.roll { display: inline-block; height: 1.4em; overflow: hidden; line-height: 1.4; vertical-align: top; }
.roll__in { display: block; transition: transform .6s var(--ease); }
.roll__in::after { content: attr(data-text); display: block; }
.nav__link:hover .roll__in { transform: translateY(-50%); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__mis { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; opacity: .85; transition: opacity .3s; }
.header__mis:hover { opacity: 1; }
.header__mis .icon { width: 16px; height: 16px; }
.btn--header { background: #fff; color: var(--forest-900); }
.btn--header::before { background: var(--saffron); }
.btn--header:hover { color: #fff; }
.btn--header .btn__icon { background: var(--forest-900); color: #fff; }
.header.is-solid .btn--header { background: var(--forest-900); color: #fff; }
.header.is-solid .btn--header .btn__icon { background: #fff; color: var(--forest-900); }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }
.menu-open .header { color: #fff; transform: none; }
.menu-open .header::before { opacity: 0; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: var(--forest-900); color: var(--ivory);
  clip-path: circle(0% at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .9s var(--ease-in-out); }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 100%; padding: calc(var(--header-h) + 28px) var(--gutter) 36px; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; transform: translateY(105%); transition: transform .8s var(--ease); }
.menu-open .menu__list a { transform: none; transition-delay: calc(.28s + var(--i, 0) * 60ms); }
.menu__no { font-size: 12px; opacity: .5; font-variant-numeric: tabular-nums; }
.menu__label { font-family: var(--serif); font-size: clamp(36px, 9.5vw, 60px); line-height: 1.02; }
.menu__list a.active .menu__label { font-style: italic; color: var(--gold); }
.menu__foot { display: grid; gap: 22px; font-size: 15px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .8s var(--ease); }
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .6s; }
.menu__foot > div { display: flex; flex-direction: column; gap: 3px; }
.menu__k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; }
.menu__foot > .menu__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }
.menu__mis { font-weight: 600; }

@media (max-width: 1340px) {
  .header__mis { display: none; }
  .nav__link { padding-inline: 11px; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .header .btn--header { display: none; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: 24px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100vh; height: 100svh; min-height: 680px;
  background: var(--forest-950); color: #fff;
}
.hero__slides { position: absolute; inset: 0; }
.js:not(.is-ready) .hero__slides { opacity: 0; transform: scale(1.12); }
.is-ready .hero__slides { transition: opacity 1.4s ease, transform 2.6s var(--ease); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { z-index: 1; opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide:nth-child(1) img { object-position: 50% 45%; }
.hero__slide:nth-child(2) img { object-position: 50% 35%; }
.hero__slide:nth-child(3) img { object-position: 50% 40%; }
.hero__slide:nth-child(4) img { object-position: 45% 30%; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 23, 15, .62) 0%, rgba(4, 23, 15, .12) 26%, rgba(4, 23, 15, .2) 52%, rgba(4, 23, 15, .9) 100%),
    linear-gradient(90deg, rgba(4, 23, 15, .55) 0%, rgba(4, 23, 15, 0) 62%);
}
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 3.4vw, 44px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(93, 176, 79, .6); }
  70% { box-shadow: 0 0 0 12px rgba(93, 176, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 176, 79, 0); }
}
.hero__title { margin-top: 22px; max-width: 12.4em; font-family: var(--serif); font-size: clamp(50px, 8vw, 136px); line-height: .93; letter-spacing: -.025em; --d0: 250ms; }
.hero__line { display: block; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 34px; }
.hero__lead { max-width: 450px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { position: relative; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 22px 26px; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 64px); }
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats dd { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1; }
.hero__stats dt { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.hero__controls { display: flex; align-items: center; gap: 26px; min-width: 0; }
.hero__caption { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.hero__caption [data-hero-caption] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__index { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--gold); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { position: relative; width: 44px; height: 22px; }
.hero__dot::before, .hero__dot i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; }
.hero__dot::before { background: rgba(255, 255, 255, .28); }
.hero__dot i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i { transform: scaleX(1); }
.hero__dot.is-running i { animation: dot-fill var(--hero-dur, 6.5s) linear forwards; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__scroll { position: absolute; z-index: 3; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateY(-50%); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 64px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #fff; animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.js [data-intro] { opacity: 0; transform: translateY(26px); }
.is-ready [data-intro] { opacity: 1; transform: none; transition: opacity 1s ease, transform 1.3s var(--ease); transition-delay: var(--d, 450ms); }
html.is-ready:not(.js) [data-intro] { transition: none; }

@media (max-width: 1200px) { .hero__scroll { display: none; } }
@media (max-width: 900px) {
  .hero__bar-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__stats { justify-content: space-between; }
  .hero__controls { justify-content: space-between; }
}
@media (max-width: 640px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero__title { font-size: clamp(44px, 12.4vw, 64px); }
  .hero__lead { font-size: 16px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero__stats { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 84vh; min-height: 84svh;
  padding: calc(var(--header-h) + 64px) 0 clamp(52px, 6vw, 92px);
  background: var(--forest-950); color: #fff;
}
.page-hero--short { min-height: 72vh; min-height: 72svh; }
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.js:not(.is-ready) .page-hero__media { opacity: 0; transform: scale(1.12); }
.is-ready .page-hero__media { transition: opacity 1.2s ease, transform 2.4s var(--ease); }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 23, 15, .66) 0%, rgba(4, 23, 15, .22) 40%, rgba(4, 23, 15, .9) 100%); }
.page-hero__content { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }
.page-hero__title { margin-top: 24px; max-width: 11.5em; font-family: var(--serif); font-size: clamp(48px, 7.4vw, 120px); line-height: .95; letter-spacing: -.025em; --d0: 250ms; }
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__lead { margin-top: 28px; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .86); }

/* ---------- Intro / manifesto ---------- */
.intro .label { margin-bottom: clamp(36px, 5vw, 64px); }
.manifesto { max-width: 17.5em; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 76px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
.hw { opacity: .16; transition: opacity .45s ease; }
.hw.on { opacity: 1; }
.pill-img { display: inline-block; width: 1.9em; height: .95em; margin: 0 .06em; overflow: hidden; border-radius: 999px; vertical-align: middle; transform: translateY(-.06em); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.intro__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 5vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.intro__foot .link-line { color: var(--ink); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--forest-800); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  max-width: calc(100% - 28px); padding: 8px 14px; border-radius: 999px;
  background: rgba(4, 23, 15, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 12.5px; line-height: 1.4;
}

/* ---------- Impact ---------- */
.impact__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.impact__lead { max-width: 380px; font-size: 17px; color: var(--on-dark-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-light); }
.stat { padding: 32px 24px 0 0; border-right: 1px solid var(--line-light); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 6.4vw, 104px); line-height: .9; letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.stat__num sup { position: relative; top: .12em; margin-left: 2px; font-size: .45em; color: var(--saffron); vertical-align: top; }
.stat__label { margin-top: 18px; font-weight: 600; color: var(--on-dark); }
.stat__desc { margin-top: 4px; font-size: 14px; color: #8FA79A; }
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; margin-top: clamp(72px, 9vw, 128px); }
.collage__a { grid-column: 1 / 6; aspect-ratio: 4 / 4.6; }
.collage__b { grid-column: 7 / 13; aspect-ratio: 16 / 10; margin-top: 16%; }
.collage__c { grid-column: 8 / 12; aspect-ratio: 4 / 3; margin-top: -4%; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 32px; border-top: 1px solid var(--line-light); }
  .collage { grid-template-columns: 1fr 1fr; }
  .collage__a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .collage__b, .collage__c { grid-column: auto; aspect-ratio: 1; margin-top: 0; }
}

/* ---------- What we do (horizontal) ---------- */
.work { position: relative; background: var(--ivory); }
.work__sticky { padding-block: clamp(96px, 10vw, 150px) 56px; }
.work.is-pinned .work__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--header-h) - 8px) 28px;
}
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.work .display { font-size: clamp(42px, 5.4vw, 88px); }
.work__intro { max-width: 360px; color: var(--muted); }
.work__viewport { margin-top: clamp(28px, 3.4vw, 52px); }
.work:not(.is-pinned) .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.work:not(.is-pinned) .work__viewport::-webkit-scrollbar { display: none; }
.work__track { display: flex; gap: 22px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); will-change: transform; }
.work-card { flex: 0 0 auto; width: clamp(270px, calc((100vh - 520px) * .82), 420px); scroll-snap-align: start; }
.work:not(.is-pinned) .work-card { width: min(78vw, 360px); }
.work-card > a { display: flex; flex-direction: column; height: 100%; }
.work-card__media { position: relative; height: clamp(230px, calc(100vh - 520px), 520px); overflow: hidden; border-radius: var(--radius); background: var(--forest-800); }
.work:not(.is-pinned) .work-card__media { height: auto; aspect-ratio: 4 / 5; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card a:hover .work-card__media img { transform: scale(1.07); }
.work-card__body { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.work-card__no { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--saffron-600); }
.work-card h3 { font-family: var(--serif); font-size: clamp(28px, 2.3vw, 36px); line-height: 1.05; }
.work-card__by { margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-700); }
.work-card__text { max-width: 34ch; margin-top: 10px; padding-left: 34px; font-size: 15px; color: var(--muted); }
.work-card--end { width: clamp(240px, 20vw, 300px); }
.work:not(.is-pinned) .work-card--end { width: min(70vw, 280px); }
.work-card--end > a {
  justify-content: flex-end; gap: 12px; height: clamp(230px, calc(100vh - 520px), 520px);
  padding: 30px; border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: background-color .5s, color .5s, border-color .5s;
}
.work:not(.is-pinned) .work-card--end > a { height: auto; aspect-ratio: 4 / 5.6; }
.work-card--end > a:hover { background: var(--forest-900); border-color: var(--forest-900); color: var(--ivory); }
.work-card__end-no { font-family: var(--serif); font-size: 96px; line-height: .85; }
.work-card__end-text { max-width: 14ch; color: var(--muted); transition: color .5s; }
.work-card--end > a:hover .work-card__end-text { color: var(--on-dark-2); }
.work-card--end .link-line { align-self: flex-start; margin-top: 10px; }
.work__foot { display: flex; align-items: center; gap: 22px; margin-top: clamp(24px, 3vw, 40px); }
.work__progress { position: relative; flex: 1; max-width: 360px; height: 2px; overflow: hidden; background: var(--line); }
.work__progress i { position: absolute; inset: 0; background: var(--forest-800); transform: scaleX(0); transform-origin: left; }
.work__hint { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-height: 820px) {
  .work.is-pinned .display { font-size: clamp(38px, 4.4vw, 64px); }
  .work.is-pinned .work-card__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* sun artwork for programmes without a photo */
.work-card__media--sun, .prog__media--sun {
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 112%, #F59A4A 0%, #D2621A 26%, #0D3D2D 62%, #082B20 100%);
}
.sun { position: relative; width: 38%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #FFE7AE 0%, #F4B45A 55%, #EE7B2F 100%); box-shadow: 0 0 90px 24px rgba(244, 180, 90, .35); animation: sun-breathe 6s ease-in-out infinite; }
.sun::before { content: ""; position: absolute; inset: -46%; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 231, 174, .38) 0 4deg, transparent 4deg 18deg); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 70%); mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 70%); animation: spin 50s linear infinite; }
.sun__word { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-family: var(--serif); font-size: 30px; font-style: italic; color: #FFE7AE; }
@keyframes sun-breathe { 50% { transform: scale(1.06); box-shadow: 0 0 120px 34px rgba(244, 180, 90, .45); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Journey (sticky story) ---------- */
.story__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 96px); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + 20px); z-index: 2; }
.story__frame { position: relative; width: 100%; aspect-ratio: 4 / 4.8; max-height: calc(100vh - var(--header-h) - 48px); overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-800); }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s ease, transform 1.8s var(--ease); }
.story__frame img.is-active { opacity: 1; transform: none; }
.story__counter { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 16px; border-radius: 999px; background: rgba(4, 23, 15, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13px; letter-spacing: .1em; }
.story__counter [data-step-current] { font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--gold); }
.story__step { padding-block: clamp(40px, 9vh, 96px); border-top: 1px solid var(--line); opacity: .3; transition: opacity .6s ease; }
.story__step:last-child { border-bottom: 1px solid var(--line); }
.story__step.is-active { opacity: 1; }
.story__no { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-600); }
.story__step h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }
.story__step p { max-width: 42ch; margin-top: 16px; font-size: 17px; color: var(--muted); }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story__media { top: 0; margin-inline: calc(var(--gutter) * -1); padding: calc(var(--header-h) + 10px) var(--gutter) 14px; background: var(--ivory); }
  .story__frame { aspect-ratio: 16 / 10; max-height: 36vh; box-shadow: 0 20px 40px -24px rgba(4, 23, 15, .5); }
  .story__step { padding-block: 44px; }
}

/* ---------- Schemes ---------- */
.schemes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.scheme-list { border-top: 1px solid var(--line-2); }
.scheme-row {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 72px 1fr auto 54px; align-items: center; gap: 24px;
  padding: 28px 8px; border-bottom: 1px solid var(--line-2);
  transition: color .5s var(--ease), padding .6s var(--ease);
}
.scheme-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-900); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.scheme-row:hover { padding-inline: 28px; color: var(--ivory); }
.scheme-row:hover::before { transform: none; }
.scheme-row__no { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-600); }
.scheme-row__title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; }
.scheme-row__by { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-align: right; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.scheme-row:hover .scheme-row__by { color: var(--on-dark-2); }
.scheme-row__go { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .5s, border-color .5s, color .5s, transform .6s var(--ease); }
.scheme-row__go .icon { width: 18px; height: 18px; }
.scheme-row:hover .scheme-row__go { background: var(--saffron); border-color: var(--saffron); color: #fff; transform: rotate(45deg); }
@media (max-width: 800px) {
  .scheme-row { grid-template-columns: 40px 1fr 44px; gap: 6px 14px; padding: 22px 4px; }
  .scheme-row__by { grid-column: 2; grid-row: 2; text-align: left; }
  .scheme-row__go { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
}
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(4, 23, 15, .55);
  opacity: 0; scale: .6;
  transition: opacity .35s ease, scale .55s var(--ease);
}
.hover-preview.is-on { opacity: 1; scale: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Field gallery ---------- */
.field { overflow: hidden; }
.field__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.field__lead { max-width: 360px; color: var(--muted); }
.text-marquee { margin-block: clamp(40px, 5vw, 72px); padding-block: 18px; overflow: hidden; border-block: 1px solid var(--line); }
.text-marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; font-family: var(--serif); font-size: clamp(48px, 7vw, 112px); line-height: 1.05; }
.text-marquee__track > * { margin-right: 40px; }
.text-marquee span { color: transparent; -webkit-text-stroke: 1px var(--forest-700); }
.text-marquee span:nth-of-type(even) { color: var(--forest-800); font-style: italic; -webkit-text-stroke: 0; }
.text-marquee i { font-size: .45em; font-style: normal; color: var(--saffron); }
@keyframes marquee { to { transform: translateX(-50%); } }
.gallery { columns: 3; column-gap: 20px; }
.g-item { position: relative; display: block; width: 100%; margin-bottom: 20px; overflow: hidden; border-radius: 18px; background: var(--forest-800); break-inside: avoid; text-align: left; }
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item__cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(4, 23, 15, .56); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .86); font-size: 12.5px; line-height: 1.4;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.g-item__cap b { font-size: 14px; font-weight: 600; color: #fff; }
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; transform: none; }
@media (hover: none) { .g-item__cap { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

/* lightbox — full-screen photo viewer */
.lightbox {
  --side: clamp(0px, 7vw, 104px);
  position: fixed; inset: 0; z-index: 250; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  background: #030b07; color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility 0s .4s;
  overscroll-behavior: contain;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lightbox__bg {
  position: absolute; inset: -80px; z-index: -1;
  background: center / cover no-repeat;
  filter: blur(50px) saturate(1.3); opacity: .3; transform: scale(1.1);
}
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(12px, 3vw, 32px); }
.lightbox__title { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.lightbox__group { overflow: hidden; font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.lightbox__count { flex-shrink: 0; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
.lightbox__tools { display: flex; flex-shrink: 0; gap: 10px; }
.lightbox__btn, .lightbox__nav {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.lightbox__btn:hover, .lightbox__nav:hover { background: #fff; color: var(--forest-900); }
.lightbox__btn .icon, .lightbox__nav .icon { width: 20px; height: 20px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__stage { position: relative; min-height: 0; touch-action: pan-y pinch-zoom; }
.lightbox__img {
  position: absolute; top: 0; left: var(--side);
  width: calc(100% - var(--side) * 2); height: 100%;
  object-fit: contain; user-select: none; -webkit-user-drag: none;
  opacity: 0; transform: scale(.985);
  transition: opacity .45s ease, transform .7s var(--ease);
}
.lightbox__img.is-in { opacity: 1; transform: none; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.lightbox__prev { left: clamp(10px, 2vw, 28px); }
.lightbox__next { right: clamp(10px, 2vw, 28px); }
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }
.lightbox__bottom { padding: 8px clamp(12px, 3vw, 32px) 14px; }
.lightbox__cap { max-width: 80ch; min-height: 1.5em; margin: 0 auto; text-align: center; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.lightbox__thumbs { margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__track { display: flex; gap: 8px; width: max-content; margin: 0 auto; padding: 3px; }
.lightbox__thumb { flex: 0 0 auto; width: 76px; height: 54px; overflow: hidden; border-radius: 8px; opacity: .42; transition: opacity .3s, box-shadow .3s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: .8; }
.lightbox__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__thumbs { display: none; }
.lightbox.is-fs { --side: clamp(0px, 5vw, 80px); }
@media (max-width: 700px) {
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__nav { top: auto; bottom: 12px; width: 42px; height: 42px; transform: none; background: rgba(3, 11, 7, .55); }
  .lightbox__nav:active { transform: scale(.92); }
  .lightbox__thumb { width: 58px; height: 42px; }
}
@media (max-height: 560px) { .lightbox__thumbs { display: none; } }

/* ---------- Partner logos ---------- */
.partners-band__head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.partners-band__head .display { max-width: 16em; }
.logo-marquee { padding-block: 6px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee + .logo-marquee { margin-top: 12px; }
.logo-marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee--reverse .logo-marquee__track { animation-direction: reverse; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-tile { flex: 0 0 auto; display: grid; place-items: center; width: 210px; height: 104px; margin-right: 16px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(4, 23, 15, .35); }
.logo-tile img { max-width: 100%; max-height: 70px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.partners-band__foot { margin-top: 44px; text-align: center; }
@media (max-width: 640px) { .logo-tile { width: 160px; height: 80px; margin-right: 12px; padding: 12px 16px; } .logo-tile img { max-height: 54px; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 94vh; min-height: 94svh;
  padding-block: clamp(140px, 16vw, 240px) clamp(64px, 8vw, 112px);
  background: var(--forest-950); color: #fff;
}
.cta-banner--short { min-height: 76vh; min-height: 76svh; }
.cta-banner__media { position: absolute; inset: 0; overflow: hidden; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 23, 15, .55) 0%, rgba(4, 23, 15, .32) 38%, rgba(4, 23, 15, .92) 100%); }
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner .display { max-width: 11.5em; }
.cta-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.cta-banner__call { display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; font-weight: 600; }
.cta-banner__call .icon { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(48px, 5vw, 80px); background: var(--forest-950); color: var(--on-dark-2); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(32px, 3.5vw, 52px); border-bottom: 1px solid var(--line-light); }
.footer__eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer__mail { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; font-family: var(--serif); font-size: clamp(32px, 5.4vw, 88px); line-height: 1; color: var(--on-dark); transition: color .4s; overflow-wrap: anywhere; }
.footer__mail:hover { color: var(--gold); }
.footer__mail .icon { width: .55em; height: .55em; transition: transform .6s var(--ease); }
.footer__mail:hover .icon { transform: rotate(45deg); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(32px, 3.5vw, 48px); }
.footer__brand p { max-width: 34ch; margin-top: 20px; font-size: 15px; }
.footer__badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 13px; color: #CFE0D6; }
.footer__badge .icon { width: 16px; height: 16px; color: var(--gold); }
.footer h4 { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer address { margin-bottom: 16px; font-size: 15px; line-height: 1.6; color: #CFE0D6; }
.footer__seal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 96px);
  margin-top: clamp(20px, 2.5vw, 36px); padding-bottom: clamp(24px, 3vw, 40px);
}
.seal { position: relative; flex-shrink: 0; width: clamp(210px, 24vw, 330px); aspect-ratio: 1; transition: opacity 1.2s ease, transform 1.6s var(--ease); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 30s linear infinite; }
.seal__ring circle { fill: none; stroke: rgba(233, 180, 92, .38); stroke-width: .6; }
.seal__ring text { fill: var(--gold); font-family: var(--sans); font-size: 11.5px; font-weight: 700; }
.seal:hover .seal__ring { animation-duration: 9s; }
.seal__core {
  position: absolute; inset: 23%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #175239, var(--forest-900) 72%);
  box-shadow: 0 0 0 1px rgba(233, 180, 92, .45), 0 0 0 10px rgba(233, 180, 92, .05), 0 30px 60px -20px rgba(0, 0, 0, .7);
  transition: transform .8s var(--ease);
}
.seal:hover .seal__core { transform: scale(1.05); }
.seal__core img { width: 62%; height: auto; animation: seal-float 6s ease-in-out infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-float { 50% { transform: translateY(-6px) rotate(-3deg); } }
.seal__text { transition: opacity 1.2s ease .25s, transform 1.4s var(--ease) .25s; }
.seal__name { font-family: var(--serif); font-size: clamp(66px, 9.5vw, 156px); line-height: .9; letter-spacing: -.02em; color: var(--on-dark); }
.seal__name em { display: block; margin-top: .06em; font-size: .42em; color: var(--gold); }
.seal__meta { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark-2); }
.js .footer__seal:not(.is-in) .seal { opacity: 0; transform: scale(.82) rotate(-40deg); }
.js .footer__seal:not(.is-in) .seal__text { opacity: 0; transform: translateY(28px); }
@media (max-width: 640px) {
  .footer__seal { flex-direction: column; gap: 26px; text-align: center; }
  .seal__meta { letter-spacing: .2em; font-size: 10.5px; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
  .seal__ring, .seal__core img { animation: none; }
  .js .footer__seal:not(.is-in) .seal, .js .footer__seal:not(.is-in) .seal__text { opacity: 1; transform: none; }
}
.footer__credit strong { color: var(--gold); font-weight: 600; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 16px 20px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: clamp(16px, 2vw, 28px); }
.mv__card { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.mv__card--dark { border: 0; background: var(--forest-900); color: #CFE0D6; }
.mv__k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-600); }
.mv__card--dark .mv__k { color: var(--gold); }
.mv__card h2 { margin-top: 20px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; color: var(--ink); }
.mv__card--dark h2 { color: var(--on-dark); }
.mv__card p { margin-top: auto; padding-top: 28px; font-size: 15.5px; color: var(--muted); }
.mv__card--dark p { color: var(--on-dark-2); }
.mv__media { min-height: 440px; border-radius: var(--radius-lg); }
@media (max-width: 1024px) { .mv { grid-template-columns: 1fr 1fr; } .mv__media { grid-column: 1 / -1; order: -1; min-height: 340px; } }
@media (max-width: 640px) { .mv { grid-template-columns: 1fr; } }

.about-story__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.about-story__media { position: sticky; top: calc(var(--header-h) + 24px); }
.about-story__media .media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.prose { margin-top: 34px; font-size: 17px; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.facts { margin-top: 40px; border-top: 1px solid var(--line-2); }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .about-story__grid { grid-template-columns: minmax(0, 1fr); } .about-story__media { position: static; } }

.values__head { margin-bottom: clamp(40px, 5vw, 72px); }
.value-list { border-top: 1px solid var(--line-2); }
.value-row { display: grid; grid-template-columns: 80px 1fr 1fr; align-items: baseline; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line-2); transition: padding .6s var(--ease); }
.value-row:hover { padding-left: 20px; }
.value-row__no { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-600); }
.value-row h3 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 68px); line-height: 1; }
.value-row p { max-width: 40ch; font-size: 16.5px; color: var(--muted); }
@media (max-width: 760px) { .value-row { grid-template-columns: 44px 1fr; } .value-row p { grid-column: 2; } }

.places__head { margin-bottom: clamp(48px, 6vw, 80px); }
.places__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.place .media { aspect-ratio: 4 / 5; }
.place h3 { margin-top: 20px; font-family: var(--serif); font-size: 34px; color: var(--on-dark); }
.place p { margin-top: 8px; font-size: 15px; color: var(--on-dark-2); }
.place--text { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--line-light); border-radius: var(--radius); }
.place__big { font-family: var(--serif); font-size: 120px; line-height: .8; color: var(--gold); }
@media (max-width: 1024px) { .places__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .places__grid { grid-template-columns: 1fr; } }

/* ---------- Programmes ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.promise__item { padding: 34px 32px 0 0; }
.promise__item + .promise__item { padding-left: 32px; border-left: 1px solid var(--line-2); }
.promise__no { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--saffron-600); }
.promise__item h3 { margin-top: 12px; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); }
.promise__item p { margin-top: 10px; color: var(--muted); }
@media (max-width: 800px) {
  .promise { grid-template-columns: 1fr; }
  .promise__item + .promise__item { margin-top: 32px; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
}
.catalogue__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 660px; }
.tab { padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.tab:hover { border-color: var(--forest-800); }
.tab[aria-pressed="true"] { background: var(--forest-900); border-color: var(--forest-900); color: var(--ivory); }
.prog-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.prog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(14px, 1.4vw, 20px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.prog[hidden] { display: none; }
.prog:nth-child(even) .prog__media { order: 2; }
.prog__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); background: var(--forest-800); }
.prog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog:hover .prog__media img { transform: scale(1.05); }
.prog__body { padding: clamp(8px, 2vw, 28px) clamp(8px, 2vw, 32px) clamp(8px, 2vw, 28px) 0; }
.prog:nth-child(even) .prog__body { padding-left: clamp(8px, 2vw, 32px); padding-right: 0; }
.prog__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prog__no { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-600); }
.prog__tag { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-700); }
.prog h3 { margin-top: 18px; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }
.prog__body > p { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.prog__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.prog__roles span { padding: 8px 14px; border-radius: 999px; background: var(--ivory-2); font-size: 13.5px; font-weight: 500; }
.prog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.prog__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; min-width: 0; }
.prog__logos img { width: auto; height: 44px; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 560px) { .prog__logos img { height: 36px; max-width: 112px; } }
@media (max-width: 900px) {
  .prog { grid-template-columns: minmax(0, 1fr); }
  .prog:nth-child(even) .prog__media { order: 0; }
  .prog__body, .prog:nth-child(even) .prog__body { padding: 8px 8px 12px; }
}

.enroll__head { margin-bottom: clamp(48px, 6vw, 80px); }
.enroll__steps, .benefit-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.enroll__steps li, .benefit-list li { padding: 34px 28px 0 0; }
.enroll__steps li + li, .benefit-list li + li { padding-left: 28px; border-left: 1px solid var(--line-light); }
.enroll__steps span, .benefit-list span { font-family: var(--serif); font-size: 64px; line-height: 1; font-style: italic; color: var(--gold); }
.enroll__steps h3, .benefit-list h3 { margin-top: 20px; font-size: 19px; font-weight: 600; color: var(--on-dark); }
.enroll__steps p, .benefit-list p { margin-top: 8px; font-size: 15px; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .enroll__steps, .benefit-list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .enroll__steps li:nth-child(3), .benefit-list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .enroll__steps, .benefit-list { grid-template-columns: 1fr; }
  .enroll__steps li + li, .benefit-list li + li { padding-left: 0; border-left: 0; }
}

.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-grid__note { margin-top: 24px; color: var(--muted); }
.faq-grid__note a, .faq__a a { border-bottom: 1px solid currentColor; font-weight: 600; color: var(--forest-700); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .4s, border-color .4s, color .4s; }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] .faq__pm { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.faq details[open] .faq__pm::after { transform: translate(-50%, -50%); }
.faq__a { padding: 0 64px 28px 0; font-size: 16.5px; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq__a { padding-right: 0; } }

/* ---------- Partners ---------- */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head__lead { max-width: 400px; font-size: 17px; color: var(--muted); }
.section--dark .split-head__lead { color: var(--on-dark-2); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card { display: flex; flex-direction: column; padding: 14px 14px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.partner-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(4, 23, 15, .35); }
.partner-card__logo { display: grid; place-items: center; height: 150px; padding: 24px 32px; border-radius: 16px; background: linear-gradient(180deg, #fff, var(--ivory)); }
.partner-card__logo img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.partner-card:hover .partner-card__logo img { transform: scale(1.06); }
.partner-card__cat { margin: 22px 14px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-600); }
.partner-card h3 { margin: 8px 14px 0; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.partner-card p { margin: 10px 14px 0; font-size: 15px; color: var(--muted); }
.partner-card--cta { justify-content: flex-end; padding: 30px; border-style: dashed; border-color: var(--line-2); background: transparent; transition: background-color .5s, color .5s, transform .6s var(--ease); }
.partner-card--cta .partner-card__cat, .partner-card--cta h3, .partner-card--cta p { margin-inline: 0; }
.partner-card__plus { font-family: var(--serif); font-size: 96px; line-height: .8; color: var(--saffron); }
.partner-card--cta .link-line { align-self: flex-start; margin-top: 22px; }
.partner-card--cta:hover { background: var(--forest-900); color: var(--ivory); }
.partner-card--cta:hover p { color: var(--on-dark-2); }
@media (max-width: 1024px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.form-split__lead { max-width: 460px; margin-top: 24px; font-size: 17px; color: var(--muted); }
.next-steps { display: grid; gap: 24px; margin-top: 40px; }
.next-steps li { display: flex; gap: 18px; }
.next-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--saffron-600); }
.next-steps h4 { font-size: 17px; font-weight: 600; }
.next-steps p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.form { padding: clamp(24px, 3.4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 40px 80px -50px rgba(4, 23, 15, .35); }
.form h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0;
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { padding-right: 28px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235F6C65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--forest-700); box-shadow: 0 1px 0 0 var(--forest-700); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.form__foot p { max-width: 300px; font-size: 13px; color: var(--muted); }
.form__status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--leaf-soft); color: var(--forest-800); font-size: 14.5px; font-weight: 600; }
.form__status.show { display: block; }
@media (max-width: 900px) { .form-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Tenders ---------- */
.tenders { display: grid; gap: clamp(48px, 6vw, 80px); max-width: 1100px; }
.notice { display: flex; gap: 16px; padding: 22px 26px; border-radius: 18px; background: var(--saffron-soft); font-size: 15.5px; color: #6E3810; }
.notice .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--saffron-600); }
.notice strong { color: #4F270A; }
.tender-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.tender-block__head h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); }
.tender-block__head span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--leaf-soft); color: var(--forest-700); }
.empty__icon .icon { width: 24px; height: 24px; }
.empty h3 { margin-top: 18px; font-family: var(--serif); font-size: 30px; }
.empty p { margin-top: 6px; color: var(--muted); }
.tender { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.tender__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 6px 14px; border-radius: 999px; background: var(--ivory-2); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.badge--green { background: var(--leaf-soft); color: var(--forest-700); }
.tender h3 { margin-top: 18px; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.tender > p { max-width: 70ch; margin-top: 14px; color: var(--muted); }
.tender__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 48px; margin: 26px 0 30px; }
.tender__facts dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tender__facts dd { margin-top: 4px; font-weight: 600; }
@media (max-width: 700px) { .tender__facts { grid-template-columns: 1fr; } }
.help-strip { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.help-strip__links { display: flex; flex-wrap: wrap; gap: 16px; }
.help-strip__links a { display: flex; flex-direction: column; gap: 4px; padding: 20px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); font-weight: 600; transition: background-color .4s, color .4s; }
.help-strip__links a span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.help-strip__links a:hover { background: var(--forest-900); color: var(--ivory); }
.help-strip__links a:hover span { color: var(--on-dark-2); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 250px; padding: 30px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  transition: color .5s;
}
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-900); transform: translateY(101%); transition: transform .7s var(--ease); }
.contact-card:hover { color: var(--ivory); }
.contact-card:hover::before { transform: none; }
.contact-card--dark { border: 0; background: var(--forest-900); color: var(--ivory); }
.contact-card--dark::before { background: var(--saffron-600); }
.contact-card__k { margin-bottom: auto; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-600); transition: color .5s; }
.contact-card--dark .contact-card__k, .contact-card:hover .contact-card__k { color: var(--gold); }
.contact-card--dark:hover .contact-card__k { color: #fff; }
.contact-card__v { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.contact-card__v--sm { font-family: var(--sans); font-size: 14.5px; opacity: .75; }
.contact-card__go { position: absolute; top: 26px; right: 26px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; opacity: .55; transition: transform .6s var(--ease), opacity .3s; }
.contact-card__go .icon { width: 18px; height: 18px; }
.contact-card:hover .contact-card__go { opacity: 1; transform: rotate(45deg); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } .contact-card { min-height: 200px; } }

/* =========================================================
   v4 — projects, journey, newsroom & recognition
   ========================================================= */

/* ---------- Status chips ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ivory-2); color: var(--ink-2);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; }
.status--live { background: var(--leaf-soft); color: var(--forest-700); }
.status--live::before { opacity: 1; background: var(--leaf); animation: pulse 2.4s infinite; }
.status--new { background: var(--saffron-soft); color: var(--saffron-600); }
.status--new::before { opacity: 1; }
.section--dark .status { background: rgba(255, 255, 255, .08); color: #CFE0D6; }
.link-line--muted { color: var(--muted); }
.link-line--muted:hover { color: var(--ink); }

/* ---------- Honours strip (home impact) ---------- */
.honours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.honour { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border: 1px solid var(--line-light); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.honour__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(233, 180, 92, .14); color: var(--gold); }
.honour__icon .icon { width: 20px; height: 20px; }
.honour p { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.honour b { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; color: var(--on-dark); }
@media (max-width: 900px) { .honours { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Newsroom (home) ---------- */
.news__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.news__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.news-feature { display: block; }
.news-feature__media { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--forest-800); }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.05); }
.news-feature__body { padding-top: 24px; }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; color: var(--muted); }
.news-feature h3 { margin-top: 16px; font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); line-height: 1.04; transition: color .3s; }
.news-feature:hover h3 { color: var(--forest-700); }
.news-feature__body > p:last-child { max-width: 56ch; margin-top: 14px; color: var(--muted); }
.news-list { border-top: 1px solid var(--line-2); }
.news-list li { border-bottom: 1px solid var(--line-2); }
.news-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 20px; padding: 18px 0; }
.news-item__thumb { overflow: hidden; width: 96px; aspect-ratio: 1; border-radius: 14px; background: var(--forest-800); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-item:hover .news-item__thumb img { transform: scale(1.1); }
.news-item__body { display: flex; flex-direction: column; gap: 8px; }
.news-item__title { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; transition: color .3s; }
.news-item:hover .news-item__title { color: var(--forest-700); }
@media (max-width: 960px) { .news__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .news-item { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .news-item__thumb { width: 76px; }
}

/* ---------- At a glance (about) ---------- */
.glance { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); }
.glance > div { padding: 24px 20px 0 0; }
.glance > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin-top: 10px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; }
@media (max-width: 1100px) {
  .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .glance > div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .glance > div, .glance > div + div { padding-left: 0; border-left: 0; }
}

/* ---------- Journey timeline (about) ---------- */
.tl { position: relative; --p: 0; }
.tl::before, .tl::after { content: ""; position: absolute; top: 0; bottom: 0; left: 204px; width: 1px; }
.tl::before { background: var(--line-2); }
.tl::after { background: linear-gradient(180deg, var(--leaf), var(--gold), var(--saffron)); transform: scaleY(var(--p)); transform-origin: top; }
.tl__item { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, .9fr); gap: 48px; padding-block: clamp(40px, 6vw, 80px); }
.tl__item::before {
  content: ""; position: absolute; left: 198px; top: calc(clamp(40px, 6vw, 80px) + 22px); z-index: 1;
  width: 13px; height: 13px; border-radius: 50%; background: var(--ivory-2); border: 2px solid var(--line-2);
  transition: background-color .5s, border-color .5s, transform .6s var(--ease);
}
.tl__item.is-active::before { background: var(--saffron); border-color: var(--saffron); transform: scale(1.35); }
.tl__year {
  position: sticky; top: calc(var(--header-h) + 32px); align-self: start;
  font-family: var(--serif); font-size: clamp(56px, 6vw, 96px); line-height: .9; letter-spacing: -.02em;
  color: rgba(13, 26, 20, .2); transition: color .6s;
}
.tl__item.is-active .tl__year { color: var(--forest-700); }
.tl__year--next { font-style: italic; }
.tl__item.is-active .tl__year--next { color: var(--saffron-600); }
.tl__body h3 { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 50px); line-height: 1.02; }
.tl__body p { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); }
.tl__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tl__tags li { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--forest-700); }
.tl__media { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
  .tl::before, .tl::after { left: 6px; }
  .tl__item { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 40px; }
  .tl__item::before { left: 0; top: calc(clamp(40px, 6vw, 80px) + 14px); }
  .tl__year { position: static; font-size: 60px; }
}

/* ---------- Row thumbnails for touch devices ---------- */
.scheme-row__thumb { display: none; }
.scheme-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.scheme-row--static:hover { padding-inline: 8px; color: inherit; }
.scheme-row--static:hover::before { transform: scaleY(0); }
.scheme-row--static:hover .scheme-row__by { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .scheme-row--static:hover { padding-inline: 28px; color: var(--ivory); }
  .scheme-row--static:hover::before { transform: none; }
  .scheme-row--static:hover .scheme-row__by { color: var(--on-dark-2); }
}
@media (hover: none) and (min-width: 801px) {
  .scheme-row--thumb .scheme-row__no { display: none; }
  .scheme-row--thumb .scheme-row__thumb { display: block; overflow: hidden; width: 72px; aspect-ratio: 1; border-radius: 12px; }
}
@media (max-width: 800px) {
  .scheme-row--thumb { grid-template-columns: 60px minmax(0, 1fr) 44px; }
  .scheme-row--thumb.scheme-row--static { grid-template-columns: 60px minmax(0, 1fr); }
  .scheme-row--thumb .scheme-row__no { display: none; }
  .scheme-row--thumb .scheme-row__thumb { display: block; grid-row: 1 / span 2; overflow: hidden; width: 60px; aspect-ratio: 1; border-radius: 12px; }
  .scheme-row--thumb .scheme-row__title, .scheme-row--thumb .scheme-row__by { grid-column: 2; }
  .scheme-row--thumb .scheme-row__go { grid-column: 3; }
}
.scheme-row__by .status { letter-spacing: .1em; }

/* ---------- Leadership (about) ---------- */
.leaders__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.leaders__text > p { max-width: 52ch; margin-top: 24px; font-size: 17px; color: var(--ink-2); }
.leaders__list { margin-top: 28px; border-top: 1px solid var(--line-2); }
.leaders__list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.leaders__list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--saffron); }
.leaders__mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(84px, 9vw, 124px); gap: 16px; }
.leaders__a { grid-column: 1 / 5; grid-row: 1 / 4; }
.leaders__b { grid-column: 5 / 7; grid-row: 1 / 3; }
.leaders__c { grid-column: 5 / 7; grid-row: 3 / 6; }
.leaders__d { grid-column: 1 / 5; grid-row: 4 / 6; }
@media (max-width: 960px) { .leaders__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .leaders__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .leaders__mosaic > .media { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .leaders__mosaic > .leaders__a, .leaders__mosaic > .leaders__d { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ---------- Recognition cards ---------- */
.honour-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.honour-card { display: flex; flex-direction: column; text-align: left; }
.honour-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--forest-800); }
.honour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.honour-card:hover .honour-card__media img { transform: scale(1.05); }
.honour-card__k { margin-top: 22px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.honour-card__title { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: var(--on-dark); }
.honour-card__text { display: block; margin-top: 10px; font-size: 15px; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .honour-cards { grid-template-columns: minmax(0, 1fr); }
  .honour-card__media { aspect-ratio: 4 / 3; }
}
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.showcase__item { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 20px; padding: 14px; border: 1px solid var(--line-light); border-radius: 20px; text-align: left; font-size: 14px; color: var(--on-dark-2); transition: background-color .4s, border-color .4s; }
.showcase__item:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .28); }
.showcase__thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; }
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; }
.showcase__item b { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; color: var(--on-dark); }
@media (max-width: 800px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase__item { grid-template-columns: 110px minmax(0, 1fr); }
}
.meet-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-light); }
.meet { display: block; width: 100%; text-align: left; }
.meet img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; transition: transform .8s var(--ease); }
.meet:hover img { transform: translateY(-4px); }
.meet span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--on-dark-2); }
@media (max-width: 900px) { .meet-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Team (about) ---------- */
.team-band__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.team-band__text > p { max-width: 44ch; margin-top: 24px; font-size: 17px; color: var(--muted); }
.team-band__media, .team-band__small { position: relative; display: block; overflow: hidden; width: 100%; border-radius: var(--radius-lg); background: var(--forest-800); }
.team-band__media { aspect-ratio: 16 / 11; }
.team-band__small { max-width: 320px; margin-top: 36px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.team-band__media img, .team-band__small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-band__media:hover img, .team-band__small:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .team-band__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Project index ---------- */
.p-index { border-top: 1px solid var(--line-2); }
.p-index__labels, .p-row { display: grid; grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.5fr) 90px 120px; align-items: center; gap: 20px; }
.p-index__labels { padding: 14px 8px; border-bottom: 1px solid var(--line-2); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-index__labels span:last-child { text-align: right; }
.p-row { padding: 22px 8px; border-bottom: 1px solid var(--line-2); transition: background-color .4s, padding .6s var(--ease); }
.p-row[hidden] { display: none; }
.p-row:hover { padding-inline: 20px; background: var(--paper); }
.p-row__no { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--saffron-600); }
.p-row__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.p-row__partner, .p-row__where { font-size: 14px; color: var(--muted); }
.p-row__year { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-row .status { justify-self: end; }
@media (max-width: 960px) {
  .p-index__labels { display: none; }
  .p-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 6px 14px; padding: 20px 4px; }
  .p-row__partner { display: none; }
  .p-row__no { grid-column: 1; grid-row: 1; }
  .p-row__title { grid-column: 2; grid-row: 1; }
  .p-row .status { grid-column: 3; grid-row: 1; }
  .p-row__where { grid-column: 2; grid-row: 2; }
  .p-row__year { grid-column: 3; grid-row: 2; justify-self: end; color: var(--muted); }
}

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(80px, 10vw, 150px); }
.case { min-width: 0; }
.case__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.case:nth-of-type(even) .case__media { order: 2; }
.case__lead { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); background: var(--forest-800); }
.case__lead > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), clip-path 1.5s var(--ease), scale 1.9s var(--ease); }
.case__lead:hover > img { transform: scale(1.04); }
.case__lead--poster { background: var(--forest-900); }
.case__lead--poster > img { object-fit: contain; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.case__no { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-600); }
.case__where { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.case__where .icon { width: 15px; height: 15px; color: var(--forest-600); }
.case__title { margin-top: 18px; font-family: var(--serif); font-size: clamp(36px, 4vw, 60px); line-height: 1; letter-spacing: -.015em; }
.case__story { margin-top: 20px; font-size: 17px; color: var(--ink-2); }
.case__points { display: grid; gap: 12px; margin-top: 22px; }
.case__points li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); }
.case__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 13px; height: 1.5px; background: var(--saffron); }
.case__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.case__facts dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case__facts dd { margin-top: 4px; font-size: 15px; font-weight: 600; }
.case__strip {
  display: flex; gap: 16px; margin-top: clamp(28px, 3vw, 44px); padding-bottom: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.case__thumb { flex: 0 0 auto; width: clamp(170px, 15vw, 220px); text-align: left; scroll-snap-align: start; }
.case__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--forest-800); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.case__thumb:hover img { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(4, 23, 15, .55); }
.case__thumb span { display: -webkit-box; overflow: hidden; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 960px) {
  .case__grid { grid-template-columns: minmax(0, 1fr); }
  .case:nth-of-type(even) .case__media { order: 0; }
  .case__thumb { width: 44vw; max-width: 220px; }
}
.frontier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.frontier__card { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.frontier__card > .case__lead { aspect-ratio: 4 / 3; border-radius: calc(var(--radius-lg) - 8px); }
.frontier__body { padding: 24px 12px 10px; }
.frontier__body h3 { margin-top: 14px; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.02; }
.frontier__body > p { margin-top: 14px; color: var(--muted); }
.frontier__thumbs { display: flex; gap: 12px; margin-top: 20px; }
.frontier__thumbs .case__thumb { width: 160px; }
@media (max-width: 860px) { .frontier { grid-template-columns: minmax(0, 1fr); } }

/* programme cards: projects link beside enquire */
.prog__links { display: inline-flex; align-items: center; gap: 22px; }

/* partner cards without a logo file */
.partner-card__logo--type { align-content: center; gap: 6px; }
.partner-card__logo--type span { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--forest-800); letter-spacing: -.01em; }
.partner-card__logo--type small { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* hover zoom must survive the clip-reveal transition rule */
.js .case__lead[data-reveal="img"] > img,
.js .team-band__media[data-reveal="img"] > img,
.js .team-band__small[data-reveal="img"] > img { transition: clip-path 1.5s var(--ease), scale 1.9s var(--ease), transform 1.2s var(--ease); }


/* ---------- v5: project galleries ---------- */
.case__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 18px 16px; margin-top: clamp(28px, 3vw, 44px); }
.case__gallery .case__thumb { width: auto; }
.case__all {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: background-color .35s, color .35s, border-color .35s;
}
.case__all .icon { width: 18px; height: 18px; }
.case__all:hover { background: var(--forest-900); border-color: var(--forest-900); color: var(--ivory); }
.frontier__body .case__all { margin-top: 18px; }
.p-row__title small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.honour-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 560px) { .case__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } }

/* ---------- Cursor & back-to-top ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor::before { content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border: 1px solid rgba(238, 123, 47, .75); border-radius: 50%; transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.cursor.is-link::before { background: rgba(238, 123, 47, .14); border-color: transparent; transform: scale(1.5); }
.cursor.is-label::before { background: var(--saffron); border-color: var(--saffron); transform: scale(2.7); }
.cursor__label { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, transform .5s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor, .hover-preview { display: none; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--forest-900); color: #fff; box-shadow: 0 16px 30px -14px rgba(4, 23, 15, .6); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .4s, transform .5s var(--ease), visibility .4s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top > .icon { position: relative; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.to-top:hover > .icon { transform: translateY(-3px); }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2; }
.to-top .ring .track { stroke: rgba(255, 255, 255, .14); }
.to-top .ring .bar { stroke: var(--saffron); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; } }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* the clip lives on the image, not the observed figure: IntersectionObserver ignores fully clipped targets */
.js [data-reveal="img"] { opacity: 1; transform: none; background: transparent; }
.js [data-reveal="img"] > img { clip-path: inset(100% 0 0 0); scale: 1.3; transition: clip-path 1.5s var(--ease), scale 1.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="img"].is-in > img { clip-path: inset(0 0 0 0); scale: 1; }
.js [data-reveal="img"] > figcaption { opacity: 0; transform: translateY(12px); transition: opacity .8s ease .7s, transform 1s var(--ease) .7s; }
.js [data-reveal="img"].is-in > figcaption { opacity: 1; transform: none; }

.js [data-split]:not(.is-split) { visibility: hidden; }
.is-ready [data-split]:not(.is-split) { visibility: visible; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .1em .17em .02em; margin: -.02em -.1em -.17em -.02em; }
[data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d0, 0ms)); }
[data-split].is-in .w > span, .is-ready [data-split="hero"] .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="img"] > figcaption { opacity: 1; transform: none; }
  .js [data-reveal="img"] > img { clip-path: none; scale: 1; }
  .hw { opacity: 1; }
}
