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

:root {
  --black: #0F2A1D;
  --cream: #F2F0EB;
  --olive: #6B7D6D;
  --earth: #5A4634;
  --blue: #3A7CA5;
  --lime: #C8D96F;
  --white: #F7F7F5;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  /* Reserve space for fixed nav so hero headline does not sit under it */
  --nav-safe: 5.75rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 16px; height: 16px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s, transform 0.15s ease-out;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 50px; height: 50px;
  background: var(--white);
  border-color: var(--white);
}
.cursor.dark { border-color: var(--white); }

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grain);
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.6;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  mix-blend-mode: difference;
  color: var(--white);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.nav-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 1.5px;
}
.nav-logo-grid .cell {
  border-radius: 1px;
  background: currentColor;
}
.nav-logo-text {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-right { display: flex; gap: 2rem; align-items: center; }
.nav-right a {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.nav-right a:hover { opacity: 1; }
.nav-cta-btn {
  opacity: 1 !important;
  padding: 0.5rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 100px;
}

/* ─── HERO ─── */
.hero {
  /* At least one viewport tall, but never shorter than hero content (avoids clipping) */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: max(100dvh, min-content);
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  /* Top padding clears fixed nav; vertical centering applies within remaining space */
  padding: max(var(--nav-safe), env(safe-area-inset-top, 0px)) 2.5rem max(4rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

/* Animated topo lines */
.hero-topo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.12;
}
.topo-line {
  position: absolute;
  border: 1px solid var(--white);
  border-radius: 50%;
  animation: topo-drift 20s ease-in-out infinite alternate;
}
.topo-line:nth-child(1) { width: 800px; height: 800px; top: -200px; right: -200px; }
.topo-line:nth-child(2) { width: 600px; height: 600px; top: -100px; right: -100px; animation-delay: -3s; }
.topo-line:nth-child(3) { width: 400px; height: 400px; top: 0; right: 0; animation-delay: -6s; }
.topo-line:nth-child(4) { width: 1000px; height: 1000px; bottom: -400px; left: -300px; animation-delay: -2s; animation-duration: 25s; }
.topo-line:nth-child(5) { width: 700px; height: 700px; bottom: -250px; left: -150px; animation-delay: -5s; animation-duration: 22s; }
.topo-line:nth-child(6) { width: 500px; height: 500px; bottom: -150px; left: -50px; animation-delay: -8s; animation-duration: 18s; }
@keyframes topo-drift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(3deg); }
}

/* Floating coordinate labels */
.hero-coords {
  position: absolute;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(247,247,245,0.15);
  text-transform: uppercase;
}
.coord-1 { top: 30%; left: 5%; transform: rotate(-90deg); }
.coord-2 { top: 15%; right: 8%; }
.coord-3 { bottom: 30%; right: 3%; transform: rotate(90deg); }

.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-width: 1400px;
  width: 100%;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  /* Capped max so ultra-wide viewports don’t oversize; vw keeps mid-range proportional */
  font-size: clamp(2.5rem, 4vw + 1.25rem, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 3rem;
  text-transform: uppercase;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span {
  display: inline-block;
  animation: line-reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(110%);
}
.hero h1 .line:nth-child(2) span { animation-delay: 0.15s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.3s; }
@keyframes line-reveal { to { transform: translateY(0); } }

.hero h1 .hero-italic {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  max-width: 36rem;
}
.hero-sub {
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(247,247,245,0.5);
  max-width: 100%;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.btn-main {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--lime);
  color: var(--black);
  text-decoration: none;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-main:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(200, 217, 111, 0.25);
}
.btn-line {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(247,247,245,0.4);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.btn-line::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.4s;
}
.btn-line:hover { color: var(--white); }
.btn-line:hover::after { width: 100%; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 4rem; right: 2.5rem;
  writing-mode: vertical-rl;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,247,245,0.2);
  display: flex; align-items: center; gap: 1rem;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(247,247,245,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── SECTION SHARED ─── */
section { padding: 8rem 2.5rem; position: relative; }
.section-tag {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}
.section-tag.light { color: rgba(247,247,245,0.3); }
.section-num {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}

/* ─── POSITIONING ─── */
.positioning {
  background: var(--cream);
  padding: 10rem 2.5rem;
}
.positioning-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.pos-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.pos-left p {
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--olive);
  margin-top: 2rem;
  font-weight: 300;
}
.pos-right {
  padding-top: 0;
  min-width: 0;
}

/* Code terminal */
.code-terminal {
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.68rem;
  line-height: 1.9;
  min-width: 0;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1.2rem;
  background: rgba(247,247,245,0.04);
  border-bottom: 1px solid rgba(247,247,245,0.04);
}
.code-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247,247,245,0.1);
}
.code-dot:first-child { background: rgba(200,217,111,0.35); }
.code-filename {
  font-size: 0.6rem;
  color: rgba(247,247,245,0.25);
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}
.code-body {
  padding: 1.5rem;
  height: 340px;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  color: rgba(247,247,245,0.5);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.code-body::-webkit-scrollbar { display: none; }
.code-body .line {
  opacity: 0;
  transform: translateY(4px);
  animation: code-line-in 0.3s forwards;
  white-space: pre;
}
@keyframes code-line-in {
  to { opacity: 1; transform: translateY(0); }
}
.code-body .kw { color: var(--blue); }
.code-body .fn { color: var(--lime); }
.code-body .st { color: #C8A96F; }
.code-body .cm { color: rgba(247,247,245,0.2); font-style: italic; }
.code-body .num { color: #7DAFCA; }
.code-body .indent { padding-left: 1.5em; }
.code-body .indent2 { padding-left: 3em; }

/* ─── PROBLEM — MARQUEE STYLE ─── */
.problem-section {
  background: var(--black);
  color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}
.problem-header {
  padding: 0 2.5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
.problem-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 1px;
  margin-bottom: 1px;
}
.marquee-track:nth-child(2) { animation-direction: reverse; animation-duration: 35s; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.problem-card {
  flex-shrink: 0;
  width: 380px;
  padding: 2.5rem;
  border: 1px solid rgba(247,247,245,0.06);
  background: rgba(247,247,245,0.02);
}
.problem-card .p-num {
  font-family: 'Overpass Mono', monospace;
  font-size: 2rem;
  font-weight: 300;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1;
}
.problem-card p {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  color: rgba(247,247,245,0.55);
  line-height: 1.6;
  font-weight: 300;
}
.problem-closing-line {
  padding: 4rem 2.5rem 0;
  max-width: 1400px;
  margin: 0 auto;
  font-family: 'Newsreader', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(247,247,245,0.3);
  font-weight: 300;
}

/* ─── SERVICES ─── */
.services {
  background: var(--black);
  color: var(--white);
  padding: 10rem 2.5rem;
}
.services-inner { max-width: 1400px; margin: 0 auto; }
.services h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 5rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 3rem;
  align-items: baseline;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(247,247,245,0.06);
  transition: all 0.4s;
  cursor: default;
}
.service-row:first-child { border-top: 1px solid rgba(247,247,245,0.06); }
.service-row:hover {
  padding-left: 1.5rem;
  background: rgba(247,247,245,0.02);
}
.service-row .s-num {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.service-row h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-row p {
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: rgba(247,247,245,0.45);
  font-weight: 300;
  line-height: 1.6;
}

/* ─── PROCESS ─── */
.process-section {
  background: var(--cream);
  color: var(--black);
  padding: 10rem 2.5rem;
  position: relative;
}
.process-inner { max-width: 1400px; margin: 0 auto; }
.process-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 6rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  padding: 3rem 2rem;
  border-left: 1px solid rgba(15,42,29,0.06);
  position: relative;
  transition: background 0.4s;
}
.process-step:first-child { border-left: none; }
.process-step:hover { background: rgba(15,42,29,0.02); }
.process-step .step-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(15,42,29,0.05);
  line-height: 1;
  margin-bottom: 2rem;
}
.process-step h3 {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.process-step p {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: var(--olive);
  line-height: 1.6;
  font-weight: 300;
}
.process-note-text {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15,42,29,0.08);
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: var(--olive);
  font-style: italic;
  font-weight: 300;
  max-width: 500px;
}

/* ─── AGRI-IT ─── */
.agriit-section {
  background: var(--black);
  color: var(--white);
  padding: 8rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.agriit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(58,124,165,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 80%, rgba(200,217,111,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.agriit-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.agriit-text {
  align-self: center;
}
.agriit-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.agriit-text p {
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  color: rgba(247,247,245,0.5);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.agriit-pills {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 2.5rem;
}
.agriit-pill {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(247,247,245,0.12);
  border-radius: 100px;
  transition: all 0.3s;
}
.agriit-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Partnership visual */
.agriit-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}
.agriit-handoff {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
}
.handoff-ring {
  position: absolute;
  border: 1px solid rgba(247,247,245,0.04);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.handoff-ring:nth-child(1) { width: 100%; height: 100%; }
.handoff-ring:nth-child(2) { width: 72%; height: 72%; border-color: rgba(247,247,245,0.06); }
.handoff-ring:nth-child(3) { width: 44%; height: 44%; border-color: rgba(58,124,165,0.1); }
.handoff-label {
  position: absolute;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.handoff-label.lab-design {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--lime);
  font-size: 0.65rem;
  opacity: 0.7;
}
.handoff-label.lab-fodder {
  top: 18%; left: 50%;
  transform: translateX(-50%);
  color: rgba(247,247,245,0.2);
}
.handoff-label.lab-agriit {
  bottom: 18%; left: 50%;
  transform: translateX(-50%);
  color: rgba(247,247,245,0.2);
}
.handoff-node {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  top: 50%; left: 50%;
}
.handoff-node:nth-child(5) { animation: orbit-1 20s linear infinite; }
.handoff-node:nth-child(6) { animation: orbit-2 28s linear infinite; }
.handoff-node:nth-child(7) { animation: orbit-3 24s linear infinite; opacity: 0.5; width: 5px; height: 5px; background: var(--blue); }
@keyframes orbit-1 {
  from { transform: rotate(0deg) translateX(calc(min(180px, 18vw))) rotate(0deg); }
  to { transform: rotate(360deg) translateX(calc(min(180px, 18vw))) rotate(-360deg); }
}
@keyframes orbit-2 {
  from { transform: rotate(120deg) translateX(calc(min(130px, 13vw))) rotate(-120deg); }
  to { transform: rotate(480deg) translateX(calc(min(130px, 13vw))) rotate(-480deg); }
}
@keyframes orbit-3 {
  from { transform: rotate(240deg) translateX(calc(min(80px, 8vw))) rotate(-240deg); }
  to { transform: rotate(600deg) translateX(calc(min(80px, 8vw))) rotate(-600deg); }
}
.handoff-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 1px;
  height: 36%;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(247,247,245,0.06), transparent);
}
.handoff-line:nth-child(8) { transform: rotate(0deg); }
.handoff-line:nth-child(9) { transform: rotate(72deg); }
.handoff-line:nth-child(10) { transform: rotate(144deg); }
.handoff-line:nth-child(11) { transform: rotate(216deg); }
.handoff-line:nth-child(12) { transform: rotate(288deg); }
.agriit-flow {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  max-width: 420px;
}
.flow-box {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(247,247,245,0.08);
  position: relative;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flow-box:first-child {
  border-radius: 10px 0 0 10px;
  border-right: none;
}
.flow-box:last-child {
  border-radius: 0 10px 10px 0;
  border-left: none;
}
.flow-box.active {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}
.flow-box .fb-tag {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.flow-box .fb-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  font-family: 'Overpass Mono', monospace;
  font-size: 1.1rem;
  color: rgba(247,247,245,0.25);
  background: rgba(247,247,245,0.03);
  border-top: 1px solid rgba(247,247,245,0.08);
  border-bottom: 1px solid rgba(247,247,245,0.08);
}
.section-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  position: relative;
  transition: gap 0.3s;
}
.section-link:hover { gap: 1rem; }
.section-link.light { color: var(--white); }

/* ─── AUDIENCE ─── */
.audience-section {
  background: var(--cream);
  color: var(--black);
  padding: 10rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.audience-inner { max-width: 1400px; margin: 0 auto; }
.audience-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 5rem;
}
.audience-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 0;
}
.audience-item {
  padding: 2.5rem 2rem 2rem;
  border: 1px solid rgba(15,42,29,0.08);
  border-radius: 10px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.audience-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-item:hover::before { transform: scaleX(1); }
.audience-item:first-child { border-left: 1px solid rgba(15,42,29,0.08); }
.audience-item:hover {
  background: var(--white);
  border-color: rgba(15,42,29,0.12);
  transform: translateY(-4px);
}
.audience-item .a-icon {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  width: 44px; height: 44px;
  border: 1px solid rgba(15,42,29,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue);
  letter-spacing: 0;
  background: rgba(58,124,165,0.04);
  transition: all 0.3s;
}
.audience-item:hover .a-icon {
  background: rgba(58,124,165,0.08);
  border-color: rgba(58,124,165,0.15);
}
.audience-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.audience-item .a-teaser {
  font-family: 'Newsreader', serif;
  font-size: 0.82rem;
  color: var(--olive);
  line-height: 1.5;
  font-weight: 300;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-item:hover .a-teaser {
  opacity: 1;
  transform: translateY(0);
}
.audience-note {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: var(--olive);
  font-style: italic;
  font-weight: 300;
  max-width: 480px;
  padding-top: 2rem;
  border-top: 1px solid rgba(15,42,29,0.08);
}

/* Audience modal */
.audience-item { cursor: pointer; }
.audience-item h3::after {
  content: ' +';
  font-weight: 400;
  opacity: 0.3;
  font-size: 0.85rem;
  transition: opacity 0.3s;
}
.audience-item:hover h3::after { opacity: 0.6; }

.audience-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,42,29,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.audience-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.audience-modal {
  background: var(--cream);
  max-width: 560px;
  width: 90%;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-overlay.open .audience-modal {
  transform: translateY(0);
}
.audience-modal-icon {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.5rem;
  width: 36px; height: 36px;
  border: 1px solid rgba(15,42,29,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--blue);
}
.audience-modal h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  color: var(--black);
}
.audience-modal p {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--olive);
  font-weight: 300;
}
.audience-modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 32px; height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  font-size: 1.2rem;
  transition: color 0.3s;
}
.audience-modal-close:hover { color: var(--black); }

/* Contact form modal */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,42,29,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.contact-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.contact-modal {
  background: var(--cream);
  max-width: 520px;
  width: 90%;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.contact-modal::-webkit-scrollbar { display: none; }
.contact-overlay.open .contact-modal {
  transform: translateY(0);
}
.contact-modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 32px; height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  font-size: 1.2rem;
  transition: color 0.3s;
}
.contact-modal-close:hover { color: var(--black); }
.contact-modal h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.contact-modal .contact-sub {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: var(--olive);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.contact-form-error {
  font-family: 'Newsreader', serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b1d1d;
  background: rgba(180, 60, 60, 0.09);
  border: 1px solid rgba(160, 50, 50, 0.35);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: -0.5rem 0 1.25rem;
  outline: none;
}
.contact-form-error:focus-visible {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px rgba(58, 124, 165, 0.5);
}
.contact-field {
  margin-bottom: 1.2rem;
}
.contact-field label {
  display: block;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'DM Sans', 'Newsreader', sans-serif;
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(15,42,29,0.1);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--blue);
}
.contact-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.contact-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7D6D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}
.contact-submit:not(:disabled):hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.contact-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.contact-success.show { display: block; }
.contact-success h3 {
  margin-bottom: 0.8rem;
}
.contact-success p {
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: var(--olive);
  font-weight: 300;
}
.contact-form.hidden { display: none; }
@media (max-width: 500px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-modal { padding: 2rem 1.5rem; }
}

/* ─── INSIGHTS ─── */
.insights-section {
  background: var(--cream);
  color: var(--black);
  padding: 10rem 2.5rem;
}
.insights-inner { max-width: 1400px; margin: 0 auto; }
.insights-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 5rem;
}
.insight-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.i-card {
  border: 1px solid rgba(15,42,29,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.i-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15,42,29,0.08);
}
.i-card-img {
  height: 220px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.i-card:nth-child(1) .i-card-img { height: 300px; }
.i-card:nth-child(2) .i-card-img { background: var(--earth); }
.i-card:nth-child(3) .i-card-img { background: #1a3d2a; }
/* Grid pattern inside cards */
.i-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247,247,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,247,245,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.i-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(200,217,111,0.08), transparent 60%);
}
.i-card-heatmap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 4px;
  z-index: 1;
}
.i-card-heatmap div { border-radius: 2px; }
.i-card-heatmap.hm-1 {
  grid-template-columns: repeat(5, 1fr);
  width: 65%;
  height: 65%;
}
.i-card-heatmap.hm-2 {
  grid-template-columns: repeat(3, 1fr);
  width: 50%;
  height: 70%;
}
.i-card-heatmap.hm-3 {
  grid-template-columns: repeat(4, 1fr);
  width: 60%;
  height: 65%;
}
.i-card-body { padding: 2rem; }
.i-card-tag {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.i-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.i-card-body p {
  font-family: 'Newsreader', serif;
  font-size: 0.9rem;
  color: var(--olive);
  line-height: 1.6;
  font-weight: 300;
}

/* Case study modal */
.cs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,42,29,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  overflow-y: auto;
  padding: 3rem 1rem;
}
.cs-overlay.open { opacity: 1; pointer-events: all; }
.cs-modal {
  background: var(--cream);
  max-width: 720px;
  width: 100%;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.cs-overlay.open .cs-modal { transform: translateY(0); }
.cs-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  border: 1px solid rgba(247,247,245,0.15);
  border-radius: 50%;
  background: rgba(15,42,29,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  z-index: 2001;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
}
.cs-overlay.open .cs-close { opacity: 1; pointer-events: all; }
.cs-close:hover { background: rgba(15,42,29,0.9); border-color: rgba(247,247,245,0.3); }

/* Hero header */
.cs-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.cs-hero-bg {
  position: absolute; inset: 0;
}
.cs-hero-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.cs-hero-tag {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  width: fit-content;
}
.cs-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

/* Body content */
.cs-body {
  padding: 3rem 2.5rem 3.5rem;
}
.cs-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15,42,29,0.08);
}
.cs-meta-item {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}
.cs-meta-item span {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 0.3rem;
  text-transform: none;
  letter-spacing: -0.01em;
}
.cs-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.01em;
}
.cs-body h4:first-child { margin-top: 0; }
.cs-body p {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--olive);
  font-weight: 300;
  margin-bottom: 1rem;
}
.cs-callout {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: rgba(58,124,165,0.04);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
}
.cs-callout p {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
  margin: 0;
}
.cs-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.cs-outcome {
  padding: 1.2rem;
  background: var(--white);
  border-radius: 8px;
  text-align: center;
}
.cs-outcome .cs-o-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
}
.cs-outcome .cs-o-label {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 0.3rem;
}
.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.cs-cta:hover { background: var(--blue); transform: translateY(-2px); }
.cs-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.cs-body ul li {
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--olive);
  font-weight: 300;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.cs-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.cs-body code {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.85em;
  background: rgba(58,124,165,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: var(--black);
}
.cs-sources {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15,42,29,0.08);
}
.cs-sources h4 {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}
.cs-sources a {
  display: block;
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  color: var(--blue);
  text-decoration: none;
  padding: 0.35rem 0;
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
  word-break: break-all;
}
.cs-sources a:hover { opacity: 0.7; }
.cs-sources .cs-src-label {
  font-family: 'Newsreader', serif;
  font-size: 0.85rem;
  color: var(--olive);
  font-weight: 300;
  display: block;
  margin-bottom: 0.15rem;
}
@media (max-width: 600px) {
  .cs-hero { height: 220px; }
  .cs-body { padding: 2rem 1.5rem; }
  .cs-outcomes { grid-template-columns: 1fr; }
  .cs-overlay { padding: 1rem; }
}

