/* =====================================================================
   AGRIMEAT — Single-page Company Profile
   ===================================================================== */

:root {
  /* Brand palette */
  --green: #2E8B1E;
  --green-mid: #3FA32B;
  --green-dark: #1F5E14;
  --green-darker: #133D0C;
  --lime: #A3C924;
  --lime-light: #C5DC4E;
  --green-very-light: #F4FAF1;
  --green-pale: #E8F4E3;

  /* Warm earth accents (matching photo palette) */
  --amber: #D4A04A;
  --amber-light: #F5D89B;
  --terracotta: #B85C38;

  /* Neutrals */
  --black: #0E1611;
  --text: #1A2218;
  --text-muted: #5B6B5A;
  --text-light: #9CA89A;
  --bg: #FAFAF7;
  --bg-warm: #F5F2EC;
  --white: #FFFFFF;
  --line: rgba(0, 0, 0, 0.08);

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --space-9: 160px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
}

/* =====================================================================
   Typography
   ===================================================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--green-darker);
  margin: 0 0 0.5em 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  margin-bottom: 0.4em;
  letter-spacing: -0.015em;
}

h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-dark);
  margin-bottom: 0.8em;
}

p {
  margin: 0 0 1em 0;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 1.2em;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--lime);
}
.eyebrow-light {
  color: var(--lime-light);
}
.eyebrow-light::before {
  background: var(--lime);
}

.kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: -0.2em 0 1em 0;
  font-style: italic;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.3em;
}
.lead-large {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.5;
  font-weight: 400;
}
.lead-light {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.title-light {
  color: var(--white);
}

strong { font-weight: 600; color: var(--green-darker); }
em { font-style: italic; color: var(--text-muted); }

.rule {
  width: 60px;
  height: 2px;
  background: var(--lime);
  margin: 1.5em 0 2em 0;
}
.rule.center {
  margin-left: auto;
  margin-right: auto;
}
.rule-light {
  background: var(--lime);
}

/* =====================================================================
   Layout
   ===================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .section { padding: var(--space-7) 0; }
}

.section-head {
  margin-bottom: var(--space-7);
}
.section-head.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .eyebrow {
  padding-left: 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.two-col.reverse .col-image {
  order: -1;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-5); }
  .two-col.reverse .col-image { order: 0; }
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 94, 20, 0.92) 0%, rgba(19, 61, 12, 0.96) 100%);
  z-index: 1;
}
.bg-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 17, 0.65) 0%, rgba(14, 22, 17, 0.85) 100%);
  z-index: 1;
}
.bg-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0.92) 0%, rgba(250, 250, 247, 0.96) 100%);
  z-index: 1;
}

/* =====================================================================
   Navigation
   ===================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(250, 250, 247, 0);
  backdrop-filter: blur(0);
  transition: all 0.4s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav-logo img {
  height: 36px;
  width: auto;
  transition: transform 0.3s var(--ease-out);
}
.nav-logo:hover img {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  gap: var(--space-4);
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--green-darker);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
}
.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31, 94, 20, 0.25);
}
.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-2);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}
.btn-primary {
  background: var(--lime);
  color: var(--green-darker);
  box-shadow: 0 4px 20px rgba(163, 201, 36, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 201, 36, 0.55);
  background: var(--lime-light);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: -5% 0 -5% 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  will-change: transform;
  background-color: var(--green-darker);
}
.hero-bg.no-image {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(212, 160, 74, 0.25), transparent 60%),
    linear-gradient(160deg, var(--green-darker) 0%, var(--green-dark) 50%, var(--green) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 22, 17, 0.35) 0%, rgba(14, 22, 17, 0.65) 70%, rgba(14, 22, 17, 0.85) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--space-4) var(--space-7);
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--lime-light);
  font-weight: 700;
  margin-bottom: 32px;
  padding-left: 40px;
  position: relative;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--lime);
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 32px 0;
  max-width: 900px;
}
.hero-title span {
  display: block;
}
.hero-title .reveal-lime {
  color: var(--lime-light);
  font-style: italic;
  font-weight: 400;
}
.hero-subtitle {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: bobble 2.6s var(--ease-in-out) infinite;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.section-about {
  background: var(--bg);
}
.image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--green-pale);
  aspect-ratio: 4 / 5;
  box-shadow:
    0 20px 60px -20px rgba(19, 61, 12, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.image-card:hover img {
  transform: scale(1.04);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--green-darker);
  line-height: 1;
  margin-bottom: 0.2em;
  font-feature-settings: "tnum";
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
}

/* =====================================================================
   VISION (dark section with bg image)
   ===================================================================== */
