/* ==========================================================================
   AVENIR CONSULTANCY — styles
   Tokens derive from the brand logo: deep forest green, natural green,
   gold growth accent, charcoal, warm off-white.
   ========================================================================== */

:root {
  --green-950: #0A2A20;
  --green-900: #0F3D2E;
  --green-800: #154A38;
  --green-700: #1B5E45;
  --green-500: #3E8E63;
  --green-200: #CFE3D7;
  --green-100: #E8F1EC;
  --green-50:  #F1F6F3;

  --gold-500: #E0B23A;
  --gold-600: #C99A25;
  --gold-300: #F0CD6E;

  --charcoal: #23272B;
  --charcoal-600: #4A5057;
  --charcoal-400: #7A8087;

  --bg: #F8F6F1;
  --bg-alt: #F0F2EE;
  --white: #FFFFFF;

  --border: rgba(35, 39, 43, 0.10);
  --border-strong: rgba(35, 39, 43, 0.18);

  --font: "Outfit", sans-serif;
  --font-hand: "Caveat", cursive;

  --text-hero: clamp(2.75rem, 1.75rem + 3.4vw, 4.5rem);   /* 44 → 72 */
  --text-h2:   clamp(1.875rem, 1.25rem + 1.8vw, 2.75rem); /* 30 → 44 */
  --text-body: 1rem;
  --text-sm:   0.9375rem;
  --text-xs:   0.8125rem;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 3.5rem + 3vw, 7rem);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(15,61,46,.05), 0 6px 16px rgba(15,61,46,.06);
  --shadow-md: 0 2px 6px rgba(15,61,46,.06), 0 18px 40px rgba(15,61,46,.12);
  --shadow-lg: 0 10px 30px rgba(10,42,32,.18), 0 30px 70px rgba(10,42,32,.18);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 280ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

.skip-link { position: absolute; top: -100px; left: 1rem; padding: .5rem .875rem; background: var(--green-900); color: #fff; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-weight: 700; }

.section__title { font-size: var(--text-h2); color: var(--green-900); max-width: 20ch; }
.section__title--light { color: #fff; }
.section__lede { margin-top: 1rem; max-width: 46ch; color: var(--charcoal-600); font-size: 1.0625rem; }

.section__head { margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.section__head--row .section__lede { margin-top: 0; max-width: 40ch; }
.section__head--center { text-align: center; }
.section__head--center .section__title, .section__head--center .eyebrow { margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--text-xs); font-weight: 600;
  color: var(--green-700);
  margin-bottom: .875rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--gold { color: var(--gold-300); }

.text-gold { color: var(--gold-500); }

.placeholder-note { font-size: var(--text-xs); color: var(--charcoal-400); margin-top: .75rem; }
.placeholder-note--light { color: rgba(255,255,255,.5); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.5rem;
  font-weight: 700; font-size: var(--text-sm); line-height: 1;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur);
  white-space: nowrap;
}
.btn--sm { padding: .7rem 1.2rem; font-size: .875rem; }
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn svg { width: 16px; height: 16px; }

.btn--gold { background: var(--gold-500); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-300); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(224,178,58,.35); }

.btn--dark { background: var(--green-900); color: #fff; }
.btn--dark:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn--outline { color: var(--green-900); border-color: var(--green-900); background: transparent; }
.btn--outline:hover { background: var(--green-900); color: #fff; }

.btn--ring { box-shadow: 0 0 0 4px rgba(224,178,58,.22); }

.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .875rem; color: var(--green-900); }
.link-more .lucide { transition: transform var(--dur) var(--ease); }
.link-more:hover .lucide { transform: translateX(3px); }
.link-more:hover { color: var(--green-500); }

.pill {
  display: inline-block; align-self: flex-start; padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
  background: var(--green-100); color: var(--green-700);
}
.pill--gold { background: rgba(224,178,58,.16); color: var(--gold-600); }

.ring-icon {
  flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-strong);
  color: var(--green-900);
}
.ring-icon svg { width: 22px; height: 22px; }
.ring-icon--gold { border-color: rgba(224,178,58,.6); color: var(--gold-500); }

/* ---------- header: transparent over hero, frosted-glass pill on scroll ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: #fff;
  padding: 0 var(--gutter);
  transition: padding var(--dur) var(--ease), color var(--dur);
}
.header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 84px;
  max-width: calc(var(--container) - 2 * var(--gutter));
  padding-inline: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: height var(--dur) var(--ease), padding var(--dur) var(--ease), background-color var(--dur), border-color var(--dur), box-shadow var(--dur), backdrop-filter var(--dur);
}
/* brand lockup: A mark + typeset wordmark */
.brand { position: relative; display: flex; align-items: center; gap: .6rem; flex: none; color: inherit; }
.brand__mark { height: 44px; width: auto; transform: translateY(3px); transition: height var(--dur) var(--ease), padding var(--dur) var(--ease), background-color var(--dur), box-shadow var(--dur), border-radius var(--dur); }
.header .brand__mark { height: 46px; }
.brand__word { font-size: 1.0625rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; line-height: 1; font-weight: 400; padding-top: 1px; }
.brand__word strong { font-weight: 800; }

/* three zones: logo | centered links | actions */
.nav { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.nav__list { display: flex; justify-content: center; gap: 2rem; }
.nav__list a, .nav__link { font-size: .9375rem; font-weight: 600; opacity: .92; position: relative; padding-block: .3rem; transition: opacity var(--dur), color var(--dur); }
.nav__list a::after, .nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold-500); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__list a:hover, .nav__link:hover { opacity: 1; }
.nav__list a:hover::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1.5rem; }
.nav__cta { background: var(--gold-500); color: var(--green-950); padding: .8rem 1.4rem; }
.nav__cta:hover { background: var(--gold-300); transform: translateY(-1px); }

/* scrolled: frosted glass pill — luminous inner rim, thin outline, soft grey shadow */
.header.is-scrolled { color: var(--charcoal); padding: 12px var(--gutter) 0; }
.header.is-scrolled .header__inner {
  height: 66px;
  padding-inline: 1.25rem .5rem;
  background: rgba(255,255,255,.92);
  border-color: rgba(35,39,43,.10);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.95),
    inset 0 0 22px rgba(255,255,255,.95),
    inset 0 -3px 8px rgba(35,39,43,.05),
    0 2px 4px rgba(35,39,43,.06),
    0 12px 28px rgba(35,39,43,.14);
}
.header__inner > * { position: relative; z-index: 1; }

/* faint mirrored reflection under the nav labels, as on the reference buttons */
.header.is-scrolled .nav__list a,
.header.is-scrolled .nav__link {
  -webkit-box-reflect: below -.55em linear-gradient(transparent 55%, rgba(0,0,0,.22));
}
.header.is-scrolled .brand__mark { height: 38px; }
.header.is-scrolled .brand__word { font-size: 1rem; }
.header.is-scrolled .nav__list a, .header.is-scrolled .nav__link { color: var(--charcoal); opacity: 1; }
.header.is-scrolled .nav__cta { background: var(--green-900); color: #fff; }
.header.is-scrolled .nav__cta:hover { background: var(--green-700); box-shadow: none; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,42,32,.92) 0%, rgba(15,61,46,.78) 45%, rgba(15,61,46,.35) 100%),
    linear-gradient(180deg, rgba(10,42,32,.2) 0%, rgba(10,42,32,0) 40%, rgba(10,42,32,.45) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; }