/* ─── WHY ─── */
.why-section {
  background: var(--cream);
  padding: 0 2.5rem 10rem;
}
.why-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 8rem;
  align-items: start;
}
.why-left {
  position: sticky; top: 8rem;
}
.why-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.why-list {
  list-style: none;
}
.why-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(15,42,29,0.06);
}
.why-item:first-child { border-top: 1px solid rgba(15,42,29,0.06); }
.why-item .w-num {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.why-item p {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ─── FINAL CTA ─── */
.final-section {
  background: var(--black);
  color: var(--white);
  padding: 12rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,217,111,0.04) 0%, transparent 70%);
}
/* Big rotating ring */
.final-ring {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(247,247,245,0.04);
  border-radius: 50%;
  animation: ring-rotate 50s linear infinite;
}
.final-ring-vehicle {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%) rotate(90deg);
  opacity: 0.4;
}
@keyframes ring-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

.final-inner { position: relative; z-index: 2; }
.final-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 2rem;
}
.final-sub {
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  color: rgba(247,247,245,0.4);
  max-width: 440px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem;
  border-top: 1px solid rgba(247,247,245,0.04);
  content-visibility: auto;
  contain-intrinsic-size: auto 240px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 7px);
  grid-template-rows: repeat(3, 7px);
  gap: 1.5px;
}
.footer-logo-grid .cell {
  border-radius: 0.5px;
}
.footer-logo-text {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247,247,245,0.3);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(247,247,245,0.08);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(247,247,245,0.1);
  transition: all 0.3s;
  text-decoration: none;
}
.footer-social a:hover {
  border-color: rgba(247,247,245,0.3);
  background: rgba(247,247,245,0.05);
}
.footer-social a svg {
  width: 14px; height: 14px;
  fill: rgba(247,247,245,0.35);
  transition: fill 0.3s;
}
.footer-social a:hover svg { fill: var(--white); }
.footer-copy {
  font-family: 'Overpass Mono', monospace;
  font-size: 0.55rem;
  color: rgba(247,247,245,0.15);
  letter-spacing: 0.05em;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }
