/* Self-hosted fonts (latin subset, downloaded from Google Fonts 2026-06-12) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
}

/* ==========================================================================
   Vailinor.com — site stylesheet
   Colors and type are taken from the live Framer site (June 2026):
   Inter, greens #003d30 / #138566 / #009878, ink #0f0f0f, gray #6b7280.
   ========================================================================== */

:root {
  --forest: #003d30;        /* brand primary (dark surfaces, buttons) */
  --green: #009878;         /* brand Jade (accents; never on white below 18pt) */
  --jade: #009878;          /* alias kept for older rules */
  --ink: #0f0f0f;           /* near-black text / dark hero */
  --charcoal: #151515;
  --gray: #6b7280;          /* secondary text */
  --gray-soft: #828487;
  --line: #e3ded4;          /* hairlines, warmed to sit on Paper */
  --bg-light: #f5f2ec;      /* Paper (brand surface) */
  --cream: #f1dfc2;         /* warm accent */
  --mint: #cfe3dd;          /* pale green tint */
  --white: #ffffff;

  /* Brand type: Poppins display over Lato body (Vailinor Brand Guidelines) */
  --font: "Lato", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Lato", -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }

/* Brand eyebrow: jade caps, letterspaced, numbered per section ("01 - NAME") */
body { counter-reset: secnum; }
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 16px;
}
section .eyebrow::before {
  counter-increment: secnum;
  content: counter(secnum, decimal-leading-zero) " - ";
}

/* Brand headline mark: short solid jade underline bar */
.section-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  background: var(--jade);
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { background: rgba(241, 241, 241, 0.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.logo img { height: 28px; width: auto; }
/* Each page sets one of these via the header markup */
.logo .logo-dark { display: block; }
.logo .logo-light { display: none; }

.header-dark .logo .logo-dark { display: none; }
.header-dark .logo .logo-light { display: block; }
.header-dark.scrolled .logo .logo-dark { display: block; }
.header-dark.scrolled .logo .logo-light { display: none; }

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

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.15s ease;
}
.btn-pill:hover { transform: translateY(-1px); }
.btn-pill .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
}

.menu-toggle {
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: var(--ink); position: relative;
  transition: transform 0.2s ease;
}
.header-dark:not(.scrolled) .menu-toggle span,
.header-dark:not(.scrolled) .menu-toggle span::before,
.header-dark:not(.scrolled) .menu-toggle span::after { background: var(--white); }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

