/* A restrained, shared editorial finish for every page. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 9998;
  background: linear-gradient(
    116deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 28%,
    rgba(255, 255, 255, 0.012) 52%,
    transparent 74%
  );
  mix-blend-mode: soft-light;
  opacity: 0.08;
}

body::after {
  z-index: 9999;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.5) 0.45px, transparent 0.65px),
    radial-gradient(rgba(8, 20, 38, 0.38) 0.4px, transparent 0.62px);
  background-position: 0 0, 2px 2px;
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
  opacity: 0.018;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

/* Navy fields stay chromatically clean; depth comes from type and spacing. */
.hero,
.rules-signal,
.research-engine {
  background-image: none;
}

main,
main section,
.site-footer {
  max-width: 100%;
}

main * {
  min-width: 0;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

/* Navigation spacing is based on the visible title edges, not equal-width cells. */
.banner {
  height: clamp(165px, 9.75vw, 210px);
  background-position: center 52%;
}

.banner nav {
  width: min(66vw, 920px);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.4vw, 24px);
}

.banner-inner {
  gap: clamp(24px, 2.5vw, 44px);
}

.banner .brand-logo {
  width: clamp(265px, 16vw, 320px);
}

/* A consistent financial notation for outcome and opportunity-cost figures. */
.wealth-line header strong,
.gap-cost > strong,
.gap-multiplier strong,
.chart-intro strong,
.chart-outcome strong {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -0.035em;
}

.banner nav a {
  flex: 0 0 auto;
  padding: 11px 4px 13px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(12px, 0.72vw, 14.5px);
  letter-spacing: 0.13em;
  text-shadow: 0 1px 12px rgba(7, 18, 34, 0.36);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .banner {
    height: 195px;
  }

  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .banner .brand-logo {
    width: min(78vw, 340px);
  }

  .banner nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 0;
  }

  .banner nav a {
    width: 100%;
    padding: 7px 3px 9px;
    font-size: clamp(9px, 1.55vw, 11px);
    white-space: normal;
  }
}

/* The supplied footer lockup includes the tagline, so give it enough scale to read. */
.footer-logo {
  width: min(100%, 335px);
}

@media (max-width: 900px) {
  .footer-logo {
    width: min(100%, 315px);
  }
}

/* Financial outcomes should be clear, not overpower the surrounding analysis. */
.wealth-line strong {
  font-size: clamp(30px, 2.2vw, 46px);
  line-height: 0.9;
}

.gap-cost > strong {
  font-size: clamp(56px, 5.8vw, 94px);
  line-height: 0.86;
}

.gap-multiplier strong {
  font-size: clamp(21px, 1.3vw, 27px);
}

.chart-outcome strong {
  font-size: clamp(23px, 1.5vw, 32px);
}

@media (max-width: 900px) {
  .wealth-line strong {
    font-size: clamp(28px, 9vw, 40px);
  }

  .gap-cost > strong {
    font-size: clamp(54px, 16vw, 72px);
  }

  .gap-multiplier strong {
    font-size: clamp(20px, 6.5vw, 25px);
  }

  /* Let the homepage introduction use the available tablet width. */
  .hero-aside,
  .hero-aside p {
    max-width: 760px;
  }
}

/* A comfortable reading scale for substantive copy, not captions or legal text. */
.hero-aside p,
.section-header > p,
.form-intro p:last-child,
.differentiator p,
.ledger-rule p,
.signal-rule p,
.constitution-rule p,
.rules-concept > p,
.rules-signal > p,
.pillar p:last-child,
.research-step p,
.standard-item p,
.partner-copy p,
.person-copy p,
.article-copy p {
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 400;
  line-height: 1.65;
}

/* Preserve contrast when the reading copy sits on the navy fields. */
.hero-aside p,
.rules-signal p,
.signal-rule p,
.research-step p {
  color: rgba(255, 255, 255, 0.82);
}

/* The homepage introduction is supporting copy, not a second headline. */
.hero .hero-aside {
  width: min(100%, 720px);
  max-width: 720px;
}

.hero .hero-aside p {
  max-width: 62ch;
  font-size: clamp(15px, 0.92vw, 18px);
  font-weight: 300;
  line-height: 1.58;
  letter-spacing: -0.012em;
}

