/* ═══════════════════════════════════════════════════════════════════
   Sovereign Wealth Solutions — Werner Badenhorst
   Design system: Private library. Oxford navy, warm parchment, bronze.
   Cormorant Garamond (display) + Inter (body)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img, video, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Colour */
  --c-bg:         #FAF8F4;
  --c-bg-surface: #F2EEE6;
  --c-navy:       #0F1E3C;
  --c-navy-mid:   #1A2F5A;
  --c-slate:      #5A6A78;  /* darkened from #6B7A8D — passes WCAG AA 4.5:1 on bg */
  --c-slate-lt:   #7A8A98;
  --c-bronze:     #9B7B4D;  /* decorative only: borders, rules, underlines */
  --c-bronze-lt:  #C4A26B;
  --c-bronze-text:#7A5E36;  /* accessible bronze for text — 5.69:1 on bg, passes AA */
  --c-rule:       #DDD8CF;
  --c-white:      #FFFFFF;

  /* Typography */
  --f-disp: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale — fluid via clamp where needed */
  --fs-xs:   0.6875rem;   /* 11 */
  --fs-sm:   0.8125rem;   /* 13 */
  --fs-base: 1rem;        /* 16 */
  --fs-md:   1.0625rem;   /* 17 */
  --fs-lg:   1.1875rem;   /* 19 */
  --fs-xl:   1.375rem;    /* 22 */
  --fs-2xl:  1.75rem;     /* 28 */
  --fs-3xl:  2.25rem;     /* 36 */
  --fs-4xl:  3rem;        /* 48 */
  --fs-5xl:  4rem;        /* 64 */
  --fs-6xl:  5.5rem;      /* 88 */

  /* Line heights */
  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-base:  1.6;
  --lh-loose: 1.75;
  --lh-body:  1.65;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --sp-40: 10rem;
  --sp-48: 12rem;

  /* Layout */
  --max-w:      1160px;
  --max-w-text: 640px;
  --max-w-mid:  860px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ─── Base ───────────────────────────────────────────────────────── */
body {
  background-color: var(--c-bg);
  color: var(--c-navy);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Skip link ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  background: var(--c-navy);
  color: var(--c-bg);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.skip-link:focus { top: var(--sp-3); }

/* ─── Focus styles ───────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-bronze);
  outline-offset: 3px;
}

/* ─── Layout containers ──────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 2 * var(--sp-8));
  margin-inline: auto;
}
.container--text {
  width: min(var(--max-w-text), 100% - 2 * var(--sp-8));
  margin-inline: auto;
}
.container--mid {
  width: min(var(--max-w-mid), 100% - 2 * var(--sp-8));
  margin-inline: auto;
}

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-disp);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--c-navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem);    letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 1.8vw, 1.75rem); }

p {
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--c-navy);
  max-width: var(--max-w-text);
}

p + p { margin-top: var(--sp-5); }

.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-bronze-text); /* #7A5E36 — 5.69:1 on bg, WCAG AA compliant */
  margin-bottom: var(--sp-5);
}

.lead {
  font-family: var(--f-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-base);
  color: var(--c-slate);
  max-width: 56ch;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-8);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--c-navy);
  color: var(--c-bg);
  border-color: var(--c-navy);
}
.btn--primary:hover {
  background-color: var(--c-navy-mid);
  border-color: var(--c-navy-mid);
}
.btn--primary:focus-visible {
  outline-color: var(--c-bronze);
}

.btn--ghost {
  background-color: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn--ghost:hover {
  background-color: var(--c-navy);
  color: var(--c-bg);
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-navy);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--c-bronze);
  transition: color 0.15s, border-color 0.15s;
}
.link-underline:hover {
  color: var(--c-bronze);
  border-color: var(--c-bronze-lt);
}

