/* ==========================================================================
   Aivee Talent House — landing page
   Design source: Claude Design · "Aivee Landing Page.dc.html"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --green:        #0F6E56;
  --green-dark:   #063C2E;
  --green-deep:   #04241B;
  --mint:         #8CD9BC;
  --mint-300:     #3FB58C;
  --mint-200:     #BFE8D8;
  --danger:       #C0564F;

  /* ink */
  --ink:          #0E1F1A;
  --ink-soft:     #4B5F57;
  --muted:        #5E7268;
  --muted-2:      #6B7A73;
  --muted-3:      #7A8B83;
  --muted-4:      #8A9A93;

  /* surfaces */
  --paper:        #FBFAF7;
  --mist:         #F4F7F3;
  --sage:         #E7F0EB;
  --mint-bg:      #E7F4EF;
  --stone:        #F1F1EE;
  --mint-card:    #EAF6F0;

  /* lines */
  --line:         rgba(14, 31, 26, .08);
  --line-2:       rgba(14, 31, 26, .10);
  --line-3:       rgba(14, 31, 26, .14);
  --line-green:   rgba(15, 110, 86, .16);
  --line-green-2: rgba(15, 110, 86, .32);

  /* radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --pill: 99px;

  /* shadows */
  --sh-card:  0 20px 50px -34px rgba(6, 60, 46, .5);
  --sh-btn:   0 14px 30px -14px rgba(15, 110, 86, .9);
  --sh-btn-s: 0 6px 18px -8px rgba(15, 110, 86, .8);
  --sh-tag:   0 10px 24px -16px rgba(6, 60, 46, .6);
  --sh-core:  0 22px 44px -22px rgba(6, 60, 46, .85);

  /* rhythm — mirrors the mock's clamp()/cqi scale on a 1440 canvas */
  --pad-x:   clamp(18px, 4.5vw, 64px);
  --sec-y:   clamp(40px, 5.6vw, 84px);
  --gap-lg:  clamp(22px, 3vw, 38px);

  /* type */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans:  "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 62px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: pretty; }
p  { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.section { padding: var(--sec-y) var(--pad-x); }
.section--paper    { background: var(--paper); }
.section--mist     { background: var(--mist); }
.section--sage     { background: var(--sage); }
.section--hairline { border-top: 1px solid rgba(14, 31, 26, .07); }

.wrap { width: 100%; margin-inline: auto; }
.wrap--820  { max-width: 820px; }
.wrap--940  { max-width: 940px; }
.wrap--1000 { max-width: 1000px; }
.wrap--1080 { max-width: 1080px; }
.wrap--1120 { max-width: 1120px; }

.grid { display: grid; }
.grid--two     { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.grid--problem { grid-template-columns: repeat(auto-fit, minmax(min(46%, 230px), 1fr)); gap: 12px; }
.grid--stats   { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 14px); }
.grid--benefits{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid--compare { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 2vw, 20px); align-items: stretch; }
.grid--cases   { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 14px); }
.grid--team    { grid-template-columns: repeat(auto-fit, minmax(min(45%, 150px), 1fr)); gap: 12px; }
.grid--process { grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px), 1fr)); gap: 12px; }
.grid--apply   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 16px; align-items: start; }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(25px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.h2--xl {
  font-size: clamp(27px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
/* headings that are followed by a lead paragraph sit tight against it */
.h2--tight, .h2--xl { margin-bottom: 8px; }
.h2 em { color: var(--green); }

.u-center   { text-align: center; margin-inline: auto; }
.u-max-20   { max-width: 20ch; }
.u-max-22   { max-width: 22ch; }
.u-max-24   { max-width: 24ch; }
.u-max-26   { max-width: 26ch; }

.section__lead {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: var(--gap-lg);
}
.section__lead--lg { font-size: clamp(13.5px, 1.5vw, 16px); }
.u-center + .section__lead { text-align: center; }

/* --------------------------------------------------------------------------
   5. Buttons / chips / tags
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn i { font-size: 1.15em; }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--sh-btn); }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--sm { padding: 9px 18px; font-size: 13px; box-shadow: var(--sh-btn-s); }
.btn--lg { padding: 15px 28px; font-size: 15px; }
.btn--block { width: 100%; border-radius: var(--r-sm); padding: 15px; margin-top: 4px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 8px;
  border: 1px solid rgba(15, 110, 86, .16);
  border-radius: var(--pill);
  background: rgba(15, 110, 86, .07);
  color: var(--green);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 22px);
}
.chip {
  padding: 6px 12px;
  border: 1px solid var(--line-green);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 500;
}

.tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: right;
}
.tag--danger { color: var(--danger); }

.icon-tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 4.6vw, 46px);
  height: clamp(34px, 4.6vw, 46px);
  border-radius: 11px;
  background: var(--mint-bg);
  color: var(--green);
  font-size: clamp(18px, 2.3vw, 23px);
}

/* --------------------------------------------------------------------------
   6. Media placeholders (drop real files into assets/img/ to replace)
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mint-bg);
}
.media--4x5 { aspect-ratio: 4 / 5; background: var(--green-dark); border-radius: 0; }
.media--3x4 { aspect-ratio: 3 / 4; }

.media__img { width: 100%; height: 100%; object-fit: cover; }

/* When the real photo is missing, the slot degrades to a branded placeholder
   that still reads as an intentional surface. Drop a file into assets/img/
   with the name referenced in the markup and it takes over automatically. */
.media.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(15, 110, 86, .05) 0 8px, transparent 8px 16px),
    linear-gradient(150deg, var(--mint-bg) 0%, var(--mint-200) 100%);
}
.media.is-empty .media__img { display: none; }
.media.is-empty::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
}
.media--4x5.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 8px, transparent 8px 16px),
    linear-gradient(150deg, #0B4E3C 0%, var(--green-deep) 100%);
}
.media--4x5.is-empty::after { color: rgba(191, 232, 216, .82); }

