/* =========================================================
   NorthStar Integrated Solutions — shared stylesheet
   Built from Figma "Design System | phase 1 screens"
   Desktop design width: 1440px. Mobile-first responsive.
   ========================================================= */

:root {
  /* Colours */
  --navy-950: #0b1620;
  --navy-900: #041722;
  --navy-800: #102331;
  --ink: #141c24;
  --gold-600: #c99129;
  --gold-700: #bd7a1f;
  --gold-500: #b38a3a;
  --cream-200: #f5eedc;
  --cream-100: #faf5e8;
  --cream-50: #fbfaf6;
  --white: #ffffff;
  --text: #141c24;
  --text-muted: #575c5e;
  --text-body: #4a4d4a;
  --text-on-dark: #b8c2c7;
  --border: #e3e0d6;
  --border-soft: #e2ddd2;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(56px, 7vw, 96px);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.section { padding-block: var(--section-y); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.eyebrow--tracked { letter-spacing: 0.12em; color: var(--gold-700); }

.h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}
.h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.17;
  font-weight: 700;
  color: var(--navy-950);
}
.h2--lg { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; }
.h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.36;
  font-weight: 600;
  color: var(--navy-950);
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}
.body { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--text-body); }
.text-gold { color: var(--gold-600); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; }
.btn--dark { background: var(--navy-950); color: var(--white); }
.btn--dark:hover { background: var(--navy-800); }
.btn--outline { background: var(--white); color: var(--navy-950); border-color: #e0ded6; }
.btn--outline:hover { border-color: var(--navy-950); }
.btn--gold { background: var(--gold-600); color: var(--white); }
.btn--gold:hover { background: var(--gold-700); }
.btn--square { border-radius: 9px; }
.btn--sm { min-height: 48px; padding: 0 24px; }
.arrow { font-size: 1.05em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: var(--navy-950);
}
.link-arrow:hover { color: var(--gold-600); }

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: #eeece5; box-shadow: 0 2px 12px rgba(11, 22, 32, .05); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 24px;
}
.nav__logo img { width: 184px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: 18px; font-weight: 600; color: var(--ink);
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--gold-600); }
.nav__links a[aria-current="page"] { color: var(--gold-600); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 38px; height: 2px; border-radius: 1px; background: var(--gold-600);
}
.nav__cta { margin-left: 80px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; margin-right: -10px;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy-950); border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .nav__links a { font-size: 16px; }
  .nav__cta { margin-left: 28px; }
}
@media (max-width: 960px) {
  .nav { height: 72px; }
  .nav__logo img { width: 150px; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 72px 0 0 0;
    background: var(--white);
    padding: 24px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 8px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-open .nav__menu { transform: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__links a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid #eeece5; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__menu .nav__cta { display: inline-flex; margin: 24px 0 0; align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) {
  .nav__menu { display: flex; align-items: center; flex: 1; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-950); color: var(--text-on-dark); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.5fr;
  gap: 40px;
  padding-block: 64px 56px;
}
.footer__brand img { width: 184px; margin-bottom: 26px; }
.footer__brand p { font-size: 18px; line-height: 1.5; max-width: 310px; }
.footer__title { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.footer__list li { font-size: 18px; line-height: 1.65; }
.footer__list a:hover, .footer__legal a:hover { color: var(--white); }
.footer__contact li { font-size: 18px; line-height: 1.5; margin-bottom: 24px; word-break: break-word; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 32px; font-size: 18px; line-height: 1.4;
}
.footer__legal { display: flex; gap: 32px; }
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; font-size: 16px; }
  .footer__list li, .footer__contact li, .footer__brand p { font-size: 16px; }
}

/* =========================================================
   SHARED SECTIONS (used on several pages)
   ========================================================= */

/* --- Industries strip --- */
.industries { background: var(--cream-200); padding-block: 40px 44px; }
.industries__title {
  text-align: center; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700;
  color: var(--text-muted); margin-bottom: 36px;
}
.industries__list { display: grid; grid-template-columns: repeat(6, 1fr); }
.industries__item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 600; color: var(--ink); text-align: center;
  padding-inline: 8px;
}
.industries__item img { width: 50px; height: 50px; }
@media (max-width: 860px) {
  .industries__list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 480px) {
  .industries__list { grid-template-columns: repeat(2, 1fr); }
  .industries__item { font-size: 16px; }
}

/* --- Stats bar --- */
.stats {
  background: var(--navy-800); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 52px 24px;
}
.stats__item { text-align: center; padding: 0 16px; position: relative; }
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: 0; top: -20px; bottom: -20px;
  width: 1px; background: rgba(255, 255, 255, .18);
}
.stats__num { font-size: clamp(40px, 3.8vw, 55px); font-weight: 700; line-height: 1; color: var(--white); margin-bottom: 14px; }
.stats__label { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: #dfe5e8; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; padding: 40px 16px; }
  .stats__item:nth-child(3)::before { display: none; }
}

