/* ============================================================
   VINOVE — Agentra Company Page
   VNV-VIS-001 v1.0 · VNV-VOX-001 v4.1

   §0  Hero              — Graphite Deep (#0F1117), Signal Magenta radial glow
   §1  Accuracy First    — Graphite Ink (#13151A), three-row definition
   §2  What It Builds    — paper/light, three-column with green borders
   §3  Who It Serves     — ink dark, audience segments
   §4  Vinove Connection — warm light, operating thesis bridge
   §5  CTA               — dark, single-path close
   ============================================================ */

/* ── Agentra brand token ── */
:root {
  --ag: #E11D74;
  --ag-hover: #22A862;
  --ag-tint: #EAF9F2;
  --ag-dark: #0F1117;
  --ag-mid: #13151A;
}


/* ╔═══════════════════════════════════════════════════════╗
   §0  HERO
   ╚═══════════════════════════════════════════════════════╝ */

#ag-hero {
  min-height: 100svh;
  background: var(--ag-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Hero background image */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Hero overlay — keeps text fully legible over the image */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(9,12,21,.9) 0%, rgba(9,12,21,.6) 45%, rgba(9,12,21,.82) 100%),
    linear-gradient(to right, rgba(9,12,21,.6) 0%, transparent 65%);
  pointer-events: none;
}

/* Green radial glow — bottom-right */
.ag-hero-glow {
  position: absolute;
  bottom: -220px;
  right: -120px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,116,.15) 0%, rgba(225,29,116,.06) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grain overlay */
.ag-hero-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-image: 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.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.ag-hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(var(--max) + var(--gutter) * 2);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 7rem)) var(--gutter) clamp(4rem, 8vw, 8rem);
}

.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ag);
  margin-bottom: 1.75rem;
}

.ag-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ag);
  flex-shrink: 0;
}

.ag-hero-hl {
  font-size: clamp(52px, 9vw, 116px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  max-width: 18ch;
}

.ag-hero-hl-white { display: block; color: #fff; }
.ag-hero-hl-green { display: block; color: var(--ag); }

.ag-hero-sub {
  font-family: var(--font);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  max-width: 58ch;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.ag-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Green primary button override */
.btn-ag-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  background: var(--ag);
  color: #0A1F13;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, gap .2s;
}
.btn-ag-primary:hover {
  background: var(--ag-hover);
  transform: translateY(-1px);
  gap: .75rem;
}

/* Scroll hint */
.ag-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.ag-hero-scroll-line {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,.2);
}

@media (max-width: 640px) {
  .ag-hero-scroll { display: none; }
}


/* ╔═══════════════════════════════════════════════════════╗
   §1  ACCURACY FIRST
   ╚═══════════════════════════════════════════════════════╝ */

#ag-accuracy {
  background: var(--ag-mid);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.ag-accuracy-inner {
  max-width: var(--max);
  margin-inline: auto;
}

.ag-accuracy-head {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.ag-accuracy-title {
  font-family: var(--font);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 .875rem;
  line-height: 1.15;
}

.ag-accuracy-intro {
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;
}

/* Three definition rows */
.ag-def-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ag-def-row {
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.ag-def-row:hover {
  transform: translateX(4px);
}

.ag-def-row--affirm:hover {
  border-color: rgba(225,29,116,.45);
  background: rgba(225,29,116,.16);
}

.ag-def-row--negate:hover {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

/* Row 1 — affirmative, green tint */
.ag-def-row--affirm {
  background: rgba(225,29,116,.12);
  border: 1px solid rgba(225,29,116,.25);
}

/* Row 2, 3 — negations */
.ag-def-row--negate {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.ag-def-badge {
  flex-shrink: 0;
  padding: .3rem .8rem;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: .1rem;
}

.ag-def-badge--yes {
  background: var(--ag);
  color: #0A1F13;
}

.ag-def-badge--no {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
}

.ag-def-body {
  flex: 1;
  min-width: 0;
}

.ag-def-label {
  font-family: var(--font);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 .4rem;
  line-height: 1.2;
}

.ag-def-row--affirm .ag-def-label { color: var(--ag); }
.ag-def-row--negate .ag-def-label { color: rgba(255,255,255,.45); }

.ag-def-desc {
  font-family: var(--font);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  margin: 0;
  max-width: 66ch;
}


/* ╔═══════════════════════════════════════════════════════╗
   §2  WHAT IT BUILDS
   ╚═══════════════════════════════════════════════════════╝ */

#product-section {
  background: var(--paper);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.ag-builds-inner {
  max-width: var(--max);
  margin-inline: auto;
}

.ag-builds-head {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  max-width: 60ch;
}

.ag-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ag);
  margin-bottom: 1rem;
}

.ag-section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ag);
}

.ag-section-title {
  font-family: var(--font);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 .875rem;
  line-height: 1.15;
}

.ag-section-intro {
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* Three columns */
.ag-builds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ag-build-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.07);
  border-left: 3px solid var(--ag);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow .25s, transform .2s;
}

