/* ==========================================================================
   Native Collective — main stylesheet
   No framework, no build step. Edit tokens in :root to restyle globally.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, no requests to Google — GDPR friendly) ----------
   DM Sans + Instrument Serif, SIL Open Font License 1.1 (see assets/fonts/OFL-*.txt).
   Each font is split into "latin" and "latin-ext" (č ć đ š ž, extra accents);
   the browser only downloads the part a page actually uses. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --paper: #f4f1e9;
  --paper-deep: #ebe6da;
  --ink: #132018;
  --ink-2: #26352b;
  --green: #2f7427;
  --green-light: #a3c99a;
  --soft-green: #dfe9d9;
  --muted: #657067;
  --line: rgba(19, 32, 24, .13);
  --line-strong: rgba(19, 32, 24, .24);

  /* On dark surfaces */
  --on-dark: #f4f1e9;
  --on-dark-muted: rgba(244, 241, 233, .7);
  --line-dark: rgba(244, 241, 233, .16);

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-display: clamp(2.8rem, min(8.4vw, 12.5vh), 7.25rem);
  --fs-h2: clamp(2.375rem, min(5.4vw, 10vh), 5rem);
  --fs-h3: clamp(1.75rem, 2.6vw, 2.5rem);
  --fs-lead: clamp(1.0625rem, .95rem + .4vw, 1.3125rem);

  /* Layout */
  --gutter: clamp(20px, 5vw, 56px);
  --shell: 1320px;
  --header-h: 64px;
  --section-y: clamp(84px, 10vw, 144px);

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

@supports (height: 1svh) {
  :root {
    --fs-display: clamp(2.8rem, min(8.4vw, 12.5svh), 7.25rem);
    --fs-h2: clamp(2.375rem, min(5.4vw, 10svh), 5rem);
  }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* Phones held horizontally: tighter vertical rhythm */
@media (orientation: landscape) and (max-height: 540px) {
  :root {
    --header-h: 58px;
    --section-y: clamp(64px, 9vw, 104px);
  }
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .15vw, 1.0625rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { overflow-x: clip; }

h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
.theme-dark :focus-visible,
.mobile-menu :focus-visible { outline-color: var(--green-light); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- 3. Typography ---------- */
.display,
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: .98; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }

.display em,
.h2 em { font-style: italic; color: var(--green); }

.eyebrow {
  margin-bottom: clamp(16px, 2.2vw, 26px);
  font: 500 .75rem/1.5 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--green);
}

.lead {
  max-width: 36em;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

/* ---------- 4. Links & buttons ---------- */
.link {
  color: var(--green);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  padding-bottom: 2px;
  transition: background-size .55s var(--ease), color .3s;
}
.link--light { color: var(--on-dark); }
.link--quiet { background-size: 0 1px; background-position: 100% 100%; }
.theme-dark .link:not(.link--light) { color: var(--green-light); }

.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 500;
}
.link--arrow svg {
  width: 1.05em; height: 1.05em;
  flex: none;
  transition: transform .45s var(--ease);
}

@media (hover: hover) {
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
  .link--quiet:hover { background-size: 100% 1px; background-position: 0 100%; }
  .link--light:hover { color: var(--green-light); }
  .link--arrow:hover svg { transform: translate(3px, 0); }
  .link--arrow:hover svg use[href="#i-arrow-down"] { transform: none; }
}

.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  --btn-hover-bg: var(--ink);
  --btn-hover-fg: var(--paper);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: .9em 1.65em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 .9375rem/1.1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover-bg);
  transform: translate3d(0, 101%, 0);
  transition: transform .6s var(--ease);
}
.btn__icon {
  width: 1.1em; height: 1.1em;
  flex: none;
  transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .btn:hover { color: var(--btn-hover-fg); }
  .btn:hover::before { transform: none; }
  .btn:hover .btn__icon { transform: translateX(4px); }
}
.btn--sm { min-height: 42px; padding: .7em 1.3em; font-size: .875rem; }
.btn--lg { min-height: 60px; padding: 1.05em 2.1em; font-size: 1rem; }
.theme-dark .btn { --btn-hover-bg: var(--paper); --btn-hover-fg: var(--ink); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: transform .6s var(--ease);
}
/* Frosted background: always rendered, only its opacity changes (smooth, GPU-only) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 241, 233, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.site-header:focus-within { transform: none; }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  margin-right: auto;
  padding-block: 10px;
  color: var(--green);
  font: 500 .8125rem/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .4s;
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(22px, 2.6vw, 42px); }
.nav__link {
  position: relative;
  padding-block: 8px;
  font-size: .9375rem;
  text-decoration: none;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--green); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__cta { display: none; }

/* Language switcher (flags) */
.lang { display: flex; align-items: center; gap: 4px; }
.lang__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  color: inherit;
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .14em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .3s, color .3s;
}
.lang__flag {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
  transition: box-shadow .35s var(--ease), filter .35s;
}
.lang__flag svg { width: 100%; height: 100%; }
.lang__link[aria-current] .lang__flag { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--green); }
.lang__link[data-soon] { cursor: default; opacity: .5; }
.lang__link[data-soon] .lang__flag { filter: saturate(.35); }
.lang__link[data-soon] .lang__name::after { content: " (" attr(data-soon) ")"; }
@media (hover: hover) {
  a.lang__link:not([data-soon]):not([aria-current]):hover .lang__flag { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line-strong); }
}

