/* ============================================================================
   Infinity Aurelis — stylesheet
   Design system resolved via ui-ux-pro-max:
     pattern  Trust & Authority + Enterprise Gateway + Social Proof
     style    Minimalism / Swiss + Trust & Authority, Editorial Grid accents
     colors   colors.csv #41 "Insurance Platform" (sky blue + white),
              green accent substituted for gold per brand direction
     type     typography.csv #1 "Classic Elegant" (Playfair Display + Inter)
     density  spacious (24–96px scale)   motion  standard, restrained
   Aesthetic reference: fjwealthmanagement.com — white-dominant, airy,
   serif headings with blue-highlighted keywords, thin-bordered cards.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Sky ramp — the light blue */
  --sky-900: #0C4A6E;   /* dark sections, headings */
  --sky-800: #075985;
  --sky-700: #0369A1;   /* primary — 5.9:1 on white */
  --sky-600: #0284C7;
  --sky-500: #0EA5E9;   /* bright accent, graphics only */
  --sky-200: #BAE6FD;   /* borders */
  --sky-100: #E0F2FE;   /* tint blocks */
  --sky-50:  #F0F9FF;   /* light blue canvas */

  /* Gold */
  --gold-700: #A16207;  /* on light — 4.9:1 on white */
  --gold-500: #C9A227;  /* decorative */
  --gold-300: #E0BE5C;  /* on dark — 5.4:1 on --sky-900 */

  /* Semantic */
  --bg:            #FFFFFF;
  --bg-tint:       #F0F9FF;
  --surface:       #FFFFFF;
  --surface-sunk:  #E8F2F9;
  --fg:            #0C2439;
  --fg-soft:       #28435A;
  --fg-muted:      #4A6075;   /* 6.5:1 on white */
  --fg-faint:      #5B7488;   /* 4.9:1 on white */
  --border:        #DCEAF4;
  --border-strong: #BAE6FD;

  /* On dark */
  --on-dark:        #F0F9FF;
  --on-dark-muted:  #B9D7E8;  /* 6.4:1 on --sky-900 */
  --on-dark-border: rgba(240, 249, 255, .18);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.375rem, 5vw, 4rem);
  --fs-h2:      clamp(1.875rem, 3.4vw, 2.75rem);
  --fs-h3:      clamp(1.125rem, 1.5vw, 1.3125rem);
  --fs-lead:    clamp(1.0625rem, 1.5vw, 1.1875rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-eyebrow: 0.75rem;

  /* Space — spacious scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --section-y: clamp(72px, 9vw, 136px);
  --gutter:    clamp(20px, 5vw, 48px);
  --container: 1200px;

  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(12, 74, 110, .06);
  --shadow-md: 0 1px 2px rgba(12, 74, 110, .05), 0 10px 28px -16px rgba(12, 74, 110, .22);
  --shadow-lg: 0 2px 4px rgba(12, 74, 110, .06), 0 24px 56px -24px rgba(12, 74, 110, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms var(--ease);
  --t-base: 220ms var(--ease);
  --t-slow: 560ms var(--ease);

  --header-h: 76px;
  /* FJ-style dot grid */
  --dots: radial-gradient(circle at 1px 1px, rgba(3, 105, 161, .17) 1px, transparent 0);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;   /* the off-canvas nav parks itself past the right edge */
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
/* width/height attributes are presentational hints: without this, an <img>
   keeps its attribute height and aspect-ratio never gets a say. */
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--sky-700);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.section--dark :focus-visible,
.footer :focus-visible { outline-color: var(--gold-300); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }
.icon--solid { fill: currentColor; stroke: none; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 12px 20px;
  background: var(--sky-900); color: var(--on-dark);
  font-size: var(--fs-sm); font-weight: 500;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

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

/* ---------- 3. Shared type patterns ------------------------------------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--space-sm);
}
.eyebrow--onDark { color: var(--gold-300); }

/* FJ-style highlighted keyword inside a heading */
.hl { color: var(--sky-700); font-style: normal; }
.hl--gold { color: var(--gold-300); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }
.section--dark {
  background: var(--sky-900);
  color: var(--on-dark);
  position: relative;
  isolation: isolate;
}
.section--dark .hl { color: var(--gold-300); }

.section__head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  letter-spacing: .005em;
}
.section__lead {
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  line-height: 1.65;
}
.section--dark .section__lead { color: var(--on-dark-muted); }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), transform var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--sky-700); --btn-fg: #fff; --btn-bd: var(--sky-700); }
.btn--primary:hover { --btn-bg: var(--sky-800); --btn-bd: var(--sky-800); }