.ag-build-card:hover {
  box-shadow: 0 8px 32px rgba(225,29,116,.1);
  transform: translateY(-2px);
}

.ag-build-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ag-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ag-build-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ag);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ag-build-name {
  font-family: var(--font);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 .75rem;
  line-height: 1.2;
}

.ag-build-desc {
  font-family: var(--font);
  font-size: clamp(14px, 1.3vw, 15.5px);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .ag-builds-grid { grid-template-columns: 1fr; }
}

@media (min-width: 600px) and (max-width: 900px) {
  .ag-builds-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-build-card:last-child { grid-column: span 2; }
}


/* ╔═══════════════════════════════════════════════════════╗
   §3  WHO IT SERVES
   ╚═══════════════════════════════════════════════════════╝ */

#ag-serves {
  background: var(--ink);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.ag-serves-inner {
  max-width: var(--max);
  margin-inline: auto;
}

.ag-serves-head {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  max-width: 52ch;
}

.ag-serves-title {
  font-family: var(--font);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 .875rem;
  line-height: 1.15;
}

.ag-serves-intro {
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 0;
}

.ag-serves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-serve-item {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s;
}

.ag-serve-item:hover {
  border-color: rgba(225,29,116,.3);
  background: rgba(225,29,116,.05);
}

.ag-serve-num {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ag);
  margin-bottom: 1rem;
  display: block;
}

.ag-serve-name {
  font-family: var(--font);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 .75rem;
  line-height: 1.2;
}

.ag-serve-desc {
  font-family: var(--font);
  font-size: clamp(13.5px, 1.3vw, 15px);
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .ag-serves-grid { grid-template-columns: 1fr; }
}

@media (min-width: 600px) and (max-width: 900px) {
  .ag-serves-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-serve-item:last-child { grid-column: span 2; }
}


/* ╔═══════════════════════════════════════════════════════╗
   §4  VINOVE CONNECTION
   ╚═══════════════════════════════════════════════════════╝ */

#ag-vinove {
  background: var(--surface-2, #F1F0EF);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.ag-vinove-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.ag-vinove-left {}

.ag-vinove-title {
  font-family: var(--font);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.ag-vinove-body {
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 1.1rem;
}

.ag-vinove-body:last-of-type {
  margin-bottom: 0;
}

.ag-vinove-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ag-thesis-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow .3s ease, transform .3s ease;
  text-decoration: none;
}

.ag-thesis-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

.ag-thesis-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .3rem;
}

.ag-thesis-card-body {}

.ag-thesis-card-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .3rem;
}

.ag-thesis-card-title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 .25rem;
  line-height: 1.3;
}

.ag-thesis-card-desc {
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .ag-vinove-inner { grid-template-columns: 1fr; }
}


/* ╔═══════════════════════════════════════════════════════╗
   §5  CTA
   ╚═══════════════════════════════════════════════════════╝ */

#ag-cta {
  background: var(--ag-dark);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  position: relative;
  overflow: hidden;
}

.ag-cta-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,116,.1) 0%, transparent 65%);
  pointer-events: none;
}

.ag-cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-inline: auto;
  text-align: center;
}

.ag-cta-title {
  font-family: var(--font);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.ag-cta-sub {
  font-family: var(--font);
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 auto 2.5rem;
}


/* ── Scroll-reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: .05s; }
[data-delay="2"] { transition-delay: .12s; }
[data-delay="3"] { transition-delay: .19s; }
[data-delay="4"] { transition-delay: .26s; }
[data-delay="5"] { transition-delay: .33s; }
[data-delay="6"] { transition-delay: .40s; }