/* Header: flags only (names stay readable for screen readers) */
.lang--header { display: none; }
.lang--header .lang__code,
.lang--header .lang__name {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .lang--header { display: flex; margin-right: 6px; }
}
.menu-open .lang--header { visibility: hidden; }

/* Mobile menu: flags + language codes */
.lang--menu { gap: 10px; margin: 0 0 12px -6px; color: var(--on-dark); }
.lang--menu .lang__flag { box-shadow: 0 0 0 1px var(--line-dark); }
.lang--menu .lang__link[aria-current] .lang__flag { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--green-light); }
.lang--menu .lang__name {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  width: 46px; height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .4s, color .4s;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px; height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease), opacity .3s;
}
.menu-toggle__bars { position: relative; background: transparent; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { transform: translateY(-3.5px); }
.menu-toggle__bars::after { transform: translateY(3.5px); }

.menu-open .menu-toggle__bars::before { transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: rotate(-45deg); }

@media (min-width: 640px) {
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav { display: block; }
  .site-header__actions { justify-self: end; }
  .menu-toggle { display: none; }
  .brand { font-size: .875rem; }
}

/* ---------- 6. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink);
  color: var(--on-dark);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path .75s var(--ease-io), visibility 0s;
}

.mobile-menu__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(20px, 6vh, 64px);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.mobile-menu__list li { overflow: hidden; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: .08em;
  color: var(--on-dark);
  font: 400 clamp(2.25rem, min(10.5vw, 8.5vh), 4rem)/1.15 var(--serif);
  text-decoration: none;
  transform: translate3d(0, 105%, 0);
  transition: transform .9s var(--ease), color .3s;
}
.mobile-menu__list a span {
  min-width: 2.2em;
  font-variant-numeric: tabular-nums;
  font: 500 .75rem/1 var(--sans);
  letter-spacing: .14em;
  color: var(--green-light);
}
.mobile-menu__list a:hover { color: var(--green-light); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; }
.mobile-menu__list li:nth-child(1) a { transition-delay: .18s; }
.mobile-menu__list li:nth-child(2) a { transition-delay: .24s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: .30s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: .36s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: .42s; }

.mobile-menu__foot {
  display: grid;
  gap: 6px;
  color: var(--on-dark-muted);
  font-size: .9375rem;
  opacity: 0;
  transition: opacity .6s .45s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot > a { justify-self: start; }

@media (orientation: landscape) and (max-height: 540px) {
  .mobile-menu__inner { flex-direction: row; align-items: flex-end; }
  .mobile-menu__foot { text-align: right; }
  .mobile-menu__foot .lang--menu { justify-content: flex-end; margin: 0 -6px 12px 0; }
  .mobile-menu__foot > a { justify-self: end; }
}

html.menu-open { overflow: hidden; }
.menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand,
.menu-open .menu-toggle { color: var(--on-dark); }
.menu-open .menu-toggle { border-color: var(--line-dark); }
.menu-open .site-header__cta { display: none; }

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* ---------- 7. Media & image placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: var(--ph, var(--paper-deep)); /* --ph = average colour of the photo, shown while it loads */
  border-radius: 4px;
}
.media picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--arch { border-radius: 1000px 1000px 6px 6px; }
.media--circle { aspect-ratio: 1; border-radius: 50%; }
.media--pill { border-radius: 1000px; }
.media--leaf { border-radius: clamp(72px, 14vw, 220px) 6px; }

