/* ==========================================================================
   FarmLinkup Global Limited — Design System
   Editorial luxury agritech: deep forest canvases, golden accents,
   serif display typography and calm, generous rhythm.
   ========================================================================== */

:root {
  /* Brand palette */
  --primary-green: #176B3A;
  --deep-forest-green: #103D2A;
  --fresh-green: #65A844;
  --golden-yellow: #F4B942;
  --light-bg: #F5F8F3;
  --text-main: #202B24;
  --text-secondary: #647067;

  /* Extended tonal scale */
  --forest-900: #0B2A1D;
  --forest-800: #103D2A;
  --forest-700: #15492F;
  --gold-soft: #F7CF77;
  --paper: #FBFCF9;
  --mist: #E8EEE5;
  --on-dark: #F5F8F3;
  --on-dark-muted: rgba(245, 248, 243, 0.64);
  --line: rgba(16, 61, 42, 0.12);
  --line-strong: rgba(16, 61, 42, 0.22);
  --line-dark: rgba(245, 248, 243, 0.12);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 42, 29, 0.06), 0 2px 8px rgba(11, 42, 29, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(11, 42, 29, 0.18);
  --shadow-lg: 0 40px 80px -32px rgba(11, 42, 29, 0.38);

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Type */
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Schibsted Grotesk', 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(96px, 12vw, 168px);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--golden-yellow); color: var(--forest-900); }

:focus-visible {
  outline: 2px solid var(--golden-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

.dark {
  background: var(--forest-900);
  color: var(--on-dark);
}

/* Film grain — fixed, non-interactive */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography ------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  text-wrap: balance;
}

.display em {
  font-style: italic;
  color: var(--primary-green);
}

.dark .display { color: var(--on-dark); }
.dark .display em { color: var(--golden-yellow); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.kicker-index {
  color: var(--primary-green);
  font-weight: 500;
}

.kicker-index::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.5;
}

.kicker.light { color: var(--on-dark-muted); }
.kicker.light .kicker-index { color: var(--golden-yellow); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.section-sub {
  max-width: 440px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.dark .section-sub { color: var(--on-dark-muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}

.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-sm { padding: 11px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--golden-yellow);
  color: var(--forest-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px -10px rgba(244, 185, 66, 0.55);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn-primary {
  background: var(--primary-green);
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 10px 30px -12px rgba(23, 107, 58, 0.7);
}
.btn-primary:hover { background: var(--deep-forest-green); transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; transform: none; }

.btn-ghost {
  background: rgba(245, 248, 243, 0.04);
  border-color: rgba(245, 248, 243, 0.24);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(245, 248, 243, 0.6); background: rgba(245, 248, 243, 0.1); }

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fresh-green);
  flex-shrink: 0;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.2s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(3.2); opacity: 0; }
}

/* Header ----------------------------------------------------------------- */
.header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  transition: top 0.4s var(--ease);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(245, 248, 243, 0.1);
  border-radius: var(--radius-full);
  background: rgba(11, 42, 29, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.header.scrolled { top: 10px; }
.header.scrolled .navbar {
  background: rgba(11, 42, 29, 0.86);
  border-color: rgba(245, 248, 243, 0.14);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }

/* Crops the leaf mark out of the full logo artwork */
.brand-mark {
  position: relative;
  width: 40px;
  height: 32px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  position: absolute;
  max-width: none;
  width: 341px;
  left: -152px;
  top: -22px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-word small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.nav-links { display: flex; gap: 4px; }

.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.3s, background-color 0.3s;
}
.nav-link:hover,
.nav-link.active { color: var(--on-dark); background: rgba(245, 248, 243, 0.07); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 248, 243, 0.18);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.mobile-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--on-dark);
  transition: transform 0.4s var(--ease);
}
.mobile-toggle span:first-child { top: 18px; }
.mobile-toggle span:last-child { top: 24px; }
.mobile-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(245, 248, 243, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(11, 42, 29, 0.96);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.mobile-menu .nav-link { font-size: 1.125rem; padding: 14px 16px; }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu.active { opacity: 1; transform: none; pointer-events: auto; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 16vw, 188px) 0 0;
  background: var(--forest-900);
  color: var(--on-dark);
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(101, 168, 68, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(244, 185, 66, 0.08), transparent 70%),
    linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 100%);
}

.hero-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 248, 243, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 248, 243, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-bottom: clamp(72px, 9vw, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-full);
  background: rgba(245, 248, 243, 0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 7.25rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > * { display: inline-block; }
.hero-title em { font-style: italic; color: var(--golden-yellow); }

.hero-lead {
  max-width: 540px;
  margin-bottom: 40px;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { color: var(--fresh-green); }

/* Hero visual */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5.2;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-arch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(245, 248, 243, 0.12);
  background: linear-gradient(180deg, transparent 55%, rgba(11, 42, 29, 0.55));
}
.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.hero-visual:hover .hero-arch img { transform: scale(1.08); }

.hero-seal {
  position: absolute;
  top: 6%;
  left: -56px;
  width: 128px;
  height: 128px;
  animation: spin 24s linear infinite;
}
.hero-seal text {
  font-family: var(--font-mono);
  font-size: 9.6px;
  letter-spacing: 2.6px;
  fill: var(--on-dark);
}
.hero-seal-core {
  position: absolute;
  top: calc(6% + 34px);
  left: -22px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--golden-yellow);
  color: var(--forest-900);
}

@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  background: rgba(251, 252, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  animation: float 7s var(--ease-in-out) infinite;
}
.chip strong { display: block; font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; }
.chip small { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); }

