/* =============================================================
   Skyward Growth Marketing Site Styles
   -------------------------------------------------------------
   Shared stylesheet for the SGM home page and the Financial
   Services page. Mobile-first, vanilla CSS, no build step.

   QUICK REBRAND: every brand color lives in the :root tokens
   below. Change a hex once here and it updates site-wide.

   ASSET HOSTING (optional): images are referenced with relative
   paths from /assets/img/. If Leia ever moves assets to a CDN
   (e.g. assets.skywardgrowthmarketing.com), swap the src paths
   in the HTML, no CSS change needed.
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colors (from the SGM brief §4) */
  --navy: #13315C;        /* Primary brand, headings, logo, nav */
  --navy-deep: #0E2746;   /* Footer, dark sections */
  --sky: #3E7CB1;         /* Accent, links, secondary buttons */
  --sky-light: #5B9BD5;   /* Lighter accent */
  --growth-green: #2E9E7B;/* CTAs, proof accents, "growth" highlights */
  --growth-green-dk: #25876A; /* CTA hover */
  --mist: #F4F7FB;        /* Light section backgrounds */
  --ink: #1F2933;         /* Body text */
  --muted: #5B6B7B;       /* Secondary text */
  --white: #FFFFFF;

  /* Derived / utility */
  --line: #E2E9F1;        /* Hairline borders */
  --shadow-sm: 0 1px 3px rgba(14, 39, 70, .08);
  --shadow-md: 0 8px 30px rgba(14, 39, 70, .10);
  --shadow-lg: 0 20px 50px rgba(14, 39, 70, .14);

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px); /* anchor offset for sticky nav */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--sky); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

ul { margin: 0; padding: 0; }

/* Visible keyboard focus everywhere (accessibility) */
:focus-visible {
  outline: 3px solid var(--sky-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen-reader-only helper */
.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;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: 12px; top: -50px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--growth-green);
  margin: 0 0 14px;
}
.eyebrow--on-dark { color: var(--sky-light); }

.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head .lead { font-size: 19px; color: var(--muted); margin-bottom: 0; }

.lead { font-size: 19px; color: var(--muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 16px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--growth-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--growth-green-dk); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sky); color: var(--navy); background: var(--mist); }

.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-dark:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 17px; }

.arrow { transition: transform .15s ease; }
.btn:hover .arrow,
.cardlink:hover .arrow { transform: translateX(3px); }

/* ---------- 5. Sticky nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
/* Full horizontal logo (bird + wordmark). ~6.3:1 aspect. */
.brand__logo { height: 34px; width: auto; display: block; }
@media (max-width: 400px) { .brand__logo { height: 28px; } }
.footer .brand__logo { height: 38px; filter: brightness(0) invert(1); } /* white on dark footer */
.brand__name {
  font-family: var(--font-head);
  font-weight: 600; font-size: 18px; color: var(--navy);
  letter-spacing: -0.01em; line-height: 1.1;
}
.brand__name span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }

.nav__links { display: none; align-items: center; gap: 26px; list-style: none; }
.nav__links a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--growth-green);
  transition: width .18s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__cta { display: none; }