.section-vision {
  padding: var(--space-9) 0;
  color: var(--white);
}
.section-vision .container {
  text-align: center;
}
.section-vision .eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}
.section-vision .rule {
  margin-left: auto;
  margin-right: auto;
}
.vision-statement {
  max-width: 860px;
  margin: 0 auto var(--space-7);
  color: rgba(255, 255, 255, 0.92);
}
.vision-statement .lead-large {
  color: rgba(255, 255, 255, 0.95);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
@media (max-width: 900px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .mission-grid { grid-template-columns: 1fr; }
}
.mission-item {
  padding: var(--space-5) var(--space-4);
  background: rgba(31, 94, 20, 0.55);
  backdrop-filter: blur(6px);
  transition: background 0.4s var(--ease-out);
}
.mission-item:hover {
  background: rgba(31, 94, 20, 0.75);
}
.mission-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  color: var(--lime-light);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.4em;
  line-height: 1;
}
.mission-item h4 {
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 0.6em;
}
.mission-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin: 0;
}

/* =====================================================================
   APPROACH
   ===================================================================== */
.section-approach {
  background: var(--bg-warm);
}

/* =====================================================================
   ARMS overview
   ===================================================================== */
.section-arms {
  background: var(--bg);
  padding-bottom: var(--space-7);
}
.arms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 900px) {
  .arms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .arms-grid { grid-template-columns: 1fr; }
}
.arm-card {
  display: block;
  background: var(--white);
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  color: var(--text);
}
.arm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 30px;
  background: var(--lime);
  transition: width 0.5s var(--ease-out);
}
.arm-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 20px 50px -15px rgba(19, 61, 12, 0.2);
}
.arm-card:hover::before {
  width: 100%;
}
.arm-num {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 1em;
  font-weight: 500;
}
.arm-card h3 {
  font-size: 1.4rem;
  color: var(--green-darker);
  margin-bottom: 0.6em;
}
.arm-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5em;
}
.arm-arrow {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.4s var(--ease-out);
}
.arm-card:hover .arm-arrow {
  transform: translateX(6px);
}
.arm-dark {
  background: var(--green-darker);
  color: var(--white);
  border-color: var(--green-darker);
}
.arm-dark h3 { color: var(--lime-light); }
.arm-dark p { color: rgba(255, 255, 255, 0.78); }
.arm-dark .arm-num { color: var(--lime); }
.arm-dark .arm-arrow { color: var(--lime); }
.arm-dark:hover {
  background: var(--black);
  border-color: var(--black);
}

/* =====================================================================
   Individual arm sections
   ===================================================================== */
.section-arm {
  background: var(--bg);
}
.section-arm:nth-of-type(even) {
  background: var(--bg-warm);
}
.col-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.three-col,
.two-tile {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.three-col { grid-template-columns: repeat(3, 1fr); }
.two-tile { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .three-col, .two-tile { grid-template-columns: 1fr; }
}
.tile {
  background: var(--white);
  padding: var(--space-4);
  border-radius: 8px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  transition: all 0.4s var(--ease-out);
}
.tile:hover {
  border-top-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -15px rgba(19, 61, 12, 0.15);
}
.tile h4 {
  color: var(--green-darker);
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6em;
}
.tile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tile li {
  font-size: 0.93rem;
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--text);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  line-height: 1.45;
}
.tile li:last-child { border-bottom: none; }
.tile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M2 13 C 4 2, 15 1, 18 7 C 16 16, 5 17, 2 13 Z' fill='%23A3C924'/><path d='M2 13 Q 10 7, 18 7' stroke='%231F5E14' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Feature arm section (Academy with background image) */
.section-arm-feature {
  color: var(--white);
  padding: var(--space-7) 0;
}
.section-arm-feature .bg-overlay {
  background: linear-gradient(135deg, rgba(31, 94, 20, 0.85) 0%, rgba(19, 61, 12, 0.92) 100%);
}
.feature-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: var(--space-6);
  max-width: 880px;
  margin: 0 auto;
}
.feature-card h2 { color: var(--white); }
.feature-card .eyebrow {
  color: var(--lime-light);
  padding-left: 32px;
}
.feature-card .eyebrow::before {
  background: var(--lime);
}
.feature-card .kicker { color: rgba(255, 255, 255, 0.75); }
.feature-card .rule { background: var(--lime); }
.feature-card p { color: rgba(255, 255, 255, 0.88); }
.feature-card strong { color: var(--lime-light); }
.programme-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
@media (max-width: 700px) {
  .programme-row { grid-template-columns: 1fr; }
}
.programme h4 {
  color: var(--lime-light);
  letter-spacing: 0.12em;
}
.programme ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.programme li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.programme li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--lime);
}

/* =====================================================================
   EXPERTS
   ===================================================================== */
