/* ==========================================================================
   ABP Solutions – Homepage
   Built from Figma: ABP / Homepage / Desktop 1441 (node 15:130)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #06243b;
  --navy-2: #144062;
  --gold: #cba34f;
  --gold-dark: #8a641d;
  --paper: #f5f3ed;
  --white: #ffffff;
  --muted: #aab8c3;
  --body: #586673;
  --line: #d8dfe2;
  --darkline: #2b4355;
  --placeholder: #7b8792;

  --grad-navy: linear-gradient(122deg, #06243b 7%, #144062 92%);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-alt: "Manrope", var(--font-sans);
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gutter: 80px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
hr { border: 0; }

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: var(--navy);
}

.lead { font-size: 17px; line-height: 27px; color: var(--body); }

.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head--tight { gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  min-width: 168px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s ease, filter .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6, 36, 59, .22); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(6, 36, 59, .18); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #d4ad5b; }
.btn--navy { background: var(--grad-navy); color: var(--white); }
.btn--navy:hover { filter: brightness(1.18); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  line-height: 22px;
  color: var(--white);
  text-decoration: none;
}
.link-arrow img { transition: transform .3s var(--ease-out); }
.link-arrow:hover img { transform: translateX(5px); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  height: 104px;
  padding: 0 45px;
  background: var(--white);
  border-radius: 61px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 20;
}

.nav__logo img { width: 176px; height: 94px; object-fit: contain; }

.nav__links { display: flex; gap: 32px; width: 412px; }
.nav__links li { flex: none; }
.nav__links li:nth-child(1) { width: 70px; }
.nav__links li:nth-child(2) { width: 76px; }
.nav__links li:nth-child(3) { width: 108px; }
.nav__links li:nth-child(4) { width: 74px; }
.nav__links a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  color: var(--navy);
  text-decoration: none;
  transition: color .25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links a:hover { color: var(--gold-dark); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; justify-self: end; gap: 16px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   01 / Hero – Greater access
   ========================================================================== */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: var(--white);
  padding-top: 160px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 576px;
  gap: 58px;
  align-items: start;
}

.hero__content { padding-top: 48px; max-width: 664px; }

.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 81px;
  color: var(--white);
}
.hero__title span { display: block; color: var(--gold); }

.hero__lead {
  margin-top: 28px;
  max-width: 480px;
  font-size: 17px;
  line-height: 27px;
  color: var(--muted);
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 33px;
}

.hero__media { position: relative; }
.hero__photo-wrap {
  height: 572px;
  border-radius: 18px;
  overflow: hidden;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__caption {
  position: absolute;
  left: -40px;
  top: 470px;
  width: 258px;
  min-height: 128px;
  padding: 23px 28px 24px;
  background: var(--paper);
  border-radius: 18px;
  color: var(--navy);
  box-shadow: 0 18px 40px rgba(2, 16, 30, .25);
}
.hero__caption h3 {
  margin-top: 8px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 23px;
  line-height: 27px;
  color: var(--navy);
}

.hero__divider { margin-top: 49px; height: 1px; background: var(--darkline); }

.hero__values {
  max-width: 943px;
  margin: 26px auto 0;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 402px 402px 1fr;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

/* ==========================================================================
   Mission statement
   ========================================================================== */
.mission { background: var(--paper); padding: 66px 0; }

.mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 464px;
  grid-template-areas:
    "head text"
    "cards text";
  gap: 21px 26px;
  align-items: start;
}
.mission__head { grid-area: head; max-width: 700px; }
.mission__text { grid-area: text; padding-top: 75px; }

.mission__cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mission__cards .card__text { margin-right: -24px; }

/* Shared relationship / mission card */
.card {
  background: var(--white);
  min-height: 190px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(6, 36, 59, .10); }
.card--navy { background: var(--grad-navy); }
.card--navy:hover { box-shadow: 0 16px 36px rgba(6, 36, 59, .28); }
.card--navy .eyebrow { color: var(--gold); }
.card__title {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 22px;
  line-height: 27px;
  color: var(--navy);
}
.card--navy .card__title { color: var(--white); }
.card__text { font-size: 14px; line-height: 22px; color: var(--body); }
.card--navy .card__text { color: var(--muted); }

/* ==========================================================================
   02 / The business challenge
   ========================================================================== */
.challenge { background: var(--white); padding: 66px 0 55px; }

.challenge__grid {
  display: grid;
  grid-template-columns: 574px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.challenge__list {
  margin-top: 4px;
  max-width: 632px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 27px;
}
.challenge__item {
  min-height: 99px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color .3s ease;
}
.challenge__item:hover { border-color: var(--gold); }
.challenge__item h3 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: var(--navy);
}
.challenge__item p { max-width: 292px; font-size: 14px; line-height: 22px; }

/* ==========================================================================
   03 / Understanding the PEO connection
   ========================================================================== */
.peo { background: var(--paper); padding: 66px 0 47px; }

.peo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 464px;
  gap: 116px;
  align-items: start;
}
.peo__grid .section-head { max-width: 700px; }
.peo__text { padding-top: 42px; }

