/* ==========================================================================
   Design tokens — measured from the reference layout at a 1440px viewport
   ========================================================================== */
:root {
  /* Color */
  --navy: #212121;            /* hero bg, overlay cards, quote icon */
  --navy-80: rgba(33, 33, 33, .8);
  --blue: #212121;            /* links, outline buttons */
  --blue-btn: #212121;        /* primary buttons */
  --blue-btn-hover: #212121;
  --cream: #dac5a3;          /* brand light accent, for dark grounds */
  --gold: #8c6f3f;            /* brand gold on white (4.7:1) */
  --sky: #dac5a3;             /* end of gradient separators */
  --ink: #212121;             /* headings */
  --body: #1a1a1a;            /* paragraphs */
  --grey-bg: #f5f5f5;         /* tinted sections, footer, utility bar */
  --line: #d6d6d6;            /* footer rules */
  --muted: #6b6b6b;           /* fine print (4.9:1 on the grey) */
  --on-dark: #ffffff;         /* headings on dark */
  --on-dark-2: #e8e8e8;       /* copy on dark */
  --white: #fff;
  --sep: linear-gradient(var(--blue), var(--sky));

  /* Type: Roboto Flex is the closest free match to the reference typeface
     (avg. text width within ~1%, same x-height). Swap for your brand font. */
  --font: "Roboto Flex", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w-reg: 400;
  --w-md: 500;
  --w-light: 300;
  /* The reference face renders darker the smaller it gets (hinted stems snap to
     whole pixels), so weights step up as size goes down. Values matched
     side by side against the reference at 1:1 on Windows/Chrome. */
  --w-28: 420;
  --w-20: 460;
  --w-16: 540;
  --w-14: 560;
  --w-12: 600;
  --w-md-24: 600;
  --w-md-20: 620;
  --w-md-14: 700;
  --w-md-12: 700;

  /* Layout */
  --gutter: 40px;             /* page side padding */
  --gap: 32px;                /* 4-up column gap */
  --gap-sm: 16px;             /* 2/3-up card gap */
  --space-lg: 96px;           /* spacing block "large" */
  --space-md: 64px;           /* spacing block "medium" */
  --radius: 4px;
  --header-h: 120px;          /* 36 utility + 84 main */
  --content-max: 1520px;      /* content stops growing here and centers */
  --header-max: 1600px;       /* header rows: 1600 incl. 40px padding = 1520 content */
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: var(--w-16);
  line-height: 1.4;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Keep Roboto Flex at its default optical size (14) at every font size.
     The reference face doesn't change shape with size, so this keeps widths matching. */
  font-optical-sizing: none;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
img[src=""] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue-btn); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sp-lg { height: var(--space-lg); }
.sp-md { height: var(--space-md); }

