/* ==========================================================================
   Sukuma Commodities — Design System
   Palette: forest green + harvest gold on warm cream
   Type: Fraunces (display) / Inter (UI + body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --forest: #0b1f17;
  --forest-2: #123024;
  --forest-3: #1a4130;
  --green: #1b6b45;
  --green-bright: #2a8b5c;
  --gold: #b8871a;
  --gold-bright: #e5b93f;
  --gold-soft: #f0d99a;

  /* Neutrals */
  --cream: #fbf9f4;
  --cream-2: #f4f0e7;
  --cream-3: #eae4d6;
  --ink: #0a1410;
  --ink-2: #3f5147;
  --ink-3: #6b7c73;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--cream);
  --text: var(--ink);
  --text-muted: var(--ink-2);
  --line: rgba(11, 31, 23, 0.12);
  --line-strong: rgba(11, 31, 23, 0.22);
  --line-light: rgba(255, 255, 255, 0.16);
  --danger: #a4262c;
  --success: #1b6b45;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-display: clamp(2.6rem, 6.2vw, 5rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1240px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 20, 16, 0.06), 0 2px 8px rgba(10, 20, 16, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 20, 16, 0.07), 0 12px 32px rgba(10, 20, 16, 0.07);
  --shadow-lg: 0 8px 24px rgba(10, 20, 16, 0.09), 0 28px 60px rgba(10, 20, 16, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;

  /* Z-scale */
  --z-base: 1;
  --z-sticky: 20;
  --z-nav: 30;
  --z-drawer: 40;
  --z-top: 50;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background-color: var(--cream-3);
}

/* Baseline size for sprite icons; every component rule overrides this. */
svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 60;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

/* Focus visibility — critical for keyboard users */
:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.on-dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--gold-bright);
}

::selection {
  background: var(--gold-soft);
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   3. Utilities & layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: var(--z-top);
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.on-dark .eyebrow {
  color: var(--gold-bright);
}

/* Section heading block */
.section-head {
  max-width: 44ch;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 56ch;
}

.section-head--center p {
  margin-inline: auto;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
}

/* Dark surfaces */
.on-dark {
  background-color: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--white);
}

.on-dark .lead,
.on-dark .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

/* Paper grain overlay for warmth */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--white);
  --btn-bd: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover {
  --btn-bg: var(--green);
  --btn-bd: var(--green);
  box-shadow: var(--shadow-md);
}

.btn .btn__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn--gold {
  --btn-bg: var(--gold-bright);
  --btn-bd: var(--gold-bright);
  --btn-fg: var(--forest);
}

.btn--gold:hover {
  --btn-bg: var(--gold-soft);
  --btn-bd: var(--gold-soft);
  --btn-fg: var(--forest);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--green);
  --btn-bd: var(--green);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.38);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: var(--white);
  --btn-bd: var(--white);
  box-shadow: none;
}

.btn--lg {
  min-height: 54px;
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn[aria-busy="true"],
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Text link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--green);
  padding-block: 0.15rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.link:hover {
  background-size: 100% 1px;
}

.link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.on-dark .link {
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   5. Brand mark
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  object-fit: contain;
  background: none;
  transition: transform var(--dur) var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand__tag {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.nav.is-stuck .brand__name {
  color: var(--ink);
}

.nav.is-stuck .brand__tag {
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   6. Top bar + navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--forest-2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  padding-block: 0.35rem;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-bright);
  flex: none;
}

.topbar a:hover {
  color: var(--white);
}

.topbar__socials {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  color: inherit;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.icon-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: transparent;
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease),
    border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.nav.is-stuck {
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(10, 20, 16, 0.06);
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.45rem;
  height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav.is-stuck .nav__link {
  color: var(--ink-2);
}

.nav.is-stuck .nav__link:hover,
.nav.is-stuck .nav__link[aria-current="true"] {
  color: var(--ink);
}

.nav.is-stuck .nav__link::after {
  background: var(--green);
}

.nav__cta {
  display: none;
  flex: none;
}

.nav.is-stuck .nav__cta.btn--ghost-light {
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.nav.is-stuck .nav__cta.btn--ghost-light:hover {
  --btn-fg: var(--white);
  --btn-bg: var(--forest);
  --btn-bd: var(--forest);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: var(--r-sm);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav.is-stuck .nav__toggle {
  color: var(--ink);
  border-color: var(--line-strong);
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav.is-stuck .nav__toggle:hover {
  background: rgba(11, 31, 23, 0.06);
}

.nav__toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav__toggle .icon-close {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.55);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  background: var(--forest);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-light);
}

.drawer__close {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-light);
  color: var(--white);
}

.drawer__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer__close svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-inline: auto;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding-block: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.drawer__link span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-bright);
  opacity: 0.7;
}

.drawer__link:hover {
  color: var(--gold-bright);
  padding-left: 0.4rem;
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 0.85rem;
  font-size: var(--fs-body-sm);
}