.media__badge {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--pill);
  background: rgba(6, 20, 16, .7);
  color: #fff;
  font-size: 10px;
  pointer-events: none;
}

.media__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 20, 15, .28);
  opacity: 0;
  transition: opacity .25s ease;
}
.media__play i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green);
  font-size: 26px;
  padding-left: 2px; /* optical centring of the play triangle */
}

/* --------------------------------------------------------------------------
   7. Header + nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 31, 26, .07);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(12px, 1.5vw, 18px) var(--pad-x);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { color: inherit; }
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: .01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  margin-left: 7px;
  font-family: var(--font-sans);
  font-size: .72em;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  font-size: 13px;
}
.nav a { color: var(--muted); }
.nav a:hover,
.nav a.is-active { color: var(--green); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
}
.nav-toggle[aria-expanded="true"] { background: var(--mint-bg); border-color: var(--line-green); color: var(--green); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 6vw, 86px) clamp(38px, 5vw, 74px);
  background:
    radial-gradient(115% 85% at 8% 0%, var(--mint-bg) 0%, rgba(231, 244, 239, 0) 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1220px;
  margin-inline: auto;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6.4vw, 74px);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin-top: clamp(14px, 2vw, 22px);
}
.hero__title em { color: var(--green); }
.hero__lead {
  margin-top: clamp(14px, 2vw, 20px);
  max-width: 44ch;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

/* orbit visual — shared by hero and ecosystem */
.orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(100%, 480px);
  margin-inline: auto;
}
.orbit--brands {
  max-width: min(100%, 560px);
  margin-top: clamp(16px, 2.4vw, 30px);
}
.orbit__glow,
.orbit__ring,
.orbit__core,
.orbit__photo {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.orbit__glow {
  width: 88%;
  background: radial-gradient(circle, rgba(140, 217, 188, .5) 0%, rgba(140, 217, 188, 0) 68%);
  animation: aivGlow 6s ease-in-out infinite;
}
.orbit--brands .orbit__glow { width: 86%; }
.orbit__ring--dashed {
  width: 74%;
  border: 1px dashed rgba(15, 110, 86, .35);
  animation: aivSpin 48s linear infinite;
}
.orbit--brands .orbit__ring--dashed { width: 72%; animation-duration: 52s; }
.orbit__ring--inner { width: 50%; border: 1px solid rgba(15, 110, 86, .18); }
.orbit--brands .orbit__ring--inner { width: 48%; }

.orbit__photo {
  width: 82%;
  overflow: hidden;
  opacity: .42;
  mix-blend-mode: luminosity;
  mask-image: radial-gradient(circle, #000 52%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 82%);
}
.orbit__photo .media__img { width: 100%; height: 100%; object-fit: cover; }
.orbit__photo.is-empty { background: radial-gradient(circle, var(--mint-200) 0%, transparent 70%); }
.orbit__photo.is-empty .media__img { display: none; }

.orbit__core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 34%;
  background: var(--green);
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-core);
}
.orbit--brands .orbit__core { width: 36%; gap: 4px; }
.orbit__core-name {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 26px);
  line-height: 1;
}
.orbit__core-name--xl { font-size: clamp(22px, 3.2vw, 38px); }
.orbit__core-sub {
  font-size: clamp(8.5px, .95vw, 10px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mint);
}