/* Hamburger */
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
  margin-right: -10px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav__mobile {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 12px 22px 26px;
  display: none;
  z-index: 99;
}
.nav__mobile.open { display: block; animation: slideDown .2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: translateY(0);} }
.nav__mobile a {
  display: block; padding: 14px 4px; font-size: 17px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child { border-bottom: 0; }
.nav__mobile .btn { display: block; margin-top: 16px; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 72px 0 84px;
}
/* Depth: two soft brand-color glows that drift slowly behind the hero content.
   Pure CSS (no images/libraries), GPU-friendly transforms only. With reduced
   motion they simply hold still, keeping the depth without the movement. */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.hero::before {
  width: 620px; height: 620px; left: -180px; top: -240px;
  background: radial-gradient(circle, rgba(91,155,213,.34), transparent 65%);
  animation: heroGlow1 22s ease-in-out infinite alternate;
}
.hero::after {
  width: 560px; height: 560px; right: -140px; bottom: -280px;
  background: radial-gradient(circle, rgba(46,158,123,.26), transparent 65%);
  animation: heroGlow2 27s ease-in-out infinite alternate;
}
@keyframes heroGlow1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(110px, 70px) scale(1.18); }
}
@keyframes heroGlow2 {
  from { transform: translate(0, 0) scale(1.12); }
  to   { transform: translate(-90px, -60px) scale(.94); }
}
/* Subtle bird-outline motif, set as a faint watermark. Glides slowly. */
.hero__motif {
  position: absolute; right: -60px; top: 40px;
  width: min(620px, 70%);
  opacity: .07;
  pointer-events: none;
  /* recolor the navy outline PNG to soft white via filter */
  filter: brightness(0) invert(1);
  animation: motifGlide 16s ease-in-out infinite alternate;
}
@keyframes motifGlide {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-26px, -18px) rotate(-1.2deg); }
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 58px);
  max-width: 14ch;
  margin-bottom: 20px;
}
.hero .eyebrow { color: var(--sky-light); }
.hero__sub {
  font-size: clamp(17px, 2.3vw, 20px);
  color: rgba(255,255,255,.86);
  max-width: 58ch; margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 7. Trust strip ---------- */
.trust {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust__line {
  text-align: center; color: var(--navy); font-weight: 500;
  max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.6;
}
/* Icon flows inline with the first word rather than sitting off to the side */
.trust__line svg { color: var(--growth-green); vertical-align: -5px; margin-right: 8px; }

/* Switch-on-ready client logo wall (hidden until Leia has logos) */
.client-logos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  align-items: center; margin-top: 8px;
}
@media (min-width: 720px) { .client-logos { grid-template-columns: repeat(5, 1fr); } }
.client-logos img { filter: grayscale(1); opacity: .7; margin-inline: auto; }

/* ---------- 8. Generic card grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4e0ee; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card .cardlink { margin-top: auto; }

.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46, 158, 123, .12); color: var(--growth-green);
  margin-bottom: 16px;
}
.card--sector .card__icon { background: rgba(62, 124, 177, .12); color: var(--sky); }

.cardlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--sky); font-size: 15px;
}
.cardlink:hover { color: var(--navy); }
.cardlink .tag-soon {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--mist); color: var(--muted); padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- 9. "Why finance is different" band ---------- */
.band {
  background: var(--mist);
}
.band--navy {
  background: var(--navy-deep); color: #fff;
  position: relative; overflow: hidden;
}
/* Depth: one slow-drifting sky glow on dark sections, echoing the hero */
.band--navy::before {
  content: ""; position: absolute; border-radius: 50%;
  width: 700px; height: 700px; right: -220px; top: -320px;
  background: radial-gradient(circle, rgba(91,155,213,.16), transparent 65%);
  filter: blur(80px); pointer-events: none; z-index: 0;
  animation: heroGlow2 30s ease-in-out infinite alternate;
}
.band--navy .container { position: relative; z-index: 1; }
.band--navy h2, .band--navy h3 { color: #fff; }
.band--navy .lead, .band--navy p { color: rgba(255,255,255,.82); }

/* ---------- 10. Approach / value props ---------- */
.values { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.value h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.value p { color: rgba(255,255,255,.78); margin: 0; font-size: 15.5px; }
.value__num {
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  color: var(--sky-light); display: block; margin-bottom: 10px;
}

/* ---------- 11. Proof / founder callout ---------- */
.founder {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .founder { grid-template-columns: 280px 1fr; } }
.founder__photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); max-width: 280px;
}
.founder__quote {
  font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 26px);
  color: var(--navy); line-height: 1.4; margin-bottom: 20px;
}
.founder__sig { width: 180px; margin: 4px 0 6px; }
.founder__name { font-weight: 700; color: var(--navy); margin: 0; }
.founder__role { color: var(--muted); margin: 0; font-size: 15px; }

.placeholder-grid { margin-top: 36px; }
.placeholder-card {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; color: var(--muted); background: var(--white);
}
.placeholder-card strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* Real proof cards (filled-in results / founder credibility) */
.proof-grid { margin-top: 36px; }
.proof-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); height: 100%;
}
.proof-card h3 { font-size: 20px; margin-bottom: 8px; }
.proof-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.proof-stat {
  display: block; font-family: var(--font-head); font-size: 40px; font-weight: 600;
  color: var(--growth-green); line-height: 1; margin-bottom: 6px;
}
.proof-label { display: block; color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.proof-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 8px;
}

/* ---------- 12. FAQ (accordion) ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--navy);
  padding: 22px 44px 22px 0; position: relative; line-height: 1.3;
}
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--growth-green); font-family: var(--font-body); font-weight: 400;
  transition: transform .2s ease;
}
.faq__q[aria-expanded="true"]::after { content: "\2013"; }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease;
  color: var(--muted);
}
.faq__a > div { padding: 0 0 22px; }

/* ---------- 13. Contact ---------- */
.contact-wrap {
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
@media (min-width: 920px) { .contact-wrap { grid-template-columns: 1fr 1.1fr; align-items: start; } }

.contact-copy .reassure {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 12px 18px; border-radius: 999px;
  background: rgba(46,158,123,.12); color: var(--growth-green-dk);
  font-weight: 600; font-size: 15px;
}

/* Form card (right column) */
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
}
@media (max-width: 560px) { .contact-card { padding: 22px; } }

/* "Prefer to book directly?" block (left column) */
.book-direct { margin-top: 26px; }
.book-direct h4 {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; color: var(--navy); margin-bottom: 12px;
}
.book-direct__email { margin-top: 20px; }
.book-direct__email span {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.book-direct__email a { font-weight: 600; }

/* "What do you need help with?" checkbox tiles */
.help-fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.help-fieldset legend {
  font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 8px; padding: 0;
}
.help-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .help-grid { grid-template-columns: 1fr 1fr; } }
.check-tile {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.check-tile:hover { border-color: var(--sky); }
/* Override the generic full-width input rule for checkboxes */
.check-tile input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; margin: 0; padding: 0;
  accent-color: var(--growth-green); cursor: pointer;
}
/* .is-checked is toggled by main.js. Kept in its OWN rule (not grouped with the
   :has() selector) so browsers without :has() don't discard the whole group. */
