/* ==========================================================================
   The industry-agnostic homepage (Ivan, 2026-11-20). Loaded after styles.css and
   home-hero-wall.css. Every rule is scoped to an .ha- class or body.ha-page, so no
   other page that loads styles.css is affected. Same palette and type as /plans/
   and /blackfriday/ (Space Grotesk + Inter, ink, white, orange, green checks).
   ========================================================================== */

body.ha-page {
  --ha-ink: #141210;
  --ha-ink-2: #1C1917;
  --ha-line: #2E2A27;
  --ha-paper: #FFFFFF;
  --ha-mist: #F2F4F7;
  --ha-text: #1D2939;
  --ha-text-2: #475467;
  --ha-on-ink: #E7E5E4;
  --ha-on-ink-2: #A8A29E;
  --ha-orange: #FF6210;
  --ha-orange-ink: #C2410C;
  --ha-orange-soft: #FF8A4C;
  background: var(--ha-ink);
}
.ha-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ha-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ha-page main :focus-visible { outline: 3px solid var(--ha-orange); outline-offset: 3px; border-radius: 4px; }

.ha-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .ha-wrap { padding: 0 16px; } }

/* ---------- type ---------- */
.ha-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: none;
  text-wrap: balance;
  color: inherit;
}
.ha-h2--on-ink { color: #fff; }
.ha-head { max-width: 780px; margin-bottom: 48px; }
.ha-lede { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.65; color: var(--ha-text-2); max-width: 64ch; }
.ha-sec--ink .ha-lede { color: var(--ha-on-ink-2); }
.ha-sys__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 1.6rem + 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
  color: inherit;
  text-transform: none;
}
.ha-say {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ha-orange-ink);
  max-width: 24ch;
  text-wrap: balance;
}
.ha-sec--ink .ha-say { color: var(--ha-orange-soft); }
.ha-link { color: var(--ha-orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ha-link:hover { color: var(--ha-text); }
.ha-link--on-ink { color: var(--ha-orange-soft); }
.ha-link--on-ink:hover { color: #fff; }
.ha-fine { margin: 24px 0 0; font-size: 0.875rem; color: var(--ha-text-2); }

/* ---------- buttons ---------- */
.ha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 12px;
  font: 700 1.175rem/1.2 var(--font-heading);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.ha-btn:active { transform: translateY(1px); }
.ha-btn--primary { background: var(--ha-orange); color: #fff; box-shadow: 0 10px 30px rgba(255, 98, 16, 0.28); }
.ha-btn--primary:hover { background: #E8560B; }
.ha-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.ha-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, 0.06); }
.ha-btn--ink { background: var(--ha-ink); color: #fff; }
.ha-btn--ink:hover { background: #2a2623; }
.ha-btn--onorange { color: var(--ha-ink); box-shadow: inset 0 0 0 2px var(--ha-ink); }
.ha-btn--onorange:hover { background: rgba(20, 18, 16, 0.08); }

/* ---------- lists ---------- */
.ha-list { margin: 0; padding: 0; list-style: none; }
.ha-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.075rem; line-height: 1.45; margin: 0 0 12px; }
.ha-i { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.ha-incl { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 820px) { .ha-incl { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ha-incl__h { margin: 0 0 14px; font: 600 0.95rem/1.3 var(--font-body); color: var(--ha-text-2); letter-spacing: 0; text-transform: none; }
.ha-sec--ink .ha-incl__h { color: var(--ha-on-ink-2); }
.ha-split__text .ha-incl__h { margin-top: 32px; }
.ha-incl .ha-link { display: inline-block; margin-top: 10px; }

/* ---------- sections ---------- */
.ha-sec { padding: clamp(72px, 9vw, 128px) 0; }
.ha-sec--paper { background: var(--ha-paper); color: var(--ha-text); }
.ha-sec--mist { background: var(--ha-mist); color: var(--ha-text); }
.ha-sec--ink { background: var(--ha-ink); color: var(--ha-on-ink); }
.ha-sec--ink .ha-sys__name, .ha-sec--ink .ha-h2 { color: #fff; }
.ha-sec--ink .ha-link { color: var(--ha-orange-soft); }
.ha-sec--ink .ha-link:hover { color: #fff; }

/* ==========================================================================
   HERO: "The #1 lead system for" + an industry that keeps sliding through
   ========================================================================== */
.ha-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 36px + 48px) 0 104px;
  background: var(--ha-ink);
  color: #fff;
  overflow: hidden;
}
.ha-hero__inner { position: relative; z-index: 1; width: 100%; }
/* A lighter wall than the old homepage (Ivan, 2026-11-20: "lighter, especially at the top... really dark on the
   left"). The whole wall is now only lightly dimmed, and the dark needed to read the words sits in a soft patch
   behind the words themselves instead of covering the left half of the screen. */
.ha-hero .hero-wall__shade {
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.5) 0%, rgba(20, 18, 16, 0.44) 40%, rgba(20, 18, 16, 0.32) 72%, rgba(20, 18, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(20, 18, 16, 0.58) 0%, rgba(20, 18, 16, 0.44) 8%, rgba(20, 18, 16, 0) 17%, rgba(20, 18, 16, 0) 84%, rgba(20, 18, 16, 1) 100%);
}
.ha-hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -16%; right: -10%; top: -14%; bottom: -14%;
  background: radial-gradient(closest-side, rgba(20, 18, 16, 0.82) 0%, rgba(20, 18, 16, 0.74) 46%, rgba(20, 18, 16, 0.42) 76%, rgba(20, 18, 16, 0) 100%);
}
@media (max-width: 767px) {
  /* phones: the words cover the whole screen, so the dimming stays even, just lighter than before */
  .ha-hero .hero-wall__shade { background: linear-gradient(180deg, rgba(20, 18, 16, 0.78) 0%, rgba(20, 18, 16, 0.64) 16%, rgba(20, 18, 16, 0.62) 72%, rgba(20, 18, 16, 1) 100%); }
  .ha-hero__inner::before { display: none; }
}
/* the menu sits on the lighter wall until the page scrolls, so its words get a dark halo */
.ha-page .header:not(.scrolled) .header__nav a,
.ha-page .header:not(.scrolled) .header__phone { text-shadow: 0 1px 2px rgba(20, 18, 16, 0.95), 0 0 12px rgba(20, 18, 16, 0.85); }
.ha-pick { margin-bottom: 28px; }
.ha-pick select { font-size: 0.95rem; }
.ha-pick label { color: #D6D3D1; }
.ha-h1 {
  margin: 0 0 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.15rem + 5.3vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.042em;
  color: #fff;
  text-transform: none;
  text-shadow: 0 2px 26px rgba(20, 18, 16, 0.6);
}
.ha-h1__lead { display: block; text-wrap: balance; }
.ha-rot {
  display: grid;
  overflow: hidden;
  color: var(--ha-orange);
  padding: 0.04em 0 0.12em;
  margin-bottom: -0.12em;
}
.ha-rot__item {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  transform: translateY(0.62em);
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 380ms ease;
  text-wrap: balance;
}
.ha-rot__item.is-in { opacity: 1; transform: none; }
.ha-rot__item.is-out { opacity: 0; transform: translateY(-0.62em); }
.ha-rot--still .ha-rot__item { transition: none; }
.ha-hero__lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.08rem, 0.95rem + 0.45vw, 1.32rem);
  line-height: 1.55;
  color: #E7E5E4;
  text-shadow: 0 1px 2px rgba(20, 18, 16, 0.95), 0 0 14px rgba(20, 18, 16, 0.9), 0 0 28px rgba(20, 18, 16, 0.7);
}
.ha-hero__sys { display: grid; gap: 14px; margin: 34px 0 36px; padding: 0; list-style: none; max-width: 900px; }
@media (min-width: 900px) { .ha-hero__sys { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ha-hero__sys a {
  display: block;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  transition: border-color 150ms ease;
}
.ha-hero__sys a:hover { border-top-color: var(--ha-orange); }
.ha-hero__sys b { display: block; font: 700 1.25rem/1.2 var(--font-heading); letter-spacing: -0.01em; text-shadow: 0 1px 2px rgba(20, 18, 16, 0.95), 0 0 14px rgba(20, 18, 16, 0.9); }
.ha-hero__sys span { display: block; margin-top: 4px; font-size: 0.98rem; line-height: 1.45; color: #D6D3D1; text-shadow: 0 1px 2px rgba(20, 18, 16, 0.95), 0 0 12px rgba(20, 18, 16, 0.85); }
.ha-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 600px) {
  .ha-hero { padding-top: calc(var(--header-height) + 36px + 28px); padding-bottom: 72px; }
  .ha-hero__cta .ha-btn { width: 100%; }
  .ha-hero__sys { margin: 28px 0; }
}

/* ==========================================================================
   INDUSTRY BAND: two rows of industries moving in opposite directions
   ========================================================================== */
.ha-band { background: var(--ha-ink-2); border-block: 1px solid var(--ha-line); padding: 26px 0; overflow: hidden; }
.ha-band__row { overflow: hidden; }
.ha-band__row + .ha-band__row { margin-top: 10px; }
.ha-band__track { display: flex; width: max-content; animation: ha-marq var(--ha-dur, 60s) linear infinite; }
.ha-band__row--rev .ha-band__track { animation-direction: reverse; }
.ha-band:hover .ha-band__track, .ha-band:focus-within .ha-band__track { animation-play-state: paused; }
.ha-band__item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  white-space: nowrap;
  font: 700 clamp(1.5rem, 1rem + 2vw, 2.6rem)/1.15 var(--font-heading);
  letter-spacing: -0.03em;
  color: #fff;
}
.ha-band__item::after { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid var(--ha-orange); flex: none; }
.ha-band__item--line { color: transparent; -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.6); }
a.ha-band__item:hover { color: var(--ha-orange); -webkit-text-stroke: 0; }
@keyframes ha-marq { to { transform: translateX(-50%); } }

/* ==========================================================================
   THE THREE SYSTEMS AT A GLANCE
   ========================================================================== */
.ha-trio { display: grid; gap: 40px; }
@media (min-width: 900px) { .ha-trio { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ha-trio__item { display: flex; flex-direction: column; color: var(--ha-text); }
.ha-trio__media { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #0b1017; box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16); }
.ha-trio__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.ha-trio__media--sites img { object-position: top center; }
.ha-trio__item:hover .ha-trio__media img { transform: scale(1.035); }
.ha-trio__name { margin-top: 22px; font: 700 2rem/1 var(--font-heading); letter-spacing: -0.035em; }
.ha-trio__job { margin-top: 10px; font: 600 1.1rem/1.3 var(--font-heading); color: var(--ha-orange-ink); }
.ha-trio__text { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--ha-text-2); }
.ha-trio__more { margin-top: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; color: var(--ha-text); }
.ha-trio__item:hover .ha-trio__more { color: var(--ha-orange-ink); }

/* ==========================================================================
   FILMS (rendered three.js loops; /js/home-any.js adds one source by viewport)
   ========================================================================== */
.ha-film { margin: 0; }
.ha-film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0b1017; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.ha-sec--paper .ha-film__frame { box-shadow: 0 24px 60px rgba(16, 24, 40, 0.22); }
.ha-film__poster, .ha-film__poster img, .ha-film__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ha-film__video { opacity: 0; transition: opacity 700ms ease; }
.ha-film__video.is-playing { opacity: 1; }
.ha-film__note {
  position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 4px 9px; border-radius: 8px;
  background: rgba(12, 14, 18, 0.66); color: rgba(255, 255, 255, 0.82); font: 600 0.75rem/1.2 var(--font-body);
}
.ha-film__tag {
  position: absolute; top: 16px; margin: 0; padding: 10px 14px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(12, 14, 18, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff;
}
.ha-film__tag b { font: 700 1.05rem/1.2 var(--font-heading); letter-spacing: -0.01em; }
.ha-film__tag span { font: 600 0.95rem/1.2 var(--font-body); color: var(--ha-orange-soft); }
.ha-film__tag--a { left: 16px; }
.ha-film__tag--b { left: calc(50% + 16px); }
.ha-film__tag--a b { color: #CBD5E1; }
.ha-film__tag--b b { color: var(--ha-orange); }
.ha-film__tag span, .ha-film__tag--a span { color: #fff; }
@media (max-width: 767px) {
  .ha-film__frame { aspect-ratio: 9 / 16; border-radius: 16px; }
  .ha-film--side .ha-film__frame { max-width: 460px; margin: 0 auto; }
  .ha-film__tag { top: 12px; padding: 8px 11px; }
  .ha-film__tag--a { left: 12px; }
  .ha-film__tag--b { left: 12px; top: calc(50% + 12px); }
  .ha-film__tag b { font-size: 0.98rem; }
}
/* the key under the Go Grow film: what a pin, a blue home and an orange pin mean */
.ha-key { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.ha-key li { display: flex; align-items: center; gap: 9px; font-size: 0.98rem; line-height: 1.35; color: var(--ha-on-ink); }
.ha-key__pin { width: 15px; height: 20px; flex: none; }
.ha-key__home { width: 16px; height: 16px; flex: none; border-radius: 50%; background: #5B8DEF; box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.28); }
.ha-tally { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.ha-tally__side { margin: 0; }
.ha-tally__lab { display: block; font: 600 0.9rem/1.3 var(--font-body); color: var(--ha-on-ink-2); }
.ha-tally__side b { display: block; margin-top: 4px; font: 700 clamp(2rem, 1.3rem + 2.2vw, 3.2rem)/1 var(--font-heading); letter-spacing: -0.04em; }
.ha-tally__side--a b { color: #CBD5E1; }
.ha-tally__side--b b { color: var(--ha-orange); }
.ha-tally__text { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.5; color: var(--ha-on-ink-2); max-width: 44ch; }
@media (max-width: 600px) { .ha-tally { grid-template-columns: 1fr; gap: 18px; } }
.ha-cap { margin: 22px 0 0; font-size: 0.95rem; line-height: 1.55; color: var(--ha-text-2); max-width: 80ch; }
.ha-cap b { color: var(--ha-text); }
.ha-sec--ink .ha-cap { color: var(--ha-on-ink-2); }
.ha-sec--ink .ha-cap b { color: #fff; }

.ha-split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) {
  .ha-split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .ha-film--side { position: sticky; top: calc(var(--header-height) + 36px + 24px); }
}

/* The split film's two headings sit above the film: side by side over each half on wide screens, stacked on phones
   (old way = top half, new way = bottom half). On phones a short name tag inside each half says which is which;
   it stays small because a wider tag covered a pinned buyer at the top of the picture. */
.ha-film__heads { display: grid; gap: 14px; margin: 0 0 16px; }
.ha-film__head { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ha-film__head b { font: 700 clamp(1.5rem, 1rem + 1.3vw, 2.2rem)/1.1 var(--font-heading); letter-spacing: -0.03em; }
.ha-film__head span { font: 600 1.08rem/1.3 var(--font-body); color: var(--ha-on-ink); }
.ha-film__head--a b { color: #CBD5E1; }
.ha-film__head--b b { color: var(--ha-orange); }
@media (min-width: 768px) {
  .ha-film__heads { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
  .ha-film--split .ha-film__tag { display: none; }
}
@media (max-width: 767px) {
  .ha-film--split .ha-film__tag { top: 10px; left: 10px; padding: 6px 10px; border-radius: 9px; }
  .ha-film--split .ha-film__tag--b { top: calc(50% + 10px); }
  .ha-film--split .ha-film__tag b { font-size: 0.95rem; }
  .ha-film--split .ha-film__tag span { display: none; }
  /* bottom right of the top half: woods only in the tall cut, so the note covers nothing that matters */
  .ha-film--split .ha-film__note { left: auto; right: 10px; bottom: calc(50% + 8px); }
}

/* ==========================================================================
   GO CONVERT: a tilted, drifting wall of real websites we built
   ========================================================================== */
.ha-wall {
  position: relative;
  height: clamp(380px, 48vw, 640px);
  overflow: hidden;
  margin: 0 0 36px;
  perspective: 1800px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.ha-wall__plane {
  position: absolute;
  left: -18%; right: -18%; top: -14%; bottom: -14%;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
  transform: rotateX(20deg) rotateY(-14deg) rotateZ(7deg);
  transform-origin: 50% 50%;
}
.ha-wall__row { overflow: visible; }
/* Each row holds several copies of the same set of sites and slides left by exactly ONE copy's width, then starts
   again, so it never shows an end (Ivan, 2026-11-20: "continuous scroll the entire time"). The script sets the
   exact width and a speed in pixels a second; without it the row has four copies and moves a quarter of its length. */
.ha-wall__track { display: flex; width: max-content; animation: ha-wall var(--ha-wdur, 56s) linear infinite; }
.ha-wall__row--2 .ha-wall__track { animation-direction: reverse; }
.ha-wall.is-off .ha-wall__track { animation-play-state: paused; }
@keyframes ha-wall { to { transform: translateX(var(--ha-wshift, -25%)); } }
.ha-wall__set { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.ha-tile { margin: 0; flex: none; overflow: hidden; background: #fff; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); }
.ha-tile img { width: 100%; height: auto; }
.ha-tile--desk { width: clamp(300px, 30vw, 470px); border-radius: 12px; }
.ha-tile__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #262220; }
.ha-tile__bar i { width: 8px; height: 8px; border-radius: 50%; background: #4A4542; }
.ha-tile__bar em { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: #171513; color: #C9C5C2; font: 500 0.72rem/1.4 var(--font-body); font-style: normal; white-space: nowrap; }
.ha-tile--phone { width: clamp(118px, 10.5vw, 172px); border-radius: 24px; border: 6px solid #0C0B0A; }
.ha-who { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ha-who li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--ha-line); color: var(--ha-on-ink); font-size: 0.92rem; }

/* ==========================================================================
   GO SCALE: the one saturated band
   ========================================================================== */
.ha-scale { background: var(--ha-orange); color: var(--ha-ink); padding: clamp(64px, 8vw, 112px) 0; }
.ha-scale__sum, .ha-scale__is { display: block; }
.ha-scale__formula {
  margin: 0;
  font: 700 clamp(2rem, 0.9rem + 3.7vw, 4rem)/1.06 var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--ha-ink);
  text-transform: none;
  text-wrap: balance;
}
.ha-scale__formula i { font-style: normal; color: rgba(20, 18, 16, 0.5); padding: 0 0.04em; }
.ha-scale__formula strong { color: #fff; }
.ha-scale__text { margin: 22px 0 0; max-width: 60ch; font-size: 1.2rem; line-height: 1.55; color: var(--ha-ink); }
.ha-scale__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
@media (max-width: 600px) { .ha-scale__cta .ha-btn { width: 100%; } }

/* ==========================================================================
   RESULTS
   ========================================================================== */
.ha-cases { display: grid; gap: 36px; }
@media (min-width: 900px) { .ha-cases { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ha-case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ha-case__ind { margin: 18px 0 0; font: 600 0.95rem/1.3 var(--font-body); color: var(--ha-text-2); }
.ha-case__num { margin: 8px 0 0; font: 700 clamp(1.6rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--font-heading); letter-spacing: -0.03em; color: var(--ha-text); }
.ha-case__text { margin: 10px 0 0; font-size: 1rem; line-height: 1.6; color: var(--ha-text-2); }
.ha-case sup { font-size: 0.55em; }

/* ---------- reviews (cards from styles.css) ---------- */
.ha-reviews .ha-wrap { margin-bottom: 36px; }
.ha-reviews .ha-h2 { color: var(--ha-text); }
.ha-reviews .testimonials-marquee__track { align-items: center; }

/* ---------- industries (cards from styles.css) ---------- */
.ha-ind { margin-top: 0; }
@media (min-width: 1024px) { .ha-page .industries-grid.ha-ind { grid-template-columns: repeat(3, 1fr); } }

/* ---------- about ---------- */
.ha-about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .ha-about { grid-template-columns: 5fr 7fr; gap: 64px; } }
.ha-about__img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18); }
.ha-values { display: grid; gap: 20px 28px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .ha-values { grid-template-columns: 1fr 1fr; } }
.ha-values b { display: block; font: 700 1.1rem/1.25 var(--font-heading); color: var(--ha-text); }
.ha-values span { display: block; margin-top: 4px; font-size: 0.97rem; line-height: 1.5; color: var(--ha-text-2); }

/* ---------- FAQ (accordion from styles.css) ---------- */
.ha-faq .ha-h2 { color: var(--ha-text); margin-bottom: 36px; }
.ha-faq .faq { margin-left: 0; margin-right: 0; }

/* ---------- apply ---------- */
.ha-apply__text { margin: 16px 0 24px; color: var(--ha-on-ink-2); font-size: 1.0625rem; line-height: 1.7; }
.ha-steps { margin: 8px 0 28px; padding: 0; list-style: none; counter-reset: ha-step; display: grid; gap: 18px; }
.ha-steps li { counter-increment: ha-step; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.ha-steps li::before {
  content: counter(ha-step);
  grid-row: span 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 98, 16, 0.14); color: var(--ha-orange-soft);
  font: 700 1rem/1 var(--font-heading);
}
.ha-steps b { color: #fff; font: 700 1.08rem/1.3 var(--font-heading); }
.ha-steps span { color: var(--ha-on-ink-2); font-size: 0.98rem; line-height: 1.5; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ha-band__track, .ha-wall__track { animation: none; }
  .ha-band__row { overflow-x: auto; }
  .ha-rot__item { transition: none; }
  .ha-trio__media img { transition: none; }
}

/* ==========================================================================
   ROUND 3 (Ivan, 2026-11-20, going live)
   ========================================================================== */

/* ---------- Go Close: a sourced research figure ---------- */
.ha-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 22px;
  align-items: start;
  margin: 30px 0 6px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #FFF4ED;
  box-shadow: inset 0 0 0 1.5px #FFD3B8;
}
.ha-stat__num { grid-row: span 2; margin: 0; font: 700 clamp(3.4rem, 2.4rem + 3vw, 4.6rem)/0.9 var(--font-heading); letter-spacing: -0.05em; color: var(--ha-orange-ink); }
.ha-stat__text { margin: 0; font-size: 1.04rem; line-height: 1.55; color: var(--ha-text); }
.ha-stat__text b { font-weight: 700; }
.ha-stat__src { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.45; color: var(--ha-text-2); }
.ha-stat__src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ha-stat__src a:hover { color: var(--ha-orange-ink); }
@media (max-width: 520px) { .ha-stat { grid-template-columns: 1fr; } .ha-stat__num { grid-row: auto; } }

/* ---------- Go Convert: the AI brain, three points ---------- */
.ha-brain { display: grid; gap: 22px; margin: 6px 0 48px; padding: 0; list-style: none; counter-reset: ha-brain; }
@media (min-width: 900px) { .ha-brain { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ha-brain li { counter-increment: ha-brain; padding-top: 16px; border-top: 2px solid var(--ha-orange); }
.ha-brain b { display: block; font: 700 1.3rem/1.2 var(--font-heading); letter-spacing: -0.015em; color: #fff; }
.ha-brain span { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.55; color: var(--ha-on-ink-2); }
.ha-wall__intro { margin: 0 0 6px; font: 600 1.05rem/1.4 var(--font-body); color: var(--ha-on-ink); }

/* ---------- Reviews: a lively, dark background behind the white cards ---------- */
.ha-reviews { position: relative; isolation: isolate; overflow: hidden; background: var(--ha-ink); color: #fff; }
.ha-reviews::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -2;
  background: url('/assets/hero-wall/lsg-wall-wide-poster.webp') center / cover no-repeat;
  filter: blur(3px) saturate(1.15);
  transform: scale(1.04);
}
.ha-reviews::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 15% 10%, rgba(255, 98, 16, 0.28), rgba(255, 98, 16, 0) 70%),
    radial-gradient(50% 60% at 90% 95%, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0) 70%),
    linear-gradient(180deg, rgba(20, 18, 16, 0.86), rgba(20, 18, 16, 0.72) 45%, rgba(20, 18, 16, 0.86));
}
.ha-reviews .ha-h2 { color: #fff; }
@media (max-width: 767px) { .ha-reviews::before { background-image: url('/assets/hero-wall/lsg-wall-tall-poster.webp'); } }

/* ---------- Results from real businesses: an always-moving row of cards ---------- */
.ha-res {
  overflow: hidden;
  padding: 8px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ha-res__track { display: flex; width: max-content; animation: ha-marq var(--ha-dur, 110s) linear infinite; }
.ha-res:hover .ha-res__track, .ha-res:focus-within .ha-res__track { animation-play-state: paused; }
.ha-rcard {
  flex: none;
  width: clamp(280px, 26vw, 350px);
  margin-right: 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 0 rgba(16, 24, 40, 0.04), 0 14px 34px rgba(16, 24, 40, 0.13);
  display: flex;
  flex-direction: column;
}
.ha-rcard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #0b1017; }
.ha-rcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ha-rcard__who { margin: 0; font: 600 0.88rem/1.3 var(--font-body); color: var(--ha-text-2); }
.ha-rcard__num { margin: 8px 0 0; font: 700 clamp(1.8rem, 1.4rem + 1vw, 2.3rem)/1 var(--font-heading); letter-spacing: -0.035em; color: var(--ha-orange-ink); }
.ha-rcard__what { margin: 4px 0 0; font: 600 1rem/1.3 var(--font-heading); color: var(--ha-text); }
.ha-rcard__text { margin: 12px 0 0; font-size: 0.97rem; line-height: 1.55; color: var(--ha-text-2); white-space: normal; }
.ha-rcard__src { margin: auto 0 0; padding-top: 14px; font-size: 0.8rem; line-height: 1.4; color: #667085; }
#case-studies .ha-fine { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .ha-res__track { animation: none; }
  .ha-res { overflow-x: auto; }
}

/* review cards keep their own dark text on the dark section (names had inherited the section's white) */
.ha-reviews .testimonial-card { color: var(--ha-text); }
/* one review is far longer than the rest and stretched the whole band: show 7 lines, all of it on hover or focus
   (the band pauses on hover, so it can be read) */
.ha-reviews .testimonial-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.ha-reviews .testimonial-card:hover .testimonial-card__text,
.ha-reviews .testimonial-card:focus-within .testimonial-card__text { -webkit-line-clamp: unset; }
/* invisible landing points for old homepage links (/#services, /#what-you-get, /#cta-final), clear of the fixed header */
.ha-anchor { position: relative; top: calc(-1 * (var(--header-height) + 36px)); height: 0; }