.orbit__tag,
.brand-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-green);
  border-radius: var(--pill);
  background: #fff;
  box-shadow: var(--sh-tag);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
}
.orbit__tag i { font-size: 1.25em; color: var(--green); }

.orbit__tag--t { left: 50%; top: 2%;  translate: -50% 0; animation: aivFloat 5s   ease-in-out infinite; }
.orbit__tag--r { right: 0;   top: 44%;                    animation: aivFloat 5.6s ease-in-out .5s infinite; }
.orbit__tag--b { left: 50%; bottom: 1%; translate: -50% 0; animation: aivFloat 6.2s ease-in-out 1s infinite; }
.orbit__tag--l { left: 0;    top: 40%;                    animation: aivFloat 5.2s ease-in-out 1.4s infinite; }

.brand-pill { letter-spacing: .04em; }
.brand-pill--p1 { left: 50%; top: 0;    translate: -50% 0; animation: aivFloat 5s   ease-in-out infinite; }
.brand-pill--p2 { right: 6%; top: 14%;                     animation: aivFloat 5.6s ease-in-out .4s infinite; }
.brand-pill--p3 { right: 0;  top: 44%;                     animation: aivFloat 5.2s ease-in-out .8s infinite; }
.brand-pill--p4 { right: 8%; bottom: 14%;                  animation: aivFloat 6s   ease-in-out 1.2s infinite; }
.brand-pill--p5 { left: 50%; bottom: 0;  translate: -50% 0; animation: aivFloat 5.4s ease-in-out .6s infinite; }
.brand-pill--p6 { left: 6%;  bottom: 15%;                  animation: aivFloat 5.8s ease-in-out 1s infinite; }
.brand-pill--p7 { left: 0;   top: 43%;                     animation: aivFloat 6.2s ease-in-out 1.4s infinite; }
.brand-pill--p8 { left: 7%;  top: 13%;                     animation: aivFloat 5.5s ease-in-out .2s infinite; }

.orbit__meter {
  position: absolute;
  right: 2%; top: 6%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.orbit__meter-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}

.bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.bars span {
  width: 9px;
  height: var(--h);
  border-radius: 2px;
  background: var(--green);
}
.bars span:nth-child(1) { background: var(--mint-200); }
.bars span:nth-child(2) { background: var(--mint); }
.bars span:nth-child(3) { background: var(--mint-300); }
.bars--sm { height: 38px; }
.bars--sm span { width: 7px; transform-origin: bottom; animation: aivRise .7s ease-out both; }
.bars--sm span:nth-child(1) { animation-delay: .9s; }
.bars--sm span:nth-child(2) { animation-delay: 1.05s; }
.bars--sm span:nth-child(3) { animation-delay: 1.2s; }
.bars--sm span:nth-child(4) { animation-delay: 1.35s; }