/* ─── Divider ────────────────────────────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid var(--c-rule);
}

/* ═══ HEADER ════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--c-bg);
  border-bottom: 1px solid var(--c-rule);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-5);
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.site-logo__name {
  font-family: var(--f-disp);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
.site-logo__entity {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-slate);
  line-height: 1;
}

/* Primary nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.site-nav__link {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--c-slate);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--c-navy);
  border-bottom-color: var(--c-bronze);
}
.site-nav__cta {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-bg);
  background-color: var(--c-navy);
  padding: var(--sp-3) var(--sp-6);
  transition: background-color 0.2s;
  white-space: nowrap;
}
.site-nav__cta:hover {
  background-color: var(--c-navy-mid);
  color: var(--c-bg);
  border-bottom: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  z-index: 210;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--c-navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══ FOOTER ════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--c-rule);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-12);
  margin-top: var(--sp-32);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8) var(--sp-16);
  align-items: start;
  margin-bottom: var(--sp-12);
}
.footer-brand__name {
  font-family: var(--f-disp);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--c-navy);
  line-height: 1.1;
}
.footer-brand__entity {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-top: var(--sp-2);
}
.footer-brand__contact {
  margin-top: var(--sp-6);
}
.footer-brand__contact p {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  line-height: var(--lh-base);
  max-width: none;
}
.footer-brand__contact a {
  color: var(--c-slate);
  transition: color 0.15s;
}
.footer-brand__contact a:hover { color: var(--c-navy); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-end;
}
.footer-nav a {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  color: var(--c-slate);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--c-navy); }

.footer-bottom {
  border-top: 1px solid var(--c-rule);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom p,
.footer-bottom a {
  font-size: var(--fs-xs);
  color: var(--c-slate-lt);
  max-width: none;
}
.footer-bottom a:hover { color: var(--c-slate); }
.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

/* ═══ SECTIONS ══════════════════════════════════════════════════════ */
.section {
  padding-block: var(--sp-32);
}
.section--sm { padding-block: var(--sp-20); }
.section--lg { padding-block: var(--sp-40); }
.section--ruled { border-top: 1px solid var(--c-rule); }
.section--surface {
  background-color: var(--c-bg-surface);
}

/* ═══ HERO ══════════════════════════════════════════════════════════ */
.hero {
  padding-top: clamp(var(--sp-24), 12vw, var(--sp-48));
  padding-bottom: clamp(var(--sp-20), 10vw, var(--sp-40));
  border-bottom: 1px solid var(--c-rule);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: center;
}

.hero__portrait {
  width: clamp(240px, 32vw, 480px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__headline {
  font-family: var(--f-disp);
  font-size: clamp(2.5rem, 5.8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--c-navy);
  max-width: 18ch;
  margin-bottom: var(--sp-8);
}

.hero__sub {
  font-family: var(--f-body);
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  line-height: var(--lh-base);
  color: var(--c-slate);
  max-width: 52ch;
  margin-bottom: var(--sp-12);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
}

/* ═══ OUTCOME BLOCKS ════════════════════════════════════════════════ */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--sp-12);
}

.outcome {
  border-top: 2px solid var(--c-navy);
  padding-top: var(--sp-6);
  padding-right: var(--sp-8);
  padding-bottom: var(--sp-8);
}
.outcome:not(:first-child) {
  border-left: 1px solid var(--c-rule);
  padding-left: var(--sp-8);
  padding-right: var(--sp-4);
}

.outcome__title {
  font-family: var(--f-disp);
  font-size: clamp(var(--fs-xl), 2vw, var(--fs-3xl));
  font-weight: 400;
  color: var(--c-navy);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.outcome__desc {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-slate);
  line-height: var(--lh-loose);
  max-width: 34ch;
}