@media (max-width: 900px) {
  .hero-aside p,
  .section-header > p,
  .form-intro p:last-child,
  .differentiator p,
  .ledger-rule p,
  .signal-rule p,
  .constitution-rule p,
  .rules-concept > p,
  .rules-signal > p,
  .pillar p:last-child,
  .research-step p,
  .standard-item p,
  .partner-copy p,
  .person-copy p,
  .article-copy p {
    font-size: clamp(17px, 4.6vw, 20px);
    line-height: 1.6;
  }

  .hero .hero-aside {
    width: 100%;
    max-width: 720px;
  }

  .hero .hero-aside p {
    max-width: 62ch;
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.55;
  }
}

/* Keep display headlines inside their intended grid columns. */
.hero-inner > *,
.framework-hero-inner > *,
.approach-hero-inner > * {
  min-width: 0;
}

.hero h1,
.team-hero h1,
.press-hero h1,
.contact-hero h1,
.framework-hero h1,
.approach-hero h1 {
  max-width: 100%;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(64px, 4.8vw, 100px);
  line-height: 0.94;
}

.hero h1 em {
  margin-left: clamp(0px, 1.5vw, 26px);
  margin-top: 0.09em;
  font-size: 1em;
  line-height: 0.94;
  white-space: normal;
}

.team-hero h1,
.press-hero h1,
.contact-hero h1 {
  font-size: clamp(68px, 5.7vw, 112px);
  line-height: 0.9;
}

.team-hero h1 em,
.press-hero h1 em,
.contact-hero h1 em {
  margin-top: 0.09em;
  font-size: 1em;
  line-height: 0.94;
}

.framework-hero h1 em {
  margin-top: 0.09em;
}

.framework-hero h1 {
  font-size: clamp(64px, 5.4vw, 108px);
  line-height: 0.92;
}

.approach-hero h1 {
  font-size: clamp(68px, 6vw, 122px);
  line-height: 0.88;
}

@media (max-width: 1180px) {
  .hero h1,
  .team-hero h1,
  .press-hero h1,
  .contact-hero h1,
  .framework-hero h1,
  .approach-hero h1 {
    max-width: 980px;
  }
}

/* Intermediate-width reflow for split-screen and non-maximized windows. */
@media (max-width: 1800px) {
  .research-engine,
  .differentiators-inner,
  .gap-header,
  .gap-evidence,
  .compound-chart-heading,
  .form-inner,
  .partners-header,
  .pillars-header,
  .section-header,
  .ledger-header,
  .rules-signal,
  .team-header {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(42px, 5vw, 78px);
  }

  .research-intro > p:last-child,
  .conventional-copy,
  .form-intro p:last-child,
  .partners-header > p,
  .section-header > p,
  .team-header > p {
    max-width: 860px;
  }

  .section-intro,
  .form-intro,
  .signal-intro {
    position: static;
  }

  .research-step {
    grid-template-columns: 56px minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(22px, 2.5vw, 42px);
  }
}

@media (max-width: 1350px) {
  .hero-inner,
  .framework-hero-inner,
  .approach-hero-inner,
  .footer-main,
  .partnership-statement,
  .portfolio-return,
  .person-card,
  .person-card:nth-child(even),
  .partner,
  .partner:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner,
  .framework-hero-inner,
  .approach-hero-inner {
    gap: clamp(44px, 6vw, 72px);
  }

  .hero-aside,
  .framework-hero-aside,
  .approach-hero-aside {
    max-width: 860px;
  }

  .person-card:nth-child(even) .person-portrait,
  .partner:nth-child(even) .portrait {
    order: 0;
  }

  .footer-disclaimer {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .research-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
  }

  .research-step p {
    grid-column: 2;
  }
}

@media (max-width: 580px) {
  .research-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-step p {
    grid-column: auto;
  }
}

/* Website-scale content system: full-bleed backgrounds, restrained reading width. */
:root {
  --site-max: 1360px;
  --site-pad: max(24px, 6vw, calc((100vw - var(--site-max)) / 2));
  --reading-max: 680px;
}