.site-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--forest);
  color: var(--white);
  z-index: 200;
  padding: 80px 36px;
  flex-direction: column;
  gap: 22px;
}
.site-menu.open { display: flex; }
.site-menu a { font-size: 26px; font-weight: 600; }
.site-menu a:hover { color: var(--mint); }
.menu-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: 0; color: var(--white);
  font-size: 26px; cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--ink) url("../images/gq2lrS8NnT9658QlsxCLpLU9qT4.webp") center / cover no-repeat;
  color: var(--white);
}
.hero .eyebrow { color: var(--mint); }
.hero h1 { font-size: clamp(40px, 6.2vw, 80px); font-weight: 800; max-width: 14ch; }
.hero p.lede { margin-top: 24px; max-width: 56ch; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.hero .cta { margin-top: 36px; }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-solid:hover { background: var(--green); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
section { padding: 96px 0; }

.section-title { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 18px; max-width: 60ch; }

/* Vision band */
.vision { background: var(--white); }
.vision blockquote {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.5;
  max-width: 62ch;
  border-left: 4px solid var(--forest);
  padding-left: 28px;
}

/* Steps (From Power to Intelligence) — big centerpiece words above an
   equal-width numbered process row (brand numbered-section system). */
.steps { background: var(--ink) url("../images/gq2lrS8NnT9658QlsxCLpLU9qT4.webp") center / cover no-repeat; color: var(--white); }
.steps .section-sub { color: rgba(255, 255, 255, 0.7); }
.stage-words {
  display: flex; justify-content: center; flex-wrap: wrap;
  column-gap: 0.45em; row-gap: 4px;
  margin: 88px 0 96px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  text-align: center;
  color: var(--white);
  /* Scale is driven by scroll position in main.js (grows as the section
     scrolls up the viewport); solid colors, no gradient shimmer here. */
  transform-origin: center;
  will-change: transform;
}
.stage-words span:nth-child(2) { color: var(--green); }
.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.steps-flow .step {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 22px;
}
.step-num {
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.step h4 { font-size: 20px; margin-bottom: 12px; min-height: 2.6em; }
.step p { color: rgba(255, 255, 255, 0.62); font-size: 15.5px; }

/* Stats (Innovating for a Greener Tomorrow) — two-column with staggered tiles */
.greener-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.greener-text .section-title .accent { color: var(--green); }
.mini-label { display: block; color: var(--green); font-weight: 600; font-size: 15px; margin: 28px 0 10px; }
.greener-text .hairline { border: 0; border-top: 1px solid var(--line); margin-top: 56px; }

.stats-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.pos-a { grid-column: 1; grid-row: 1; }
.pos-b { grid-column: 2; grid-row: 1; }
.pos-c { grid-column: 2; grid-row: 2; }
.pos-d { grid-column: 3; grid-row: 2; }
.tile-green { background: #2b7158; }
.tile-green .watermark {
  position: absolute; right: -12%; top: -6%;
  width: 95%; height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.16;
  pointer-events: none;
}
.tile-label { position: relative; color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.4; }
.tile-dash {
  border: 1.5px dashed #c9cdd1;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}
.tile-big { font-size: 52px; font-weight: 700; line-height: 1; }
.tile-big sup { font-size: 26px; }
.tile-sub { color: var(--gray); font-size: 14px; }

/* Core premise cards (Power-Anchored AI Infrastructure) */
.premise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.premise-card {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premise-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.premise-card h4 { font-size: 18px; margin-bottom: 10px; }
.premise-card p { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.55; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--green); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 4px 26px; color: var(--gray); max-width: 75ch; }
.faq-body p { margin-bottom: 12px; }
.faq-body ul { margin: 0 0 12px 20px; }
.faq-cta { margin-top: 48px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.faq-cta p { font-weight: 600; font-size: 18px; }

/* Trio stats / Clean AI band */
.locally-sourced {
  background: linear-gradient(160deg, var(--forest), #00261e);
  color: var(--white);
}
.locally-sourced h2 { font-size: clamp(36px, 5vw, 64px); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.trio .t-num { font-size: clamp(40px, 4.5vw, 64px); font-weight: 700; color: var(--mint); line-height: 1; }
.trio .t-label { margin-top: 10px; color: rgba(255, 255, 255, 0.8); }

/* SDG — header lockup + checkerboard of tiles and captions */
.sdg { background: var(--bg-light); }
.sdg-head { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: center; }
.sdg-logo { width: 100%; max-width: 230px; }
.sdg-head .section-title .accent { color: var(--green); }
.sdg .intro { max-width: 110ch; color: var(--gray); font-size: 16px; margin-top: 14px; }

.sdg-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 36px;
  align-items: center;
  margin-top: 72px;
  padding: 0 4%;
}
.sdg-tile { width: 100%; max-width: 232px; border-radius: 6px; justify-self: center; }
.sdg-cap { color: #4a4f54; font-size: 15px; max-width: 30ch; }
/* Checkerboard rows: explicit rows; row 2 swaps tile/caption order */
.t-r1, .c-r1 { grid-row: 1; }
.c-r2a { grid-row: 2; grid-column: 1; }
.t-r2a { grid-row: 2; grid-column: 2; }
.c-r2b { grid-row: 2; grid-column: 3; }
.t-r2b { grid-row: 2; grid-column: 4; }
.t-r3, .c-r3 { grid-row: 3; }

/* Mission cards */
.mission { background: var(--white); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.mission-card { background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; }
.mission-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mission-card .mc-body { padding: 24px; }
.mission-card h3 { font-size: 22px; margin-bottom: 10px; }
.mission-card p { color: var(--gray); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.page-head { padding: 160px 0 48px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); }
.page-head .date { color: var(--gray); margin-top: 12px; }

.article-list { display: flex; flex-direction: column; gap: 56px; padding-bottom: 96px; }
.article-card { display: block; }
.article-card .card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.article-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.article-card:hover .card-img img { transform: scale(1.02); }
.article-card .card-date { color: var(--gray); font-size: 14px; margin-top: 18px; }
.article-card h3 { font-size: 24px; margin-top: 8px; }
.article-card .card-excerpt { color: var(--gray); margin-top: 8px; max-width: 80ch; }

/* Blog post */
.post-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.post-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6));
}
.post-hero .container { position: relative; padding-bottom: 72px; }
.post-hero .date { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.post-hero h1 { font-size: clamp(34px, 5vw, 64px); max-width: 22ch; }
.post-hero .excerpt { margin-top: 16px; max-width: 64ch; color: rgba(255, 255, 255, 0.85); }

.post-meta {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.post-meta .pm-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.post-meta .pm-value { font-weight: 600; margin-top: 4px; }

.post-body { background: var(--white); padding: 64px 0 96px; }
.post-body .prose { max-width: 760px; margin: 0 auto; }
.post-body h2, .post-body h4 { margin: 0 0 24px; font-size: 26px; }
.post-body p { margin-bottom: 20px; font-size: 17px; color: #2a2a2a; }
.post-body figure { margin: 36px 0; border-radius: var(--radius); overflow: hidden; }

/* Small text on light surfaces uses Forest, not Jade (brand contrast rule) */
.back-link { display: inline-block; margin-bottom: 24px; color: var(--forest); font-weight: 700; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-band { background: var(--bg-light); padding: 140px 0 96px; }
.contact-band h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 56px; }

.contact-form-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 56px;
  align-items: start;
}
.contact-form-grid .f-side h4 { font-size: 22px; line-height: 1.4; margin-bottom: 20px; }
.contact-form-grid .f-side p { color: var(--gray); font-size: 14px; margin-bottom: 6px; }
.contact-form-grid .f-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: var(--forest);
  margin-bottom: 24px;
}
.contact-form-grid .f-email:hover { color: var(--green); }
.contact-form-grid .f-address { color: var(--gray); font-size: 14px; line-height: 1.8; }

/* Form panel: white card with clearly visible bordered fields */
.contact-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 28px rgba(0, 61, 48, 0.07);
}
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { display: block; margin-bottom: 18px; }
.contact-form .field-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #d8d2c4;
  border-radius: 8px;
  background: var(--bg-light);
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a39d8f; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--forest); background: var(--white); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; flex-wrap: wrap; }
.form-footer .journey { font-weight: 700; color: var(--gray); }

.statement { background: var(--white); }
.statement p {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  max-width: 36ch;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   About + Platform pages
   -------------------------------------------------------------------------- */
.about-story { background: var(--white); }
.story-lead {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.4;
  max-width: 56ch; margin-bottom: 40px;
  border-left: 4px solid var(--forest); padding-left: 28px;
}
.story-body { color: #2a2a2a; font-size: 17px; line-height: 1.75; max-width: 72ch; margin-bottom: 28px; }
.story-body:last-child { margin-bottom: 0; }

/* Horizontal milestone timeline: a track with jade nodes, one column per
   milestone; stacks vertically on small screens. */
.timeline-band { background: var(--bg-light); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 64px;
  padding-top: 36px;
}
.tl-track {
  position: absolute; top: 0; left: 8px; right: 8px;
  height: 2px; background: var(--mint);
}
.tl-item { position: relative; }
.tl-dot {
  position: absolute; top: -41px; left: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--bg-light), 0 0 0 6px var(--mint);
}
.tl-date { font-family: var(--font-display); color: var(--jade); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.tl-item h4 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { color: var(--gray); font-size: 14.5px; }

/* Team cards: avatar, name, role, bio, LinkedIn */
.team-band { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.team-card {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 24px 64px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.team-card .avatar {
  width: 112px; height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--forest), #0b5a47);
  color: var(--mint);
  font-family: var(--font-display);
  font-weight: 700; font-size: 28px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
}
img.avatar { object-fit: cover; border: 3px solid var(--forest); }
.team-card h3 { font-size: 18px; }
.team-card .role { color: var(--forest); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin: 6px 0 14px; }
.team-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.team-card .li-link {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.team-card .li-link:hover { background: var(--green); }


.statement-link { color: var(--jade); white-space: nowrap; }
.statement-link:hover { color: var(--green); }

/* Footer bottom bar (copyright + legal links) */
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .legal-links { display: inline-flex; gap: 36px; }

/* Honeypot field for the Netlify contact form: hidden from humans */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal { background: var(--white); padding-bottom: 96px; }
.legal .prose { max-width: 760px; margin: 0 auto; }
.legal .prose > p.lede { font-size: 19px; font-weight: 600; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 14px; }
.legal p { margin-bottom: 14px; color: #2a2a2a; }
.legal ul { margin: 0 0 14px 20px; }

.template-warning {
  background: var(--cream);
  border-left: 4px solid #b4540a;
  padding: 18px 22px;
  border-radius: 8px;
  margin: 0 0 40px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest) url("../images/q7PiNZuG7h4APuOv9iWwu2JSNDc.png") center / cover no-repeat;
  color: var(--white);
  padding: 80px 0 32px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding-bottom: 56px;
}
.footer-top .f-logo img { height: 30px; width: auto; }
.footer-tagline { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; line-height: 2.1; color: rgba(255, 255, 255, 0.85); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); font-size: 16px; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { text-align: right; }
.footer-email { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; }
.footer-email:hover { color: var(--mint); }
.footer-address { margin-top: 28px; font-size: 13px; letter-spacing: 0.06em; line-height: 1.9; color: rgba(255, 255, 255, 0.75); }
.footer-address strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Screenshot-verification mode (?flat=1): collapse vh-sized heroes. */
.flat .hero, .flat .post-hero { min-height: 0; padding: 160px 0 80px; }

/* --------------------------------------------------------------------------
   Motion layer: staggered hero entrance on arrival, single seamless hero
   video loop (Higgsfield, 2026-06-12), scroll-triggered fade-ins elsewhere.
   -------------------------------------------------------------------------- */

/* Hero video */
.hero { overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero .hero-bg video.active { opacity: 1; }
.hero .hero-bg .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
}
.hero .container { position: relative; z-index: 2; }

/* Hero entrance (on arrival). Initial hidden state only applies once JS
   has added .js-anim, so content is never hidden without JavaScript. */
.js-anim .hero .eyebrow, .js-anim .hero h1, .js-anim .hero .lede,
.js-anim .hero .cta {
  opacity: 0; transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-anim.loaded .hero .eyebrow, .js-anim.loaded .hero h1, .js-anim.loaded .hero .lede,
.js-anim.loaded .hero .cta { opacity: 1; transform: none; }
.js-anim.loaded .hero h1 { transition-delay: 0.1s; }
.js-anim.loaded .hero .lede { transition-delay: 0.2s; }
.js-anim.loaded .hero .cta { transition-delay: 0.3s; }

.js-anim .site-header { transform: translateY(-40px); opacity: 0; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease, background 0.25s ease, box-shadow 0.25s ease; }
.js-anim.loaded .site-header { transform: none; opacity: 1; }

/* Scroll-triggered reveals (applied by main.js) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Gentle card hovers */
.tile, .mission-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tile:hover, .mission-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .cta,
  .site-header, .reveal { opacity: 1; transform: none; transition: none; }
  .hero .hero-bg video { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .trio, .mission-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }

  .greener-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-cluster { grid-template-columns: 1fr 1fr; }
  .stats-cluster .tile { grid-column: auto; grid-row: auto; }

  .steps-flow { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step h4 { min-height: 0; }
  .stage-words { margin: 56px 0 64px; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-top: 0; padding-left: 28px; }
  .tl-track { top: 8px; bottom: 8px; left: 0; right: auto; width: 2px; height: auto; }
  .tl-dot { top: 4px; left: -33px; }
  .sdg-head { grid-template-columns: 1fr; gap: 24px; }
  .sdg-board { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 0; }
  .sdg-board .sdg-tile, .sdg-board .sdg-cap { grid-row: auto; grid-column: auto; }
}

@media (max-width: 600px) {
  .trio, .mission-grid, .stats-cluster, .premise-grid, .team-grid,
  .steps-flow, .contact-form .field-row { grid-template-columns: 1fr; }
  .sdg-board { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .post-hero { min-height: 70vh; }
}