.chip-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-green);
  color: var(--on-dark);
  flex-shrink: 0;
}
.chip-icon.gold { background: var(--golden-yellow); color: var(--forest-900); }

.chip-a { bottom: 22%; left: -18%; }
.chip-b { bottom: -22px; right: -6%; animation-delay: -3.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-style: italic;
  color: rgba(245, 248, 243, 0.78);
  white-space: nowrap;
}
.marquee i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--golden-yellow);
  flex-shrink: 0;
}

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

/* Page-load choreography */
.load {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 120ms);
}
.hero-title .load { transform: translateY(105%); }
.load-scale {
  opacity: 0;
  transform: scale(0.96);
  animation: rise 1.4s var(--ease) 0.35s forwards;
}

@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* About ------------------------------------------------------------------ */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 104px);
}

.about-body { padding-top: 12px; }
.about-body p { color: var(--text-secondary); }
.about-body p + p { margin-top: 20px; }
.about-body .lede {
  font-size: 1.375rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: end;
}
.about-gallery figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mist);
}
.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.about-gallery figure:hover img { transform: scale(1.05); }
.g-a { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.g-b { grid-column: 6 / span 4; aspect-ratio: 1; margin-bottom: 64px; }
.g-c { grid-column: 10 / span 3; aspect-ratio: 3 / 4; }
.g-c img { object-position: 30% 50%; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.pillars li {
  padding: 28px 24px 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.pillars li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pillars span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--primary-green);
}

/* Marketplace bento ------------------------------------------------------ */
.market { background: var(--light-bg); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(300px, auto));
  gap: 20px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--on-dark);
  isolation: isolate;
}
.tile > img,
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.tile > img { position: absolute; inset: 0; z-index: -2; }
.tile:hover > img,
.tile:hover .tile-media img { transform: scale(1.05); }

.tile-lg { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 640px; }
.tile-md { grid-column: 8 / span 5; }

.tile:not(.tile-split)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 42, 29, 0) 30%, rgba(11, 42, 29, 0.92) 100%);
}

.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(24px, 3vw, 40px);
}
.tile-body h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.tile-body p {
  max-width: 440px;
  margin-bottom: 20px;
  font-size: 0.975rem;
  color: rgba(245, 248, 243, 0.78);
}
.tile-md .tile-body h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); }