.hero__title { font-size: var(--text-hero); line-height: 1.05; max-width: 100%; }
.hero__lede { margin-top: 1.25rem; max-width: 60ch; font-size: 1.0625rem; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }

.play { display: inline-flex; align-items: center; gap: .875rem; color: #fff; }
.play__icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: background-color var(--dur), border-color var(--dur); }
.play__icon svg { width: 18px; height: 18px; }
.play:hover .play__icon { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-950); }
.play__text { display: flex; flex-direction: column; line-height: 1.25; }
.play__text strong { font-size: .9375rem; font-weight: 700; }
.play__text small { font-size: .75rem; color: rgba(255,255,255,.7); }

/* floating consultation card */
.quick { position: relative; z-index: 5; margin-top: -120px; }
.quick__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0 1.5rem 1.5rem;
}
.quick__tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); overflow-x: auto; }
.quick__tab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1.1rem 1.1rem .95rem;
  font-size: .875rem; font-weight: 600; color: var(--charcoal-600);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
  transition: color var(--dur), border-color var(--dur);
}
.quick__tab svg { width: 18px; height: 18px; }
.quick__tab:hover { color: var(--green-900); }
.quick__tab.is-active { color: var(--green-900); border-bottom-color: var(--gold-500); }

.quick__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .875rem; align-items: end; padding-top: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; padding: .7rem .95rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); transition: border-color var(--dur), background-color var(--dur); }
.field:focus-within { border-color: var(--green-500); background: #fff; }
.field span { font-size: .75rem; font-weight: 600; color: var(--charcoal-400); }
.field input, .field select { border: 0; background: transparent; padding: 0; font-size: .9375rem; font-weight: 600; color: var(--charcoal); outline: none; width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5057' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-right: 1.25rem; }
.field input::placeholder { color: var(--charcoal-400); font-weight: 500; }
.quick__submit { height: 100%; min-height: 62px; padding-inline: 1.5rem; border-radius: var(--radius-sm); }

/* ---------- feature strip ---------- */
.features { padding-block: 3.5rem; }
.features__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.features__list li { display: flex; align-items: center; gap: 1rem; padding-right: 1.5rem; border-right: 1px solid var(--border); }
.features__list li:last-child { border-right: 0; }
.features__list div { display: flex; flex-direction: column; line-height: 1.3; }
.features__list strong { font-size: .9375rem; font-weight: 700; color: var(--green-900); }
.features__list span:not(.ring-icon) { font-size: .8125rem; color: var(--charcoal-600); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.5rem; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; flex: 1; }
.card__body h3 { font-size: 1.125rem; color: var(--green-900); }
.card__body p { font-size: .9rem; color: var(--charcoal-600); flex: 1; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green-900);
  margin: -2.9rem 0 .4rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--white);
}
.card__icon svg { width: 20px; height: 20px; }
.card:hover .card__icon { background: var(--gold-500); color: var(--green-950); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--charcoal-400); }
.card--post h3 a:hover { color: var(--green-500); }
.card--cta {
  background: var(--green-900); color: #fff; border-color: var(--green-900);
  padding: 1.75rem; justify-content: space-between; gap: 2rem;
  background-image: radial-gradient(circle at 100% 0%, rgba(224,178,58,.22), transparent 55%), url('../images/pattern-dark.png');
}
.card--cta h3 { color: #fff; font-size: 1.375rem; margin-bottom: .5rem; }
.card--cta p { color: rgba(255,255,255,.72); font-size: .9375rem; }
.card--cta .btn { align-self: flex-start; }

/* ---------- services ---------- */
.services { background: var(--white); }

/* ---------- value split ---------- */
.value { background: var(--bg); }
.value__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.value__steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.value__steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.value__steps li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.value__num { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--green-900); color: var(--gold-300); font-weight: 800; font-size: 1.125rem; }
.value__steps h3 { font-size: 1.125rem; color: var(--green-900); margin-bottom: .25rem; }
.value__steps p { font-size: .9rem; color: var(--charcoal-600); }