/* Placeholder: delete the .ph block once a real <img> is in place */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: clamp(18px, 2.4vw, 30px);
  color: rgba(19, 32, 24, .5);
  background:
    radial-gradient(90% 70% at 22% 12%, rgba(255, 255, 255, .8), transparent 62%),
    radial-gradient(80% 60% at 88% 96%, var(--soft-green), transparent 72%),
    linear-gradient(160deg, #f0ebe0, #e5e1d3);
}
.ph--blush {
  background:
    radial-gradient(90% 70% at 22% 12%, rgba(255, 255, 255, .85), transparent 62%),
    radial-gradient(80% 70% at 85% 92%, #ead6cb, transparent 72%),
    linear-gradient(160deg, #f4ece4, #e9ddd2);
}
.ph--sage {
  background:
    radial-gradient(90% 70% at 22% 12%, rgba(255, 255, 255, .7), transparent 62%),
    radial-gradient(80% 70% at 85% 92%, #c9dbc1, transparent 72%),
    linear-gradient(160deg, #e9eee2, #d9e3d2);
}
.ph--paper {
  background:
    radial-gradient(90% 70% at 22% 12%, rgba(255, 255, 255, .9), transparent 62%),
    radial-gradient(80% 70% at 85% 92%, #e8e1d1, transparent 72%),
    linear-gradient(160deg, #f7f4ec, #ece6d8);
}
.ph::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 46px; height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .45;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat;
}
.ph__label {
  color: rgba(19, 32, 24, .72);
  font: italic 400 clamp(1.125rem, 1.6vw, 1.375rem)/1.2 var(--serif);
}
.ph__meta {
  font: 500 .625rem/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.media--circle .ph,
.media--pill .ph {
  align-items: center;
  text-align: center;
}
.hero__frame .ph { align-items: flex-end; text-align: right; }
.hero__frame .ph > * { max-width: 66%; }
@container (max-width: 220px) {
  .ph__label { font-size: 1rem; }
  .ph__meta { display: none; }
}
.media--circle .ph { justify-content: center; padding: 12%; }
.media--circle .ph::before { display: none; }
.media--pill .ph { padding-bottom: 18%; }

/* ---------- 8. Reveal animations (only when JS is running) ---------- */
.js [data-reveal]:not([data-reveal="image"]) {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1.1s var(--ease) var(--delay, 0s),
    transform 1.3s var(--ease) var(--delay, 0s);
}
/* Image reveal: the photo glides up into its frame while settling from a slight zoom.
   Transform only (runs on the GPU, no repaints). main.js waits until the photo is decoded before revealing it,
   so the frame never uncovers an empty box. */
.js [data-reveal="image"] { background: transparent; }
.js [data-reveal="image"] > img,
.js [data-reveal="image"] > picture {
  transform: translate3d(0, 100%, 0) scale(1.12);
  transition: transform 1.6s var(--ease) var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="image"].is-in > img,
.js [data-reveal="image"].is-in > picture { transform: none; }

/* Hero photos stay visible from the very first paint (fast LCP) and gently settle into place */
.js .hero__img > img {
  animation: hero-settle 1.6s var(--ease) var(--delay, 0s) both;
}
@keyframes hero-settle {
  from { transform: scale(1.08); }
  to { transform: none; }
}

/* Split headings: each word slides up from behind a mask */
.w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: .1em .07em .17em;
  margin: -.1em -.07em -.17em;
}
.w > span { display: inline-block; }
.js [data-split] .w > span {
  transform: translate3d(0, 130%, 0);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--delay, 0s) + var(--i, 0) * 50ms);
}
.js [data-split].is-in .w > span { transform: none; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: calc(var(--header-h) + clamp(28px, 7vh, 104px));
  padding-bottom: clamp(48px, 8vh, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30vmax;
  right: -25vmax;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(223, 233, 217, .95), rgba(223, 233, 217, 0));
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero__lead {
  margin-top: clamp(22px, 4vh, 40px);
  max-width: 31em;
  color: var(--ink-2);
}
.hero__actions {
  margin-top: clamp(26px, 4.5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

.hero__media {
  position: relative;
  width: min(100%, 520px, 62vh);
  margin-inline: auto;
  view-timeline: --hero-media block;
}
@supports (height: 1svh) {
  .hero__media { width: min(100%, 520px, 62svh); }
}
.hero__frame {
  width: 80%;
  margin-left: auto;
}
.hero__frame .media { aspect-ratio: 4 / 5; }
.hero__inset {
  position: absolute;
  left: 0;
  bottom: 7%;
  width: 40%;
  padding: clamp(6px, .8vw, 10px);
  border-radius: 50%;
  background: var(--paper);
}

/* Gentle parallax, driven by the scroll position itself (no JavaScript, runs on the GPU).
   Browsers without scroll-driven animations simply show the images without parallax. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__frame,
    .hero__inset {
      animation: parallax-slow linear both;
      animation-timeline: --hero-media;
      animation-range: cover;
    }
    .hero__inset { animation-name: parallax-fast; }
  }
}
@keyframes parallax-slow {
  from { transform: translate3d(0, -36px, 0); }
  to { transform: translate3d(0, 36px, 0); }
}
@keyframes parallax-fast {
  from { transform: translate3d(0, 60px, 0); }
  to { transform: translate3d(0, -60px, 0); }
}

.badge {
  position: absolute;
  top: 3%;
  left: 5%;
  width: clamp(88px, 27%, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
}
.badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 26s linear infinite;
}
.badge__ring text {
  fill: var(--ink);
  font: 500 12.5px/1 var(--sans);
  letter-spacing: .1em;
}
.badge__mono {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  height: 16%;
  color: var(--green);
  transform: translate(-50%, -50%);
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .hero__media { width: min(100%, 72vh); margin-inline: auto 0; }
}
@supports (height: 1svh) {
  @media (min-width: 900px) {
    .hero__media { width: min(100%, 72svh); }
  }
}

/* Phones in landscape: keep the two-column composition */
@media (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; }
  .hero__media { width: min(100%, 78vh); margin-inline: auto 0; }
  .hero__lead { font-size: 1rem; }
}

/* ---------- 10. Numbers ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat {
  padding: clamp(26px, 4vw, 48px) clamp(16px, 2.6vw, 40px);
  border-left: 1px solid var(--line);
}
.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

.stat__num {
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
  font: 400 clamp(2.75rem, 6.4vw, 6rem)/1 var(--serif);
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.stat__plus {
  margin-left: .04em;
  color: var(--green);
  font-style: italic;
  font-size: .62em;
  line-height: 1;
}
.stat__label {
  margin-top: .9rem;
  color: var(--muted);
  font: 500 .6875rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat:nth-child(n) {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 2.6vw, 40px);
  }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- 11. Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(22px, 3.2vw, 40px);
  border-bottom: 1px solid var(--line);
  -webkit-user-select: none;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
}
.marquee__group span {
  padding-inline: clamp(18px, 2.5vw, 36px);
  font: italic 400 clamp(1.75rem, 3.8vw, 3.5rem)/1.1 var(--serif);
  white-space: nowrap;
}
.marquee__group span:nth-of-type(even) { color: var(--muted); }
.marquee__group i {
  color: var(--green);
  font-style: normal;
  font-size: clamp(.875rem, 1.4vw, 1.25rem);
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 12. Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }

/* Phones & tablets: below-the-fold blocks are only laid out and painted when they approach
   the viewport (faster first paint). Desktop renders everything up front for the smoothest scrolling.
   main.js turns this off before jumping to an in-page link. */
@media (max-width: 1023px) {
  .section,
  .contact,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 1100px;
  }
  .portfolio { contain-intrinsic-size: auto 2200px; }
  .contact,
  .site-footer { contain-intrinsic-size: auto 800px; }
  .cv-off .section,
  .cv-off .contact,
  .cv-off .site-footer { content-visibility: visible; }
}
.section-head {
  max-width: 1000px;
  margin-bottom: clamp(48px, 7vw, 104px);
}

.theme-dark { background: var(--ink); color: var(--on-dark); }
.theme-dark .eyebrow,
.theme-dark .display em,
.theme-dark .h2 em { color: var(--green-light); }
.theme-soft { background: var(--soft-green); }

/* Numbered rows (About) */
.about__grid {
  display: grid;
  gap: clamp(48px, 7vw, 120px);
}
.about__img {
  margin-top: clamp(36px, 5vw, 64px);
  aspect-ratio: 16 / 10;
  width: 100%;
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 96px) minmax(0, 1fr);
  gap: 0 clamp(12px, 2vw, 24px);
  padding-block: clamp(28px, 3.6vw, 48px);
}
.row::before,
.rows .row:last-child::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 1.5s var(--ease) calc(var(--delay, 0s) + .1s);
}
.row::before { top: 0; }
.rows .row:last-child::after { bottom: 0; }
.js .row:not(.is-in)::before,
.js .row:not(.is-in)::after { transform: scaleX(0); }

.row__num {
  color: var(--green);
  font: italic 400 1.375rem/1.4 var(--serif);
}
.row__title {
  margin-bottom: .6rem;
  font: 400 var(--fs-h3)/1.05 var(--serif);
}
.row p { max-width: 32em; color: var(--muted); }

@media (min-width: 900px), (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .about__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
  .about__img {
    aspect-ratio: 3 / 4;
    width: min(100%, 340px, 56vh);
  }
  .rows { align-self: end; }
}

/* ---------- 13. Portfolio ---------- */
.brands {
  display: grid;
  gap: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 72px);
}
.brand-card__media { aspect-ratio: 4 / 5; max-height: 86vh; }
@supports (height: 1svh) {
  .brand-card__media { max-height: 86svh; }
}
.brand-card__media img { transition: transform 1.2s var(--ease); }
@media (hover: hover) {
  .brand-card:hover .brand-card__media.is-in img { transform: scale(1.04); }
}
.brand-card__body {
  display: grid;
  gap: .45rem;
  padding-top: clamp(20px, 2.6vw, 34px);
}
.brand-card__kicker {
  color: var(--green);
  font: 500 .6875rem/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.brand-card__name {
  font: 400 clamp(2.75rem, 5.6vw, 5.25rem)/1 var(--serif);
  letter-spacing: -.012em;
}
.brand-card__desc { color: var(--muted); }

@media (min-width: 720px) {
  .brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .brand-card:nth-child(2) { margin-top: clamp(64px, 12vw, 200px); }
}

.slots {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: clamp(72px, 10vw, 144px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.slots__nums { display: flex; gap: 10px; }
.slots__nums span {
  display: grid;
  place-items: center;
  width: clamp(50px, 5vw, 64px);
  aspect-ratio: 1;
  border: 1px dashed rgba(47, 116, 39, .55);
  border-radius: 50%;
  color: var(--green);
  font: italic 400 1.125rem/1 var(--serif);
}
.slots__text { max-width: 40em; color: var(--muted); }

@media (min-width: 900px) {
  .slots {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(28px, 4vw, 64px);
  }
}

/* ---------- 14. Growth model ---------- */
.steps {
  --progress: 0;
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 56px);
  view-timeline: --steps block;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px; left: 7px;
  width: 1px;
  background: var(--line-dark);
}
.steps::after {
  background: var(--green-light);
  transform-origin: top;
  transform: scaleY(var(--progress));
}

.step { position: relative; padding-left: 46px; }
.step::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 4px; left: 0;
  width: 15px; height: 15px;
  border: 1px solid rgba(244, 241, 233, .4);
  border-radius: 50%;
  background: var(--ink);
  transition: background-color .5s, border-color .5s, box-shadow .6s var(--ease);
}
.step.is-active::before {
  border-color: var(--green-light);
  background: var(--green-light);
  box-shadow: 0 0 0 7px rgba(163, 201, 154, .16);
}
.step__num {
  display: block;
  color: var(--green-light);
  font: italic 400 1.125rem/1 var(--serif);
}
.step__title {
  margin: .6rem 0 .9rem;
  font: 400 clamp(2.25rem, 4vw, 3.5rem)/1 var(--serif);
}
.step p { max-width: 22em; color: var(--on-dark-muted); }

@media (min-width: 768px), (orientation: landscape) and (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
  }
  .steps::before,
  .steps::after {
    top: 7px; bottom: auto; left: 0; right: 0;
    width: auto; height: 1px;
  }
  .steps::after {
    transform-origin: left;
    transform: scaleX(var(--progress));
  }
  .step { padding-left: 0; padding-top: 52px; }
  .step::before { top: 0; }
  .step__title { font-size: clamp(1.875rem, 3.6vw, 3.5rem); }
}

/* Scroll-driven version (Chrome, Edge, Safari 26+): the line grows and the dots light up with the
   scroll position itself, no JavaScript on scroll. Other browsers use the small JS fallback. */
@supports (animation-timeline: view()) {
  .steps::after {
    transform: none;
    animation: steps-line-y linear both;
    animation-timeline: --steps;
    animation-range: cover 12% cover 62%;
  }
  .step::before {
    animation: step-dot linear both;
    animation-timeline: --steps;
    animation-range: cover 12% cover 62%;
    transition: none;
  }
  .step:nth-child(2)::before { animation-name: step-dot-2; }
  .step:nth-child(3)::before { animation-name: step-dot-3; }
  .step:nth-child(4)::before { animation-name: step-dot-4; }
  @media (min-width: 768px), (orientation: landscape) and (min-width: 600px) {
    .steps::after { animation-name: steps-line-x; }
  }
  @media (prefers-reduced-motion: reduce) {
    .steps::after,
    .step::before { animation: none; }
    .step::before { border-color: var(--green-light); background: var(--green-light); }
  }
}
@keyframes steps-line-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes steps-line-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes step-dot {
  0%, 1% { border-color: rgba(244, 241, 233, .4); background: var(--ink); box-shadow: 0 0 0 0 rgba(163, 201, 154, 0); }
  4%, 100% { border-color: var(--green-light); background: var(--green-light); box-shadow: 0 0 0 7px rgba(163, 201, 154, .16); }
}
@keyframes step-dot-2 {
  0%, 25% { border-color: rgba(244, 241, 233, .4); background: var(--ink); box-shadow: 0 0 0 0 rgba(163, 201, 154, 0); }
  29%, 100% { border-color: var(--green-light); background: var(--green-light); box-shadow: 0 0 0 7px rgba(163, 201, 154, .16); }
}
@keyframes step-dot-3 {
  0%, 50% { border-color: rgba(244, 241, 233, .4); background: var(--ink); box-shadow: 0 0 0 0 rgba(163, 201, 154, 0); }
  54%, 100% { border-color: var(--green-light); background: var(--green-light); box-shadow: 0 0 0 7px rgba(163, 201, 154, .16); }
}
@keyframes step-dot-4 {
  0%, 75% { border-color: rgba(244, 241, 233, .4); background: var(--ink); box-shadow: 0 0 0 0 rgba(163, 201, 154, 0); }
  79%, 100% { border-color: var(--green-light); background: var(--green-light); box-shadow: 0 0 0 7px rgba(163, 201, 154, .16); }
}

/* ---------- 15. Services ---------- */
.services__grid {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
}
.service {
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 72px) minmax(0, 1fr);
  gap: 0 clamp(12px, 2vw, 24px);
  padding-block: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--line-strong);
}
.service:last-child { border-bottom: 1px solid var(--line-strong); }
.service__num {
  color: var(--green);
  font: italic 400 1.25rem/1.7 var(--serif);
}
.service__title { font: 400 var(--fs-h3)/1.08 var(--serif); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chips li {
  padding: .45em .95em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .8125rem;
  line-height: 1.35;
  transition: background-color .45s, border-color .45s;
}
@media (hover: hover) {
  .service:hover .chips li {
    border-color: rgba(47, 116, 39, .45);
    background: rgba(223, 233, 217, .7);
  }
}

@media (min-width: 960px) {
  .services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .services__head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    align-self: start;
  }
}
@media (max-height: 640px) {
  .services__head { position: static; }
}