.peo__flow {
  margin-top: 115px;
  display: grid;
  grid-template-columns: 312px 128px 400px 128px 312px;
  align-items: start;
}
.peo__connector {
  display: flex;
  align-items: center;
  margin-top: 79px;
}
.peo__line {
  display: block;
  width: 112px;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  transition: transform .7s var(--ease-out) .35s;
}
.peo__connector img { margin-left: -6px; transition: opacity .4s ease .9s, transform .4s var(--ease-out) .9s; }
.js .peo__connector:not(.is-visible) .peo__line { transform: scaleX(0); }
.js .peo__connector:not(.is-visible) img { opacity: 0; transform: translateX(-8px); }

.peo__note { margin-top: 26px; font-size: 14px; line-height: 22px; }

/* ==========================================================================
   04 / Solutions you can access
   ========================================================================== */
.solutions { background: var(--white); padding: 70px 0 60px; }
.solutions .section-head { max-width: 1000px; }

.solutions__intro { width: 464px; max-width: 100%; margin: 42px 0 0 auto; }

.solutions__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 408px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.featured {
  background: var(--grad-navy);
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.featured:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6, 36, 59, .28); }
.featured__title {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 36px;
  line-height: 42px;
  color: var(--white);
}
.featured__text { font-size: 17px; line-height: 27px; color: var(--muted); }
.featured__scope { font-size: 14px; line-height: 22px; color: var(--white); }

.solution-list { margin-top: -2px; }
.solution {
  display: flex;
  gap: 26px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease-out), border-color .3s ease;
}
.solution:hover { transform: translateX(6px); border-color: var(--gold); }
.solution + .solution { margin-top: 4px; }
.solution__num { flex: none; width: 42px; font-size: 14px; line-height: 22px; color: var(--gold-dark); transition: color .3s ease; }
.solution:hover .solution__num { color: var(--gold); }
.solution__title {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  color: var(--navy);
}
.solution__text { margin-top: 4px; font-size: 14px; line-height: 22px; }