.value__media { position: relative; padding: 0 2rem 2.5rem 0; }
.value__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--green-200); }
.value__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.float-stat {
  position: absolute; right: 0; bottom: 0;
  width: 240px; padding: 1.25rem 1.25rem 1rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.float-stat__label { font-size: .75rem; font-weight: 600; color: var(--charcoal-400); }
.float-stat__value { font-size: 1.125rem; font-weight: 700; color: var(--green-900); margin-top: .2rem; }
.float-stat__value strong { font-size: 2rem; font-weight: 800; color: var(--gold-600); }
.float-stat__note { font-size: .75rem; color: var(--charcoal-600); }
.float-stat__spark { width: 100%; margin-top: .75rem; }

/* ---------- dark bands & waves ---------- */
.band { position: relative; background: var(--green-900) url('../images/pattern-dark.png') repeat; color: #fff; overflow: hidden; }
.band .wave { position: absolute; left: 0; width: 100%; height: 70px; z-index: 2; pointer-events: none; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; mix-blend-mode: luminosity; }
.band > .container { position: relative; z-index: 1; }

/* ---------- about ---------- */
.about { padding-block: calc(var(--section-y) + 40px); }
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }

.polaroids { position: relative; aspect-ratio: 1 / 1; max-width: 520px; }
.polaroid {
  position: absolute; width: 62%;
  padding: .75rem .75rem 2.75rem;
  background: #fff; border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--green-200); }
.polaroid--a { left: 0; top: 6%; transform: rotate(-7deg); z-index: 1; }
.polaroid--b { right: 0; top: 30%; transform: rotate(6deg); z-index: 2; }
.handwriting {
  position: absolute; left: 6%; bottom: 4%;
  font-family: var(--font-hand); font-size: 1.75rem; line-height: 1.05;
  color: #fff; transform: rotate(-4deg);
}
.doodle { position: absolute; width: 130px; right: 4%; top: 2%; }

.about__text { margin-top: 1.25rem; color: rgba(255,255,255,.78); max-width: 52ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem 1.5rem; margin-top: 1.75rem; }
.checks li { position: relative; padding-left: 1.9rem; font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.5; }
.checks li strong { display: block; color: #fff; font-weight: 700; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2A20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.25rem; }
.stat { display: flex; align-items: center; gap: .875rem; }
.stat__num { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1; color: #fff; }
.stat__label { display: block; font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .25rem; }
.about .btn { margin-top: 2rem; }

/* ---------- industries tiles ---------- */
.industries { background: var(--bg); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--green-800); cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,42,32,0) 35%, rgba(10,42,32,.85) 100%); }
.tile__label { position: absolute; left: 1.25rem; right: 3.5rem; bottom: 1.25rem; z-index: 1; color: #fff; display: flex; flex-direction: column; line-height: 1.3; }
.tile__label strong { font-size: 1.0625rem; font-weight: 700; }
.tile__label span { font-size: .78rem; color: rgba(255,255,255,.75); }
.tile__go {
  position: absolute; right: 1.1rem; bottom: 1.1rem; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-size: .9rem;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.tile:hover .tile__go { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-950); }

/* ---------- process ---------- */
.process { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.step {
  position: relative; padding: 2rem 1.75rem 1.75rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-100); color: var(--green-900);
  font-weight: 800; font-size: 1rem;
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.25rem; color: var(--green-900); margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--charcoal-600); }
.step--peak { background: var(--green-900); border-color: var(--green-900); color: #fff; transform: translateY(-14px); }
.step--peak:hover { transform: translateY(-18px); }
.step--peak .step__num { background: var(--gold-500); color: var(--green-950); }
.step--peak h3 { color: #fff; }
.step--peak p { color: rgba(255,255,255,.75); }

/* ---------- testimonials ---------- */
.testimonials { padding-block: calc(var(--section-y) + 40px); }
.carousel { position: relative; max-width: 820px; margin-inline: auto; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 1.25rem; }
.carousel__track { position: relative; min-height: 260px; }
.carousel { --dir: 1; }
.quote {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; align-items: start;
  padding: 2rem;
  background: var(--white); color: var(--charcoal);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateX(calc(var(--dir) * 72px)) scale(.965);
  transition: opacity 560ms var(--ease), transform 720ms var(--ease);
  will-change: transform, opacity;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote.is-measuring { position: relative; inset: auto; opacity: 0; visibility: hidden; transform: none; transition: none; pointer-events: none; }
.carousel__track { min-height: 260px; }
.quote.is-leaving { opacity: 0; transform: translateX(calc(var(--dir) * -72px)) scale(.965); }

/* inner content settles in a beat after the card */
.quote.is-active .avatar,
.quote.is-active .quote__flag,
.quote.is-active p,
.quote.is-active footer,
.quote.is-active .stars { animation: quoteIn 640ms var(--ease) both; }
.quote.is-active .avatar { animation-name: avatarIn; animation-delay: 60ms; }
.quote.is-active .quote__flag { animation-delay: 120ms; }
.quote.is-active p { animation-delay: 200ms; }
.quote.is-active footer { animation-delay: 300ms; }
.quote.is-active .stars { animation-delay: 380ms; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes avatarIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-900); font-weight: 800; font-size: 1.25rem; border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--green-200); }
.quote__body { display: flex; flex-direction: column; gap: .75rem; }
.quote__flag { align-self: flex-start; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; padding: .2rem .5rem; border-radius: 4px; background: rgba(224,178,58,.16); color: var(--gold-600); }
.quote p { font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal-600); }
.quote footer { display: flex; flex-direction: column; font-size: .875rem; }
.quote footer strong { color: var(--green-900); }
.quote footer span { color: var(--charcoal-400); font-size: .78rem; }
.stars { color: var(--gold-500); font-size: .875rem; letter-spacing: .1em; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4); color: #fff;
  display: grid; place-items: center;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-950); }
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.carousel__dots button { position: relative; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.35); padding: 0; overflow: hidden; transition: background-color var(--dur), width 420ms var(--ease); }
.carousel__dots button:hover { background: rgba(255,255,255,.6); }
.carousel__dots button.is-active { width: 34px; background: rgba(255,255,255,.28); }
.carousel__dots button.is-active::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--gold-500);
  transform-origin: left; transform: scaleX(0);
  animation: dotFill var(--interval, 7000ms) linear forwards;
}
.carousel.is-paused .carousel__dots button.is-active::after { animation-play-state: paused; }
.carousel.no-autoplay .carousel__dots button.is-active::after { animation: none; transform: none; }
@keyframes dotFill { to { transform: scaleX(1); } }
.carousel__track { touch-action: pan-y; cursor: grab; }
.carousel__track.is-dragging { cursor: grabbing; }

/* ---------- insights ---------- */
.insights { background: var(--bg); }

/* ---------- CTA ---------- */
.cta { padding-block: calc(var(--section-y) + 70px) var(--section-y);  /* top wave is 70px tall */ background: var(--green-900) url('../images/pattern-dark.png') repeat; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.cta__lede { margin-top: 1.25rem; color: rgba(255,255,255,.75); max-width: 44ch; }
.cta__form { display: flex; gap: .625rem; margin-top: 1.75rem; padding: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; max-width: 560px; }
.cta__form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: .5rem 1rem; color: #fff; font-weight: 500; outline: none; }
.cta__form input::placeholder { color: rgba(255,255,255,.55); }
.cta__secondary { display: inline-flex; gap: .4rem; margin-top: 1.25rem; font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.8); }
.cta__secondary:hover { color: var(--gold-300); }
.cta__media { position: relative; }
.cta__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 46% 54% 52% 48% / 58% 42% 58% 42%;
  box-shadow: var(--shadow-lg);
  background: var(--green-700);
}
.doodle--cta { position: absolute; left: -60px; top: 6%; width: 120px; transform: scaleX(-1) rotate(-20deg); }

/* ---------- footer (light) ---------- */
.footer { background: var(--bg-alt); color: var(--charcoal-600); border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; padding-block: 4.5rem 3rem; }
.brand--footer { color: var(--charcoal); margin-bottom: 1rem; }
.brand--footer .brand__mark { height: 44px; opacity: 1; }
.footer__brand > p { font-size: .8125rem; color: var(--green-700); font-weight: 600; }
.footer__blurb { margin-top: 1rem; font-size: .875rem; color: var(--charcoal-600) !important; font-weight: 400 !important; max-width: 36ch; }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--green-900); background: var(--white); transition: background-color var(--dur), border-color var(--dur), color var(--dur); }
.social svg { width: 16px; height: 16px; }
.social a:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.footer__col h3 { font-size: .9375rem; font-weight: 700; color: var(--green-900); margin-bottom: 1.25rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer__col a, .footer__col li { font-size: .875rem; color: var(--charcoal-600); line-height: 1.5; transition: color var(--dur); }
.footer__col a:hover { color: var(--green-900); }
.footer__contact li { display: flex; align-items: flex-start; gap: .75rem; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-600); margin-top: .1rem; }
.footer__col .btn { margin-top: 1.5rem; background: var(--green-900); color: #fff; }
.footer__col .btn:hover { background: var(--green-700); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--charcoal-400); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: var(--green-900); }