.btn--solid { --btn-bg: var(--sky-900); --btn-fg: var(--on-dark); --btn-bd: var(--sky-900); }
.btn--solid:hover { --btn-bg: var(--sky-800); --btn-bd: var(--sky-800); }

.btn--outline { --btn-fg: var(--sky-800); --btn-bd: var(--border-strong); }
.btn--outline:hover { --btn-bd: var(--sky-700); --btn-bg: var(--sky-50); }

/* Ghost: light surfaces here, since the hero is now light */
.btn--ghost { --btn-fg: var(--sky-800); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bd: var(--sky-700); --btn-bg: var(--sky-50); }
.section--dark .btn--ghost { --btn-fg: var(--on-dark); --btn-bd: var(--on-dark-border); }
.section--dark .btn--ghost:hover { --btn-fg: var(--gold-300); --btn-bd: var(--gold-300); --btn-bg: transparent; }

.btn--lg { min-height: 52px; padding: 15px 30px; }
.btn--block { width: 100%; }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 0;
  color: var(--sky-700);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: color var(--t-base), gap var(--t-base);
}
.link-cta:hover { color: var(--gold-700); gap: 14px; }

/* ---------- 5. Demo notice (delete in production) ----------------------- */
.demo-notice { background: #FEF3C7; border-bottom: 1px solid #FCD34D; color: #713F12; }
.demo-notice__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--container); margin-inline: auto;
  padding: 10px var(--gutter);
}
.demo-notice p { font-size: var(--fs-xs); line-height: 1.5; }
.demo-notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95em; background: rgba(113, 63, 18, .1);
  padding: 1px 5px; border-radius: var(--radius-sm);
}
.demo-notice__close {
  margin-left: auto; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--radius);
  transition: background var(--t-fast);
}
.demo-notice__close:hover { background: rgba(113, 63, 18, .12); }
.demo-notice[hidden] { display: none; }

/* ---------- 6. Utility bar + header ------------------------------------- */
.utility {
  background: var(--sky-900);
  color: var(--on-dark-muted);
  font-size: var(--fs-xs);
}
.utility__inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 9px;
}
.utility__label strong { color: var(--on-dark); font-weight: 500; }
.utility__links { display: flex; flex-wrap: wrap; gap: 20px; }
.utility__links a { transition: color var(--t-fast); }
.utility__links a:hover { color: var(--gold-300); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.header.is-stuck {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; gap: var(--space-md);
  min-height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
/* Once the full nav is showing there is room for the lockup, so stop the
   logo shrinking and forcing the tagline onto a third line. */
@media (min-width: 1200px) { .logo { flex-shrink: 0; } }
.logo__mark {
  height: 38px; width: auto; flex: none;
  transition: opacity var(--t-base);
}
.logo:hover .logo__mark { opacity: .75; }
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.1875rem; font-weight: 600;
  letter-spacing: .005em; line-height: 1.15;
  color: var(--sky-900);
}
/* Mandatory brand tagline. Set as live text so it reflows, stays selectable,
   and recolours itself on the dark footer. */
.logo__tagline {
  font-size: .625rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .015em;
  color: var(--fg-faint);
}

.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav__list { display: flex; align-items: center; gap: 20px; }
.nav__list a {
  position: relative;
  display: block; padding: 6px 2px;
  white-space: nowrap;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--fg-soft);
  transition: color var(--t-base);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--gold-700);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--sky-700); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

.nav__toggle, .nav__close {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--sky-900);
}