/* ═══ TWO-COLUMN LAYOUTS ════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.two-col--label-body {
  grid-template-columns: 2.5fr 3fr;
  gap: var(--sp-12);
}

/* ═══ MATTERS LIST ══════════════════════════════════════════════════ */
.matters-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-6);
}
.matters-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--sp-3);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  color: var(--c-slate);
  line-height: var(--lh-base);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--c-rule);
}
.matters-list li:first-child { border-top: 1px solid var(--c-rule); }
.matters-list li::before {
  content: '—';
  color: var(--c-bronze);
  font-family: var(--f-disp);
  font-size: var(--fs-lg);
  line-height: 1.4;
}

/* ═══ PORTRAIT PLACEHOLDER ══════════════════════════════════════════ */
/* Dark navy card so placeholders read as intentional — not gaps.
   When photography arrives, swap the div for an <img> per HTML comment. */
.portrait-ph {
  background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  border: 1px solid var(--c-bronze);
  box-shadow: inset 0 0 0 4px rgba(15, 30, 60, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-12);
  aspect-ratio: 3/4;
  gap: var(--sp-4);
}
.portrait-ph__label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-bronze-lt); /* #C4A26B — 5.28:1 on navy, WCAG AA */
}
.portrait-ph__icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(250, 248, 244, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 248, 244, 0.35);
  margin-bottom: var(--sp-2);
}
.portrait-ph__desc {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  color: #8B9DAA; /* ~4.8:1 on navy, WCAG AA */
  max-width: 26ch;
  line-height: var(--lh-base);
}
.detail-ph {
  background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  border: 1px solid var(--c-bronze);
  box-shadow: inset 0 0 0 4px rgba(15, 30, 60, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  aspect-ratio: 4/3;
  gap: var(--sp-3);
}
.detail-ph__label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-bronze-lt);
}
.detail-ph__desc {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  color: #8B9DAA;
  max-width: 28ch;
  line-height: var(--lh-base);
}

/* ═══ BOUNDARY STATEMENT ════════════════════════════════════════════ */
.boundary {
  border-left: 1px solid var(--c-rule);
  padding-left: var(--sp-8);
  margin-top: var(--sp-8);
}
.boundary p {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  color: var(--c-slate);
  line-height: var(--lh-loose);
  font-style: italic;
}

/* ═══ CTA BANNER ════════════════════════════════════════════════════ */
.cta-banner {
  padding-block: var(--sp-32);
  border-top: 1px solid var(--c-rule);
}
.cta-banner__lead {
  font-family: var(--f-disp);
  font-size: clamp(var(--fs-2xl), 3.2vw, var(--fs-4xl));
  font-weight: 400;
  color: var(--c-navy);
  max-width: 28ch;
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-10);
}

/* ═══ ADVISORY PAGE ═════════════════════════════════════════════════ */
.page-hero {
  padding-top: clamp(var(--sp-16), 8vw, var(--sp-32));
  padding-bottom: clamp(var(--sp-12), 6vw, var(--sp-24));
  border-bottom: 1px solid var(--c-rule);
}
.page-hero__headline {
  font-family: var(--f-disp);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: var(--sp-6);
}
.page-hero__sub {
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--c-slate);
  max-width: 58ch;
}

.engagement-block {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--c-rule);
}
.engagement-block__label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-bronze-text);
  margin-bottom: var(--sp-4);
}
.engagement-block__title {
  font-family: var(--f-disp);
  font-size: clamp(var(--fs-2xl), 2.5vw, var(--fs-3xl));
  font-weight: 400;
  color: var(--c-navy);
  margin-bottom: var(--sp-6);
  line-height: 1.2;
}
.engagement-block p {
  max-width: var(--max-w-text);
}