/* ---------- image fallback ---------- */
img.is-broken { visibility: hidden; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .cards--3, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
  .features__list li { border-right: 0; padding-right: 0; }
  .quick__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__submit { grid-column: 1 / -1; min-height: 52px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header__inner { height: 68px; }
  .header.is-scrolled .header__inner { height: 60px; padding-inline: 1rem .5rem; }
  .header .brand__mark, .header.is-scrolled .brand__mark { height: 34px; }
  .brand__word, .header.is-scrolled .brand__word { font-size: .9375rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 84px var(--gutter) auto var(--gutter);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.85); color: var(--charcoal);
    backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid rgba(255,255,255,.75);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur), transform var(--dur) var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav__list a { display: block; padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--border); opacity: 1; }
  .nav__list a::after, .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.25rem; justify-content: center; }
  .header:not(.is-scrolled) .nav-toggle { color: #fff; }

  .hero { padding: 110px 0 64px; }
  .value__grid, .about__grid, .cta__grid { grid-template-columns: 1fr; }
  .value__media { max-width: 480px; }
  .polaroids { margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .step--peak, .step--peak:hover { transform: none; }
  .carousel { grid-template-columns: 1fr; }
  .carousel__btn { display: none; }
  .doodle--cta { display: none; }
}

@media (max-width: 600px) {
  .cards--3, .tiles, .features__list, .footer__grid, .checks { grid-template-columns: 1fr; }
  .quick { margin-top: -90px; }
  .quick__card { padding-inline: 1rem; }
  .quick__fields { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .quote { grid-template-columns: 1fr; padding: 1.5rem; }
  .avatar { width: 56px; height: 56px; font-size: 1rem; }
  .cta__form { flex-direction: column; border-radius: var(--radius); }
  .cta__form .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .tile { aspect-ratio: 4 / 3; }
  .handwriting { font-size: 1.4rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- lucide icon sizing ---------- */
.lucide { flex: none; }
.btn .lucide, .link-more .lucide, .cta__secondary .lucide { width: 16px; height: 16px; }
.link-more .lucide { width: 15px; height: 15px; }
.tile__go .lucide { width: 14px; height: 14px; }
.quick__tab .lucide { width: 18px; height: 18px; }
.play__icon .lucide { width: 18px; height: 18px; }
.ring-icon .lucide { width: 22px; height: 22px; }
.card__icon .lucide { width: 20px; height: 20px; }
.carousel__btn .lucide { width: 20px; height: 20px; }
.footer__contact .lucide { width: 18px; height: 18px; flex: none; color: var(--gold-600); margin-top: .1rem; }

/* ---------- services coverflow ---------- */
.coverflow {
  --cw: clamp(170px, 22vw, 320px);
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);   /* break out of the container */
}
.coverflow__stage {
  position: relative;
  height: calc(var(--cw) * 1.16);
  perspective: calc(var(--cw) * 3);
  perspective-origin: 50% 45%;
  overflow-x: clip; overflow-y: visible;   /* keep side cards clipped, let shadows fall freely */
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  outline: none;
}
.coverflow__stage:focus-visible { box-shadow: 0 0 0 2px var(--gold-500); border-radius: var(--radius); }
.coverflow__stage.is-dragging { cursor: grabbing; }
.coverflow__rack { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.cover {
  position: absolute; left: calc(var(--cw) / -2); top: calc(var(--cw) / -2);
  width: var(--cw); height: var(--cw);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--green-800);
  box-shadow: 0 30px 60px -20px rgba(10,42,32,.45), 0 8px 18px -8px rgba(10,42,32,.3);
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}
.cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: translateZ(0); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,42,32,.05) 30%, rgba(10,42,32,.88) 100%); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.cover__icon {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--gold-300);
}
.cover__icon .lucide { width: 20px; height: 20px; }
.cover__title { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; color: #fff; font-weight: 700; font-size: clamp(.9rem, .6rem + .8vw, 1.125rem); line-height: 1.25; }
.cover.is-active { cursor: pointer; }
/* dim side cards so the centre reads as the subject */
.cover .shade { position: absolute; inset: 0; z-index: 1; background: var(--green-950); opacity: 0; pointer-events: none; }

.coverflow__caption { text-align: center; max-width: 560px; margin: 2.5rem auto 0; padding-inline: var(--gutter); min-height: 7.5rem; will-change: transform, opacity; }
.coverflow__title { font-size: 1.375rem; color: var(--green-900); }
.coverflow__desc { margin: .5rem 0 .75rem; font-size: .9375rem; color: var(--charcoal-600); }

.coverflow__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; }
.coverflow__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-strong); color: var(--green-900); background: var(--white);
  transition: background-color var(--dur), border-color var(--dur), color var(--dur), transform var(--dur);
}
.coverflow__btn .lucide { width: 18px; height: 18px; }
.coverflow__btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.coverflow__dots { display: flex; gap: .5rem; }
.coverflow__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); padding: 0; transition: background-color var(--dur), transform var(--dur), width var(--dur); }
.coverflow__dots button.is-active { background: var(--gold-500); width: 22px; border-radius: 999px; }

@media (max-width: 600px) {
  .coverflow { --cw: min(62vw, 260px); }
  .coverflow__stage { height: calc(var(--cw) * 1.15); }
}

/* ---------- industries rail ---------- */
.industries { background: var(--bg); }
.industries > .container { max-width: none; }          /* full width, gutter only */
.industries .section__title { max-width: 24ch; }
.ind-rail { position: relative; }
.ind-scroller {
  display: flex; gap: 1.5rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  margin-right: calc(50% - 50vw);          /* bleed off the right edge */
  padding-right: var(--gutter);
  scrollbar-width: none;
}
.ind-scroller::-webkit-scrollbar { display: none; }
.ind-scroller:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 6px; border-radius: var(--radius); }
.ind-card {
  flex: 0 0 clamp(300px, 38vw, 720px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 380px;
  padding: 2.75rem 2.75rem 2.5rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15,61,46,.04), 0 10px 30px -12px rgba(15,61,46,.10);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ind-card__icon {
  width: 68px; height: 68px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--green-100); border: 1.5px solid var(--green-700);
  color: var(--green-900);
  margin-bottom: 2rem;
}
.ind-card__icon .lucide { width: 28px; height: 28px; }
.ind-card h3 { font-size: 1.5rem; color: var(--charcoal); margin-bottom: .875rem; }
.ind-card p { font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal-600); flex: 1; max-width: 52ch; }
.ind-card__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-weight: 600; font-size: 1.0625rem; color: var(--green-500); }
.ind-card__link .lucide { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.ind-card__link:hover { color: var(--green-700); }
.ind-card__link:hover .lucide { transform: translateX(3px); }

.ind-progress { position: relative; height: 3px; margin-top: 2.25rem; background: var(--green-200); border-radius: 3px; overflow: hidden; }
.ind-progress__bar { position: absolute; left: 0; top: 0; height: 100%; width: 30%; background: var(--green-700); border-radius: 3px; will-change: transform, width; }

@media (max-width: 600px) {
  .ind-card { flex-basis: 84vw; min-height: 0; padding: 2rem 1.75rem 1.75rem; }
  .ind-card h3 { font-size: 1.25rem; }
  .ind-card p, .ind-card__link { font-size: .9375rem; }
}

/* ---------- industries: stack → spread ---------- */
.industries { padding: 0; }
.industries > .container { max-width: var(--container); }
.spread { position: relative; height: 280vh; }
.spread__sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 800px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(2.5rem, 5vh, 4rem);
  padding-block: 96px clamp(3rem, 7vh, 6rem);
  overflow-x: clip; overflow-y: visible;
}
.spread__head { flex: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.spread__head .section__title { max-width: 16ch; }
.spread__meta { display: flex; flex-direction: column; gap: 1rem; max-width: 380px; }
.spread__meta .section__lede { margin: 0; font-size: 1rem; }
.spread__meta .ind-progress { margin: 0; }

.spread__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 1.25rem;
  flex: 1; min-height: 0;
  max-height: 600px;
}
.spread-card {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.35rem 1.2rem;
  min-height: 0; overflow: hidden;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15,61,46,.04), 0 18px 40px -18px rgba(15,61,46,.22);
  will-change: transform;
  transform-origin: center;
  transition: box-shadow var(--dur);
}
.spread-card:hover { box-shadow: var(--shadow-md); }
.spread-card .ind-card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: .9rem; flex: none; }
.spread-card .ind-card__icon .lucide { width: 20px; height: 20px; }
.spread-card h3 { font-size: 1.0625rem; color: var(--charcoal); margin-bottom: .3rem; line-height: 1.25; }
.spread-card p { font-size: .84rem; line-height: 1.45; color: var(--charcoal-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spread-card .ind-card__link { margin-top: auto; padding-top: .75rem; font-size: .84rem; }
.spread-card .ind-card__link .lucide { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .spread__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .spread-card { padding: 1.25rem; }
  .spread-card p { display: none; }
}
@media (max-width: 899px) {
  .industries { padding-block: var(--section-y); }
  .spread { height: auto; }
  .spread__sticky { position: static; height: auto; min-height: 0; padding: 0; overflow: visible; }
  .spread__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; max-height: none; }
  .spread-card { overflow: visible; }
  .spread-card p { display: block; -webkit-line-clamp: unset; }
}
@media (max-width: 600px) {
  .spread__grid { grid-template-columns: 1fr; }
}

/* ---------- insights: category pill in the top-right corner ---------- */
.card--post { position: relative; }
.card--post .pill {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  padding: .4rem .8rem;
  background: rgba(255,255,255,.92); color: var(--green-700);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(10,42,32,.18);
}
.card--post .pill--gold { color: var(--gold-600); }

/* ---------- fixed footer, revealed as the page scrolls past ---------- */
html.has-fixed-footer main {
  position: relative; z-index: 1;
  background: var(--bg);
  margin-bottom: var(--footer-h, 0px);
  box-shadow: 0 30px 60px -20px rgba(10,42,32,.35);
}
html.has-fixed-footer .footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
}

