/* ─── Fonts ─── */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500.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');
}

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

:root {
  --bg:      #F4F0EE;
  --fg:      #111335;
  --accent:  #ACD038;
  --accent-dark: #8db62c;
  --green-bg: #f0f5e4;
  --border:  #e8e8e8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4vw;
}

/* ─── Header ─── */
header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}
.header-logo img { height: 44px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  transition: opacity 0.2s;
}
.header-nav a:hover { opacity: 0.8; }
.header-nav .btn-nav {
  background: var(--accent);
  color: #000;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.header-nav .btn-nav:hover { opacity: 0.9; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover { border-color: #fff; }
.btn--outline-dark {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
}
.btn--outline-dark:hover { background: var(--fg); color: #fff; }
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--fg);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4vw 5rem;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 4vw 5rem;
}
.hero-content h1,
.hero-content p { max-width: 560px; }
.hero-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.hero-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.hero-overline {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #fff;
}
.hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.8;
}
.hero-chip {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  background: var(--accent);
  border-radius: 100px;
}

/* ─── Sections ─── */
.section {
  padding: 6rem 4vw;
}
.section--beige { background: var(--bg); }
.section--white { background: #fff; }
.section--green { background: var(--green-bg); }
.section--dark { background: var(--fg); color: #fff; }
.section--dark .section-heading { color: #fff; }
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--fg);
}
.section-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--fg);
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.section-overline {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

/* ─── Vision text ─── */
.vision-text {
  max-width: 720px;
}
.vision-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ─── Image + text layout ─── */
.img-text-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.img-text-layout img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ─── Stat cards ─── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: #fff;
  padding: 1.5rem;
  text-align: center;
}
.stat-card-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.stat-card-label {
  font-size: 0.82rem;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
}
.stat-card-label-long {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.section--green .stat-card { background: rgba(255,255,255,0.7); }
.section--dark .stat-card { background: rgba(255,255,255,0.1); }
.section--dark .stat-card-value { color: var(--accent); }
.section--dark .stat-card-label { color: rgba(255,255,255,0.75); }

/* ─── Target cards ─── */
.target-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.target-card {
  background: #fff;
  padding: 2.5rem 2rem;
}
.target-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.target-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
}

/* ─── Pipeline ─── */
.pipeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.pipeline-flow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.pipeline-flow path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-dasharray: 8 6;
}
.pipeline-flow .flow-arrow {
  fill: var(--accent);
  stroke: none;
}
.pipeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.pipeline-step:last-child {
  margin-bottom: 0;
}
.pipeline-step:nth-child(even) {
  direction: rtl;
}
.pipeline-step:nth-child(even) > * {
  direction: ltr;
}
.pipeline-step-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--green-bg);
  border: 1px solid var(--border);
}
.pipeline-step-img .pipeline-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,19,53,0.35) 0%, rgba(17,19,53,0.1) 100%);
  z-index: 1;
}
.pipeline-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pipeline-step-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-dark);
  opacity: 0.5;
}
.pipeline-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.pipeline-step-content h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.pipeline-step-content p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
}
.pipeline-step-example {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

/* ─── What's the dill ─── */
.dill-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--fg);
}
.dill-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.dill-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dill-overlay {
  position: absolute;
  inset: 0;
  background: var(--fg);
  opacity: 0.42;
}
.dill-content {
  position: relative;
  z-index: 1;
  padding: 5rem 4vw;
  max-width: 640px;
}
.dill-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--bg);
}
.dill-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--bg);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ─── Footer ─── */
footer {
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 4vw 4rem;
}
footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo {
  margin-bottom: 1.5rem;
}
.footer-logo img {
  height: 28px;
  width: auto;
}
.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-social a {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-social a:hover { color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .target-cards { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .img-text-layout { grid-template-columns: 1fr; }
  .pipeline-step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .pipeline-step:nth-child(even) { direction: ltr; }
  .pipeline-flow { display: none; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--fg);
    flex-direction: column;
    padding: 1.5rem 4vw 2rem;
    gap: 1rem;
  }
  .header-nav.open { display: flex; }
  .header-nav a { color: #fff; font-size: 1rem; }
  .header-nav .btn-nav { width: 100%; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  header { padding: 1rem 4vw; }
  .hero-content { padding: 6rem 4vw 3rem; }
  .section { padding: 4rem 4vw; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}