.solutions__foot {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.solutions__foot p { max-width: 780px; font-size: 14px; line-height: 22px; }
.solutions__link {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  font-size: 14px;
  line-height: 22px;
  color: var(--navy);
  text-decoration: none;
}
.solutions__link img { transition: transform .3s var(--ease-out); }
.solutions__link:hover img { transform: translateX(5px); }

/* ==========================================================================
   05 / The ABP difference
   ========================================================================== */
.difference { background: var(--grad-navy); color: var(--white); padding: 78px 0 80px; }

.difference__grid {
  display: grid;
  grid-template-columns: 570px minmax(0, 1fr);
  gap: 110px;
  align-items: start;
}
.difference__intro { display: flex; flex-direction: column; gap: 22px; }
.difference__intro .h2 { color: var(--white); }
.difference__text { max-width: 520px; font-size: 17px; line-height: 27px; color: var(--muted); }

.reasons { margin-top: 2px; }
.reason { display: flex; gap: 24px; }
.reason + .reason { margin-top: 18px; }
.reason__num {
  flex: none;
  width: 48px;
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1.4px;
  color: var(--gold);
}
.reason__body {
  flex: 1;
  min-width: 0;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--darkline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .3s ease;
}
.reason:hover .reason__body { border-color: var(--gold); }
.reason__title {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: var(--white);
}
.reason__text { font-size: 17px; line-height: 27px; color: var(--muted); }

/* ==========================================================================
   06 / Industries we help
   ========================================================================== */
.industries { background: var(--white); padding: 70px 0 79px; }

.industries__grid {
  display: grid;
  grid-template-columns: 760px minmax(0, 1fr);
  gap: 120px;
  align-items: start;
}
.industries__text { padding-top: 35px; }

.industries__cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.industry__media { overflow: hidden; }
.industry img { width: 100%; height: 340px; object-fit: cover; transition: transform .8s var(--ease-out); }
.industry:hover img { transform: scale(1.05); }
.industry__body { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.industry h3 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 23px;
  line-height: 27px;
  color: var(--navy);
}
.industry p { font-size: 14px; line-height: 22px; }

/* ==========================================================================
   07 / How it works
   ========================================================================== */
.process { background: var(--paper); padding: 68px 0 54px; }

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}
.process__grid .section-head { max-width: 900px; }
.process__text { padding-top: 46px; }

.steps {
  margin-top: 74px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.step {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -27px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transition: transform .5s var(--ease-out) .4s;
}
.js .step:not(.is-visible)::before { transform: scale(0); }
.step__num {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 42px;
  line-height: 50px;
  color: var(--gold-dark);
}
.step h3 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  color: var(--navy);
}
.step p { max-width: 272px; font-size: 17px; line-height: 27px; }

/* ==========================================================================
   08 / Rooted in purpose
   ========================================================================== */
.purpose { background: var(--white); padding: 86px 0 65px; }

.purpose__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  align-items: start;
}
.purpose__media img { width: 100%; max-width: 588px; margin: 16px 0 0 28px; }

.purpose__story { display: flex; flex-direction: column; gap: 22px; }
.purpose__title {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 48px;
  line-height: 57px;
  color: var(--navy);
}
.purpose__text { max-width: 560px; font-size: 17px; line-height: 27px; }
.purpose__divider { margin-top: 40px; height: 1px; background: var(--line); }
.purpose__tag { margin-top: 25px; font-size: 14px; line-height: 22px; color: var(--gold-dark); }

/* ==========================================================================
   09 / Common questions
   ========================================================================== */
.faq { background: var(--paper); padding: 80px 0 90px; }

.faq__grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.faq__intro { margin-top: 2px; display: flex; flex-direction: column; gap: 22px; }
.faq__text { max-width: 360px; font-size: 17px; line-height: 27px; }
.faq__more { margin-top: 66px; font-size: 14px; line-height: 22px; color: var(--gold-dark); }
.faq__more a { color: inherit; text-decoration: none; }
.faq__more a:hover { text-decoration: underline; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font: inherit; }
.faq-item__btn {
  width: 100%;
  padding: 27px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 19px;
  line-height: 26px;
  color: var(--navy);
  transition: color .25s ease, padding-bottom .4s var(--ease-out);
}
.faq-item__btn:hover { color: var(--gold-dark); }
.faq-item__btn svg { flex: none; color: var(--navy); transition: transform .4s var(--ease-out); }
.faq-item.is-open .faq-item__btn { padding-bottom: 7px; }
.faq-item.is-open .faq-item__btn svg { transform: rotate(180deg); }

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-bottom: 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--body);
  transition: grid-template-rows .4s var(--ease-out), padding-bottom .4s var(--ease-out);
}
.faq-item__inner { overflow: hidden; min-height: 0; }
.faq-item__inner p { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s var(--ease-out); }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; padding-bottom: 45px; }
.faq-item.is-open .faq-item__inner p { opacity: 1; transform: none; transition-delay: .1s; }