/* ---------- hero scroll cue ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.75);
  transition: color var(--dur), transform var(--dur) var(--ease);
}
.scroll-cue:hover { color: #fff; transform: translateX(-50%) translateY(3px); }
.scroll-cue__mouse {
  position: relative; width: 24px; height: 38px;
  border: 1.5px solid currentColor; border-radius: 14px;
}
.scroll-cue__wheel {
  position: absolute; left: 50%; top: 7px;
  width: 4px; height: 7px; margin-left: -2px; border-radius: 2px;
  background: var(--gold-500);
  animation: wheel 1.8s ease-in-out infinite;
}
.scroll-cue .lucide { width: 18px; height: 18px; animation: cueBob 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 900px) { .scroll-cue { bottom: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__wheel, .scroll-cue .lucide { animation: none; } }

/* ---------- hero pixel field (canvas) ---------- */
.hero__pixels {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 68% 45%, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 68% 45%, #000 0%, rgba(0,0,0,.7) 45%, transparent 100%);
}

/* ---------- final CTA: centered ---------- */
.cta__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cta__copy { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.cta__copy .eyebrow { justify-content: center; }
.cta__copy .section__title { max-width: 18ch; }
.cta__lede { margin-inline: auto; }
.cta__form { width: 100%; margin-inline: auto; }
.cta__media { display: none; }

/* ---------- hero cursor spotlight ---------- */
.hero__spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(224,178,58,.28) 0%, rgba(224,178,58,.10) 35%, transparent 70%);
  opacity: 0; transition: opacity 400ms ease;
  mix-blend-mode: screen;
}
.hero__spot.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .hero__spot { display: none; } }

/* ---------- hero: centered composition ---------- */
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__content .eyebrow { justify-content: center; }
.hero__title { max-width: 16ch; }
.hero__lede { margin-inline: auto; }
.hero__actions { justify-content: center; }
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(10,42,32,.55) 0%, rgba(15,61,46,.72) 50%, rgba(10,42,32,.85) 100%),
    radial-gradient(60% 70% at 50% 45%, rgba(10,42,32,.35) 0%, rgba(10,42,32,0) 100%);
}
.hero__pixels {
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}

/* ---------- team: fanned portrait arc ---------- */
.team { background: var(--white); padding-top: clamp(1.5rem, 3vw, 3rem); }
.team .section__head .placeholder-note { text-align: center; }
.fan {
  --card: clamp(150px, 22vw, 320px);
  --step: clamp(78px, 9.6vw, 150px);
  position: relative;
  height: calc(var(--card) * 1.3);
  margin: 1rem auto 0;
  max-width: 1200px;
}
.fan__card {
  position: absolute; left: 50%; top: 50%;
  width: var(--card); height: var(--card);
  margin: calc(var(--card) / -2) 0 0 calc(var(--card) / -2);
  z-index: calc(10 - var(--a));
  /* arc: outer cards sit higher, smaller, and rotate outward */
  transform:
    translate(calc(var(--t) * var(--step)), calc(var(--a) * var(--a) * -14px))
    rotate(calc(var(--t) * 7deg))
    scale(calc(1 - var(--a) * .11));
  transition: transform 900ms cubic-bezier(.22, 1, .36, 1), opacity 600ms var(--ease);
  transition-delay: calc(var(--a) * 90ms);
  opacity: 0;
}
.fan:not(.is-visible) .fan__card { transform: translate(0, 24px) rotate(0deg) scale(.86); }
.fan.is-visible .fan__card { opacity: 1; }

.fan__card a {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden;
  border: 5px solid #fff; background: var(--green-100);
  box-shadow: 0 24px 50px -18px rgba(15,61,46,.35), 0 6px 14px rgba(15,61,46,.10);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan__card:hover { z-index: 30; }
.fan__card:hover a { transform: translateY(-8px) scale(1.04); box-shadow: 0 0 0 2px var(--gold-500), 0 34px 60px -18px rgba(15,61,46,.45); }
.fan__card a:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.fan__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem .9rem .8rem;
  background: linear-gradient(180deg, rgba(10,42,32,0) 0%, rgba(10,42,32,.85) 100%);
  color: #fff; font-size: .8rem; line-height: 1.3; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur), transform var(--dur) var(--ease);
}
.fan__label strong { display: block; font-size: .95rem; font-weight: 700; }
.fan__card:hover .fan__label, .fan__card a:focus-visible .fan__label { opacity: 1; transform: none; }
.team__cta { display: flex; justify-content: center; margin-top: 2.5rem; }