.tile-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 248, 243, 0.3);
  border-radius: var(--radius-full);
  background: rgba(11, 42, 29, 0.3);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tile-tag.gold { border-color: transparent; background: var(--golden-yellow); color: var(--forest-900); }

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(244, 185, 66, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--golden-yellow);
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.tile-link:hover { gap: 12px; border-color: var(--golden-yellow); }

.tile-split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  background: var(--forest-800);
}
.tile-split .tile-media { overflow: hidden; }
.tile-split .tile-body { position: relative; align-self: end; }

/* Why ------------------------------------------------------------------- */
.why { overflow: hidden; }
.why::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(101, 168, 68, 0.14), transparent 60%);
  pointer-events: none;
}

.why-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.why-item {
  padding: 48px 40px 8px 0;
}
.why-item + .why-item { padding-left: 40px; border-left: 1px solid var(--line-dark); }
.why-item:nth-child(2) { --rd: 120ms; }
.why-item:nth-child(3) { --rd: 240ms; }

.why-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 48px;
  border: 1px solid rgba(244, 185, 66, 0.4);
  border-radius: 50%;
  color: var(--golden-yellow);
}

.why-item h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.why-item p { color: var(--on-dark-muted); max-width: 320px; }

/* How it works ----------------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}

.how-aside { position: sticky; top: 140px; }
.how-aside .display { margin-bottom: 24px; }
.how-aside .section-sub { margin-bottom: 40px; }

.steps { position: relative; }

.steps-rail {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 31px;
  width: 1px;
  background: var(--line);
}
.steps-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--fresh-green), var(--primary-green));
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform 0.2s linear;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }

.step-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary-green);
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.step.lit .step-num { background: var(--primary-green); border-color: var(--primary-green); color: var(--on-dark); }
.step-final.lit .step-num { background: var(--golden-yellow); border-color: var(--golden-yellow); color: var(--forest-900); }

.step h3 {
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}
.step p { color: var(--text-secondary); }

/* Purpose ---------------------------------------------------------------- */
.purpose { background: var(--light-bg); }

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}

.purpose-item { padding: 48px 56px 0 0; }
.purpose-item + .purpose-item { padding-left: 56px; border-left: 1px solid var(--line-strong); --rd: 140ms; }

.purpose-item h3 {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--forest-900);
}
.purpose-item h3 span { font-style: italic; color: var(--primary-green); }

.purpose-item p {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text-main);
}

/* Reach ------------------------------------------------------------------ */
.reach { overflow: hidden; }

.reach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.reach-copy .display { margin-bottom: 28px; }
.reach-copy > p { color: var(--on-dark-muted); margin-bottom: 40px; max-width: 520px; }

.reach-list { border-top: 1px solid var(--line-dark); }
.reach-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 500;
}
.tick {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--golden-yellow);
  flex-shrink: 0;
}

.reach-visual { position: relative; }
.radar { width: 100%; height: auto; overflow: visible; }

.routes path {
  stroke-dasharray: 4 7;
  animation: dash 3s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -44; } }

.pr {
  transform-box: fill-box;
  transform-origin: center;
  animation: radar 4s var(--ease) infinite;
  opacity: 0;
}
.pr2 { animation-delay: 2s; }
@keyframes radar {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(5.5); opacity: 0; }
}

.reach-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-full);
  background: rgba(16, 61, 42, 0.8);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

/* Team ------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.person:nth-child(2) { margin-top: 72px; --rd: 120ms; }
.person:nth-child(3) { --rd: 240ms; }

.person-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--mist);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(0.9);
  transition: transform 1.4s var(--ease), filter 0.6s;
}
.person:hover .person-photo img { transform: scale(1.04); filter: saturate(1.05); }

.person figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 4px 0;
  border-top: 1px solid transparent;
}
.person h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}
.person figcaption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-green);
}

/* CTA -------------------------------------------------------------------- */
.cta { padding-bottom: var(--section-y); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 128px) clamp(28px, 7vw, 112px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--forest-900);
  color: var(--on-dark);
  isolation: isolate;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 42, 29, 0.97) 0%, rgba(11, 42, 29, 0.88) 45%, rgba(11, 42, 29, 0.35) 100%);
}