/* ---------- 7. Hero (light, FJ-style) ------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(170deg, var(--sky-50) 0%, #FFFFFF 62%);
  padding-block: clamp(56px, 8vw, 104px) clamp(88px, 11vw, 152px);
}
.hero__texture {
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--dots);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: var(--space-2xl); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.08;
  color: var(--sky-900);
}
.hero__lead {
  max-width: 38rem;
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  line-height: 1.7;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--sky-600); stroke-width: 2.2; }

.hero__visual { position: relative; margin-top: var(--space-lg); }
.hero__figure {
  position: relative;          /* paints above .hero__frame without needing z-index */
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(12, 74, 110, .5);
}
.hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Offset hairline, a quiet nod to the gold in the mark */
.hero__frame {
  display: none;
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  opacity: .5;
}
@media (min-width: 900px) {
  .hero__visual { margin-top: 0; }
  .hero__figure img { aspect-ratio: 4 / 5; }
  .hero__frame { display: block; }
}

/* ---------- 8. Stats (card overlapping the hero) ------------------------ */
.stats { position: relative; z-index: 2; margin-top: clamp(-96px, -7vw, -56px); }
.stats__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sky-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md) var(--space-md) var(--space-lg);
}
.stats__caption {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sky-800);
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.stats__caption span {
  font-weight: 400; letter-spacing: .04em;
  text-transform: none; color: var(--fg-faint);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding-top: var(--space-md);
}
.stat {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--sky-800);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- 9. Services -------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-md);
}
.service {
  display: flex; flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.service:hover {
  border-color: var(--sky-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service__icon {
  width: 32px; height: 32px;
  fill: none; stroke: var(--sky-600); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.service__title { font-size: var(--fs-h3); letter-spacing: -.005em; color: var(--sky-900); }
.service p { color: var(--fg-muted); font-size: var(--fs-sm); }
.service__list {
  display: grid; gap: 7px;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--fg-faint);
}
.service__list li { padding-left: 16px; position: relative; }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- 10. About ---------------------------------------------------- */
/* Editorial split: the label and name sit left, the prose runs right. */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 820px) {
  .about__grid { grid-template-columns: .8fr 1.2fr; gap: var(--space-xl); }
}
.about__kicker {
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-faint);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: var(--space-md);
}
.about__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  margin-bottom: var(--space-sm);
  color: var(--sky-900);
}
.about__col p { color: var(--fg-muted); }
.about__col p + p { margin-top: var(--space-sm); }
.about__col em { color: var(--fg-soft); }

.principles { display: grid; gap: var(--space-sm); margin-top: var(--space-md); }
.principles li { display: flex; gap: 12px; align-items: flex-start; }
.principles .icon { color: var(--sky-600); stroke-width: 2.2; margin-top: .3em; }
.principles div { display: flex; flex-direction: column; }
.principles strong { font-size: var(--fs-sm); color: var(--sky-900); }
.principles span { font-size: var(--fs-sm); color: var(--fg-muted); }

.pullquote {
  position: relative;
  max-width: 48rem;
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-strong);
  text-align: center;
}
.pullquote__mark {
  width: 34px; height: 34px; margin: 0 auto var(--space-sm);
  fill: var(--sky-200); stroke: none;
}
.pullquote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--sky-900);
}
.pullquote figcaption {
  margin-top: var(--space-md);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-soft);
}
.pullquote figcaption span { font-weight: 400; color: var(--fg-faint); }

/* ---------- 11. Team ----------------------------------------------------- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 760px)  { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }

.member {
  display: flex; flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--sky-600);
  border-radius: var(--radius);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.member:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.member__head { display: flex; gap: var(--space-sm); align-items: flex-start; }
/* Square source images in a square box, so object-fit: cover crops nothing. */
.member__avatar {
  width: 84px; height: 84px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sky-100);
  box-shadow: 0 0 0 1px var(--border-strong), 0 3px 10px rgba(12, 74, 110, .14);
}
.member__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; color: var(--sky-900); }
.member__role {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--sky-700);
  font-weight: 500;
}
.member__mas {
  margin-top: 4px;
  font-size: .6875rem;
  letter-spacing: .04em;
  color: var(--fg-faint);
}
.member__bio { font-size: var(--fs-sm); color: var(--fg-muted); }