@media (max-width: 700px) {
  .fan { --card: clamp(120px, 34vw, 170px); --step: 22vw; height: calc(var(--card) * 1.5); }
  .fan__card[style*="--a:3"] { display: none; }   /* five cards on phones */
  .fan__label { opacity: 1; transform: none; padding-top: 1.5rem; font-size: .7rem; }
  .fan__label strong { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .fan__card { transition: none; } }

/* ---------- header logo: white backing over the hero ---------- */
.header:not(.is-scrolled) .brand__mark {
  height: 50px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
@media (max-width: 900px) {
  .header:not(.is-scrolled) .brand__mark { height: 40px; padding: 5px; border-radius: 10px; }
}

/* ---------- typography: heavy, tight headings with a gold marker ---------- */
h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.hero__title { line-height: 1.0; }
.section__title { line-height: 1.04; }
.hl {
  /* marker band tuned to Outfit's cap height: covers ~x-height to cap, baseline hangs below */
  --hl-h: 62%;
  --hl-y: 16%;
  color: inherit;
  background-image: linear-gradient(var(--gold-500), var(--gold-500));
  background-repeat: no-repeat;
  background-size: 0% var(--hl-h);
  background-position: 0 var(--hl-y);
  padding-inline: .1em;
  margin-inline: -.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 700ms cubic-bezier(.22, 1, .36, 1);
}
.hl.is-on { background-size: 100% var(--hl-h); }

/* on dark surfaces: white text with a thick gold stroke behind the baseline (keeps text contrast) */
.section__title--light .hl {
  --hl-h: 30%;
  --hl-y: 84%;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .hl { transition: none; background-size: 100% var(--hl-h); }
}

/* ==========================================================================
   HERO — light editorial layout (overrides earlier hero rules)
   ========================================================================== */
.hero {
  background: var(--bg);
  color: var(--charcoal);
  min-height: 100vh; min-height: 100svh;
  padding: 140px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__dots { position: absolute; inset: 0; pointer-events: none; }
.hero__dots span {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: rgba(35,39,43,.05);
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 4vw, 5rem);
  text-align: left;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

/* outlined badge */
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem .5rem .8rem;
  border: 1.5px solid var(--gold-500); border-radius: 999px;
  background: rgba(255,255,255,.6);
  font-size: .8125rem; font-weight: 600; color: var(--green-900);
  margin-bottom: 1.75rem;
  transition: background-color var(--dur), transform var(--dur) var(--ease);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px rgba(224,178,58,.25); }
.badge:hover { background: #fff; transform: translateY(-1px); }

.hero__title { color: var(--green-900); max-width: 14ch; line-height: 1.08; }
.hero__lede { color: var(--charcoal-600); max-width: 42ch; margin-top: 1.75rem; }
.hero__actions { margin-top: 2rem; }

/* right-hand scene */
.hero__scene {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1;
  margin-left: auto; align-self: end; margin-bottom: -80px;   /* figure runs off the hero's bottom edge */
}
.scene__shape { position: absolute; inset: 6% 0 4% 6%; width: 94%; height: 90%; filter: drop-shadow(0 30px 40px rgba(201,154,37,.28)); }
.scene__person {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-46%);
  height: 96%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 24px 30px rgba(15,61,46,.28));
  z-index: 1;
}

.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 1.1rem .55rem .55rem;
  background: #fff; border-radius: 999px;
  box-shadow: 0 14px 34px -14px rgba(15,61,46,.35), 0 2px 6px rgba(15,61,46,.08);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip--tl { left: -6%; top: 18%; }
.chip--br { right: -8%; bottom: 30%; animation-delay: 1.5s; animation-direction: reverse; }
.chip__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--green-100); }
.chip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chip__bars { display: flex; flex-direction: column; gap: .45rem; }
.chip__bars i { display: block; height: 8px; width: var(--w); border-radius: 999px; }
.chip__bars--gold i { background: var(--gold-500); } .chip__bars--gold i:last-child { opacity: .55; }
.chip__bars--green i { background: var(--green-700); } .chip__bars--green i:last-child { background: var(--green-500); opacity: .8; }

.bubble { position: absolute; z-index: 2; height: 44px; border-radius: 999px; }
.bubble::before { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; }
.bubble--gold { left: 14%; top: 42%; width: 120px; background: var(--gold-500); animation: chipFloat 7s ease-in-out .8s infinite; }
.bubble--gold::before { left: -6px; top: -4px; clip-path: polygon(0 0, 100% 40%, 45% 100%); }
.bubble--green { right: -2%; bottom: 14%; width: 116px; background: var(--green-700); animation: chipFloat 8s ease-in-out .3s infinite reverse; }
.bubble--green::before { left: -6px; top: -4px; clip-path: polygon(0 0, 100% 40%, 45% 100%); }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* noise field on the light hero */
.hero__pixels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%); }
.hero__spot { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 400ms ease; mix-blend-mode: multiply;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(224,178,58,.22) 0%, rgba(224,178,58,.08) 40%, transparent 70%); }
.hero__spot.is-on { opacity: 1; }
.hero__dots, .hero__content { position: relative; z-index: 1; }
.hero__dots { position: absolute; }

/* header sits on a light surface now */
.header { color: var(--charcoal); }
.header:not(.is-scrolled) .brand__mark { background: none; box-shadow: none; padding: 0; height: 46px; border-radius: 0; }
.header:not(.is-scrolled) .nav-toggle { color: var(--charcoal); }