/* --------------------------------------------------------------------------
   9. Cards — problem, benefits, process
   -------------------------------------------------------------------------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}
.card__title {
  font-size: clamp(13.5px, 1.35vw, 16px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.card__text {
  font-size: clamp(12.5px, 1.5vw, 15.5px);
  line-height: 1.6;
  color: var(--muted);
}

.card--problem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2vw, 24px);
  border-color: var(--line-2);
}
.card--problem:hover { border-color: rgba(15, 110, 86, .4); transform: translateY(-3px); }
.card--problem__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card--problem .card__text { font-size: 12.5px; }
.num {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  color: rgba(14, 31, 26, .18);
}

.problem__outro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 2.8vw, 34px);
}
.problem__outro-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--green);
  text-align: center;
}
.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  animation: aivBounce 1.8s ease-in-out infinite;
}
.scroll-cue:hover { background: var(--green-dark); color: #fff; }

.card--benefit { padding: 22px; }
.card--benefit:hover { border-color: rgba(15, 110, 86, .4); }
.card--benefit__head {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.3vw, 13px);
}
.card--benefit__title {
  font-size: clamp(13px, 1.9vw, 21px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.card--benefit .card__text { margin-top: 12px; font-size: clamp(13px, 1.5vw, 15.5px); }

.step {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.step__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
  color: var(--mint-200);
}
.step__title { font-size: clamp(16px, 1.8vw, 20px); font-weight: 600; }
.step--accent { background: var(--green); border-color: var(--green); color: #fff; }
.step--accent .step__num { color: rgba(255, 255, 255, .45); }
.step--accent .card__text { color: rgba(255, 255, 255, .82); }

/* --------------------------------------------------------------------------
   10. Stats + callout
   -------------------------------------------------------------------------- */
.stat {
  padding: clamp(16px, 2.2vw, 24px) clamp(14px, 2vw, 22px);
  border: 1px solid var(--line-green);
  border-radius: 16px;
  background: #fff;
}
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1;
  color: var(--green);
}
.stat__unit { font-family: var(--font-sans); font-size: 13px; }
.stat__label {
  margin: 12px 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.stat__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 110, 86, .14);
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
}
.stat__foot i { font-size: 14px; }
.stat__foot--chart { align-items: flex-end; }
.stat__foot--chart .bars { height: 18px; }

.stat--dark { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.stat--dark .stat__value--delta { gap: 8px; color: #fff; }
.stat--dark .stat__from,
.stat--dark .stat__value--delta i { font-size: clamp(20px, 2.2vw, 26px); color: rgba(255, 255, 255, .55); }
.stat--dark .stat__label { color: rgba(255, 255, 255, .7); }
.stat--dark .stat__foot { border-top-color: rgba(255, 255, 255, .16); color: var(--mint); }

.callout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  margin-top: var(--gap-lg);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(15, 110, 86, .18);
  border-radius: var(--r-lg);
  background: var(--mint-bg);
}
.callout__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.callout__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.8vw, 34px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--green-dark);
}
.callout__title em { color: var(--green); }
.callout__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}
.callout__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.callout__note i { font-size: 15px; color: var(--green); }

/* --------------------------------------------------------------------------
   11. Comparison
   -------------------------------------------------------------------------- */
.compare {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: var(--r-lg);
}
.compare--self  { background: var(--stone); border: 1px solid var(--line-2); }
.compare--aivee { background: var(--mint-card); border: 1px solid var(--line-green-2); box-shadow: 0 26px 54px -30px rgba(6, 60, 46, .5); }