/* ==========================================================================
   10 / Start a conversation
   ========================================================================== */
.contact { background: var(--grad-navy); color: var(--white); padding: 72px 0; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 660px;
  gap: 75px;
  align-items: start;
}
.contact__invite {
  padding-top: 20px;
  max-width: 545px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact__invite .h2 { color: var(--white); }
.contact__text { max-width: 525px; font-size: 17px; line-height: 27px; color: var(--muted); }
.contact__divider { margin-top: 135px; width: 100%; max-width: 488px; height: 1px; background: var(--darkline); }
.contact__tag { margin-top: 28px; }

.form-card {
  background: var(--white);
  padding: 36px 40px 41px;
  color: var(--body);
}
.form-card h3 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 27px;
  line-height: 32px;
  color: var(--navy);
}
.form-card__sub { margin-top: 12px; font-size: 14px; line-height: 22px; }

.form-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 28px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--message { min-height: 106px; }
.field label {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 16px;
  color: var(--navy);
}
.field input,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  color: var(--navy);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, height .2s ease;
}
.field textarea { padding: 9px 14px; resize: none; overflow: hidden; }
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus,
.field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203, 163, 79, .18); }

.form-card .btn--block { margin-top: 24px; }
.form-card__note { margin-top: 17px; font-size: 12px; line-height: 14px; }
.form-card__note.is-success { color: var(--gold-dark); }

/* ==========================================================================
   Footer / Brand and navigation
   ========================================================================== */
.footer { background: var(--white); padding: 50px 0 32px; }

.footer__grid {
  display: grid;
  grid-template-columns: 314px 462px 264px 240px;
  align-items: start;
}
.footer__logo { display: block; padding-left: 2px; }
.footer__logo img { width: 237px; height: 127px; object-fit: contain; }

.footer__intro { padding-top: 12px; max-width: 352px; display: flex; flex-direction: column; gap: 16px; }
.footer__intro h3 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 26px;
  line-height: 31px;
  color: var(--navy);
}
.footer__intro p { font-size: 14px; line-height: 22px; }

.footer__col { padding-top: 10px; display: flex; flex-direction: column; gap: 13px; }
.footer__col a {
  font-size: 14px;
  line-height: 22px;
  color: var(--navy);
  text-decoration: none;
  transition: color .25s ease, transform .25s var(--ease-out);
}
.footer__col a:hover { color: var(--gold-dark); transform: translateX(3px); }