.member__awards {
  display: grid; gap: 7px;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--fg-soft);
}
.member__awards li { display: flex; gap: 9px; align-items: flex-start; }
.member__awards .icon { color: var(--gold-700); margin-top: .25em; }

.member__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.member__tags li {
  padding: 4px 10px;
  background: var(--sky-50);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.member__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: auto;
  padding-top: var(--space-sm);
}
.member__actions .btn { padding-inline: 12px; }
.member__direct {
  display: flex; flex-wrap: wrap; gap: 8px var(--space-md);
  font-size: var(--fs-xs);
  color: var(--fg-faint);
}
.member__direct li { display: flex; align-items: center; gap: 7px; }
.member__direct a {
  min-height: 24px; display: inline-flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.member__direct a:hover { color: var(--sky-700); border-bottom-color: var(--gold-700); }

/* ---------- 12. Process -------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg) var(--space-md);
}
.process__step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid var(--on-dark-border);
}
.process__step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 38px; height: 2px; background: var(--gold-300);
}
.process__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500;
  color: var(--gold-300);
  letter-spacing: .08em;
  margin-bottom: var(--space-xs);
}
.process__step h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.process__step p { font-size: var(--fs-sm); color: var(--on-dark-muted); }

/* ---------- 13. Testimonials -------------------------------------------- */
.tcarousel { max-width: 52rem; margin-inline: auto; }
.tcarousel__viewport { position: relative; }

.tslide { text-align: center; }
.tslide__mark {
  width: 36px; height: 36px; margin: 0 auto var(--space-md);
  fill: var(--sky-200); stroke: none;
}
.tslide blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--sky-900);
}
.tslide figcaption {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: var(--space-md);
}
.tslide figcaption strong {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-soft);
}
.tslide figcaption span { font-size: var(--fs-xs); color: var(--fg-faint); }

/* Without JS every quote simply stacks — content is never hidden. */
.tslide + .tslide { margin-top: var(--space-xl); }

.js .tcarousel__viewport { display: grid; }
.js .tslide {
  grid-area: 1 / 1;
  /* All slides share one cell, so the cell is as tall as the longest quote.
     Centring keeps shorter quotes from sitting against the top edge. */
  align-self: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-slow), transform var(--t-slow), visibility var(--t-slow);
}
.js .tslide.is-active { opacity: 1; visibility: visible; transform: none; }

.tcarousel__controls {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.tcarousel__btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--sky-800);
  transition: border-color var(--t-base), background var(--t-base), color var(--t-base);
}
.tcarousel__btn:hover { border-color: var(--sky-700); background: var(--surface); }
.tcarousel__dots { display: flex; gap: 6px; }
.tcarousel__dot {
  /* 44×44 hit area; the visible dash is inset by the padding */
  width: 44px; height: 44px;
  padding-inline: 8px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
}
.tcarousel__dot::after {
  content: ""; width: 100%; height: 2px;
  background: var(--border-strong);
  transition: background var(--t-base);
}
.tcarousel__dot[aria-selected="true"]::after { background: var(--gold-700); }
.tcarousel__dot:hover::after { background: var(--fg-faint); }

.disclaimer-note {
  max-width: 44rem;
  margin: var(--space-xl) auto 0;
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--fg-faint);
}

/* ---------- 14. Contact -------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 940px) {
  .contact__grid { grid-template-columns: 1fr minmax(380px, .85fr); gap: var(--space-2xl); }
}
.contact__lead {
  max-width: 34rem;
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.contact__methods { display: grid; gap: 1px; margin-top: var(--space-lg); background: var(--on-dark-border); }
.contact__methods li { background: var(--sky-900); }
.contact__methods a,
.contact__methods .contact__static {
  display: flex; align-items: center; gap: var(--space-sm);
  min-height: 60px;
  padding: 14px 4px;
  transition: padding-left var(--t-base), color var(--t-base);
}
.contact__methods a:hover { padding-left: 12px; color: var(--gold-300); }
.contact__methods .icon { width: 20px; height: 20px; color: var(--gold-300); }
/* Direct children only — otherwise this also hits the .contact__static
   wrapper and stacks its icon above the text. */