.rd5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(2.15rem, 4.5vw + 1rem, 4.25rem); }
  .agriit-inner,
  .why-inner { grid-template-columns: 1fr; gap: 4rem; }
  .pos-left h2, .why-left { position: static; }
  .process-grid,
  .audience-row { grid-template-columns: 1fr 1fr; }
  .insight-cards { grid-template-columns: 1fr; }
  .i-card:nth-child(1) .i-card-img { height: 220px; }
  .hero-bottom { gap: 2rem; }
  .hero-scroll { display: none; }
  .hero-coords { display: none; }
}
@media (max-width: 700px) {
  .positioning-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  :root { --nav-safe: 4.75rem; }
  section, .positioning, .services, .process-section, .audience-section, .insights-section, .agriit-section, .final-section { padding: 5rem 1.25rem; }
  nav { padding: 1rem 1.25rem; }
  .nav-right a:not(.nav-cta-btn) { display: none; }
  .process-grid,
  .audience-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-row .s-num { display: none; }
  .agriit-visual { display: none; }
  .cursor { display: none; }
  body { cursor: auto; }
  footer { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* Narrow phones: scale hero type and spacing so the block fits without clipping */
@media (max-width: 480px) {
  :root { --nav-safe: 4rem; }
  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  }
  .hero h1 {
    /* vw-preferred middle avoids a large rem floor on 320–400px widths */
    font-size: clamp(1.1rem, 5.5vw + 0.55rem, 1.95rem);
    line-height: 1.02;
    margin-bottom: 1.1rem;
    letter-spacing: -0.035em;
  }
  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .hero-bottom {
    gap: 1.1rem;
  }
  .hero-ctas {
    gap: 0.85rem 1.25rem;
  }
  .hero .btn-main {
    padding: 0.8rem 1.35rem;
    font-size: 0.62rem;
  }
  .hero .btn-line {
    font-size: 0.62rem;
  }
}

/* Smallest phones (e.g. 320px): extra headroom under fixed nav + tighter stack */
@media (max-width: 380px) {
  :root { --nav-safe: 4rem; }
  .hero h1 {
    font-size: clamp(1rem, 5vw + 0.35rem, 1.65rem);
    line-height: 1.05;
    margin-bottom: 0.9rem;
  }
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .hero-bottom {
    gap: 0.9rem;
  }
}

/* Short viewports (e.g. landscape phones): compress hero stack */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
  .hero h1 {
    font-size: clamp(1.1rem, 2.5vh + 1vw, 1.65rem);
    margin-bottom: 0.6rem;
  }
  .hero-sub {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .hero-bottom {
    gap: 0.75rem;
  }
  .hero-ctas {
    gap: 0.65rem;
  }
}

/* ─── HERO TRACTOR ─── */
.hero-tractor-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-tractor {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s;
  will-change: transform;
}
.hero-tractor.visible { opacity: 0.16; }
.hero-harvester {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s;
  will-change: transform;
}
.hero-harvester.visible { opacity: 0.12; }
.hero-sprayer {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s;
  will-change: transform;
}
.hero-sprayer.visible { opacity: 0.13; }
@media (max-width: 600px) {
  .hero-tractor-wrap { display: none; }
}
.flow-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 1.5px;
  margin: 0 auto 0.8rem;
}
.flow-icon-grid .cell { border-radius: 0.5px; }

/* prefers-reduced-motion: calm continuous animations without breaking layout */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { display: none !important; }
  body { cursor: auto !important; }
  .hero h1 .line span { animation: none !important; transform: none !important; }
  .topo-line { animation: none !important; }
  .scroll-line { animation: none !important; }
  .marquee-track { animation: none !important; }
  .final-ring { animation: none !important; }
  .handoff-node:nth-child(5),
  .handoff-node:nth-child(6),
  .handoff-node:nth-child(7) { animation: none !important; }
  .hero-tractor-wrap { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