/* --- Final CTA banner --- */
.cta-banner { position: relative; padding-left: 45px; }
.cta-banner__circle {
  position: absolute; left: 0; top: 100px; width: 115px; height: 115px;
  border-radius: 50%; background: var(--gold-600);
}
.cta-banner__panel {
  position: relative; display: grid; grid-template-columns: 470px 1fr;
  background: var(--cream-100); border-radius: 34px; overflow: hidden; min-height: 260px;
}
.cta-banner__img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.cta-banner__body { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-banner__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; font-weight: 700; color: var(--navy-950); margin-bottom: 10px; }
.cta-banner__text { font-size: 18px; line-height: 1.55; color: var(--text-body); margin-bottom: 22px; }
.cta-banner .btn { background: var(--navy-800); }
.cta-banner__dots { position: absolute; right: 40px; bottom: 40px; width: 71px; }
@media (max-width: 960px) {
  .cta-banner { padding-left: 0; }
  .cta-banner__circle { display: none; }
  .cta-banner__panel { grid-template-columns: 1fr; }
  .cta-banner__img { height: 240px; }
  .cta-banner__body { padding: 32px 24px 40px; }
  .cta-banner__dots { display: none; }
}

/* --- Generic page hero (inner pages) --- */
.page-hero { padding-block: clamp(48px, 6vw, 96px); }

/* --- Cards --- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}

/* --- Forms (contact page) --- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 16px; font-weight: 600; color: var(--navy-950); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--white);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(201, 145, 41, .15);
}

/* =========================================================
   HOME PAGE
   ========================================================= */