.contact__methods a > span,
.contact__methods .contact__static > span { display: flex; flex-direction: column; }
.contact__methods strong { font-size: var(--fs-body); font-weight: 500; }
.contact__methods em {
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}

.cform {
  background: var(--surface);
  color: var(--fg);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .cform { padding: var(--space-lg); } }
.cform__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sky-900);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.field { margin-bottom: var(--space-sm); }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.field__opt { font-weight: 400; color: var(--fg-faint); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--sky-50);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: auto; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6075' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { background: var(--surface); border-color: var(--sky-600); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #DC2626; }

.field__hint { margin-top: 5px; font-size: var(--fs-xs); color: var(--fg-faint); }
.field__error {
  display: none;
  margin-top: 5px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #B91C1C;
}
.field__error.is-shown { display: block; }

.cform__note { margin-top: 12px; font-size: var(--fs-xs); color: var(--fg-faint); line-height: 1.55; }
.cform__status { margin-top: 10px; font-size: var(--fs-xs); font-weight: 500; color: var(--sky-700); }

/* ---------- 15. Footer --------------------------------------------------- */
.footer { background: #072F47; color: var(--on-dark-muted); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-lg);
  padding-block: var(--space-xl) var(--space-lg);
}
.footer__brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.15fr; }
  .footer__brand { grid-column: auto; }
}
.logo--footer .logo__tagline { color: var(--on-dark-muted); }
.logo--footer .logo__name { color: var(--on-dark); }

.footer__blurb { margin-top: var(--space-sm); font-size: var(--fs-sm); line-height: 1.6; }

.footer__col h2 {
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--space-sm);
}
.footer__col ul { display: grid; gap: 2px; }
.footer__col li a {
  display: inline-flex; align-items: center;
  min-height: 32px;
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.footer__col li a:hover { color: var(--gold-300); }
.footer__top {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; margin-top: var(--space-sm);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--on-dark);
  transition: color var(--t-fast);
}
.footer__top:hover { color: var(--gold-300); }

.footer__legal {
  padding-block: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--on-dark-border);
}
.footer__legal > p {
  max-width: 68rem;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: #9FBDD2;
}
.footer__legal > p strong { color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px var(--space-md);
  align-items: center; justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--on-dark-border);
  font-size: var(--fs-xs);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.footer__bottom a { transition: color var(--t-fast); }
.footer__bottom a:hover { color: var(--gold-300); }

/* ---------- 16. Floating WhatsApp --------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--sky-900);
  color: var(--on-dark);
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: background var(--t-base), transform var(--t-fast), border-color var(--t-base);
}
.wa-float .icon { width: 20px; height: 20px; color: var(--gold-300); }
.wa-float:hover { background: var(--sky-800); border-color: var(--gold-300); transform: translateY(-2px); }
@media (max-width: 560px) {
  .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wa-float .icon { width: 24px; height: 24px; }
}

/* ---------- 17. Scroll reveal ------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Mobile nav ---------------------------------------------- */
/* Six nav items plus the two-line tagline need a wide header, so the
   slide-in panel takes over earlier than it otherwise would. */
@media (max-width: 1199.98px) {
  .nav__toggle { display: grid; }
  .nav__close { display: grid; position: absolute; top: 16px; right: calc(var(--gutter) - 10px); }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(380px, 86vw);
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--gutter);
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(101%);
    visibility: hidden;
    transition: transform 280ms var(--ease), visibility 280ms var(--ease);
  }
  .nav.is-open { transform: none; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    padding: 16px 0;
    font-size: 1.25rem;
    font-family: var(--font-display);
    border-bottom: 1px solid var(--border);
  }
  .nav__list a::after { display: none; }
  .nav__cta { width: 100%; }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: 105;
    background: rgba(12, 36, 57, .5);
    opacity: 0;
    transition: opacity 280ms var(--ease);
  }
  .nav-backdrop.is-open { opacity: 1; }
  body.nav-lock { overflow: hidden; }
}