.compare__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: clamp(16px, 2vw, 22px);
  margin-bottom: clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--line-2);
}
.compare--aivee .compare__head { border-bottom-color: rgba(15, 110, 86, .22); }
.compare__head-icon { font-size: 22px; color: var(--danger); }
.compare__head-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
}
.compare__title {
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.compare--aivee .compare__title { color: var(--green); }

.compare__list { display: flex; flex-direction: column; gap: 14px; }
.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.45;
  color: var(--muted-2);
}
.compare--aivee .compare__list li { color: var(--ink); }
.mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  font-size: 14px;
}
.mark--no  { border: 1px solid rgba(192, 86, 79, .45); color: var(--danger); }
.mark--yes { background: var(--green); border: 1px solid var(--green); color: #fff; }

/* --------------------------------------------------------------------------
   12. Foundation partners
   -------------------------------------------------------------------------- */
.partner {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid rgba(14, 31, 26, .09);
  border-radius: 16px;
  background: #fff;
}
.partner__name {
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
}
.partner__name--wide { letter-spacing: .05em; }
.partner__kicker {
  margin: 14px 0 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.partner__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.partner__list li {
  display: flex;
  gap: 10px;
  font-size: clamp(13.5px, 1.45vw, 16px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.partner__list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}
.partner__link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 31, 26, .09);
  font-size: 13.5px;
  font-weight: 500;
}
.partner__link i { font-size: 14px; }

/* --------------------------------------------------------------------------
   13. Ecosystem flow
   -------------------------------------------------------------------------- */
.flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, .9vw, 12px);
  margin-top: clamp(16px, 2.4vw, 30px);
}
.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: none;
}
.flow__bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 6.6vw, 82px);
  height: clamp(40px, 6.6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: clamp(17px, 2.6vw, 32px);
  box-shadow: 0 12px 26px -18px rgba(6, 60, 46, .55);
}
.flow__bubble--accent { background: var(--mint-bg); border-color: rgba(15, 110, 86, .28); }
.flow__label {
  font-size: clamp(7.5px, 1vw, 11.5px);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.flow__arrow {
  flex: none;
  margin-bottom: 20px;
  font-size: clamp(12px, 2vw, 26px);
  color: var(--green);
  opacity: .5;
}

/* --------------------------------------------------------------------------
   14. Cases
   -------------------------------------------------------------------------- */
.case {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}
.case:hover,
.case:focus-visible { border-color: rgba(15, 110, 86, .35); transform: translateY(-2px); }
.case:hover .media__play,
.case:focus-visible .media__play { opacity: 1; }
.case__body {
  display: block;
  padding: clamp(10px, 1.4vw, 14px) clamp(11px, 1.6vw, 16px) clamp(12px, 1.6vw, 16px);
}
.case__title {
  display: block;
  font-size: clamp(12px, 1.35vw, 13.5px);
  font-weight: 500;
  color: var(--ink);
}
.case__meta {
  display: block;
  margin-top: 4px;
  font-size: clamp(10.5px, 1.2vw, 11.5px);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */
.person__name {
  margin-top: 12px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 600;
}
.person__role {
  margin-top: 4px;
  font-size: clamp(12px, 1.3vw, 14px);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item.is-open { border-color: rgba(15, 110, 86, .4); }
.faq__heading { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.faq__icon {
  flex: none;
  font-size: 17px;
  color: var(--green);
  transition: transform .25s ease;
}
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__panel { overflow: hidden; }
.faq__panel p {
  padding: 0 20px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   17. Apply
   -------------------------------------------------------------------------- */
.apply {
  background:
    radial-gradient(110% 80% at 90% 0%, var(--mint-bg) 0%, rgba(231, 244, 239, 0) 60%),
    var(--paper);
}
.form-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(14, 31, 26, .09);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-card);
}
.form { display: flex; flex-direction: column; gap: 14px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.field__input {
  padding: 13px 14px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 16px; /* ≥16px keeps iOS from zooming on focus */
  color: var(--ink);
}
.field__input::placeholder { color: var(--muted-4); }
.field__input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 110, 86, .12);
}
.field__input[aria-invalid="true"] { border-color: var(--danger); }

.form__msg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--green);
}
.form__msg[hidden] { display: none; }
.form__msg i { font-size: 15px; }
.form__note { font-size: 11px; line-height: 1.5; color: var(--muted-4); }

.contact-card {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  background: var(--green-dark);
  color: #fff;
}
.contact-card__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 190px;
  margin-inline: auto;
  border-radius: var(--r-md);
  background: #fff;
  font-size: 88px;
  color: var(--green);
}
.contact-card__eyebrow {
  margin: 20px 0 12px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
}
.contact-card__list { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; }
.contact-card__list li { display: flex; align-items: center; gap: 10px; }
.contact-card__list i { font-size: 16px; color: var(--mint); }
.contact-card__list a { color: #fff; }
.contact-card__list a:hover { color: var(--mint); text-decoration: underline; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px var(--pad-x);
  background: var(--green-deep);
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__nav a { color: rgba(255, 255, 255, .55); }
.site-footer__nav a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   19. Video modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: aivFade .2s ease;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 15, .78);
  backdrop-filter: blur(6px);
  border: none;
}
.modal__panel {
  position: relative;
  width: min(420px, 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--green-dark);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.modal__title { font-size: 13px; font-weight: 500; font-family: var(--font-sans); }
.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  flex: none;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 15px;
}
.modal__close:hover { background: rgba(255, 255, 255, .22); }
.modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  /* max-height shrinks the width to keep 9:16 — centre what's left */
  margin-inline: auto;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px),
    var(--green-deep);
  color: rgba(255, 255, 255, .6);
}
.modal__body-icon { font-size: 40px; color: var(--mint); }
.modal__body-text {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .08em;
}
body.has-modal { overflow: hidden; }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   The hidden state is scoped to .js (set by an inline head script) so the
   content is never invisible without JS, and never flashes in before the
   observer attaches.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Keyframes
   -------------------------------------------------------------------------- */