/* ---------- 16. Markets ---------- */
.markets__grid {
  display: grid;
  gap: clamp(56px, 6vw, 96px);
  align-items: center;
}
.markets__text {
  max-width: 34em;
  margin-top: clamp(22px, 3vw, 36px);
  color: var(--muted);
}
.market-list {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-strong);
}
.market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.market__name {
  position: relative;
  padding-left: 24px;
  font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.15 var(--serif);
  transition: transform .5s var(--ease), color .3s;
}
.market__name::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border: 1px solid var(--green);
  border-radius: 50%;
}
.market--core .market__name::before { background: var(--green); }
.market__mode {
  flex: none;
  color: var(--muted);
  font: 500 .6875rem/1.3 var(--sans);
  letter-spacing: .16em;
  text-align: right;
  text-transform: uppercase;
}
.market--core .market__mode { color: var(--green); }
.market.is-hover .market__name { transform: translateX(6px); color: var(--green); }

.orbit {
  position: relative;
  width: min(100%, 540px, 86vh);
  margin-inline: auto;
}
.orbit__map {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.orbit__ring { fill: none; stroke: var(--line-strong); }
.orbit__ring--dash { stroke: rgba(47, 116, 39, .55); stroke-dasharray: 2 7; }
/* The rotating ring and the pulse are separate layers, so they animate on the GPU without repainting the map */
.orbit__spin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 70s linear infinite;
}
.orbit__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 29%;
  aspect-ratio: 1;
  margin: -14.5% 0 0 -14.5%;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 3.2s var(--ease) infinite;
}
.orbit__line {
  stroke: var(--green);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: .7;
}