@media (max-width: 900px) {
  .hero { padding: 110px 0 64px; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__scene { max-width: 460px; margin-inline: auto; margin-bottom: -64px; }
  .chip--tl { left: 0; } .chip--br { right: 0; }
}
@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
  .chip { padding: .5rem .7rem .5rem .5rem; }
  .chip__lines strong { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .chip, .pill-shape { animation: none; } }

/* ---------- hero scene: reference palette (apricot shape, orange + teal accents) ---------- */
.scene__shape { filter: drop-shadow(0 30px 40px rgba(248,190,104,.35)); }
.chip__bars--gold i { background: #F2673A; }
.chip__bars--gold i:last-child { background: #F79470; opacity: 1; }
.chip__bars--green i { background: #1F7F73; }
.chip__bars--green i:last-child { background: #4CC3B1; opacity: 1; }
.bubble--gold { background: #F2673A; }
.bubble--green { background: #1F7F73; }
.hero__dots span { background: #E8E9E3; }

/* ---------- hero: anchor the scene to the section's bottom edge ---------- */
.hero { padding-bottom: 0; align-items: stretch; }
.hero__content { min-height: calc(100svh - 140px); align-items: end; }
.hero__copy { align-self: center; padding-bottom: 80px; }
.hero__scene { align-self: end; margin-bottom: 0; }
.scene__shape { filter: none; }                        /* no shadow to clip at the edge */
.scene__person { filter: drop-shadow(0 10px 18px rgba(15,61,46,.18)); }
@media (max-width: 900px) {
  .hero__content { min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__scene { margin-bottom: 0; }
}

/* ---------- hero typography + model scale ---------- */
.hero__title {
  font-size: clamp(2.5rem, 1.15rem + 2.9vw, 3.75rem);   /* 40 → 60px: two lines in the column */
  line-height: 1.06;
  letter-spacing: -.03em;
  max-width: none;
  text-wrap: balance;
}
.hero__title .hl { white-space: nowrap; }
.hero__lede {
  margin: 1.5rem 0 0;                                   /* left-aligned with the headline */
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.hero__actions { margin-top: 2rem; }
.badge { margin-bottom: 1.5rem; font-size: .8125rem; }

/* larger figure, intrinsic ratio preserved (height set, width auto) */
.hero__scene { max-width: 640px; aspect-ratio: 10 / 11; }
.scene__shape { inset: 14% 0 4% 6%; height: 82%; }
.scene__person { height: 110%; transform: translateX(-46%); }
.chip--tl { top: 22%; }
.chip--br { bottom: 26%; }
.bubble--gold { top: 46%; }

@media (max-width: 1100px) {
  .hero__scene { max-width: 560px; }
}
@media (max-width: 900px) {
  .hero__title { font-size: clamp(2.5rem, 1.5rem + 5vw, 3.5rem); }
  .hero__title .hl { white-space: normal; }
  .hero__scene { aspect-ratio: 1 / 1; }
  .scene__person { height: 104%; }
}

/* ---------- hero scene: text in chips and bubbles ---------- */
.chip__text { display: flex; flex-direction: column; line-height: 1.25; padding-right: .25rem; }
.chip__text strong { font-size: .875rem; font-weight: 700; }
.chip__text span { font-size: .75rem; font-weight: 600; }
.chip__text--orange strong { color: #F2673A; }
.chip__text--orange span { color: #F79470; }
.chip__text--teal strong { color: #1F7F73; }
.chip__text--teal span { color: #4CC3B1; }
.bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; padding: 0 1.1rem; height: 44px;
  color: #fff; font-size: .8125rem; font-weight: 700; white-space: nowrap;
}

/* ---------- speech bubble tail: soft teardrop, slightly detached ---------- */
.bubble::before {
  width: 18px; height: 18px;
  left: -2px; top: -13px;
  clip-path: none;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(90deg) skew(6deg, 6deg);
}

/* ---------- speech bubble tail: small rounded triangle ---------- */
.bubble::before {
  width: 18px; height: 18px;
  left: -4px; top: -12px;
  border-radius: 0;
  transform: none;
  clip-path: none;
  background-color: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4.2 L18.6 8.8 Q21.6 9.9 19.6 12.3 L11.2 21 Q9.3 22.8 8.4 20.4 L3.3 6.4 Q2.2 3.1 6 4.2 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4.2 L18.6 8.8 Q21.6 9.9 19.6 12.3 L11.2 21 Q9.3 22.8 8.4 20.4 L3.3 6.4 Q2.2 3.1 6 4.2 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- why it matters: scene in the hero's vibe (brand palette) ---------- */
.value__scene { position: relative; width: 100%; max-width: 560px; aspect-ratio: 10 / 11; margin-left: auto; padding: 0; }
.value__scene .scene__shape { position: absolute; inset: 10% 0 6% 6%; width: 94%; height: 84%; filter: none; }
.scene__card {
  position: absolute; left: 20%; bottom: 0; width: 60%; height: 88%;
  border-radius: 26px; overflow: hidden; background: var(--green-200);
  box-shadow: 0 30px 60px -24px rgba(15,61,46,.45), 0 6px 16px rgba(15,61,46,.12);
  border: 5px solid #fff;
}
.scene__card img { width: 100%; height: 100%; object-fit: cover; }
.scene__dot { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: rgba(35,39,43,.05); }

.value__scene .chip--tl { left: -8%; top: 16%; }
.value__scene .chip--br { right: -8%; bottom: 30%; }
.chip__text--green strong { color: var(--green-700); }
.chip__text--green span { color: var(--green-500); }
.chip__text--gold strong { color: var(--gold-600); }
.chip__text--gold span { color: var(--gold-500); }

.bubble--brandgold { left: 4%; top: 46%; background: var(--gold-500); color: var(--green-950); animation: chipFloat 7s ease-in-out .8s infinite; }
.bubble--brandgreen { right: -2%; bottom: 12%; background: var(--green-900); animation: chipFloat 8s ease-in-out .3s infinite reverse; }

@media (max-width: 900px) {
  .value__scene { max-width: 460px; margin: 2rem auto 0; aspect-ratio: 1 / 1; }
  .value__scene .chip--tl { left: 0; } .value__scene .chip--br { right: 0; }
}

/* ---------- hero: secondary applicant link ---------- */
.hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero__alt { display: inline-flex; align-items: center; gap: .4rem; font-size: .9375rem; color: var(--charcoal-600); }
.hero__alt strong { color: var(--green-900); font-weight: 700; }
.hero__alt .lucide { width: 16px; height: 16px; color: var(--green-900); transition: transform var(--dur) var(--ease); }
.hero__alt:hover .lucide { transform: translateX(3px); }

/* ---------- for applicants ---------- */
.applicants { background: var(--green-100); }
.applicants__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.checks--light li { color: var(--charcoal-600); }
.checks--light li strong { color: var(--green-900); }
.applicants .checks { margin-top: 1.75rem; }
.applicants__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }

.roles { display: flex; flex-direction: column; gap: .75rem; background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 1.5rem; box-shadow: var(--shadow-md); }
.roles__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.roles__head strong { font-size: 1.0625rem; color: var(--green-900); }
.roles .placeholder-note { margin: -.25rem 0 .25rem; }
.role {
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 1rem;
  padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 14px;
  transition: border-color var(--dur), background-color var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur);
}
.role:hover { border-color: var(--green-200); background: var(--green-50); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.role__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-900); }
.role__icon .lucide { width: 20px; height: 20px; }
.role__body { display: flex; flex-direction: column; line-height: 1.3; }
.role__body strong { font-size: .95rem; color: var(--charcoal); }
.role__body span { font-size: .8125rem; color: var(--charcoal-600); }
.role__go { width: 18px; height: 18px; color: var(--green-900); transition: transform var(--dur) var(--ease); }
.role:hover .role__go { transform: translateX(3px); }

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

/* ---------- hover nudges via `translate` so GSAP owns `transform` ---------- */
.role { transition: border-color var(--dur), background-color var(--dur), translate var(--dur) var(--ease), box-shadow var(--dur); }
.role:hover { transform: none; translate: 4px 0; }
.card { transition: translate var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.card:hover { transform: none; translate: 0 -4px; }
.value__steps li { transition: translate var(--dur) var(--ease), box-shadow var(--dur); }
.value__steps li:hover { transform: none; translate: 6px 0; }
.features__list li, .stat, .checks li, .footer__grid > * { transition: none; }

/* ---------- hero layout: wider copy column, headline that fits ---------- */
.hero__content { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(2rem, 3vw, 4rem); }
.hero__title { font-size: clamp(2.25rem, 1rem + 2.35vw, 3.1rem); max-width: 22ch; }   /* 36 → ~50px */
.hero__title .hl { white-space: normal; }
.hero__scene { max-width: 560px; }
.chip--tl { left: 0; }
@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.25rem, 1.4rem + 4.5vw, 3rem); max-width: none; }
}

/* ---------- how it works: cutout figure in the scene ---------- */
.value__scene .scene__person--how { left: 50%; transform: translateX(-44%); height: 104%; bottom: 0; }
.value__scene { overflow: visible; }
.value { overflow: hidden; }
.value__grid { align-items: end; }
.value__copy { align-self: center; }
.value__scene { align-self: end; margin-bottom: calc(var(--section-y) * -1); }
@media (max-width: 900px) { .value__scene { margin-bottom: calc(var(--section-y) * -1); } }

/* ---------- hero scene: keep chips off the face, figure flush at the bottom ---------- */
.hero__scene .chip--tl { left: 0; top: 34%; }
.hero__scene .bubble--gold { left: 6%; top: 56%; }
.hero__scene .chip--br { right: -4%; bottom: 24%; }
.hero__scene .bubble--green { right: 0; bottom: 8%; }
.hero__scene .scene__person { transform: translateX(-42%); }

@media (max-width: 900px) {
  .hero__content { display: flex; flex-direction: column; min-height: calc(100svh - 110px); }
  .hero__copy { flex: 1; justify-content: center; padding-bottom: 2rem; }
  .hero__scene { margin-top: auto; margin-bottom: 0; max-width: 440px; }
  .hero__scene .chip--tl { top: 40%; }
  .hero__scene .bubble--gold { top: 60%; left: 2%; }
  .hero__scene .chip--br { right: 0; bottom: 26%; }
  .hero__scene .bubble--green { bottom: 10%; }
}
@media (max-width: 600px) {
  .hero__scene .chip { padding: .45rem .8rem .45rem .45rem; }
  .hero__scene .chip__avatar { width: 34px; height: 34px; }
  .hero__scene .chip__text strong { font-size: .78rem; }
  .hero__scene .chip__text span { font-size: .68rem; }
  .hero__scene .bubble { height: 36px; font-size: .72rem; padding: 0 .8rem; }
}
.nav__cta .lucide { width: 16px; height: 16px; }

/* ---------- hero: larger figure ---------- */
.hero__content { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero__scene { max-width: 660px; aspect-ratio: 10 / 11; }
.hero__scene .scene__shape { inset: 22% 0 4% 8%; height: 74%; width: 92%; }
.hero__scene .scene__person { height: 116%; transform: translateX(-44%); }
@media (max-width: 1100px) { .hero__scene { max-width: 560px; } .hero__scene .scene__person { height: 110%; } }
@media (max-width: 900px)  { .hero__scene { max-width: 460px; } .hero__scene .scene__person { height: 104%; } }

/* ---------- how it works scene: bigger figure, chips off the face, flush into the wave ---------- */
.value { overflow: visible; position: relative; z-index: 2; }
.value__scene { max-width: 620px; aspect-ratio: 10 / 11; margin-bottom: calc(var(--section-y) * -1 - 40px); }
.value__scene .scene__shape { inset: 20% 0 6% 6%; height: 74%; width: 94%; }
.value__scene .scene__person--how { height: 120%; transform: translateX(-42%); }
.value__scene .chip--tl { left: -4%; top: 46%; }
.value__scene .bubble--brandgold { left: 2%; top: 64%; }
.value__scene .chip--br { right: -6%; bottom: 30%; }
.value__scene .bubble--brandgreen { right: 0; bottom: 12%; }
@media (max-width: 900px) {
  .value__scene { max-width: 460px; aspect-ratio: 1 / 1; margin-bottom: calc(var(--section-y) * -1 - 24px); }
  .value__scene .scene__person--how { height: 108%; }
  .value__scene .chip--tl { left: 0; top: 48%; }
  .value__scene .chip--br { right: 0; bottom: 28%; }
}

/* ---------- testimonials: parallax layers ---------- */
.testimonials .band__bg { top: -12%; height: 124%; will-change: transform; }
.testimonials .carousel, .testimonials .section__head { will-change: transform; }

/* ---------- figures dissolve into the page before the section edge ---------- */
.scene__person {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,.6) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,.6) 86%, transparent 100%);
}
.value__scene { margin-bottom: calc(var(--section-y) * -1); }
@media (max-width: 900px) { .value__scene { margin-bottom: calc(var(--section-y) * -1); } }

/* ---------- hero: cursor parallax with depth ---------- */
.hero { perspective: 1400px; }
.hero__scene {
  --px: 0; --py: 0;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--px) * 5deg)) rotateX(calc(var(--py) * -4deg));
  transition: transform 120ms linear;
}
.hero__scene .scene__shape {
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -8px), -40px);
}
.hero__scene .scene__person {
  transform: translateX(-44%) translate3d(calc(var(--px) * 12px), calc(var(--py) * 8px), 30px);
}
.hero__scene .chip {
  transform: translate3d(calc(var(--px) * 26px), calc(var(--py) * 20px), 70px);
}
.hero__scene .bubble {
  transform: translate3d(calc(var(--px) * 34px), calc(var(--py) * 26px), 90px);
}
.hero__dots span { transform: translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 5px), 0); }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .hero__scene, .hero__scene .scene__shape, .hero__scene .chip, .hero__scene .bubble { transform: none; }
  .hero__scene .scene__person { transform: translateX(-44%); }
}