.drawer__foot a:hover {
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: -78px;
  padding-top: calc(78px + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--forest);
  color: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      104deg,
      rgba(8, 24, 17, 0.94) 0%,
      rgba(8, 24, 17, 0.82) 42%,
      rgba(8, 24, 17, 0.45) 72%,
      rgba(8, 24, 17, 0.62) 100%
    ),
    radial-gradient(120% 90% at 12% 8%, rgba(27, 107, 69, 0.4), transparent 60%);
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--gold-bright);
  color: var(--forest);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--fs-display);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
  max-width: 18ch;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 100;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}

.hero__copy p {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.66);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold-bright);
  flex: none;
}

/* Hero stat panel */
.hero__panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.hero__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__panel-head h2 {
  font-size: 1.0625rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0;
}

.hero__panel-head span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* Unit suffixes ride smaller than the figure they follow. */
.stat__value > span + span {
  font-size: 0.55em;
  letter-spacing: 0;
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------------
   8. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  background: var(--forest-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.ticker__label {
  flex: none;
  display: none;
  align-items: center;
  gap: 0.55rem;
  /* Reset the global paragraph margin, which would otherwise subtract from the
     height this flex item stretches to and leave the gold block short. */
  margin: 0;
  padding: 0.85rem 1.4rem;
  background: var(--gold-bright);
  color: var(--forest);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.ticker__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4rem,
    #000 calc(100% - 4rem),
    transparent
  );
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.ticker__group {
  display: flex;
  flex: none;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker__name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.ticker__price {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.78);
}

.ticker__delta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ticker__delta svg {
  width: 0.8rem;
  height: 0.8rem;
}

.ticker__delta--up {
  color: #6ddc9b;
}

.ticker__delta--down {
  color: #f0917f;
}

/* --------------------------------------------------------------------------
   9. Credentials strip
   -------------------------------------------------------------------------- */
.creds {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.25rem, 4vw, 3rem);
}

.creds__title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
}

.creds__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 56rem) {
  /* Eight credentials read best as two even rows of four. */
  .creds__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cred {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.cred:hover {
  border-color: rgba(27, 107, 69, 0.4);
  box-shadow: var(--shadow-sm);
}

.cred svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--green);
}

.cred__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.cred__meta {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.about__media figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.about__media figure:hover img {
  transform: scale(1.05);
}

.about__media figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.about__media figure:not(:first-child) {
  aspect-ratio: 4 / 5;
}

.about__badge {
  position: absolute;
  right: -0.75rem;
  bottom: -1.25rem;
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 1.35rem;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-bright);
}

.about__badge span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pillars {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(27, 107, 69, 0.09);
  color: var(--green);
  border: 1px solid rgba(27, 107, 69, 0.16);
}

.pillar__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pillar h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Commodities
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.filter:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.card:hover {
  border-color: rgba(27, 107, 69, 0.35);
  box-shadow: var(--shadow-lg);
}

.card.is-hidden {
  display: none;
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-3);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.07);
}

.card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(8, 24, 17, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.5rem;
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body > p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.specs {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.spec dt {
  color: var(--ink-3);
}

.spec dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.cards__empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  grid-column: 1 / -1;
}

.cards__empty[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   12. Capabilities (dark)
   -------------------------------------------------------------------------- */
.caps {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.caps__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.caps__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.caps__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 17, 0.92), rgba(8, 24, 17, 0.97));
}

.caps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-md);
  overflow: hidden;
}

.cap {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(11, 31, 23, 0.72);
  transition: background-color 300ms var(--ease);
}

.cap:hover {
  background: rgba(27, 107, 69, 0.22);
}

.cap__num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  opacity: 0.8;
}

.cap__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(229, 185, 63, 0.35);
  background: rgba(229, 185, 63, 0.1);
  color: var(--gold-bright);
}

.cap__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cap h3 {
  margin-bottom: 0.6rem;
}

.cap p {
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.15rem;
}

.cap ul {
  display: grid;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

.cap li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
}

.cap li svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.3rem;
  color: var(--green-bright);
  flex: none;
}

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */
.process {
  background: var(--cream-2);
}

.steps {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.25rem;
  border-top: 2px solid var(--line-strong);
  transition: border-color var(--dur) var(--ease);
}

.step:hover {
  border-top-color: var(--green);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.85rem;
  left: 0;
  padding-right: 0.75rem;
  background: var(--cream-2);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Markets / global reach
   -------------------------------------------------------------------------- */
.markets {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.markets__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.markets__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 17, 0.97) 0%, rgba(8, 24, 17, 0.78) 60%, rgba(8, 24, 17, 0.9) 100%);
}

.markets__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.markets__regions {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  overflow: hidden;
}

.region {
  padding: 1.35rem 1.5rem;
  background: rgba(11, 31, 23, 0.6);
  transition: background-color 300ms var(--ease);
}

.region:hover {
  background: rgba(27, 107, 69, 0.2);
}

.region__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.region__head h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.region__count {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   14b. Film (YouTube facade — the iframe is only injected on click)
   -------------------------------------------------------------------------- */
.film {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%);
}