.hero-inner,
.hero-footer,
.differentiators-inner,
.framework-cta,
.team-inner,
.partners-inner,
.standard-inner,
.partnership-statement,
.archive-inner,
.research-inner,
.form-inner {
  width: min(calc(100% - 48px), var(--site-max));
  margin-inline: auto;
}

.framework-hero,
.approach-hero,
.problem-gap,
.rules-signal,
.pillars,
.research-engine,
.portfolio-return,
.approach-signature,
.history-line,
.site-footer {
  padding-inline: var(--site-pad);
}

.problem-gap,
.differentiators,
.rules-signal,
.pillars,
.research-engine,
.archive,
.research,
.partners,
.contact-form-section {
  padding-top: clamp(76px, 7vw, 112px);
  padding-bottom: clamp(76px, 7vw, 112px);
}

.hero-inner,
.framework-hero-inner,
.approach-hero-inner,
.section-header,
.partners-header,
.pillars-header,
.form-inner {
  gap: clamp(48px, 6vw, 92px);
}

.differentiators-inner,
.research-engine,
.rules-signal {
  gap: clamp(56px, 7vw, 110px);
}

.hero-aside p,
.framework-hero-aside p,
.approach-hero-aside p,
.gap-header > p,
.compound-chart-heading p,
.section-header > p,
.partners-header > p,
.pillars-header > p,
.form-intro p:last-child {
  max-width: var(--reading-max);
}

.compound-chart {
  width: min(100%, 1180px);
  margin-inline: auto;
}

@media (max-width: 900px) {
  :root {
    --site-pad: 24px;
  }

  .hero-inner,
  .hero-footer,
  .differentiators-inner,
  .framework-cta,
  .team-inner,
  .partners-inner,
  .standard-inner,
  .partnership-statement,
  .archive-inner,
  .research-inner,
  .form-inner {
    width: calc(100% - 48px);
  }
}

/* Restrained editorial type scale for the narrower website frame. */
:root {
  --display-hero: clamp(60px, 4.1vw, 86px);
  --display-section: clamp(50px, 3.35vw, 70px);
  --display-feature: clamp(40px, 2.7vw, 56px);
  --display-card: clamp(29px, 1.9vw, 40px);
}

.hero h1,
.team-hero h1,
.press-hero h1,
.contact-hero h1,
.framework-hero h1,
.approach-hero h1 {
  max-width: 860px;
  font-size: var(--display-hero);
  line-height: 0.94;
}

.problem-concept h2,
.differentiators h2,
.rules-concept h2,
.team-header h2,
.rules-signal h2,
.pillars-header h2,
.research-intro h2,
.partners-header h2,
.standard-header h2,
.section-header h2,
.form-intro h2 {
  font-size: var(--display-section);
  line-height: 0.96;
  text-wrap: balance;
}

.compound-chart-heading h3,
.framework-cta h3,
.portfolio-return h2,
.partner-copy h3,
.person-copy h3 {
  font-size: var(--display-feature);
  line-height: 1;
  text-wrap: balance;
}

.differentiator h3,
.ledger-rule h3,
.signal-rule h3,
.constitution-rule h3,
.pillar h3,
.research-step h3,
.standard-item h3,
.video-meta h3,
.article-copy h3 {
  font-size: var(--display-card);
  line-height: 1.04;
}

@media (max-width: 900px) {
  :root {
    --display-hero: clamp(48px, 11.5vw, 64px);
    --display-section: clamp(42px, 10vw, 56px);
    --display-feature: clamp(34px, 8.5vw, 48px);
    --display-card: clamp(27px, 7vw, 36px);
  }

  .hero h1,
  .team-hero h1,
  .press-hero h1,
  .contact-hero h1,
  .framework-hero h1,
  .approach-hero h1,
  .problem-concept h2,
  .differentiators h2,
  .rules-concept h2,
  .team-header h2,
  .rules-signal h2,
  .pillars-header h2,
  .research-intro h2,
  .partners-header h2,
  .standard-header h2,
  .section-header h2,
  .form-intro h2 {
    line-height: 0.98;
  }
}

/* Align the three Approach pillars to a shared editorial baseline. */
@media (min-width: 1181px) {
  .pillar h3 {
    min-height: 1.05em;
  }

  .pillar .thesis {
    min-height: 3.24em;
  }

  .pillar p:last-child {
    margin-top: 0;
  }
}