/* ---------- 19. Small screens ------------------------------------------- */
@media (max-width: 640px) {
  .logo__mark { height: 32px; }
  .header__inner { gap: var(--space-sm); }
  .logo__tagline { font-size: .5625rem; }
  .utility__inner { justify-content: center; text-align: center; }
  .utility__label { width: 100%; }
  .utility__links { justify-content: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .member__actions { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stats { margin-top: -40px; }
  .footer__bottom { justify-content: flex-start; }
}

/* ---------- 19b. Who we serve ------------------------------------------- */
.who__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.who {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.who:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.who__img {
  width: 100%;
  height: auto;
  aspect-ratio: 45 / 34;
  object-fit: cover;
  background: var(--sky-100);
}
.who__body { padding: var(--space-md); }
.who__body h3 { font-size: var(--fs-h3); color: var(--sky-900); margin-bottom: 10px; }
.who__body p { font-size: var(--fs-sm); color: var(--fg-muted); }

/* ---------- 19c. About image band --------------------------------------- */
.about__band {
  margin-top: var(--space-2xl);
  border-radius: var(--radius);
  overflow: hidden;
}
.about__band img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 1700 / 620;
  object-fit: cover;
}

/* ---------- 19d. Photo-backed dark section ------------------------------
   The overlay sits at ~95% opacity, so text contrast matches a plain
   --sky-900 panel while the photograph still reads underneath.          */
.section--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/contact-bg.jpg") center / cover no-repeat;
}
.section--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 74, 110, .94), rgba(7, 47, 71, .97));
}
/* ---------- 19e. Legal pages -------------------------------------------- */
.legal-hero {
  background: linear-gradient(170deg, var(--sky-50) 0%, #FFFFFF 72%);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(44px, 6vw, 80px) clamp(28px, 3.5vw, 44px);
}
.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 400;
  letter-spacing: .005em;
  color: var(--sky-900);
}
.legal-hero__meta {
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--fg-faint);
}

.legal-hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.legal { max-width: 46rem; }
.legal__lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--fg-muted);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--sky-900);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.legal h3 {
  font-size: var(--fs-h3);
  color: var(--sky-900);
  margin-top: var(--space-md);
}
.legal p  { margin-top: var(--space-sm); color: var(--fg-muted); }
.legal ul { margin-top: var(--space-sm); display: grid; gap: 9px; }
.legal li { position: relative; padding-left: 18px; color: var(--fg-muted); }
.legal li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500);
}
.legal a {
  color: var(--sky-700);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--t-fast);
}
.legal a:hover { border-bottom-color: var(--sky-700); }
.legal strong { color: var(--fg-soft); }

/* Callout for the things a reader most needs to act on */
.legal__box {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-700);
  border-radius: var(--radius);
}
.legal__box > :first-child { margin-top: 0; }

.legal__contact {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.legal__contact p { margin-top: 4px; }
.legal__contact p:first-child { margin-top: 0; }

.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  margin-top: var(--space-xl);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--sky-700);
}
.legal__back:hover { color: var(--gold-700); }
/* ---------- 20. Motion / print preferences ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .service:hover, .member:hover, .wa-float:hover { transform: none; }
}

@media print {
  .utility, .header, .wa-float, .demo-notice,
  .tcarousel__controls, .cform { display: none; }
  .hero, .section--dark, .footer { background: #fff; color: #000; }
  .section--dark .section__lead, .process__step p, .footer__legal > p { color: #000; }
  .js .tcarousel__viewport { display: block; }
  .js .tslide {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    grid-area: auto;
  }
  .js .tslide + .tslide { margin-top: 24px; }
  .section { padding-block: 24px; page-break-inside: avoid; }
}