/* --- Hero --- */
.home-hero { padding-block: 24px 40px; overflow: hidden; }
.home-hero__grid {
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  align-items: center; gap: 32px;
}
.home-hero__title { margin-bottom: 24px; }
.home-hero__lead { max-width: 540px; margin-bottom: 36px; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 64px; }
.home-hero__features { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 20px; }
.home-hero__feature img { width: 38px; height: 38px; margin-bottom: 14px; }
.home-hero__feature p { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.home-hero__media { position: relative; margin-right: calc(-1 * var(--gutter) + 33px); }
.home-hero__media img { width: 100%; max-width: 779px; margin-left: auto; }
.home-hero__dots {
  position: absolute; right: -6px; top: 52%;
  display: grid; grid-template-columns: repeat(4, 5px); gap: 15px;
  z-index: -1;
}
.home-hero__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-600); opacity: .6; }
@media (max-width: 960px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__media { margin: 0 auto; max-width: 560px; order: -1; }
  .home-hero__actions { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .home-hero__actions .btn { flex: 1 1 100%; }
  .home-hero__features { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .home-hero__feature p { font-size: 15px; }
}

/* --- Why NorthStar --- */
.why {
  position: relative; min-height: 724px; overflow: hidden;
  background: var(--cream-50);
  display: flex; align-items: center;
}
.why__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.why__accent {
  position: absolute; right: 0; top: 150px; width: 78px; height: 300px;
  background: rgba(199, 140, 54, .5);
}
.why__inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 523px 248px 1fr 388px;
  align-items: start; padding-block: 52px 29px;
}
.why__panel {
  background: rgba(253, 252, 249, .97);
  padding: 58px 70px 60px;
  min-height: 621px;
  display: flex; flex-direction: column;
}
.why__panel .eyebrow { font-size: 16px; }
.why__title { font-size: clamp(30px, 2.7vw, 38px); line-height: 1.12; font-weight: 700; color: var(--navy-900); margin-bottom: 76px; max-width: 320px; }
.why__text { font-size: 18px; line-height: 1.5; color: #474f57; max-width: 318px; }
.why__rule { width: 74px; height: 1.5px; background: var(--gold-700); margin: auto 0 24px; }
.why__tagline { font-size: 15px; font-weight: 600; line-height: 1.53; letter-spacing: .18em; color: #61666b; text-transform: uppercase; }
.why__problems { display: flex; flex-direction: column; gap: 10px; margin-left: -85px; margin-top: 160px; }
.why__problem {
  display: flex; gap: 14px; align-items: center;
  width: 248px; min-height: 78px; padding: 14px;
  background: rgba(255, 255, 255, .96); border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}
.why__problem img { width: 28px; height: 28px; flex: none; }
.why__problem strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.why__problem span { display: block; font-size: 11px; line-height: 1.3; color: #40474f; }
.why__solution {
  grid-column: 4; margin-top: 233px; margin-right: 43px;
  background: rgba(4, 23, 34, .97); border-radius: 18px;
  padding: 30px 30px 36px 40px; color: #fafaf7; min-height: 410px;
}
.why__solution .eyebrow { font-size: 15px; letter-spacing: .1em; }
.why__solution h3 { font-size: 28px; line-height: 1.21; font-weight: 700; margin-bottom: 40px; }
.why__benefit { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.why__benefit img { width: 46px; height: 46px; flex: none; }
.why__benefit strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.why__benefit span { display: block; font-size: 12px; line-height: 1.35; color: var(--text-on-dark); }

@media (max-width: 1280px) {
  .why__inner { grid-template-columns: 460px 248px 1fr 360px; }
  .why__panel { padding-inline: 48px; }
  .why__solution { margin-right: 0; }
}
@media (max-width: 1100px) {
  .why { display: block; min-height: 0; padding-block: 0 56px; }
  .why__bg { height: 420px; position: absolute; }
  .why__accent { display: none; }
  .why__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 var(--gutter); }
  .why__panel { grid-column: 1 / -1; min-height: 0; margin: 280px calc(-1 * var(--gutter)) 0; padding: 48px var(--gutter); }
  .why__title { margin-bottom: 24px; max-width: none; }
  .why__text { max-width: 600px; margin-bottom: 32px; }
  .why__rule { margin: 0 0 20px; }
  .why__problems { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; grid-column: 1 / -1; }
  .why__problem { width: auto; }
  .why__solution { grid-column: 1 / -1; margin: 0; min-height: 0; }
}
@media (max-width: 560px) {
  .why__bg { height: 280px; }
  .why__panel { margin-top: 200px; }
  .why__problems { grid-template-columns: 1fr; }
  .why__solution { padding: 28px 24px; }
}

/* --- Our clients --- */
.clients { padding-block: 85px 40px; }
.clients__grid { display: grid; grid-template-columns: 480px 1fr; gap: 40px; align-items: start; }
.clients__title { margin-bottom: 20px; }
.clients__text { font-size: 17px; line-height: 1.6; color: #4d4d47; max-width: 401px; }
.clients__logos {
  display: grid; grid-template-columns: repeat(6, minmax(0, 120px));
  justify-content: end; row-gap: 0;
}
.client { grid-column: span 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.client:nth-child(4) { grid-column: 2 / span 2; margin-top: -3px; }
.client:nth-child(5) { grid-column: 4 / span 2; margin-top: -3px; }
.client img { width: 112px; height: 112px; }
.client span { font-size: 17px; font-weight: 600; color: var(--navy-950); }
@media (max-width: 960px) {
  .clients { padding-block: 64px 24px; }
  .clients__grid { grid-template-columns: 1fr; }
  .clients__logos { margin: 8px auto 0; row-gap: 24px; justify-content: center; }
}
@media (max-width: 480px) {
  .clients__logos { grid-template-columns: repeat(2, 1fr); justify-content: stretch; column-gap: 16px; }
  .client, .client:nth-child(4), .client:nth-child(5) { grid-column: auto; margin: 0; }
  .client:nth-child(5) { grid-column: 1 / -1; }
  .client img { width: 96px; height: 96px; }
}

/* --- Stats wrapper on home --- */
.home-stats { padding-block: 31px 40px; }

/* --- Solutions --- */
.solutions { position: relative; padding-block: 52px 66px; overflow: hidden; }
.solutions__img {
  position: absolute; left: calc(50% + 112px); top: 105px; bottom: 0; right: 0;
  border-top-left-radius: 108px; overflow: hidden;
}
.solutions__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.solutions__intro { max-width: 724px; position: relative; }
.solutions__intro .h2 { margin-bottom: 44px; }
.solutions__cards {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 238px); gap: 16px;
  margin-top: 87px; margin-left: -10px;
}
.solution-card {
  display: flex; flex-direction: column; padding: 30px 24px 26px;
  min-height: 380px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.solution-card img { width: 42px; height: 42px; margin-bottom: 15px; }
.solution-card .h3 { min-height: 60px; margin-bottom: 38px; }
.solution-card p { font-size: 18px; line-height: 1.55; color: var(--text-body); margin-bottom: 24px; }
.solution-card .link-arrow { margin-top: auto; }
@media (max-width: 1180px) {
  .solutions__img { display: none; }
  .solutions__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 48px 0 0; }
  .solution-card { min-height: 0; }
}
@media (max-width: 560px) {
  .solutions__cards { grid-template-columns: 1fr; }
  .solution-card .h3 { min-height: 0; margin-bottom: 16px; }
}

/* --- How it works --- */
.steps__head { text-align: center; margin-bottom: 70px; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; position: relative; }
.step__circle {
  width: 120px; height: 120px; margin: 0 auto 32px; border-radius: 50%;
  border: 3px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
}
.step__circle img { width: 63px; height: 63px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 103px; left: calc(50% + 72px); right: calc(-50% + 72px);
  border-top: 1px dashed rgba(190, 185, 175, .8);
}
.step .step__num { font-size: 20px; font-weight: 700; color: var(--gold-600); margin-bottom: 20px; }
.step .h3 { margin-bottom: 22px; }
.step p { font-size: 18px; line-height: 1.67; color: var(--text-muted); max-width: 290px; margin-inline: auto; }
@media (max-width: 960px) {
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step::after { display: none; }
}
@media (max-width: 520px) {
  .steps__head { margin-bottom: 40px; }
  .steps__list { grid-template-columns: 1fr; }
  .step__circle { width: 100px; height: 100px; margin-bottom: 20px; }
  .step__circle img { width: 52px; height: 52px; }
  .step p { font-size: 16px; }
}

.home-cta { padding-block: 86px 84px; }
@media (max-width: 960px) { .home-cta { padding-block: 40px 64px; } }

/* ---------- Reveal on scroll (progressive enhancement) ----------
   Uses the `translate` property so it never fights a component's own `transform`. */
.js .reveal {
  opacity: 0; translate: 0 22px;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; translate: none; }

/* Hero entrance on page load */
.js .hero-in > * { opacity: 0; translate: 0 18px; animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-in > *:nth-child(2) { animation-delay: .08s; }
.js .hero-in > *:nth-child(3) { animation-delay: .16s; }
.js .hero-in > *:nth-child(4) { animation-delay: .24s; }
.js .hero-in > *:nth-child(n+5) { animation-delay: .32s; }
.js .hero-media-in { opacity: 0; scale: .97; animation: heroMedia 1s .15s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroIn { to { opacity: 1; translate: none; } }
@keyframes heroMedia { to { opacity: 1; scale: 1; } }

/* ---------- Hover interactions ---------- */
.btn .arrow { display: inline-block; transition: translate .25s ease; }
.btn:hover .arrow, .link-arrow:hover span[aria-hidden] { translate: 4px 0; }
.link-arrow span[aria-hidden] { display: inline-block; transition: translate .25s ease; }

.solution-card, .about-why__card, .contact-next__card, .proc-cat, .proc-why__card,
.fac-step, .why__problem, .client img {
  transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (hover: hover) {
  .solution-card:hover, .about-why__card:hover, .contact-next__card:hover,
  .proc-cat:hover, .proc-why__card:hover, .fac-step:hover {
    translate: 0 -6px; box-shadow: 0 18px 36px rgba(11, 22, 32, .14);
  }
  .why__problem:hover { translate: 6px 0; }
  .client img:hover { translate: 0 -4px; box-shadow: 0 10px 24px rgba(11, 22, 32, .12); border-radius: 12px; }
  .step:hover .step__circle { border-color: var(--gold-600); }
}
.step__circle { transition: border-color .3s ease; }
.nav__links a:not([aria-current="page"])::before {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--gold-600); border-radius: 1px; transition: width .25s ease;
}
@media (min-width: 961px) { .nav__links a:hover::before { width: 38px; } }

/* ---------- Floating contact buttons (WhatsApp + call) ---------- */
.float-actions {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; min-width: 56px; padding: 0 18px 0 16px; border-radius: 999px;
  color: #fff; font-size: 16px; font-weight: 600;
  box-shadow: 0 10px 24px rgba(11, 22, 32, .22);
  transition: translate .25s ease, box-shadow .25s ease;
  opacity: 0; translate: 0 16px; animation: heroIn .5s .9s ease forwards;
}
.float-btn:hover { translate: 0 -3px; box-shadow: 0 14px 30px rgba(11, 22, 32, .28); }
.float-btn svg { width: 26px; height: 26px; flex: none; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--navy-950); display: none; }
.nav-open .float-actions { display: none; }
@media (max-width: 768px) {
  .float-actions { right: 16px; bottom: 16px; }
  .float-btn { padding: 0; width: 54px; height: 54px; justify-content: center; }
  .float-btn span { display: none; }
  .float-btn--call { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-in > *, .js .hero-media-in, .float-btn { opacity: 1; translate: none; scale: none; transition: none; animation: none; }
  .btn:hover, .btn:hover .arrow { transform: none; translate: none; }
}

/* =========================================================
   MOBILE & TABLET POLISH  (all rules ≤1180px — desktop untouched)
   ========================================================= */
@media (max-width: 1180px) {
  /* Solutions: drop the desktop fixed title height so cards don't gape */
  .solution-card .h3 { min-height: 0; margin-bottom: 16px; }
  /* Clients: keep labels clear of the next logo row */
  .clients__logos { row-gap: 24px; }
  /* Footer: brand on its own row, three columns below (email no longer breaks mid-word) */
  .footer__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 32px; }
  .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px 56px; }
  .footer__brand img { margin-bottom: 0; flex: none; }
  .footer__brand p { max-width: 440px; }
  /* Footer + card links: comfortable tap targets on touch screens */
  .footer__list a, .footer__contact a, .footer__legal a { display: inline-block; padding-block: 9px; }
  .footer__list li { line-height: 1.5; }
  .footer__title { margin-bottom: 10px; }
  .footer__contact li { margin-bottom: 8px; }
  .footer__bottom { padding-block: 20px 28px; }
  .solution-card .link-arrow { padding-block: 10px; margin-block: -10px; }
  .home-cta { padding-block: 40px 72px; }
}
@media (max-width: 1100px) {
  /* Why: small supporting copy was 11–12px */
  .why__problem strong { font-size: 15px; }
  .why__problem span { font-size: 14px; line-height: 1.4; }
  .why__benefit span { font-size: 14px; line-height: 1.45; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  /* Why (tablet): problems stacked on the left, NorthStar answer on the right */
  .why__problems { grid-column: 1; grid-template-columns: 1fr; grid-auto-rows: 1fr; align-self: stretch; }
  .why__solution { grid-column: 2; align-self: stretch; }
}
@media (max-width: 960px) {
  .home-hero__media { max-width: 460px; }
}
@media (min-width: 561px) and (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__contact { display: flex; flex-wrap: wrap; column-gap: 40px; }
  /* CTA banner: image beside the copy instead of a tall stack */
  .cta-banner__panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .cta-banner__img { height: 100%; min-height: 260px; }
  .cta-banner__body { padding: 32px 28px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  /* Clients: all five logos on one row */
  .clients__logos { grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: 680px; }
  .client, .client:nth-child(4), .client:nth-child(5) { grid-column: auto; margin: 0; }
}
@media (max-width: 768px) {
  /* Floating call button: visible ring on dark sections */
  .float-btn--call { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .35), 0 10px 24px rgba(11, 22, 32, .22); }
}
@media (min-width: 561px) and (max-width: 768px) {
  /* keep the right-aligned legal links clear of the floating buttons */
  .footer__bottom { padding-right: 64px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid > div:last-child { grid-column: auto; }
  .footer__brand { display: block; }
  .footer__brand img { margin-bottom: 20px; }
  .footer__bottom { gap: 4px; }
  .footer__legal { gap: 28px; }
}
@media (max-width: 520px) {
  /* How it works: compact icon-left rows instead of four tall centred blocks */
  .steps__list { row-gap: 28px; }
  .step { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 20px; text-align: left; }
  .step__circle { grid-row: 1 / span 3; width: 76px; height: 76px; margin: 0; }
  .step__circle img { width: 38px; height: 38px; }
  .step > :not(.step__circle) { grid-column: 2; }
  .step .step__num { font-size: 16px; margin-bottom: 2px; }
  .step .h3 { margin-bottom: 6px; }
  .step p { max-width: none; margin-inline: 0; }
}
@media (max-width: 480px) {
  /* 404 actions */
  .nf-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
}

/* =========================================================
   BUTTON & LINK HOVER SYSTEM (v2)
   Every .btn gets a colour "sweep": a fill slides in from the left on hover,
   the text colour flips, the button lifts with a soft coloured glow and the
   arrow loops through. Colours are set per button type with two variables:
   --sweep (new background) and --sweep-fg (new text colour).
   ========================================================= */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  --sweep: var(--gold-600); --sweep-fg: var(--navy-950); --glow: rgba(201, 145, 41, .35);
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--sweep); border-radius: inherit;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover, .btn:focus-visible {
  color: var(--sweep-fg); border-color: var(--sweep);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -8px var(--glow);
}
.btn:active { transform: translateY(-1px) scale(.98); transition-duration: .1s; }

/* Arrow: slides out to the right and comes back in from the left */
.btn .arrow, .link-arrow span[aria-hidden] { display: inline-block; }
.btn:hover .arrow, .btn:focus-visible .arrow { animation: arrowLoop .55s cubic-bezier(.7,0,.2,1); translate: none; }
@keyframes arrowLoop {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(14px); opacity: 0; }
  50% { transform: translateX(-14px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Navy buttons -> gold */
.btn--dark, .proc-closing__btn, .cta-banner .btn { --sweep: var(--gold-600); --sweep-fg: var(--navy-950); --glow: rgba(201, 145, 41, .45); }
.btn--dark:hover, .proc-closing__btn:hover, .cta-banner .btn:hover { background: var(--navy-950); }
/* White outline buttons -> navy */
.btn--outline { --sweep: var(--navy-950); --sweep-fg: var(--white); --glow: rgba(11, 22, 32, .35); }
/* Gold buttons on light backgrounds -> navy */
.btn--gold, .about-btn-gold, .contact-btn-gold, .proc-btn--gold { --sweep: var(--navy-950); --sweep-fg: var(--white); --glow: rgba(11, 22, 32, .35); }
/* Gold buttons on dark backgrounds -> white */
.fac-btn--gold, .mep-btn-gold, .thanks-btn-gold,
.proc-hero .proc-btn--gold, .fac-cta .btn, .mep-cta .btn {
  --sweep: var(--white); --sweep-fg: var(--navy-950); --glow: rgba(255, 255, 255, .28);
}
/* Ghost / outline buttons on dark backgrounds */
.proc-btn--ghost { --sweep: var(--white); --sweep-fg: var(--navy-950); --glow: rgba(255, 255, 255, .25); }
.thanks-btn-outline { --sweep: #c9a451; --sweep-fg: var(--navy-950); --glow: rgba(201, 164, 81, .4); }
/* Keep each button's base colour while the sweep runs (page :hover rules used to swap it) */
.about-btn-gold:hover, .contact-btn-gold:hover, .proc-btn--gold:hover, .fac-btn--gold:hover,
.mep-btn-gold:hover, .thanks-btn-gold:hover { background: #c9a451; }
.proc-btn--gold:hover { background: #c9912e; }
.proc-btn--ghost:hover { background: transparent; }
.thanks-btn-outline:hover { background: #071d2b; }
.btn--outline:hover { background: var(--white); }

/* Click ripple (added by main.js) */
.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: currentColor; opacity: .28; transform: scale(0);
  animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(28); opacity: 0; } }

/* ---------- Text links ---------- */
.link-arrow {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px;
  transition: color .3s ease, background-size .35s ease;
}
.link-arrow:hover { color: var(--gold-600); background-size: 100% 1.5px; }
.link-arrow:hover span[aria-hidden] { animation: arrowLoop .55s cubic-bezier(.7,0,.2,1); translate: none; }

/* Nav: links turn gold with a growing underline; logo star twinkles */
.nav__links a { transition: color .25s ease; }
.nav__logo img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.nav__logo:hover img { transform: scale(1.04); }

/* Footer links: brighten and nudge right with a small gold dash */
.footer__list a, .footer__legal a, .footer__contact a {
  position: relative; display: inline-block;
  transition: color .25s ease, transform .25s ease;
}
.footer__list a::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 2px;
  background: var(--gold-600); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.footer__list a:hover { color: var(--white); transform: translateX(8px); }
.footer__list a:hover::before { transform: scaleX(1); }
.footer__contact a:hover, .footer__legal a:hover { color: var(--gold-600); }

/* Cards: gold border + the card's icon does a small bounce */
@media (hover: hover) {
  .solution-card:hover, .about-why__card:hover, .contact-next__card:hover,
  .proc-cat:hover, .proc-why__card:hover, .fac-step:hover {
    border-color: var(--gold-600);
  }
  .solution-card:hover > img, .about-why__card:hover img, .contact-next__card:hover img,
  .proc-why__card:hover img, .fac-step:hover img, .why__problem:hover img,
  .industries__item:hover img, .home-hero__feature:hover img {
    animation: iconPop .5s cubic-bezier(.3,1.6,.5,1);
  }
  .step:hover .step__circle img { animation: iconPop .5s cubic-bezier(.3,1.6,.5,1); }
  .industries__item { transition: color .25s ease; cursor: default; }
  .industries__item:hover { color: var(--gold-700); }
}
@keyframes iconPop {
  0% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.15) rotate(-6deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Floating WhatsApp button: gentle pulse ring to draw the eye */
.float-btn--wa { position: relative; }
.float-btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: waPulse 2.6s 2s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.float-btn--wa:hover { background: #1ebe5b; }

@media (prefers-reduced-motion: reduce) {
  .btn::before { transition: none; }
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
  .btn:hover .arrow, .link-arrow:hover span[aria-hidden], .float-btn--wa::after,
  [class*="card"]:hover img, .step:hover .step__circle img, .btn .ripple { animation: none; }
  .footer__list a:hover { transform: none; }
}

/* =========================================================
   MOTION TOOLKIT (v3)
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-600), #e2b45a);
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}

/* Gold word in the main headline gets a hand-drawn style underline */
h1 .text-gold { position: relative; display: inline-block; }
h1 .text-gold::after {
  content: ""; position: absolute; left: 2px; right: 4px; bottom: .02em; height: .14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 70 3, 160 2, 297 7' fill='none' stroke='%23c99129' stroke-width='5' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0);
  animation: underlineDraw 1s .9s cubic-bezier(.7,0,.2,1) forwards;
}
@keyframes underlineDraw { to { clip-path: inset(0 0 0 0); } }

/* Image wipe-in */
.img-wipe { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.img-wipe.is-in { clip-path: none; }

/* NorthStar cursor (fine pointers only; added by main.js) */
.ns-cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0; transition: opacity .3s ease; }
.ns-cursor.is-on { opacity: 1; }
.ns-cursor__ring, .ns-cursor__star { position: fixed; left: 0; top: 0; will-change: transform; }
.ns-cursor__ring::before {
  content: ""; position: absolute; width: 34px; height: 34px; left: -17px; top: -17px; border-radius: 50%;
  border: 1.5px solid rgba(201, 145, 41, .75); background: rgba(201, 145, 41, 0);
  transition: width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), left .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1), background-color .3s ease, border-color .3s ease, opacity .3s ease;
}
.ns-cursor__star::before {
  content: ""; position: absolute; width: 12px; height: 12px; left: -6px; top: -6px;
  background: var(--gold-600);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transition: transform .4s cubic-bezier(.3,1.6,.5,1), background-color .3s ease;
}
/* Over anything clickable: the star tucks away and the ring opens into an inverting lens,
   so it reads on white, gold and navy alike. */
.ns-cursor.is-link { mix-blend-mode: difference; }
.ns-cursor.is-link .ns-cursor__ring::before { width: 60px; height: 60px; left: -30px; top: -30px; background: transparent; border: 2px solid #fff; }
.ns-cursor.is-link .ns-cursor__star::before { transform: rotate(45deg) scale(0); }
.ns-cursor.is-down .ns-cursor__ring::before { width: 26px; height: 26px; left: -13px; top: -13px; }
.ns-cursor.is-text .ns-cursor__ring::before, .ns-cursor.is-text .ns-cursor__star::before { opacity: 0; }
.ns-cursor.is-dark .ns-cursor__star::before { background: #f0c66b; }
.ns-cursor.is-dark .ns-cursor__ring::before { border-color: rgba(240, 198, 107, .85); }
.ns-burst { position: fixed; z-index: 91; pointer-events: none; }
.ns-burst i {
  position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: var(--gold-600);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: nsBurst .65s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes nsBurst {
  from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; }
  to { transform: rotate(var(--a)) translateY(-26px) scale(.4); opacity: 0; }
}
@media (hover: none), (pointer: coarse) { .ns-cursor, .ns-burst { display: none; } }

.btn { transition-property: color, border-color, box-shadow, transform, translate; }

/* ---------- Home: "How it works" draws itself step by step ---------- */
.steps__list.seq .step__circle { transition: border-color .5s ease, background-color .5s ease, box-shadow .5s ease, scale .5s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(var(--i, 0) * .35s); }
.steps__list.seq .step::after { transform: scaleX(0); transform-origin: left; transition: transform .45s ease; transition-delay: calc(var(--i, 0) * .35s + .25s); }
.steps__list.seq .step__num { opacity: 0; translate: 0 8px; transition: opacity .4s ease, translate .4s ease; transition-delay: calc(var(--i, 0) * .35s + .1s); }
.steps__list.seq.seq-on .step__circle { border-color: var(--gold-600); background: #fffaf0; box-shadow: 0 0 0 8px rgba(201, 145, 41, .08); }
.steps__list.seq.seq-on .step::after { transform: scaleX(1); border-top-color: var(--gold-600); }
.steps__list.seq.seq-on .step__num { opacity: 1; translate: none; }
.steps__list.seq.seq-on .step:last-child .step__circle { animation: stepPulse 2.4s calc(4 * .35s + .4s) ease-out infinite; }
@keyframes stepPulse { 0% { box-shadow: 0 0 0 0 rgba(201,145,41,.35); } 70% { box-shadow: 0 0 0 18px rgba(201,145,41,0); } 100% { box-shadow: 0 0 0 0 rgba(201,145,41,0); } }
@media (hover: hover) {
  .steps__list .step:hover .step__circle,
  .steps__list.seq.seq-on .step:hover .step__circle { scale: 1.06; background: var(--navy-950); border-color: var(--gold-600); transition-delay: 0s; }
  .steps__list .step:hover .step__circle img { filter: brightness(0) invert(1); animation: iconPop .5s cubic-bezier(.3,1.6,.5,1); }
  .step__circle img { transition: filter .3s ease; }
}

@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- Home: industries — the icon row lights up one by one ---------- */
.industries__list.seq .industries__item img { opacity: .25; scale: .8; transition: opacity .4s ease, scale .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * .12s); }
.industries__list.seq.seq-on .industries__item img { opacity: 1; scale: 1; }

/* ---------- Home: Why NorthStar — problems flow into the solution panel ---------- */
.why__problems.seq .why__problem { opacity: 0; translate: -30px 0; transition: opacity .5s ease, translate .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .15s); }
.why__problems.seq.seq-on .why__problem { opacity: 1; translate: none; }
.why__benefit img { transition: transform .4s ease; }
.why__benefit:hover img { transform: rotate(-10deg) scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress, h1 .text-gold::after { display: none; }
  .img-wipe { clip-path: none; filter: none; }
  .ns-cursor, .ns-burst { display: none; }
  .steps__list.seq .step__num, .why__problems.seq .why__problem, .industries__list.seq .industries__item img { opacity: 1; translate: none; scale: none; }
}

/* Home steps: gold dashed connector that keeps flowing toward the next step */
.steps__list.seq .step:not(:last-child)::after {
  border-top: 0; height: 2px; top: 102px;
  background: repeating-linear-gradient(90deg, var(--gold-600) 0 7px, transparent 7px 14px);
  background-size: 28px 2px;
}
.steps__list.seq.seq-on .step:not(:last-child)::after { animation: dashFlow 1.1s linear infinite; animation-delay: calc(var(--i, 0) * .35s + .7s); }
@keyframes dashFlow { from { background-position: 0 0; } to { background-position: 28px 0; } }
@media (prefers-reduced-motion: reduce) { .steps__list.seq.seq-on .step:not(:last-child)::after { animation: none; } }

/* =========================================================
   Compact (v3.2) — tighter rhythm, no artificial heights
   ========================================================= */
.h2--lg { font-size: clamp(30px, 3vw, 44px); }

/* Header/footer */
.footer__grid { padding-block: 56px 40px; }
.footer__brand img { margin-bottom: 20px; }
.footer__title { margin-bottom: 14px; }
.footer__contact li { margin-bottom: 12px; }
.footer__bottom { padding-block: 24px; }

/* Shared strips */
.industries { padding-block: 36px 40px; }
.industries__title { margin-bottom: 28px; }
.stats { padding: 40px 24px; }
.stats__item + .stats__item::before { top: -12px; bottom: -12px; }
.cta-banner__panel { min-height: 0; }
.cta-banner__body { padding: 40px 48px; }

/* Home hero */
.home-hero__title { margin-bottom: 20px; }
.home-hero__lead { margin-bottom: 28px; }
.home-hero__actions { margin-bottom: 44px; }

/* Why NorthStar: content-led height instead of 724px/621px boxes */
@media (min-width: 1101px) {
  .why { min-height: 0; }
  .why__inner { padding-block: 48px; }
  .why__panel { min-height: 540px; padding-block: 48px; }
  .why__title { margin-bottom: 32px; }
  .why__text { margin-bottom: 32px; }
  .why__problems { margin-top: 128px; }
  .why__solution { margin-top: 128px; min-height: 0; }
  .why__solution h3 { margin-bottom: 28px; }
}

/* Clients */
.clients { padding-block: 64px 32px; }

/* Solutions */
.solutions { padding-block: 64px; }
.solutions__img { top: 96px; }
.solutions__intro .h2 { margin-bottom: 20px; }
.solutions__cards { margin-top: 40px; }
.solution-card { min-height: 0; padding: 26px 24px 24px; }
.solution-card .h3 { margin-bottom: 18px; }
.solution-card p { margin-bottom: 20px; }

/* How it works */
.steps { padding-block: 72px; }
.steps__head { margin-bottom: 44px; }
.step__circle { margin-bottom: 24px; }
.step .step__num { margin-bottom: 12px; }
.step .h3 { margin-bottom: 12px; }

/* Final CTA */
.home-cta { padding-block: 16px 72px; }

@media (max-width: 1180px) {
  .home-cta { padding-block: 16px 64px; }
}
@media (max-width: 960px) {
  .footer__grid { padding-block: 48px 32px; }
  .cta-banner__body { padding: 32px 24px; }
  .steps { padding-block: 56px; }
  .clients { padding-block: 56px 24px; }
  .solutions { padding-block: 56px; }
  .home-hero__actions { margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .footer__grid { padding-block: 44px 28px; }
  .stats { padding: 32px 12px; row-gap: 28px; }
  .solutions__cards { margin-top: 32px; }
}


/* =========================================================
   ICON MOTION (v3.3) — applied automatically by main.js
   - .icon-in: small icons pop in (one after another) when their block scrolls into view
   - .icon-hop: a quick playful hop when you hover the card the icon belongs to
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .icon-in { opacity: 0; scale: .4; rotate: -25deg; transition: opacity .45s ease, scale .6s cubic-bezier(.3,1.6,.5,1), rotate .6s cubic-bezier(.3,1.6,.5,1); transition-delay: var(--icon-delay, 0s); }
  .js .icon-in.is-in { opacity: 1; scale: 1; rotate: 0deg; }
  .icon-hop { animation: iconHop .6s cubic-bezier(.3,1.6,.5,1) !important; }
}
@keyframes iconHop {
  0% { transform: translateY(0) rotate(0) scale(1); }
  35% { transform: translateY(-6px) rotate(-10deg) scale(1.15); }
  65% { transform: translateY(0) rotate(6deg) scale(.96); }
  100% { transform: translateY(0) rotate(0) scale(1); }
}