.check-tile.is-checked {
  border-color: var(--growth-green); background: rgba(46,158,123,.07);
}
.check-tile.is-checked span { font-weight: 600; color: var(--navy); }
/* Progressive enhancement: same effect via :has() where supported */
.check-tile:has(input:checked) {
  border-color: var(--growth-green); background: rgba(46,158,123,.07);
}
.check-tile:has(input:checked) span { font-weight: 600; color: var(--navy); }

/* Submit row: button + helper text side by side */
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-help { color: var(--muted); font-size: 13.5px; max-width: 28ch; line-height: 1.4; }

form .field { margin-bottom: 18px; }
form label {
  display: block; font-weight: 600; font-size: 14px; color: var(--navy);
  margin-bottom: 6px;
}
form .req { color: var(--growth-green); }
form input, form select, form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(62,124,177,.15);
}
form textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }

.field .error-msg { color: #c0392b; font-size: 13.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }

/* Honeypot: hidden from humans, catches bots */
.hp-field { position: absolute; left: -5000px; opacity: 0; height: 0; overflow: hidden; }

.form-success {
  display: none;
  background: rgba(46,158,123,.10); border: 1px solid rgba(46,158,123,.4);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--growth-green-dk); }

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,.78);
  padding: 56px 0 28px;
}
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid; gap: 32px; grid-template-columns: 1fr;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand__name, .footer .brand__name span { color: #fff; }
.footer__tag { margin-top: 14px; max-width: 34ch; color: rgba(255,255,255,.7); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.6);
}
.footer__bottom a { margin-left: 16px; }

/* ---------- 21. Legal pages (privacy, terms) ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: 56px 0 72px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--sky); text-decoration: underline; }
.legal a:hover { color: var(--navy); }
.legal-back { font-weight: 600; color: var(--sky); font-size: 15px; }
.legal-back:hover { color: var(--navy); }

/* ---------- 16. Home: hero sector quick-links (Aspectus-style) ---------- */
.hero__sectors {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px;
}
.hero__sectors-label {
  width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 2px;
}
.hero__sectors a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-weight: 600; font-size: 14.5px;
  background: rgba(255,255,255,.06);
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.hero__sectors a:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; transform: translateY(-1px); }
.hero__sectors a[aria-disabled="true"] { cursor: default; opacity: .72; }
.hero__sectors a[aria-disabled="true"]:hover { transform: none; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.hero__sectors .chip-soon {
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.16); color: rgba(255,255,255,.85);
  padding: 2px 7px; border-radius: 999px;
}

/* ---------- 17. Home: featured industry card ---------- */
.industry-feature {
  display: grid; grid-template-columns: 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--white); margin-bottom: 24px;
}
@media (min-width: 820px) { .industry-feature { grid-template-columns: 1fr 1fr; } }
.industry-feature__media {
  position: relative; min-height: 230px; background: var(--navy);
}
.industry-feature__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.industry-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,49,92,.15), rgba(14,39,70,.45));
}
.industry-feature__body { padding: 34px 32px; display: flex; flex-direction: column; }
.industry-feature__badge {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--growth-green-dk);
  background: rgba(46,158,123,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.industry-feature h3 { font-size: clamp(23px, 3vw, 30px); margin-bottom: 10px; }
.industry-feature p { color: var(--muted); margin-bottom: 22px; }
.industry-feature .cardlink { margin-top: auto; font-size: 16px; }

/* ---------- 18. Home: compact "about" split ---------- */
.about-split {
  display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 820px) { .about-split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.about-split .stat-row {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px;
}
.about-split .stat strong {
  display: block; font-family: var(--font-head); font-size: 30px; color: var(--navy); line-height: 1;
}
.about-split .stat span { font-size: 14.5px; color: var(--muted); }

/* ---------- 20. Lifecycle impact stat cards (on the dark band) ---------- */
.impact-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 30px 28px; height: 100%;
}
.impact-stat {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(38px, 5vw, 48px); line-height: 1; color: var(--growth-green);
  margin-bottom: 10px;
}
.impact-label { display: block; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 14px; }
.impact-card p { color: rgba(255,255,255,.78); margin: 0; font-size: 15px; }

/* ---------- 19. Scroll reveal + hero entrance ---------- */
/* Reveal uses the `translate` property (NOT `transform`) so hover lifts on cards
   still compose correctly. The .reveal class is added by main.js, so if JS is
   disabled nothing is hidden and all content shows normally. */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), translate .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* Hero animates in on load. animation-fill-mode: both holds the start state, so
   there is no flash of un-animated content before it runs. */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .05s both; }
.hero h1       { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .15s both; }
.hero__sub     { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .28s both; }
.hero__cta     { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .40s both; }

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  /* Ensure animated content is fully visible for visitors who prefer no motion */
  .reveal { opacity: 1 !important; translate: none !important; }
  .hero .eyebrow, .hero h1, .hero__sub, .hero__cta { animation: none !important; }
}