.cta-content { max-width: 640px; }
.cta-content .display { margin-bottom: 24px; }
.cta-content p { margin-bottom: 40px; font-size: 1.125rem; color: var(--on-dark-muted); max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact ---------------------------------------------------------------- */
.contact { padding-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.contact-aside .display { margin-bottom: 24px; }
.contact-aside .section-sub { margin-bottom: 48px; }

.contact-list { border-top: 1px solid var(--line); }
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.contact-list a { transition: color 0.3s; }
.contact-list a:hover { color: var(--primary-green); }
.contact-label {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hp { position: absolute; left: -9999px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }

.form-control {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.form-control::placeholder { color: #9AA59D; }
.form-control:hover { border-color: rgba(16, 61, 42, 0.36); }
.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 107, 58, 0.12);
}
textarea.form-control { min-height: 148px; resize: vertical; }

.field-error {
  display: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #B4412F;
}
.field.invalid .form-control { border-color: #B4412F; box-shadow: 0 0 0 4px rgba(180, 65, 47, 0.1); }
.field.invalid .field-error { display: block; }

.btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(245, 248, 243, 0.35);
  border-top-color: var(--on-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}
.form-feedback.success { display: block; background: #E7F2E3; color: var(--forest-800); border: 1px solid rgba(23, 107, 58, 0.25); }
.form-feedback.error { display: block; background: #FBEDEA; color: #8A2F21; border: 1px solid rgba(180, 65, 47, 0.25); }

/* Footer ----------------------------------------------------------------- */
.footer { padding: clamp(72px, 9vw, 112px) 0 32px; overflow: hidden; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  width: 220px;
  margin: -12px 0 0 -56px;
}
.footer-brand p { max-width: 320px; margin-top: 0; font-size: 0.95rem; color: var(--on-dark-muted); }

.footer-col h4 {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--golden-yellow);
}
.footer-col li { margin-bottom: 12px; font-size: 0.95rem; color: var(--on-dark-muted); }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--on-dark); }

.footer-word {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 17vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 248, 243, 0.14);
  user-select: none;
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: rgba(245, 248, 243, 0.5);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu { display: flex; }
  .chip-a { left: -8%; }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-intro,
  .how-grid,
  .reach-grid,
  .contact-grid,
  .section-head { grid-template-columns: 1fr; }

  .section-head { gap: 20px; }
  .hero-visual { justify-self: center; max-width: 420px; margin: 24px auto 40px; }
  .hero-seal { left: -24px; }
  .hero-seal-core { left: 10px; }
  .chip-a { left: -4%; }
  .chip-b { right: -2%; }

  .bento { grid-template-rows: auto; }
  .tile-lg { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .tile-md { grid-column: 1 / -1; min-height: 380px; }

  .why-row { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .why-icon { margin-bottom: 28px; }

  .how-aside { position: static; }

  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-item, .purpose-item + .purpose-item { padding: 40px 0; border-left: 0; }
  .purpose-item + .purpose-item { border-top: 1px solid var(--line-strong); }

  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars li { padding-bottom: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .nav-cta { display: none; }
  .brand-word small { display: none; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { flex-direction: column; }
  .hero-seal, .hero-seal-core { display: none; }
  .chip { padding: 10px 14px 10px 10px; }
  .chip strong { font-size: 0.8rem; }
  .chip-a { left: -10px; bottom: 24%; }
  .chip-b { right: -10px; }

  .about-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .g-a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .g-b { grid-column: 1; margin: 0; }
  .g-c { grid-column: 2; aspect-ratio: 1; }

  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }

  .tile-split { grid-template-columns: 1fr; grid-template-rows: 220px auto; }

  .step { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-num { width: 48px; height: 48px; font-size: 0.78rem; }
  .steps-rail { left: 23px; }

  .team-grid { grid-template-columns: 1fr; gap: 48px; }
  .person:nth-child(2) { margin-top: 0; }

  .reach-badge { white-space: normal; text-align: center; width: max-content; max-width: 100%; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .load, .load-scale, .reveal { opacity: 1; transform: none; }
}