@keyframes aivFade  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aivSpin  { to { transform: rotate(360deg); } }
@keyframes aivFloat { 0%, 100% { translate: var(--tx, 0) -5px; } 50% { translate: var(--tx, 0) 5px; } }
@keyframes aivGlow  { 0%, 100% { opacity: .32; } 50% { opacity: .55; } }
@keyframes aivRise  { from { transform: scaleY(.2); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
@keyframes aivBounce{ 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(7px); opacity: 1; } }

/* animated elements that are also centre-translated keep their offset */
.orbit__tag--t, .orbit__tag--b,
.brand-pill--p1, .brand-pill--p5 { --tx: -50%; }
.orbit__glow { animation-name: aivGlow; }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

/* --- tablet & down: collapsed navigation ---------------------------------- */
@media (max-width: 900px) {
  /* 4-across case cards get too narrow below this — fall back to 2×2 */
  .grid--cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
    /* solid, not translucent: the drawer sits over hero type and must stay legible */
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px -30px rgba(6, 60, 46, .6);
    font-size: 15px;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a:last-child { border-bottom: none; }
}

/* --- large phones / small tablets ---------------------------------------- */
@media (max-width: 760px) {
  .callout__cta { align-items: center; text-align: center; }
  .grid--team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { gap: 2px; }
  .site-footer { justify-content: center; text-align: center; }
}

/* --- phones -------------------------------------------------------------- */
@media (max-width: 560px) {
  :root { --sec-y: clamp(36px, 9vw, 56px); }

  /* the header holds brand + CTA + toggle; the lockup subtitle is the first to go */
  .brand__sub { display: none; }
  .btn--sm { padding: 9px 14px; }

  .hero { padding-block: 30px 36px; }
  .hero__grid { gap: 30px; }
  .hero__visual { order: 2; }
  .hero__cta { justify-content: center; }
  .hero__cta .btn { width: 100%; }
  .hero__lead { max-width: none; }

  /* keep the floating orbit labels inside the viewport */
  .orbit { max-width: 300px; padding: 0; }
  .orbit__tag, .brand-pill { padding: 6px 10px; font-size: 10px; gap: 6px; box-shadow: none; }
  .orbit--brands { max-width: 320px; }
  .orbit__meter { right: 0; top: 0; }
  .bars--sm { height: 26px; }
  .bars--sm span { width: 5px; }

  .grid--benefits { grid-template-columns: 1fr; }
  .card--benefit__title { font-size: 17px; }

  .section__lead { margin-bottom: 22px; }

  .callout { padding: 22px 18px; }
  .callout__cta .btn { width: 100%; }

  .contact-card__qr { max-width: 150px; font-size: 68px; }

  /* five equal columns beat a nowrap flex row once the labels get this small */
  .flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px 4px;
    justify-items: center;
  }
  .flow__arrow { display: none; }
  .flow__label { font-size: 8.5px; letter-spacing: .06em; }

  .modal { padding: 14px; }
  .modal__body { max-height: 66vh; }
}

/* --- very small phones --------------------------------------------------- */
@media (max-width: 380px) {
  .grid--problem, .grid--cases { grid-template-columns: 1fr; }
  .orbit { max-width: 260px; }
}

/* --- wide desktop -------------------------------------------------------- */
@media (min-width: 1441px) {
  .hero__title { font-size: 74px; }
}

/* --------------------------------------------------------------------------
   23. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .scroll-cue, .modal { display: none !important; }
  .section { padding: 16px 0; break-inside: avoid; }
  body { background: #fff; }
}