/* Image placeholders: drop an <img src="..."> inside any .ph to replace */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #141414 0%, #1d5f9f 45%, #5c8fc4 100%); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.55); pointer-events: none;
}
.ph:has(img:not([src=""]))::after { content: none; }
.ph--warm  { background: linear-gradient(160deg, #6b7a3a 0%, #b9a35c 45%, #dac5a3 100%); }
.ph--teal  { background: linear-gradient(150deg, #0d2b3e 0%, #1f5b73 50%, #6fa9b8 100%); }
.ph--grey  { background: linear-gradient(150deg, #7c8794 0%, #b5bec8 60%, #e8e8e8 100%); }
.ph--green { background: linear-gradient(160deg, #1f3d2a 0%, #3f6b45 50%, #8db17f 100%); }
.ph--dark  { background: linear-gradient(110deg, #0a1520 0%, #1b2a38 50%, #33475a 100%); }

/* ==========================================================================
   Typography primitives
   ========================================================================== */
.eyebrow {
  display: block; font-size: 12px; line-height: 16.8px; font-weight: var(--w-md);
  text-transform: uppercase; letter-spacing: .04em; color: var(--body);
}
.h2 { font-size: 36px; line-height: 43.2px; font-weight: var(--w-reg); color: var(--ink); }
.lead { font-size: 16px; line-height: 22.4px; color: var(--body); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; line-height: 22.4px; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--blue-btn); color: var(--white); }
.btn--primary:hover { background: var(--blue-btn-hover); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: rgba(33,33,33,0); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--sm { height: 34px; padding: 6px 16px; font-size: 14px; line-height: 19.6px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 14px; line-height: 19.6px; padding: 4px 0; }
.link-arrow:hover span { text-decoration: underline; }
.icon { width: 16px; height: 16px; flex: none; }
.arrow { display: inline-block; width: 16px; height: 16px; }

/* ==========================================================================
   Header (fixed; transparent over hero, white once scrolled or menu open)
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--on-dark); transition: background-color .25s, color .25s, box-shadow .25s; }
.header.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

.utility { height: 36px; transition: background-color .25s; }
.header.is-solid .utility { background: var(--grey-bg); }
.utility .wrap { max-width: var(--header-max); padding: 0 32px; height: 100%; display: flex; justify-content: flex-end; align-items: center; }
.utility__links { display: flex; align-items: center; gap: 12px; height: 32px; }
.utility__links a, .utility__loc { display: inline-flex; align-items: center; gap: 4px; height: 32px; font-size: 14px; line-height: 19.6px; }
.header.is-solid .utility__links a, .header.is-solid .utility__loc { color: var(--body); }
.utility__links a:hover { text-decoration: underline; }
.utility__locwrap { margin-left: 12px; position: relative; }
.utility__loc .chev { color: var(--blue); }
.header:not(.is-solid) .utility__loc .chev { color: inherit; }

.dropdown {
  position: absolute; top: calc(100% + 4px); right: 0; min-width: 220px; padding: 8px 0;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,8,15,.16); display: none; z-index: 5;
}
.dropdown.is-open { display: block; }
.dropdown a { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 14px; color: var(--body); }
.dropdown a:hover { background: var(--grey-bg); color: var(--blue); }

.mainnav { height: 84px; }
.mainnav .wrap { height: 100%; display: flex; align-items: center; }
.brand { display: flex; align-items: center; width: 190px; height: 27px; margin-right: 40px; font-size: 25px; line-height: 27px; letter-spacing: -.01em; white-space: nowrap; }
.nav-bar { display: flex; gap: 20px; height: 52px; align-self: center; }
.nav-bar > li { position: static; display: flex; }
.nav-trigger {
  position: relative; display: flex; align-items: center; height: 42px; margin-top: 10px;
  font-size: 16px; line-height: 22.4px; white-space: nowrap;
}
.nav-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .2s; }
.nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.header.is-solid .nav-trigger[aria-expanded="true"]::after { background: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius); }
.icon-btn:hover { background: rgba(127,127,127,.15); }
.icon-btn svg { width: 24px; height: 24px; }
.login { position: relative; }
.login .btn { width: 128px; justify-content: center; gap: 8px; padding: 6px 0; }
.burger { display: none; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--white); color: var(--ink);
  box-shadow: 0 12px 24px rgba(0,8,15,.12); display: none;
}
.mega.is-open { display: block; }
.mega__grid { display: grid; grid-template-columns: 312px 1fr; padding-top: 32px; padding-bottom: 64px; }
.mega__intro { padding-right: 24px; border-right: 1px solid var(--line); }
.mega__intro h2 { font-size: 32px; line-height: 38.4px; font-weight: var(--w-reg); margin-bottom: 24px; }
.mega__intro p { font-size: 14px; line-height: 19.6px; margin-bottom: 24px; }
.mega__main { padding-left: 32px; display: grid; grid-template-columns: 1fr 312px; column-gap: 48px; }
.mega__tabs { grid-column: 1 / -1; display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.mega__tab { position: relative; padding: 8px 0 10px; font-size: 14px; color: var(--ink); }
.mega__tab[aria-selected="true"] { color: var(--blue); }
.mega__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.mega__panel[hidden] { display: none; }
.mega__all { display: inline-flex; align-items: center; gap: 4px; font-size: 20px; line-height: 26px; font-weight: var(--w-md); color: var(--blue); }
.mega__all + p { font-size: 12px; line-height: 16.8px; margin: 4px 0 24px; }
.mega__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
.mega__links a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 19.6px; font-weight: var(--w-md); color: var(--blue); }
.mega__links a:hover, .mega__all:hover { text-decoration: underline; }
.mega__links p { font-size: 12px; line-height: 16.8px; margin-top: 4px; }
.mega__featured { background: var(--grey-bg); border-radius: var(--radius); padding: 20px; align-self: start; grid-row: 2; grid-column: 2; }
.mega__featured > .eyebrow { margin-bottom: 16px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 16px; margin-bottom: 20px; }
.mini:last-child { margin-bottom: 0; }
.mini .ph { width: 64px; height: 64px; border-radius: var(--radius); }
.mini h3 { font-size: 14px; line-height: 19.6px; font-weight: var(--w-md); color: var(--ink); margin: 4px 0 8px; }

/* Search overlay */
.search {
  position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--white); color: var(--ink);
  box-shadow: 0 12px 24px rgba(0,8,15,.12); display: none; padding: 40px 0 56px;
}
.search.is-open { display: block; }
.search form { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 32px; line-height: 38.4px; color: var(--ink); background: none; }
.search input::placeholder { color: #8a8f99; }
.search__popular { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 14px; }
.search__popular a { color: var(--blue); }

.scrim { position: fixed; inset: 0; background: rgba(0,8,15,.4); z-index: 90; display: none; }
.scrim.is-open { display: block; }

/* ==========================================================================
   Section header (title | gradient separator | sub-copy)
   ========================================================================== */
.shead { display: flex; align-items: flex-start; gap: 24px; }
.shead__left { flex: none; }
.shead__sep { flex: none; width: 4px; align-self: stretch; background: var(--sep); }
.shead__right { max-width: 760px; }
.shead__right .lead { padding-top: 12px; }
.shead--plain .shead__right .lead { padding-top: 0; }
.shead .eyebrow { margin: 4px 0 6px; }
.shead + .btn { margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 751px; padding-top: var(--header-h); background: var(--navy); color: var(--on-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg video, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg::before { /* legibility scrim over media */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,20,40,.62) 0%, rgba(0,20,40,.35) 45%, rgba(0,20,40,0) 75%),
              linear-gradient(180deg, rgba(0,20,40,.55) 0%, rgba(0,20,40,0) 22%);
}
.hero__body { position: relative; z-index: 2; height: 100%; padding: 104px 0 40px; }
.hero__body .wrap { height: 100%; display: flex; flex-direction: column; }
.hero__panel { width: calc(50% - 8px); padding-top: 64px; flex: 1; }
.hero__content { position: relative; padding: 0 64px 0 106px; } /* text width = panel − 170px */
.hero__content::before { content: ""; position: absolute; left: 64px; top: 0; bottom: 0; width: 2px; background: var(--sep); }
.hero h1 { font-size: 56px; line-height: 67.2px; font-weight: var(--w-reg); color: var(--on-dark); }
.hero__sub { max-width: 576px; margin-top: 16px; font-size: 20px; line-height: 26px; color: var(--on-dark-2); }
.hero__cta { margin-top: 56px; }
.hero__ctrl { display: flex; justify-content: flex-end; }
.hero__ctrl button { display: inline-flex; align-items: center; gap: 4px; height: 22px; font-size: 12px; line-height: 16.8px; color: var(--on-dark); }

/* ==========================================================================
   Pillars (4-up icon + stat cards)
   ========================================================================== */
.pillars__grid { margin-top: 23px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-bottom: 20px; }
.pillar__icon { display: block; width: 120px; height: 120px; color: var(--navy); }
/* two-tone: the silhouette inherits currentColor, the accent group
   takes the brand gold — same idea as the reference layout's blue */
.pillar__icon .ic-ac { stroke: var(--gold); }
.pillar__icon .ic-fill { fill: var(--gold); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar h3 { margin-top: 16px; font-size: 28px; line-height: 36.4px; font-weight: var(--w-reg); color: var(--ink); }
.pillar p { margin-top: 17px; font-size: 14px; line-height: 19.6px; }

/* ==========================================================================
   Carousel (full-bleed image cards with overlay)
   ========================================================================== */
.carousel__head { padding-bottom: 32px; }
.carousel__head .shead__right .lead { padding-top: 12px; }
.carousel__viewport { overflow: hidden; position: relative; max-width: var(--content-max); margin: 0 auto; }
.carousel__track { display: flex; transition: transform .45s ease; }
.slide { position: relative; flex: 0 0 calc(100% / 3); height: 420px; }
.slide .ph { position: absolute; inset: 0; }
.overlay-card {
  position: absolute; left: 32px; right: 32px; bottom: 32px; padding: 27px 24px 24px;
  background: var(--navy-80); border-radius: var(--radius); color: var(--on-dark);
  display: flex; flex-direction: column; min-height: 202px;
}
.overlay-card .eyebrow { color: var(--on-dark-2); }
.overlay-card h3 { margin-top: 12px; font-size: 24px; line-height: 31.2px; font-weight: var(--w-md); color: var(--on-dark); }
.overlay-card p { margin-top: 8px; font-size: 12px; line-height: 16.8px; color: var(--on-dark-2); }
.overlay-card .arrow { margin-top: auto; color: var(--on-dark); transition: transform .2s; }
a:hover > .overlay-card .arrow, .overlay-card:hover .arrow { transform: translateX(4px); }
.carousel__nav { display: none; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.carousel__nav button { width: 40px; height: 40px; border: 1px solid var(--blue); color: var(--blue); border-radius: 50%; display: grid; place-items: center; }
.carousel__nav button:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   Audience grid (3-up gradient cards)
   ========================================================================== */
.audience .shead__left { width: 578px; }
.audience__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-sm); }
.gcard {
  position: relative; display: flex; flex-direction: column; height: 288px; padding: 20px;
  border-radius: var(--radius); background-color: var(--white);
  background-image: linear-gradient(298deg, rgba(255,255,255,0) 32.543%, rgba(33,33,33,.15) 96.229%);
  transition: box-shadow .2s;
}
.gcard:hover { box-shadow: 0 4px 16px rgba(0,8,15,.12); }
.gcard__top { display: flex; gap: 16px; }
.gcard__top .ph { width: 128px; height: 128px; border-radius: var(--radius); flex: none; }
.gcard__top .eyebrow { margin-top: 4px; }
.gcard h3 { margin-top: 16px; font-size: 20px; line-height: 26px; font-weight: var(--w-md); color: var(--ink); }
.gcard p { margin-top: 4px; font-size: 12px; line-height: 16.8px; }
.gcard .arrow { margin-top: auto; color: var(--ink); transition: transform .2s; }
.gcard:hover .arrow { transform: translateX(4px); }
.gcard--image { padding: 0; overflow: hidden; background: none; }
.gcard--image .ph { position: absolute; inset: 0; }

/* ==========================================================================
   By the numbers
   ========================================================================== */
.numbers { background: var(--grey-bg); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.numbers__intro .eyebrow { margin-top: 4px; }
.numbers__intro .h2 { margin-top: 11px; }
.numbers__intro .lead { margin-top: 9px; }
.stat__value { font-variant-numeric: proportional-nums; display: flex; align-items: baseline; gap: 12px; font-size: 96px; line-height: 110.4px; color: var(--ink); white-space: nowrap; }
.stat__suffix { font-size: 64px; line-height: 76.8px; }
.stat__label { margin-top: 17px; font-size: 14px; line-height: 19.6px; }
.stat__label sup { font-size: 11.67px; line-height: 0; }

/* ==========================================================================
   Quote / statement breaker
   ========================================================================== */
.quote__inner { position: relative; padding: 0 96px 0 68px; }
.quote__inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sep); }
.quote__content { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.quote__icon { width: 32px; height: 32px; margin-top: 4px; color: var(--navy); }
.quote__text { font-size: 32px; line-height: 38.4px; font-weight: var(--w-light); font-variation-settings: "slnt" -10; color: var(--body); }
.quote__author { grid-column: 2; display: flex; gap: 16px; margin-top: 25px; }
.quote__avatar { width: 64px; height: 64px; border-radius: 9999px; flex: none; margin-top: 8px; }
.quote__name { font-size: 20px; line-height: 26px; color: var(--ink); }
.quote__role { margin-top: 4px; font-size: 14px; line-height: 19.6px; }
.quote__author .link-arrow { margin-top: 4px; font-size: 12px; line-height: 16.8px; padding: 2px 0; }

/* ==========================================================================
   Media breaker (image left, copy right)
   ========================================================================== */
.breaker { background: var(--grey-bg); }
.breaker__surface { display: grid; grid-template-columns: 886fr 459fr; align-items: center; min-height: 504px; }
.breaker__media { height: 504px; }
.breaker__copy { padding-left: 72px; max-width: calc(347px + 72px); }
.breaker__copy .h2 { margin-top: 11px; }
.breaker__copy .lead { margin-top: 8px; }
.breaker__copy .btn { margin-top: 20px; }

/* ==========================================================================
   Featured insights
   ========================================================================== */
.featured .btn { margin-top: 20px; }
.featured__grid { margin-top: 25px; display: grid; grid-template-columns: 378fr 378fr 549fr; column-gap: 20px; row-gap: 24px; }
.li-item { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-content: start; border-radius: var(--radius); }
.li-item .ph { width: 128px; height: 128px; border-radius: var(--radius); }
.li-item .eyebrow { margin-top: 3px; }
.li-item h3 { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: var(--w-md); color: var(--ink); }
.li-item h3 a:hover { text-decoration: underline; }
.li-item p { margin-top: 4px; font-size: 12px; line-height: 16.8px; }
.li-item .link-arrow { margin-top: 4px; }
.feature-card { grid-column: 3; grid-row: 1 / span 2; position: relative; padding: 2px; border-radius: var(--radius); background: var(--grey-bg); min-height: 357px; color: var(--on-dark); }
.feature-card .ph { position: absolute; inset: 2px; border-radius: var(--radius); }
.feature-card .overlay-card { min-height: 189px; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.news { position: relative; min-height: 408px; background: radial-gradient(120% 140% at 75% 120%, #0a4a8a 0%, #003063 35%, #002147 70%); color: var(--on-dark); overflow: hidden; }
.news__arcs { position: absolute; inset: 0; pointer-events: none; }
.news .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.7fr; gap: 32px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
.news h2 { font-size: 28px; line-height: 36.4px; font-weight: var(--w-reg); color: var(--on-dark); max-width: 400px; }
.news__intro p { margin-top: 12px; font-size: 14px; line-height: 19.6px; color: var(--on-dark-2); max-width: 400px; }
.news__form { background: rgba(0,24,52,.85); border-radius: var(--radius); padding: 32px; }
.news__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 12px; line-height: 16.8px; font-weight: var(--w-md); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 14px; color: var(--ink); background: var(--white); appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23002952' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field.is-invalid input, .field.is-invalid select { border-color: #e5484d; }
.field__err { display: none; margin-top: 4px; font-size: 12px; color: #ffb4b4; }
.field.is-invalid .field__err { display: block; }
.news__req { margin-top: 20px; font-size: 10px; line-height: 14px; }
.news__foot { margin-top: 16px; display: flex; gap: 24px; align-items: center; }
.news__legal { font-size: 10px; line-height: 14px; color: var(--on-dark-2); }
.news__legal a { text-decoration: underline; }
.news__foot .btn { flex: none; }
.news__ok { display: none; font-size: 16px; line-height: 22.4px; }
.news__form.is-done .news__ok { display: block; }
.news__form.is-done form { display: none; }

/* ==========================================================================
   Disclosures
   ========================================================================== */
/* The fine print: whatever footnotes a page carries, then the three standing
   lines. It sits on the footer's own tint and aligns with the page grid, so it
   reads as the bottom of the page rather than as one more content section —
   at body size and body black it was being read as copy someone forgot. */
.disclosures { background: var(--grey-bg); border-top: 1px solid var(--line); padding: 28px 0 29px; }
/* 8 of 12 columns, so the lines keep a readable measure */
.disclosures .wrap > div { width: calc((100% - 11 * 32px) / 12 * 8 + 7 * 32px); }
.disclosures p { font-size: 13px; line-height: 18.2px; color: var(--muted); }
.disclosures p + p { margin-top: 8px; }
.disclosures sup { font-size: 10px; vertical-align: .4em; }
.disclosures a { color: var(--muted); text-decoration: underline; }
.disclosures a:hover { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--grey-bg); border-top: 1px solid var(--line); padding: 64px 0 65px; color: var(--body); }
.footer__top { display: grid; grid-template-columns: 1fr 239px 264px 264px; column-gap: 32px; padding-bottom: 31px; }
.footer__logo { font-size: 46px; line-height: 49px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.footer__col { padding-left: 25px; }
.footer__col .eyebrow, .footer__col ul { max-width: 239px; }
.footer__col + .footer__col { border-left: 1px solid var(--line); }
.footer__col:nth-child(2) { padding-left: 0; }
.footer__col .eyebrow { font-size: 14px; line-height: 19.6px; color: var(--ink); margin-bottom: 21px; }
.footer__col li + li { margin-top: 15px; }
.footer__col a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 21px; }
.footer__col a:hover, .footer__util a:hover { color: var(--blue); text-decoration: underline; }
.footer__col a .icon { color: var(--blue); width: 14px; height: 14px; }
.footer__bottom { border-top: 1px solid var(--line); display: flex; align-items: center; padding-top: 25px; min-height: 61px; }
.social { display: flex; gap: 16px; margin-right: 24px; }
.social a { width: 20px; height: 20px; color: var(--ink); }
.social a:hover { color: var(--blue); }
.social svg { width: 20px; height: 20px; }
.footer__util { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__util a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16.8px; }
.choices { display: inline-block; width: 30px; height: 14px; border-radius: 7px; background: var(--blue-btn); position: relative; }
.choices::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); }
.footer__copy { margin-left: auto; font-size: 12px; line-height: 16.8px; color: var(--ink); white-space: nowrap; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--white); box-shadow: 0 -2px 16px rgba(0,8,15,.18); padding: 20px 0; display: none; }
.cookie.is-open { display: block; }
.cookie .wrap { display: grid; grid-template-columns: 1fr 340px 24px; gap: 32px; align-items: center; }
.cookie p { font-size: 13px; line-height: 18px; color: var(--ink); }
.cookie p a { font-weight: 600; text-decoration: underline; }
.cookie__btns { display: grid; gap: 8px; }
.cookie__btns button { height: 34px; border-radius: 2px; font-size: 13px; font-weight: 600; }
.cookie__btns .solid { background: var(--navy); color: var(--white); }
.cookie__btns .ghost { border: 1px solid var(--navy); color: var(--navy); }
.cookie__x { font-size: 22px; color: var(--ink); }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 150; background: var(--white); color: var(--ink); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
.drawer.is-open { transform: none; }
.drawer__top { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.drawer__top .brand { font-size: 22px; width: auto; margin: 0; }
.drawer nav { padding: 8px 16px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 18px; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 16px; }
.drawer details li a { display: block; padding: 8px 0; color: var(--blue); font-size: 15px; }
.drawer__util { padding: 16px; display: grid; gap: 14px; font-size: 14px; }
.drawer__util .btn { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .stat__value { font-size: 72px; line-height: 82px; }
  .stat__suffix { font-size: 48px; line-height: 58px; }
}
@media (max-width: 1023px) {
  .disclosures .wrap > div { width: auto; }
}

@media (max-width: 1023px) {
  :root { --gutter: 24px; --header-h: 72px; --space-lg: 64px; --space-md: 48px; }
  .utility, .nav-bar, .login, .mega { display: none !important; }
  .mainnav { height: 72px; }
  .brand { font-size: 22px; width: auto; }
  .burger { display: grid; }
  .hero { height: auto; min-height: 640px; }
  .hero__body { padding: 64px 0 24px; }
  .hero__panel { width: 100%; padding-top: 24px; }
  .hero__content { padding-left: 24px; }
  .hero__content::before { left: 0; }
  .hero h1 { font-size: 44px; line-height: 52.8px; }
  .hero__ctrl { margin-top: 48px; }
  .shead { flex-direction: column; gap: 12px; }
  .shead__sep { width: 48px; height: 4px; align-self: auto; background: linear-gradient(90deg, var(--blue), var(--sky)); }
  .shead__right .lead, .carousel__head .shead__right .lead { padding-top: 0; }
  .audience .shead__left { width: auto; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .slide { flex-basis: 80%; }
  .carousel__nav { display: flex; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .breaker__surface { grid-template-columns: 1fr; }
  .breaker__media { height: 360px; }
  .breaker__copy { padding: 40px 0; max-width: none; }
  .featured__grid { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-column: 1 / -1; grid-row: auto; }
  .news .wrap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .footer__logo { grid-column: 1 / -1; font-size: 36px; }
  .footer__col:nth-child(2) { padding-left: 0; }
  .footer__bottom { flex-wrap: wrap; gap: 16px; }
  .footer__copy { margin-left: 0; width: 100%; }
  .cookie .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 36px; line-height: 43.2px; }
  .hero__sub { font-size: 18px; line-height: 24px; }
  .h2 { font-size: 28px; line-height: 36.4px; }
  .pillars__grid, .audience__grid, .featured__grid { grid-template-columns: 1fr; }
  .slide { flex-basis: 90%; height: 400px; }
  .overlay-card { left: 16px; right: 16px; bottom: 16px; }
  .stat__value { font-size: 64px; line-height: 72px; }
  .stat__suffix { font-size: 40px; line-height: 48px; }
  .quote__inner { padding-left: 20px; }
  .quote__text { font-size: 24px; line-height: 31.2px; }
  .news__fields { grid-template-columns: 1fr; }
  .news__foot { flex-direction: column; align-items: flex-start; }
  .news__form { padding: 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col, .footer__col + .footer__col { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   Weight calibration by size (see --w-* tokens). Kept last so it wins.
   ========================================================================== */
/* Heavier weights run slightly wide; small negative tracking brings line
   lengths back to the reference widths (measured per size). */
body { letter-spacing: -0.012em; }

.stat__value, .brand, .footer__logo, .search input { font-weight: var(--w-reg); }
h1, h2, h3, .h2, .stat__value, .brand, .footer__logo, .search input, .quote__text { letter-spacing: 0; }

.pillar h3, .news h2 { font-weight: var(--w-28); }
.hero__sub, .quote__name { font-weight: var(--w-20); letter-spacing: -0.003em; }

.utility__links a, .utility__loc, .btn--sm, .link-arrow, .pillar p, .stat__label,
.quote__role, .footer__col a, .mega__intro p, .mega__tab, .dropdown a,
.news__intro p, .field input, .field select, .search__popular, .cookie p { font-weight: var(--w-14); letter-spacing: -0.013em; }

.hero__ctrl button, .overlay-card p, .gcard p, .li-item p, .mega__all + p, .mega__links p,
.quote__author .link-arrow, .footer__util a, .footer__copy, .disclosures p, .news__req, .news__legal,
.field__err { font-weight: var(--w-12); letter-spacing: -0.017em; }

.eyebrow, .field label { font-weight: var(--w-md-12); }
.eyebrow { letter-spacing: .028em; }
.footer__col .eyebrow, .mega__links a, .mini h3 { font-weight: var(--w-md-14); letter-spacing: -0.012em; }
.footer__col .eyebrow { letter-spacing: .028em; }
.gcard h3, .li-item h3, .mega__all { font-weight: var(--w-md-20); letter-spacing: -0.005em; }
.overlay-card h3 { font-weight: var(--w-md-24); letter-spacing: -0.002em; }

/* --- brand artwork ---------------------------------------------------------
   The logo is now an image rather than type. These rules pin it to exactly the
   heights the old wordmark occupied, so the header, drawer and footer keep
   their geometry; width follows the artwork. */
/* .brand drops the fixed 190x27 box it used when the brand was set as text
   and lets the wordmark size itself. 44px still clears the 84px nav bar. */
.brand { width: auto; height: auto; }
.brand .logo { height: 44px; width: auto; display: block; }
.drawer__top .logo { height: 32px; width: auto; display: block; }
/* cream over the hero, ink once the header goes white */
.brand .logo--on-light { display: none; }
.header.is-solid .brand .logo--on-dark { display: none; }
.header.is-solid .brand .logo--on-light { display: block; }
@media (max-width: 1023px) { .brand .logo { height: 36px; } }

/* Footer brand: wordmark with HOMES & INVESTMENTS set as text beneath it, at
   a size the artwork's own subline could never hold. */
.footer__logo { display: block; }
.footer__logo .logo { height: 62px; width: auto; display: block; }
.brand__sub {
  display: block; margin-top: 7px;
  font-size: 12px; line-height: 1; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500; color: var(--ink);
}
@media (max-width: 767px) {
  .footer__logo .logo { height: 50px; }
  .brand__sub { font-size: 11px; letter-spacing: .16em; }
}