.section-experts {
  color: var(--white);
}
.section-experts h2 { color: var(--white); }
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (max-width: 1100px) {
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .experts-grid { grid-template-columns: 1fr; }
}
.expert-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.expert-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--lime);
  transform: translateY(-6px);
}
.expert-photo {
  aspect-ratio: 4 / 5;
  background: var(--green-darker);
  overflow: hidden;
}
.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.expert-card:hover .expert-photo img {
  transform: scale(1.05);
}
.expert-info {
  padding: var(--space-3) var(--space-3) var(--space-4);
}
.expert-info h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}
.expert-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime-light);
  font-weight: 600;
  margin-bottom: 1em;
}
.expert-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* =====================================================================
   PARTNERS
   ===================================================================== */
.section-partners { background: var(--bg-warm); }

/* Tab switcher (Australia / Malaysia & ASEAN) */
.tab-switcher {
  display: inline-flex;
  background: var(--white);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
  margin-top: var(--space-3);
  gap: 2px;
}
.tab-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: var(--green-darker);
  color: var(--white);
}

/* Partners grid (logos + cards) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.partners-grid.hidden { display: none; }
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .partners-grid { grid-template-columns: 1fr; }
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-4);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 18px 45px -18px rgba(19, 61, 12, 0.22);
}
.partner-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--green-pale);
}
.partner-logo img {
  max-height: 50px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.partner-logo-dark {
  background: #0a0a0a;
  border-radius: 6px;
  padding: 6px 10px;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 56px;
  border-bottom: 1px solid var(--green-pale);
}
.partner-logo-dark img {
  filter: none;
}
.partner-card:hover .partner-logo-dark img {
  filter: none;
  transform: scale(1.03);
}
.partner-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.7em;
}
.partner-card h3 {
  font-size: 1.15rem;
  color: var(--green-darker);
  margin-bottom: 0.6em;
  line-height: 1.2;
}
.partner-card h3 em {
  font-size: 0.85em;
  color: var(--text-muted);
  font-weight: 400;
}
.partner-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1em;
  flex: 1;
}
.partner-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: transform 0.3s var(--ease-out);
  align-self: flex-start;
}
.partner-link:hover { color: var(--green-dark); transform: translateX(4px); }
.partner-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Logo carousel — kept for reference but not used now */
.logo-carousel {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-6);
  padding: var(--space-3) 0;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logoScroll 40s linear infinite;
}
.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}
.logo-cell {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 96px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out);
}
.logo-cell:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.logo-cell img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-cell-sm img {
  max-height: 64px;
}
.logo-fade-l,
.logo-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}
.logo-fade-l {
  left: 0;
  background: linear-gradient(90deg, var(--bg-warm), transparent);
}
.logo-fade-r {
  right: 0;
  background: linear-gradient(270deg, var(--bg-warm), transparent);
}
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .logo-track { gap: 50px; }
  .logo-cell { min-width: 110px; height: 70px; }
  .logo-cell img { max-height: 56px; max-width: 110px; }
  .logo-cell-sm img { max-height: 44px; }
}

/* =====================================================================
   TRACK RECORD timeline
   ===================================================================== */
.section-track { background: var(--bg); }
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--lime);
}
.timeline-item {
  position: relative;
  padding: 0 0 var(--space-5) 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--lime);
}
.timeline-status {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.6em;
}
.status-active { background: var(--lime); color: var(--green-darker); }
.status-setup { background: var(--amber-light); color: var(--terracotta); }
.status-ongoing { background: var(--green-pale); color: var(--green-darker); }
.status-past { background: var(--bg-warm); color: var(--text-muted); }
.timeline-item h3 {
  font-size: 1.3rem;
  color: var(--green-darker);
  margin-bottom: 0.4em;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.section-contact {
  background: var(--bg-warm);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.contact-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  padding: var(--space-3);
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.contact-card:hover {
  border-left-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(19, 61, 12, 0.15);
}
.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.contact-card-whatsapp .contact-label {
  color: #25D366;
}
.contact-card-whatsapp:hover {
  border-left-color: #25D366;
}
.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-darker);
  font-family: 'Fraunces', serif;
}
.contact-address {
  font-size: 0.92rem;
  line-height: 1.45;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--green-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-5) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--lime-light);
}
.footer-meta {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.footer-credit {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  text-align: center;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-credit a {
  color: var(--lime-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s var(--ease-out);
}
.footer-credit a:hover {
  color: #fff;
}

/* =====================================================================
   Animation primitives (initial states)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-fade-up] {
  /* shortcut alias for IO-driven reveal */
}

/* Hero text staggered animation */
.hero .reveal {
  transform: translateY(40px);
}

/* Soft float background pattern (subtle) */
.section-arms::before,
.section-track::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-pale), transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* =====================================================================
   Image fallback when no photo present
   ===================================================================== */
img[src*="/photos/"] {
  background:
    linear-gradient(135deg, var(--green-pale) 0%, var(--green-very-light) 100%);
}