.footer__bottom {
  margin-top: 62px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  line-height: 14px;
}
.footer__bottom a { width: 170px; color: inherit; text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Scroll reveal: :where() keeps specificity at zero so hover transforms win */
:where(.js [data-reveal]) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
:where(.js [data-reveal].is-visible) {
  opacity: 1;
  transform: none;
}

/* Hero entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes drop {
  from { opacity: 0; transform: translate(-50%, -18px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes fade-scale {
  from { opacity: 0; transform: translateY(18px) scale(1.03); }
  to   { opacity: 1; transform: none; }
}
@keyframes draw-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.js .nav { animation: drop .8s var(--ease-out) both; }
.js .hero__in { animation: rise .85s var(--ease-out) both; }
.js .hero__in:nth-child(1) { animation-delay: .15s; }
.js .hero__in:nth-child(2) { animation-delay: .28s; }
.js .hero__in:nth-child(3) { animation-delay: .42s; }
.js .hero__in:nth-child(4) { animation-delay: .56s; }
.js .hero__media { animation: fade-scale 1s var(--ease-out) .3s both; }
.js .hero__caption { animation: rise .8s var(--ease-out) .85s both; }
.js .hero__divider { transform-origin: left center; animation: draw-x 1.1s var(--ease-out) .7s both; }
.js .hero__values li { animation: rise .7s var(--ease-out) both; }
.js .hero__values li:nth-child(1) { animation-delay: .95s; }
.js .hero__values li:nth-child(2) { animation-delay: 1.05s; }
.js .hero__values li:nth-child(3) { animation-delay: 1.15s; }

/* Static mode (screenshots, tests) and reduced motion: show final state */
.no-anim *,
.no-anim *::before,
.no-anim *::after { animation: none !important; transition: none !important; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-anim .peo__line { transform: none !important; }
.no-anim .peo__connector img { opacity: 1 !important; transform: none !important; }
.no-anim .step::before { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .peo__line { transform: none !important; }
  .js .peo__connector img { opacity: 1 !important; transform: none !important; }
  .js .step::before { transform: none !important; }
  .hero__photo { transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --gutter: 40px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 44%); gap: 40px; }
  .hero__title { font-size: 64px; line-height: 70px; }
  .hero__photo-wrap { height: auto; aspect-ratio: 576 / 572; }
  .hero__caption { top: auto; bottom: -26px; }
  .hero__values { display: flex; justify-content: space-between; gap: 24px; }

  .mission__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 36%); }
  .mission__cards .card__text { margin-right: 0; }
  .challenge__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .challenge__list { max-width: none; }
  .peo__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 36%); gap: 48px; }
  .peo__flow { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.25fr) 96px minmax(0, 1fr); }
  .peo__line { width: 80px; }
  .solutions__grid { grid-template-columns: minmax(300px, 34%) minmax(0, 1fr); gap: 36px; }
  .difference__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
  .industries__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 34%); gap: 48px; }
  .industry img { height: auto; aspect-ratio: 408 / 340; }
  .process__grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 30%); }
  .purpose__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .purpose__media img { margin: 16px 0 0; }
  .faq__grid { grid-template-columns: minmax(280px, 32%) minmax(0, 1fr); gap: 48px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(420px, 52%); gap: 48px; }
  .contact__divider { margin-top: 64px; }
  .footer__grid { grid-template-columns: 1.2fr 1.6fr 1fr 1fr; gap: 32px; }
  .footer__bottom a { width: auto; }
}