/* ═══ ABOUT PAGE ════════════════════════════════════════════════════ */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-slate);
  border-bottom: 1px solid var(--c-rule);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
  margin-top: var(--sp-8);
}
.linkedin-link:hover {
  color: var(--c-navy);
  border-bottom-color: var(--c-navy);
}
.linkedin-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ═══ INSIGHTS PAGE ═════════════════════════════════════════════════ */
.insights-coming {
  padding-block: var(--sp-24) var(--sp-32);
  border-top: 1px solid var(--c-rule);
}
.insights-coming__label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-bronze-text);
  margin-bottom: var(--sp-6);
}
.insights-coming__title {
  font-family: var(--f-disp);
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: 400;
  line-height: 1.2;
  max-width: 20ch;
  margin-bottom: var(--sp-8);
}
.insights-coming p {
  color: var(--c-slate);
  max-width: 52ch;
}

/* ═══ CONTACT PAGE ══════════════════════════════════════════════════ */
.contact-details {
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact-details p {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  line-height: var(--lh-base);
  max-width: none;
}
.contact-details a {
  color: var(--c-navy);
  transition: color 0.15s;
}
.contact-details a:hover { color: var(--c-bronze); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-rule);
  padding: var(--sp-3) 0;
  font-family: var(--f-body);
  font-size: var(--fs-md);
  color: var(--c-navy);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--c-navy);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--c-rule);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
  padding-top: var(--sp-4);
}
.form-field select {
  color: var(--c-navy);
  cursor: pointer;
}
.form-field select option { color: var(--c-navy); }

/* Honeypot — never visible */
.hp-field { display: none !important; visibility: hidden !important; }