/* Keep the editorial labels quiet, but comfortably readable. */
.eyebrow,
.rules-kicker,
.section-kicker,
.pillar-number,
.signal-rule .rule-number,
.framework-cta span,
.portfolio-return span,
.partnership-statement span,
.partner-role,
.standard-item span,
.history-point span,
.video-source,
.article-copy span,
.gap-chart-labels,
.chart-intro span,
.chart-outcome span,
.gap-cost span,
.gap-period,
.hero-footer span,
.research-step::before {
  font-size: clamp(11px, 0.72vw, 13px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .eyebrow,
  .rules-kicker,
  .section-kicker,
  .pillar-number,
  .signal-rule .rule-number,
  .framework-cta span,
  .portfolio-return span,
  .partnership-statement span,
  .partner-role,
  .standard-item span,
  .history-point span,
  .video-source,
  .article-copy span,
  .gap-chart-labels,
  .chart-intro span,
  .chart-outcome span,
  .gap-cost span,
  .gap-period,
  .hero-footer span,
  .research-step::before {
    font-size: clamp(10px, 2.6vw, 12px);
    letter-spacing: 0.15em;
  }
}

/* Cross-device layout guardrails. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

p,
h1,
h2,
h3,
a,
span {
  overflow-wrap: break-word;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font: inherit;
}

@media (max-width: 1100px) {
  .banner {
    height: 270px;
  }

  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .banner .brand-logo {
    width: min(56vw, 300px);
  }

  .banner nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .banner nav a {
    width: 100%;
    min-height: 42px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 1.15vw, 12px);
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .banner {
    height: 250px;
  }

  .banner .brand-logo {
    width: min(62vw, 280px);
  }

  .hero,
  .team-hero,
  .press-hero,
  .contact-hero,
  .framework-hero,
  .approach-hero {
    min-height: auto;
  }

  .hero h1 em,
  .team-hero h1 em,
  .press-hero h1 em,
  .contact-hero h1 em,
  .framework-hero h1 em,
  .approach-hero h1 em {
    margin-left: 0;
  }

  .pillar,
  .signal-rule,
  .ledger-rule,
  .constitution-rule,
  .standard-item,
  .history-point,
  .research-step {
    min-height: 0;
  }

  .person-portrait,
  .portrait {
    width: min(100%, 580px);
  }

  .footer-main,
  .footer-bottom {
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .field-grid,
  .video-grid,
  .article-grid,
  .history-line,
  .standard-grid,
  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-option {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions button,
  .portfolio-return a,
  .framework-cta a {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 580px) {
  :root {
    --site-pad: 20px;
    --display-hero: clamp(44px, 13vw, 58px);
    --display-section: clamp(38px, 11.5vw, 50px);
    --display-feature: clamp(32px, 9.5vw, 42px);
    --display-card: clamp(26px, 7.8vw, 34px);
  }

  .banner {
    height: 240px;
    background-position: 50% 62%;
  }

  .banner-inner {
    left: 20px;
    right: 20px;
    bottom: 14px;
  }

  .banner .brand-logo {
    width: min(68vw, 250px);
  }

  .banner nav {
    gap: 2px 6px;
  }

  .banner nav a {
    min-height: 38px;
    padding: 7px 2px;
    font-size: clamp(9.5px, 2.7vw, 11px);
    letter-spacing: 0.07em;
  }

  .hero-inner,
  .differentiators-inner,
  .team-inner,
  .partners-inner,
  .standard-inner,
  .partnership-statement,
  .archive-inner,
  .research-inner,
  .form-inner {
    width: 100%;
  }

  .hero-footer,
  .framework-cta {
    width: calc(100% - 40px);
  }

  .problem-gap,
  .differentiators,
  .rules-signal,
  .pillars,
  .research-engine,
  .archive,
  .research,
  .partners,
  .contact-form-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .research-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .research-step p {
    grid-column: auto;
  }

  .chart-outcome,
  .gap-multiplier {
    gap: 14px;
  }

  .chart-outcome {
    flex-wrap: wrap;
  }

  .gap-multiplier {
    align-items: flex-start;
    flex-direction: column;
  }

  .gap-multiplier strong {
    white-space: normal;
  }

  .footer-links nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