.film__player {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--forest-2);
  box-shadow: var(--shadow-lg);
}

.film__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film__player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(8, 24, 17, 0.25), rgba(8, 24, 17, 0.68));
  transition: opacity var(--dur) var(--ease);
}

.film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(68px, 9vw, 88px);
  height: clamp(68px, 9vw, 88px);
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--forest);
  box-shadow: 0 10px 30px rgba(8, 24, 17, 0.45);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.film__play svg {
  width: 34%;
  height: 34%;
  margin-left: 8%;
}

/* Expanding ring, purely decorative. */
.film__play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(229, 185, 63, 0.55);
  animation: ring 2.6s var(--ease-out) infinite;
}

@keyframes ring {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.film__play:hover {
  background: var(--gold-soft);
  transform: translate(-50%, -50%) scale(1.06);
}

.film__player.is-playing::after,
.film__player.is-playing .film__poster,
.film__player.is-playing .film__play {
  display: none;
}

.film__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   14c. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--cream-3);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 24, 17, 0.85));
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Bento tiling: 4 columns x 2 rows. The tall tile (1x2) plus the wide tile
   (2x1) plus four 1x1 tiles fill all eight cells exactly, so no gaps appear.
   DOM order must stay tall, wide, then the four square tiles. */
@media (min-width: 56rem) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 17vw, 240px);
  }

  .gallery__item {
    aspect-ratio: auto;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.quote:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 107, 69, 0.3);
}

.quote__mark {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  opacity: 0.75;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-bright);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quote__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.quote__role {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   16. Contact / quote request
   -------------------------------------------------------------------------- */
.contact {
  background: var(--cream-2);
}

.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact__details {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.detail__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green);
}

.detail__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.detail__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}

.detail__value {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}

.detail a.detail__value:hover {
  color: var(--green);
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--half {
  grid-column: span 1;
}

.field > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.field .req {
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: var(--fs-body-sm);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
  appearance: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233f5147' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 107, 69, 0.16);
}

.field__error {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--danger);
}

.field__error svg {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: rgba(164, 38, 44, 0.03);
}

.field.has-error .field__error {
  display: flex;
}

.field--consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.field--consent input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.28rem;
  padding: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.field--consent label {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  cursor: pointer;
}

.field--consent .field__error {
  grid-column: 1 / -1;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.form__note {
  font-size: 0.75rem;
  color: var(--ink-3);
  max-width: 34ch;
  margin: 0;
}

.form__status {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-body-sm);
  background: rgba(27, 107, 69, 0.08);
  border: 1px solid rgba(27, 107, 69, 0.28);
  color: var(--forest-2);
}

.form__status.is-visible {
  display: flex;
}

.form__status svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: var(--success);
  margin-top: 0.1rem;
}

.form__status strong {
  display: block;
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-3) 55%, var(--green) 130%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  isolation: isolate;
}

.band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.band h2 {
  max-width: 24ch;
  margin-bottom: 0.75rem;
}

.band p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.band__deco {
  position: absolute;
  right: -6rem;
  top: -8rem;
  width: 30rem;
  height: 30rem;
  color: rgba(255, 255, 255, 0.05);
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-body-sm);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__top {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__about p {
  max-width: 36ch;
  margin: 1.35rem 0 1.5rem;
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.62);
}

.footer__socials {
  display: flex;
  gap: 0.4rem;
}

.footer__socials .icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.15rem;
}

.footer__links {
  display: grid;
  gap: 0.7rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.66);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 340px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: var(--fs-body-sm);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-bright);
}

.newsletter button {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--gold-bright);
  color: var(--forest);
  transition: background-color var(--dur) var(--ease);
}

.newsletter button:hover {
  background: var(--gold-soft);
}

.newsletter button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.newsletter__msg {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--gold-bright);
  min-height: 1.1rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__legal a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   19. Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-sticky);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease),
    visibility 260ms var(--ease), background-color var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--green);
}

.to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 40rem) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full,
  .field--consent {
    grid-column: 1 / -1;
  }

  .field--consent {
    grid-template-columns: auto 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stats,
  .metrics {
    gap: 1.75rem;
  }

  .ticker__label {
    display: inline-flex;
  }
}

@media (min-width: 56rem) {
  .about__grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .about__grid--reverse .about__media {
    order: 2;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .markets__grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .contact__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1.5fr;
  }

  /* The newsletter column needs room for an input plus its button. */
  .footer__cols {
    grid-template-columns: 1fr 1fr 1.5fr;
  }

  .section-head--split {
    grid-template-columns: 1.35fr 1fr;
  }

  .band__inner {
    grid-template-columns: 1.4fr auto;
    gap: 3rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .caps__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav__menu,
  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1.25fr 0.85fr;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 55.9375rem) {
  .about__badge {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .about__badge strong {
    font-size: 1.6rem;
  }
}

/* --------------------------------------------------------------------------
   22. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ticker__track {
    animation: none;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .nav,
  .topbar,
  .ticker,
  .to-top,
  .drawer,
  .band,
  .form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