/* hero figure: no bottom fade */
.hero__scene .scene__person { -webkit-mask-image: none; mask-image: none; }

/* ---------- about band: real wave edge with transparent area above it ---------- */
.about { background: transparent; }
.about::before {
  content: ""; position: absolute; left: 0; right: 0; top: 69px; bottom: 0; z-index: 0;
  background: var(--green-900) url('../images/pattern-dark.png') repeat;
}
.about > .container { position: relative; z-index: 1; }
.about .wave--solid { z-index: 1; }

/* how it works figure: no fade, runs behind the wave */
.value { z-index: auto; }
.value__scene .scene__person--how { -webkit-mask-image: none; mask-image: none; }
.value__scene { margin-bottom: calc(var(--section-y) * -1 - 70px); }
@media (max-width: 900px) { .value__scene { margin-bottom: calc(var(--section-y) * -1 - 70px); } }
.about::before { top: 60px; }              /* overlaps the wave graphic; stays below the curve's lowest point */
.about .wave--solid { height: 72px; top: -1px; }

/* ---------- top notice bar ---------- */
:root { --topbar-h: 36px; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding-inline: var(--gutter);
  background: var(--green-950); color: rgba(255,255,255,.85);
  font-size: .8125rem; font-weight: 500; text-align: center;
}
.topbar strong { color: var(--gold-300); font-weight: 700; }
.topbar .lucide { width: 15px; height: 15px; color: var(--gold-300); flex: none; }
.header { top: var(--topbar-h); }
.hero { padding-top: calc(140px + var(--topbar-h)); }
.hero__content { min-height: calc(100svh - 140px - var(--topbar-h)); }
@media (max-width: 900px) {
  .topbar { font-size: .75rem; }
  .hero { padding-top: calc(110px + var(--topbar-h)); }
  .hero__content { min-height: calc(100svh - 110px - var(--topbar-h)); }
  .nav { inset: calc(84px + var(--topbar-h)) var(--gutter) auto var(--gutter); }
}

/* ---------- preloader (minimal) ---------- */
html.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; }
.loader__dots { display: flex; gap: 10px; }
.loader__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--charcoal);
  animation: dotBounce 1.1s ease-in-out infinite;
}
.loader__dots span:nth-child(2) { animation-delay: .15s; }
.loader__dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dotBounce { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .loader__dots span { animation: none; } }