.form-note {
  font-size: var(--fs-xs);
  color: var(--c-slate);
  letter-spacing: 0.03em;
  max-width: none;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.form-error-msg {
  display: none;
  font-size: var(--fs-sm);
  color: #8B2A2A;
}
.form-error-msg.is-visible { display: block; }

.form-success {
  display: none;
  padding-block: var(--sp-12);
  border-top: 2px solid var(--c-bronze);
}
.form-success.is-visible { display: block; }
.form-success__title {
  font-family: var(--f-disp);
  font-size: var(--fs-3xl);
  font-weight: 400;
  margin-bottom: var(--sp-4);
}
.form-success p { color: var(--c-slate); }

/* ═══ RESPONSIVE ════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .two-col--label-body { grid-template-columns: 1fr; gap: var(--sp-10); }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .outcome:nth-child(3) { border-left: none; padding-left: 0; }
  .outcome:nth-child(3) { border-top: 2px solid var(--c-navy); padding-top: var(--sp-6); }
  .outcome:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── Nav breakpoint ────────────────────────────────────────────────
   The logo (~195px) + 5 nav links (~305px) + 5 gaps at 32px each
   (~160px) + CTA button (~236px) + logo-to-nav gap (32px) need
   ~928px of container width. Container = viewport − 64px, so
   overflow starts at ~992px viewport. Hamburger kicks in at 1080px
   to give 89px breathing room and prevent any clipping at real
   laptop window widths.  No JS changes needed — the toggle already
   works; this just controls when the button appears via CSS.
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background-color: var(--c-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-10);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__link {
    font-family: var(--f-disp);
    font-size: var(--fs-3xl);
    color: var(--c-navy);
    border-bottom: none;
  }
  .site-nav__link:hover { border-bottom: none; color: var(--c-bronze); }
  .site-nav__cta {
    font-size: var(--fs-sm) !important;
    padding: var(--sp-4) var(--sp-8) !important;
  }
}

@media (max-width: 768px) {
  /* Hero portrait */
  .hero__layout { grid-template-columns: 1fr; }
  .hero__portrait { display: none; }

  /* Layouts */
  .two-col { grid-template-columns: 1fr; gap: var(--sp-12); }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome:not(:first-child) { border-left: none; padding-left: 0; }
  .outcome { border-top: 2px solid var(--c-navy); padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: var(--sp-2); }

  .portrait-ph { aspect-ratio: 4/3; }

  .site-footer { margin-top: var(--sp-20); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .form-actions { flex-direction: column; align-items: flex-start; }
}

/* ═══ SCROLL REVEAL ═════════════════════════════════════════════════
   Applied by JS (IntersectionObserver in main.js). Major content
   blocks start slightly below and invisible; they transition to full
   position and opacity as they enter the viewport. Fires once —
   the element is never re-hidden when the user scrolls back up.
   Excluded by JS: .hero, .page-hero, site-header, form fields.
   prefers-reduced-motion: elements always visible (see rule below).
   ═════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

/* ═══ PRINT / A11Y ══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  /* Scroll-reveal: override the hidden initial state so content is
     always visible immediately — no fade or slide, no JS dependency */
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ═══ DARK ANCHOR SECTION ═══════════════════════════════════════════
   Applied once per page to the section carrying the most trust/
   emotional weight. Full-bleed navy band; all child elements are
   re-skinned for legibility on the dark background.
   Usage: add class="section--dark" to a <section> (replaces section--ruled
   on that element; dark bg provides its own visual break).
   Never use more than once per page.
   ═════════════════════════════════════════════════════════════════ */

.section--dark {
  background-color: var(--c-navy);
  border-top: none;
  border-bottom: none;
}

/* Headings */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .engagement-block__title,
.section--dark .insights-coming__title {
  color: var(--c-bg);
}

/* Body text — rgba(250,248,244,0.88) blends to ~#DEDEDE on navy: 9.76:1, AAA */
.section--dark p {
  color: rgba(250, 248, 244, 0.88);
}

/* Eyebrow / small labels */
.section--dark .eyebrow,
.section--dark .engagement-block__label,
.section--dark .insights-coming__label {
  color: var(--c-bronze-lt); /* #C4A26B — 5.28:1 on navy, AA */
}

/* Page hero sub on dark */
.section--dark .page-hero__sub {
  color: rgba(250, 248, 244, 0.75);
}

/* Link underline — cream text, bronze rule */
.section--dark .link-underline {
  color: var(--c-bg);
  border-bottom-color: var(--c-bronze);
}
.section--dark .link-underline:hover {
  color: var(--c-bronze-lt);
  border-bottom-color: var(--c-bronze-lt);
}

/* Boundary statement */
.section--dark .boundary {
  border-left-color: rgba(250, 248, 244, 0.18);
}
.section--dark .boundary p {
  color: rgba(250, 248, 244, 0.6);
}

/* Matters / lists */
.section--dark .matters-list li {
  color: rgba(250, 248, 244, 0.82);
  border-bottom-color: rgba(250, 248, 244, 0.1);
}
.section--dark .matters-list li:first-child {
  border-top-color: rgba(250, 248, 244, 0.1);
}
.section--dark .matters-list li::before {
  color: var(--c-bronze);
}

/* Engagement-block dividers */
.section--dark .engagement-block {
  border-top-color: rgba(250, 248, 244, 0.1);
}

/* Insights-coming block border */
.section--dark .insights-coming {
  border-top-color: rgba(250, 248, 244, 0.1);
}

/* LinkedIn link */
.section--dark .linkedin-link {
  color: var(--c-bg);
  border-bottom-color: rgba(250, 248, 244, 0.25);
}
.section--dark .linkedin-link:hover {
  color: var(--c-bronze-lt);
  border-bottom-color: var(--c-bronze);
}

/* Placeholders INSIDE dark sections — invert to warm cream card
   so they stand out against the navy background               */
.section--dark .portrait-ph,
.section--dark .detail-ph {
  background: var(--c-bg);
  border-color: var(--c-bronze);
  box-shadow: none;
}
.section--dark .portrait-ph__label,
.section--dark .detail-ph__label {
  color: var(--c-bronze-text); /* #7A5E36 — 5.69:1 on bg, AA */
}
.section--dark .portrait-ph__icon {
  border-color: var(--c-rule);
  color: var(--c-slate);
}
.section--dark .portrait-ph__desc,
.section--dark .detail-ph__desc {
  color: var(--c-slate);
}