@media (max-width: 960px) {
  .nav { top: 16px; height: 76px; padding: 0 16px 0 20px; border-radius: 38px; grid-template-columns: auto 1fr; }
  .nav__logo img { width: 128px; height: 68px; }
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(6, 36, 59, .18);
  }
  .nav.is-open .nav__links { display: flex; animation: rise .35s var(--ease-out) both; }
  .nav__links li { width: auto; flex: initial; }
  .nav__links { width: auto; }
  .nav__links a { display: block; padding: 12px 24px; font-size: 16px; }
  .nav__links a::after { display: none; }
  .nav__actions { gap: 4px; }
  .nav__cta { height: 44px; min-width: 0; padding: 0 20px; font-size: 14px; }
  .nav__toggle { display: flex; }

  .hero { padding-top: 124px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { padding-top: 0; }
  .hero__title { font-size: 56px; line-height: 62px; }
  .hero__media { margin-bottom: 26px; }
  .hero__caption { left: 0; }
  .hero__values { flex-wrap: wrap; justify-content: flex-start; gap: 12px 40px; }

  .h2 { font-size: 36px; line-height: 44px; }

  br.br-d { display: none; }

  .mission__grid,
  .peo__grid,
  .challenge__grid,
  .industries__grid,
  .process__grid,
  .purpose__grid,
  .difference__grid,
  .faq__grid,
  .contact__grid,
  .solutions__grid { grid-template-columns: 1fr; gap: 32px; }

  .mission__text, .peo__text, .industries__text, .process__text { padding-top: 0; }
  .mission__grid { grid-template-areas: "head" "text" "cards"; }
  .mission__cards { grid-template-columns: 1fr; gap: 12px; }

  .challenge__list { margin-top: 0; }

  .peo__flow { grid-template-columns: 1fr; margin-top: 48px; }
  .peo__connector { margin: 0; height: 64px; flex-direction: column; justify-content: center; align-items: center; }
  .peo__connector img { margin: -6px 0 0; transform: rotate(90deg); }
  .js .peo__connector:not(.is-visible) img { transform: rotate(90deg) translateX(-8px); }
  .peo__line { width: 1px; height: 28px; transform-origin: center top; }
  .js .peo__connector:not(.is-visible) .peo__line { transform: scaleY(0); }

  .solutions__intro { margin: 24px 0 0; }
  .featured { min-height: 0; }
  .solutions__foot { flex-direction: column; align-items: flex-start; }
  .solutions__link { width: auto; gap: 16px; }

  .reasons { margin-top: 0; }

  .industries__cards { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }

  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; margin-top: 48px; padding-top: 32px; }
  .step { min-height: 0; }
  .step::before { top: -35px; }

  .purpose { padding-top: 64px; }
  .purpose__media img { width: 100%; max-width: 480px; margin: 0; }
  .purpose__title { font-size: 40px; line-height: 48px; }

  .faq__more { margin-top: 24px; }

  .contact__invite { padding-top: 0; }
  .contact__divider { margin-top: 40px; }
  .form-card { padding: 28px 24px 32px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__logo { grid-column: 1 / -1; padding: 0; }
  .footer__intro { grid-column: 1 / -1; padding: 0; }
  .footer__col { padding: 0; }
  .footer__bottom { margin-top: 40px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; line-height: 26px; }

  .hero { padding-top: 112px; }
  .hero__title { font-size: 42px; line-height: 48px; }
  .hero__actions .btn { width: 100%; }
  .hero__caption { width: calc(100% - 24px); max-width: 258px; left: 12px; bottom: -20px; }
  .hero__media { margin-bottom: 20px; }

  .h2 { font-size: 32px; line-height: 40px; }
  .h2 br,
  .purpose__title br,
  .featured__title br,
  .hero__caption h3 br { display: none; }

  .mission, .challenge, .peo, .solutions, .difference, .industries, .process, .purpose, .faq, .contact { padding-top: 56px; padding-bottom: 56px; }

  .card { padding: 22px 22px; min-height: 0; }
  .challenge__list { grid-template-columns: 1fr; row-gap: 20px; }
  .challenge__item { min-height: 0; padding-bottom: 18px; }

  .featured { padding: 24px; }
  .featured__title { font-size: 30px; line-height: 36px; }
  .solution { gap: 16px; }
  .solution__num { width: 28px; }

  .reason { gap: 16px; }
  .reason__num { width: 32px; }
  .reason__body { padding-bottom: 28px; }
  .reason__title { font-size: 21px; line-height: 26px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step__num { font-size: 36px; line-height: 42px; }

  .purpose__title { font-size: 34px; line-height: 40px; }

  .faq-item__btn { padding: 20px 0; font-size: 17px; line-height: 24px; }
  .faq-item.is-open .faq-item__btn { padding-bottom: 6px; }
  .faq-item__panel { font-size: 16px; line-height: 26px; }
  .faq-item.is-open .faq-item__panel { padding-bottom: 24px; }

  .form-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .field--message { min-height: 0; }
  .form-card { padding: 24px 18px 28px; }
  .form-card h3 { font-size: 23px; line-height: 30px; }

  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__logo img { width: 200px; height: auto; }
  .footer__intro h3 { font-size: 22px; line-height: 28px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}