.orbit__node circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1;
  transition: fill .4s, stroke .4s;
}
.orbit__node text {
  fill: var(--ink);
  font: 400 21px/1 var(--serif);
  text-anchor: middle;
  transition: fill .4s;
}
.orbit__node .orbit__label {
  fill: var(--muted);
  stroke: var(--paper);
  stroke-width: 6px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  font: 500 10px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.orbit__node.is-hover circle { fill: var(--green); stroke: var(--green); }
.orbit__node.is-hover text:not(.orbit__label) { fill: #fff; }

.orbit__core circle { fill: var(--green); }
.orbit__core text {
  fill: #fff;
  font: 400 36px/1 var(--serif);
  text-anchor: middle;
}
.orbit__core .orbit__core-sub {
  fill: rgba(255, 255, 255, .82);
  font: 500 8.5px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .35; }
  to { transform: scale(1.75); opacity: 0; }
}
.js .orbit .orbit__node { opacity: 0; transition: opacity .9s var(--ease) calc(.35s + var(--n) * .14s); }
.js .orbit.is-in .orbit__node { opacity: 1; }

@media (min-width: 960px) {
  .markets__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .markets__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* ---------- 17. Split sections (Responsibility, Retail) ---------- */
.split {
  display: grid;
  gap: clamp(44px, 6vw, 112px);
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 5;
  width: min(100%, 460px, 64vh);
  margin-inline: auto;
}
@supports (height: 1svh) {
  .split__media { width: min(100%, 460px, 64svh); }
}
.split__copy .lead { margin-top: clamp(22px, 3vw, 36px); }

.quote {
  margin-top: clamp(28px, 3.6vw, 44px);
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid var(--green);
}
.quote p {
  font: italic 400 clamp(1.375rem, 2.1vw, 1.875rem)/1.3 var(--serif);
}

.split .retail__media {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.retail__statement {
  margin-top: clamp(28px, 3.6vw, 44px);
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid var(--line-strong);
  font: 400 clamp(1.5rem, 2.5vw, 2.25rem)/1.2 var(--serif);
}

@media (min-width: 900px), (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split__media { width: min(100%, 560px, 70vh); }
}
@supports (height: 1svh) {
  @media (min-width: 900px), (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
    .split__media { width: min(100%, 560px, 70svh); }
  }
}

/* ---------- 18. Contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 14vw, 200px);
  text-align: center;
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 100%;
  width: 130vmax; height: 130vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 116, 39, .5), rgba(47, 116, 39, 0) 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__title {
  max-width: 13ch;
  font-size: clamp(2.75rem, min(7.4vw, 12vh), 7.5rem);
}
.contact__lead {
  max-width: 36em;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--on-dark-muted);
}
.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: clamp(36px, 4.5vw, 56px);
}
.contact__email {
  font: 400 clamp(1.5rem, 3vw, 2.25rem)/1.2 var(--serif);
}

/* ---------- 19. Footer ---------- */
.site-footer {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
}
.footer__wordmark {
  margin-bottom: clamp(44px, 6vw, 88px);
  font: 400 clamp(3rem, 16vw, 15rem)/.9 var(--serif);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.footer__wordmark em { color: var(--green-light); }

.footer__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px clamp(32px, 10vw, 56px);
  padding-block: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line-dark);
}
.footer__col { color: var(--on-dark-muted); font-size: .9375rem; }
.footer__col:first-child { grid-column: 1 / -1; }
.footer__col p { max-width: 26em; }
.footer__col ul { display: grid; gap: 10px; }
.footer__title {
  margin-bottom: 18px;
  color: var(--green-light);
  font: 500 .6875rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer__address {
  margin-top: 18px;
  font-style: normal;
  line-height: 1.7;
}
.footer__legal {
  padding-bottom: 22px;
  color: var(--on-dark-muted);
  font-size: .8125rem;
}
.footer__mono {
  width: 58px; height: 36px;
  margin-bottom: 22px;
  color: var(--green-light);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: .8125rem;
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
  text-decoration: none;
}
.footer__top svg {
  width: 16px; height: 16px;
  transform: rotate(-90deg);
  transition: transform .45s var(--ease);
}
.footer__top:hover svg { transform: rotate(-90deg) translateX(3px); }

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__col:first-child { grid-column: auto; }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- 21. Print ---------- */
@media print {
  .section, .contact, .site-footer { content-visibility: visible !important; }
  .site-header, .mobile-menu, .marquee, .badge, .orbit, .skip-link { display: none !important; }
  .theme-dark, .theme-soft { background: none !important; color: #000 !important; }
  .section, .contact { padding-block: 32px !important; }
}
