/* Abode Media website v2. Brand system: navy, gold, Inter. Square corners, no shadows. */

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

:root {
  --navy: #1a1f36;
  --ink: #0d0f1a;
  --gold: #c9a96e;          /* on navy / ink only */
  --gold-ink: #7d602a;      /* gold for text on light grounds, 5.6:1 on white */
  --gold-soft: #e8d5a8;
  --white: #ffffff;
  --mist: #f3f4f8;          /* neutral tinted toward the navy, not toward cream */
  --line: #dfe2ea;
  --text: #20243a;
  --muted: #575c74;         /* 6.4:1 on white, 5.8:1 on mist */
  --on-dark: rgba(255,255,255,0.90);
  --on-dark-muted: rgba(255,255,255,0.70);
  --line-dark: rgba(255,255,255,0.16);

  --pad: clamp(20px, 5vw, 72px);
  --sec: clamp(72px, 9vw, 136px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 50;
  --z-skip: 60;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--nav-h, 76px) + 20px); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  font-feature-settings: 'cv05', 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.nb { white-space: nowrap; }

h1 { font-weight: 300; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-weight: 300; font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3.2rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); }
h3 { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.005em; color: var(--navy); }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.45; font-weight: 400; color: var(--navy); letter-spacing: -0.01em; }
.fine { font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .drop:focus-within {
  outline: 3px solid var(--gold-ink); outline-offset: 3px;
}
.site-head a:focus-visible, .site-head button:focus-visible, .hero a:focus-visible, .count a:focus-visible, .day a:focus-visible, .work a:focus-visible, .prog a:focus-visible,
.contact a:focus-visible, .contact button:focus-visible, .contact input:focus-visible, .contact select:focus-visible, .contact textarea:focus-visible,
.site-foot a:focus-visible, .page-head a:focus-visible, .closing a:focus-visible, .data-hero a:focus-visible { outline-color: var(--gold); }
#main[tabindex="-1"]:focus { outline: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: var(--z-skip); background: var(--gold); color: var(--ink); padding: 12px 20px; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 12px; top: 12px; box-shadow: 0 0 0 12px var(--ink); }

/* Footnote markers: the site's one recurring device. */
.fn { font-size: 0.68em; font-weight: 600; vertical-align: super; line-height: 0; text-decoration: none; color: var(--gold-ink); padding: 0.5em 0.18em; margin-left: 0.08em; font-variant-numeric: tabular-nums; }
.fn:hover { text-decoration: underline; }
.count .fn, .day .fn, .work .fn, .prog .fn { color: var(--gold); }

.textlink { display: inline-block; font-weight: 600; font-size: 0.9375rem; color: var(--navy); text-decoration: none; padding-block: 6px; background: linear-gradient(var(--gold-ink), var(--gold-ink)) 0 100% / 100% 1px no-repeat; transition: background-size 0.35s var(--ease); }
.textlink:hover { background-size: 100% 3px; }
.textlink.on-dark, .count .textlink { color: var(--white); background-image: linear-gradient(var(--gold), var(--gold)); }

/* Buttons */
.btn, .cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; font: inherit; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn-gold, .cta-btn { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .cta-btn:hover { background: var(--gold-soft); }
.btn-ghost, .cta-btn.outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover, .cta-btn.outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px var(--pad); background: var(--ink); }
.brand { display: inline-block; padding: 4px 0; }
.brand img { width: 104px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav-links a { text-decoration: none; color: var(--on-dark-muted); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; padding: 10px 0; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.nav-links .nav-cta { background: var(--gold); color: var(--ink); font-weight: 600; padding: 12px 20px; }
.nav-links .nav-cta:hover { background: var(--gold-soft); color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--white); font: inherit; font-size: 0.8125rem; font-weight: 600; padding: 10px 18px; min-height: 44px; cursor: pointer; }

/* Hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(86svh, 820px); background: var(--ink); color: var(--white); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo picture { display: contents; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,15,26,0.96) 0%, rgba(13,15,26,0.86) 34%, rgba(13,15,26,0.35) 68%, rgba(13,15,26,0.12) 100%), linear-gradient(0deg, rgba(13,15,26,0.9) 0%, rgba(13,15,26,0) 34%); }
.hero-inner { padding-block: clamp(120px, 16vw, 200px) clamp(56px, 7vw, 96px); }
.hero-kicker { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.hero h1 { max-width: 15ch; }
.hero-sub { max-width: 46ch; margin-top: 28px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--on-dark); }
.hero .btn-row { margin-top: 40px; }

/* The count */
.count { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding-block: clamp(48px, 6vw, 88px); }
.count-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.count-line { font-weight: 300; font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3.05rem); line-height: 1.18; letter-spacing: -0.025em; color: var(--white); text-wrap: balance; }
.count-line .num { color: var(--gold); font-weight: 400; font-variant-numeric: lining-nums; white-space: nowrap; }
.count-side { font-size: 0.9375rem; line-height: 1.6; color: var(--on-dark-muted); display: grid; gap: 14px; justify-items: start; }
.count-date { font-weight: 600; color: var(--white); padding-bottom: 12px; border-bottom: 1px solid var(--gold); }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > p { color: var(--muted); max-width: 52ch; }
.sec-head.on-dark > p { color: var(--on-dark-muted); }
.sec-head.row { grid-template-columns: 1fr auto; }
.sec-head:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.sec-head:has(> :only-child) h2 { max-width: 24ch; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.why-head .lead { margin-top: 24px; max-width: 34ch; }
.why-photo { margin-top: clamp(32px, 4vw, 56px); }
.why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.reasons > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--line); }
.reasons > div:first-child { border-top-color: var(--navy); }
.reasons dt { font-weight: 600; color: var(--navy); line-height: 1.35; }
.reasons dd { color: var(--muted); font-size: 1rem; }
.ran { margin-top: 28px; padding: 28px 32px; background: var(--mist); }
.ran p { margin-top: 10px; color: var(--navy); }
.ran .fine { color: var(--muted); }

/* Day in the building */
.day { background: var(--ink); color: var(--on-dark); padding-block: var(--sec); }
.day-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.day h2 { color: var(--white); }
.day-head p { color: var(--on-dark-muted); max-width: 50ch; }
.strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.strip li:nth-child(even) { margin-top: clamp(20px, 4vw, 56px); }
.strip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.strip li:nth-child(1) img { object-position: 62% 50%; }
.strip figcaption { margin-top: 14px; font-size: 0.875rem; line-height: 1.45; color: var(--on-dark-muted); }
.strip figcaption b { display: block; font-weight: 600; color: var(--white); }
.trust { margin-top: clamp(40px, 6vw, 80px); max-width: 30em; font-weight: 300; font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.95rem); line-height: 1.32; letter-spacing: -0.015em; color: var(--white); }
.trust strong { font-weight: 400; color: var(--gold); }

/* Audience */
.aud-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.aud-copy h3 { margin-bottom: 14px; }
.aud-copy p + p { margin-top: 18px; color: var(--muted); }
.aud-copy .consumers { color: var(--navy); font-weight: 500; }
.consumers span { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 4px; }
.agechart { background: var(--navy); color: var(--on-dark); padding: clamp(28px, 3.4vw, 44px); }
.agechart figcaption { font-size: 1.0625rem; font-weight: 600; color: var(--white); margin-bottom: 26px; }
.agechart figcaption .fn { color: var(--gold); }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: end; margin-bottom: 22px; }
.bar-label { font-size: 0.875rem; color: var(--on-dark-muted); }
.bar-val { font-weight: 300; font-size: 1.7rem; line-height: 1; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.bar-track { grid-column: 1 / -1; height: 10px; background: rgba(255,255,255,0.1); }
.bar-fill { display: block; height: 100%; width: calc(var(--v) * 1%); background: rgba(255,255,255,0.5); transform-origin: left; }
.bar.is-abode .bar-fill { background: var(--gold); }
.bar.is-abode .bar-val { color: var(--gold); font-size: 2.6rem; }
.bar.is-abode .bar-label { color: var(--white); font-weight: 600; }
.agechart .fine { color: var(--on-dark-muted); margin-top: 6px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.pillars article { padding-top: 22px; border-top: 1px solid var(--navy); }
.pillars p { margin-top: 12px; font-size: 0.9688rem; color: var(--muted); }

/* Work */
.work { background: var(--navy); color: var(--on-dark); }
.work h2, .work h3 { color: var(--white); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 20px clamp(24px, 4vw, 64px); padding-block: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line-dark); align-items: start; }
.ledger-row.three { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 0.7fr)); }
.ledger-row:last-child { border-bottom: 1px solid var(--line-dark); }
.ledger-who h3 { font-size: 1.2rem; font-weight: 500; }
.ledger-who p { margin-top: 6px; font-size: 0.875rem; color: var(--gold); font-weight: 500; }
.ledger-fig { display: grid; gap: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-muted); }
.ledger-fig .fig { font-weight: 300; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.7rem); line-height: 1; letter-spacing: -0.035em; color: var(--white); font-variant-numeric: lining-nums; white-space: nowrap; }
.quote { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.quote blockquote p { font-weight: 300; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.4; letter-spacing: -0.012em; color: var(--white); }
.quote blockquote p::before { content: '\201C'; }
.quote blockquote p::after { content: '\201D'; }
.quote figcaption { font-size: 0.875rem; line-height: 1.55; color: var(--on-dark-muted); padding-top: 14px; border-top: 1px solid var(--gold); }
.quote figcaption b { color: var(--white); font-weight: 600; }
.quote.small { display: block; margin-top: 36px; }
.quote.small blockquote p { font-size: 1.0625rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--on-dark); }
.quote.small figcaption { margin-top: 16px; }

/* Network */
.network { background: var(--mist); }
.netmap { display: grid; grid-template-columns: minmax(0, 2.13fr) minmax(0, 1fr); gap: 2px; background: var(--ink); }
.netmap-panel { background: var(--navy); padding: clamp(16px, 2vw, 28px); background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 22px 22px; }
.netmap-title { font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.netmap-title span { font-weight: 400; color: var(--on-dark-muted); margin-left: 8px; }
.netmap-svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.netmap-title .swipe { display: none; }
.netmap-svg .river { fill: none; stroke: #6f86b8; stroke-opacity: 0.34; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.netmap-svg .mk { fill: var(--gold); fill-opacity: 0.24; stroke: var(--gold); stroke-width: 1.25; transition: fill-opacity 0.25s; }
.netmap-svg .mk-dot { fill: var(--gold-soft); }
.netmap-svg .mk.on { fill-opacity: 0.75; }
.netmap-svg .mk-name { font: 600 12.5px 'Inter', sans-serif; fill: #fff; }
.netmap-svg .mk-n { font: 400 11.5px 'Inter', sans-serif; fill: rgba(255,255,255,0.72); }
.netmap-note { margin-top: 14px; max-width: 80ch; }
.net-lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 112px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.net-partners p { margin-top: 14px; color: var(--muted); }
.tally { list-style: none; padding: 0; margin-top: 26px; border-top: 1px solid var(--navy); }
.tally li { display: grid; grid-template-columns: 5.2rem 1fr; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--navy); }
.tally b { font-weight: 300; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.citytable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.citytable caption { text-align: left; font-weight: 600; color: var(--navy); padding-bottom: 14px; }
.citytable th, .citytable td { padding: 13px 8px 13px 0; text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; }
.citytable th:first-child { text-align: left; }
.citytable thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--navy); }
.citytable tbody th { color: var(--navy); font-weight: 500; }
.citytable tbody tr { transition: background-color 0.2s; }
.citytable tbody tr.on { background: rgba(201,169,110,0.2); }
.citytable tfoot th, .citytable tfoot td { font-weight: 600; color: var(--navy); border-bottom: 0; border-top: 1px solid var(--navy); }

/* Advertise */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.ways article { padding-top: 22px; border-top: 1px solid var(--navy); }
.ways h3 { font-size: 1.45rem; font-weight: 300; letter-spacing: -0.02em; }
.ways p { margin-top: 12px; color: var(--muted); }
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.formats img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.formats figcaption { margin-top: 14px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.formats figcaption b { display: block; color: var(--navy); font-weight: 600; }

/* Programmatic */
.prog { background: var(--ink); color: var(--on-dark-muted); }
.prog h2 { color: var(--white); }
.prog .lead { color: var(--on-dark); margin-top: 22px; }
.prog-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.ssps { list-style: none; padding: 0; margin-block: 28px; border-top: 1px solid var(--line-dark); }
.ssps li { padding-block: 16px; border-bottom: 1px solid var(--line-dark); font-weight: 300; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--white); }
.ssps span { font-size: 0.875rem; font-weight: 400; letter-spacing: 0; color: var(--on-dark-muted); margin-left: 10px; }
.prog .textlink { margin-top: 22px; }
.prog-facts dl > div { display: grid; grid-template-columns: 6.2rem 1fr; gap: 20px; align-items: baseline; padding-block: 20px; border-top: 1px solid var(--line-dark); }
.prog-facts dt { font-weight: 300; font-size: 2.4rem; line-height: 1; letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.prog-facts dd { font-size: 0.9688rem; color: var(--on-dark); }
.prog-facts .fine { color: var(--on-dark-muted); padding-top: 14px; border-top: 1px solid var(--line-dark); }

/* Artwork + preview */
.artwork { background: var(--mist); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.art-copy .lead { margin-top: 22px; }
.art-copy p + p { margin-top: 14px; color: var(--muted); }
.drop { display: block; margin-top: 28px; padding: 30px 28px; border: 1px dashed var(--gold-ink); background: var(--white); cursor: pointer; position: relative; transition: background-color 0.2s; }
.drop:hover { background: #fbf8f1; }
.drop strong { display: block; color: var(--navy); font-weight: 600; }
.drop span { font-size: 0.875rem; color: var(--muted); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.art-copy .spec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.spec .textlink { padding-block: 0; }
.stage { position: relative; display: grid; place-items: center; min-height: clamp(420px, 44vw, 600px); background: url('site-img/viz-lobby.jpg') center / cover no-repeat var(--ink); }
.stage::before { content: ''; position: absolute; inset: 0; background: rgba(13,15,26,0.5); }
.stage-badge { position: absolute; top: 16px; left: 16px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); background: rgba(13,15,26,0.85); padding: 6px 12px; }
.screen { position: relative; width: clamp(170px, 19vw, 236px); aspect-ratio: 9 / 16; background: #05060a; border: 7px solid #15161d; overflow: hidden; display: grid; place-items: center; outline: 1px solid rgba(255,255,255,0.12); }
.screen img { width: 100%; height: 100%; object-fit: cover; display: none; }
.screen-ph { color: rgba(255,255,255,0.8); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; line-height: 1.8; }

/* Property */
.prop-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.prop-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.property .for { font-size: 0.875rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 16px; }
.property .lead { margin-top: 22px; }
.property p + p { margin-top: 14px; }
.property p:not(.lead):not(.for) { color: var(--muted); }
.property .btn-row { margin-top: 32px; }

/* News */
.news { background: var(--mist); }
.newsrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.newsitem { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.newsitem img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 8px; }
.newsmeta { font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); }
.newstitle { font-size: 1.3rem; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); justify-self: start; }
.newsitem:hover .newstitle { background-size: 100% 1px; }
.newsdek { font-size: 0.9375rem; color: var(--muted); line-height: 1.55; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.about .lead { margin-top: 22px; }
.about p + p { margin-top: 14px; color: var(--muted); }
.team-h { padding-bottom: 14px; border-bottom: 1px solid var(--navy); }
.team { list-style: none; padding: 0; }
.team li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4px 24px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.team b { font-weight: 500; color: var(--navy); }
.team span { color: var(--muted); font-size: 0.9688rem; }

/* How we count */
.method { background: var(--mist); }
.method-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.method .lead { margin-top: 22px; }
.method p + p { margin-top: 14px; color: var(--muted); }
.notes { list-style: none; padding: 0; counter-reset: n; border-top: 1px solid var(--navy); }
.notes li { counter-increment: n; position: relative; padding: 18px 0 18px 2.6rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.6; color: var(--muted); transition: background-color 0.4s; }
.notes li::before { content: counter(n); position: absolute; left: 0; font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.notes b { color: var(--navy); font-weight: 600; }
.notes li:target { background: rgba(201,169,110,0.2); box-shadow: -12px 0 0 rgba(201,169,110,0.2), 12px 0 0 rgba(201,169,110,0.2); }

/* Contact */
.contact { background: var(--navy); color: var(--on-dark-muted); }
.contact h2 { color: var(--white); }
.contact .lead { color: var(--on-dark); margin-top: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.contact-copy p + p { margin-top: 18px; }
.contact-copy a { color: var(--gold-soft); }
.enq { color: var(--on-dark); }
.enq fieldset { border: 0; padding: 0; min-width: 0; }
.enq legend { font-weight: 600; color: var(--white); padding: 0; margin-bottom: 12px; }
.enq-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-choices label { position: relative; cursor: pointer; }
.enq-choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.enq-choices span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid rgba(255,255,255,0.35); font-size: 0.9375rem; font-weight: 500; color: var(--on-dark); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.enq-choices input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.enq-choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.enq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; margin-top: 28px; }
.enq-field[hidden] { display: none; }
.enq-field.full { grid-column: 1 / -1; }
.enq-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.enq-field .opt { font-weight: 400; color: var(--on-dark-muted); }
.enq input[type="text"], .enq input[type="email"], .enq select, .enq textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--white); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.32); border-radius: 0; transition: border-color 0.2s, background-color 0.2s; }
.enq textarea { min-height: 124px; resize: vertical; }
.enq select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.enq select option { color: var(--ink); background: var(--white); }
.enq ::placeholder { color: rgba(255,255,255,0.62); opacity: 1; }
.enq input:hover, .enq select:hover, .enq textarea:hover { border-color: rgba(255,255,255,0.6); }
.enq input:focus, .enq select:focus, .enq textarea:focus { background-color: rgba(255,255,255,0.1); border-color: var(--gold); }
.enq [aria-invalid="true"] { border-color: #ffb4a8; }
.enq-consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; margin-top: 24px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.enq-consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--gold); }
.enq-consent a { color: var(--gold-soft); }
.enq-err { min-height: 1.5em; margin-top: 14px; font-size: 0.9375rem; font-weight: 600; color: #ffb4a8; }
.enq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.enq-note { font-size: 0.875rem; color: var(--on-dark-muted); }
.enq-note a { color: var(--gold-soft); }
.enq-status { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--gold); color: var(--on-dark); font-size: 0.9688rem; }
.enq-status a { color: var(--gold-soft); }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) var(--pad) 40px; font-size: 0.9375rem; }
.foot-grid { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); }
.foot-brand img { width: 108px; margin-bottom: 18px; }
.foot-count { color: var(--gold); font-weight: 500; margin-top: 6px; }
.site-foot h2 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--white); margin-bottom: 12px; }
.site-foot a { color: var(--on-dark); text-underline-offset: 3px; }
.site-foot a:hover { color: var(--white); }
.foot-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { padding-block: 6px; }
.foot-legal { max-width: var(--max); margin: 44px auto 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; line-height: 1.7; }

/* ------------------------------------------------------------ secondary pages (FAQ, news, articles, policy) */
.page-head { background: var(--navy); color: var(--on-dark); padding: clamp(64px, 9vw, 128px) var(--pad) clamp(48px, 6vw, 80px); }
.page-head .inner, .data-hero .dh-inner { max-width: var(--max); margin-inline: auto; }
.page-head .eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.page-head h1 { color: var(--white); max-width: 20ch; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-head h1 strong { font-weight: 300; color: var(--gold); }
.page-head p { margin-top: 24px; max-width: 58ch; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--on-dark); }
.page-head .byline { margin-top: 26px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.page-head .byline strong { color: var(--white); font-weight: 600; }

.sub main, .faq-wrap, .news-wrap, .policy-wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; }
.faq-wrap, .news-wrap, .policy-wrap { padding: var(--sec) var(--pad); }
.sub-faq main, .sub-news main, .sub-policy main { max-width: none; }

/* FAQ */
.faq-wrap { max-width: calc(920px + 2 * var(--pad)); }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.group-label { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); padding-bottom: 20px; border-bottom: 1px solid var(--navy); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 20px; align-items: center; padding-block: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 14px; height: 14px; justify-self: end; background: linear-gradient(var(--gold-ink), var(--gold-ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1.5px 100% no-repeat; transition: transform 0.3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { font-size: 1.125rem; font-weight: 500; }
.faq summary:hover h3 { color: var(--gold-ink); }
.faq .answer { padding: 0 44px 26px 0; color: var(--muted); max-width: 70ch; }
.faq .answer p + p { margin-top: 12px; }
.faq .answer a, .article-body a, .policy-wrap a, .media-note a, .source-line a, .press-body a { color: var(--navy); text-decoration-color: var(--gold-ink); text-underline-offset: 3px; }

/* Closing band */
.closing { background: var(--navy); color: var(--on-dark); padding: var(--sec) var(--pad); text-align: left; }
.closing > * { max-width: var(--max); margin-inline: auto; }
.closing h2 { color: var(--white); }
.closing h2 strong { font-weight: 300; color: var(--gold); }
.closing p { margin-top: 18px; font-size: 1.125rem; }
.closing .btn-row { margin-top: 32px; }

/* News page */
.section-head { margin-bottom: clamp(28px, 4vw, 48px); padding-bottom: 20px; border-bottom: 1px solid var(--navy); }
.section-head h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); }
.section-head h2 strong { font-weight: 300; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-bottom: clamp(56px, 7vw, 96px); }
.news-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-body { padding-top: 18px; display: grid; gap: 10px; }
.news-kicker, .rel-kicker { font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); }
.news-body h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.news-body h3 a, .press-body h3 a { text-decoration: none; }
.news-body h3 a:hover, .press-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
.news-body p { font-size: 0.9375rem; color: var(--muted); line-height: 1.55; }
.news-readmore, .press-link, .back { font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-decoration: none; padding-block: 6px; justify-self: start; box-shadow: inset 0 -1px 0 var(--gold-ink); }
.news-readmore:hover, .press-link:hover, .back:hover { box-shadow: inset 0 -3px 0 var(--gold-ink); }
.press-item { display: grid; grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 12px clamp(20px, 4vw, 64px); padding-block: 28px; border-bottom: 1px solid var(--line); }
.press-meta .outlet { font-weight: 600; color: var(--navy); }
.press-meta .date { font-size: 0.875rem; color: var(--muted); }
.press-body { display: grid; gap: 10px; }
.press-body h3 { font-size: 1.2rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.012em; }
.press-body p { font-size: 0.9688rem; color: var(--muted); }
.media-note { max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding: 0 var(--pad) var(--sec); color: var(--muted); font-size: 0.9375rem; }
.news-wrap { padding-bottom: clamp(32px, 4vw, 56px); }

/* Articles */
.data-hero { background: var(--ink); color: var(--on-dark); padding: clamp(40px, 5vw, 72px) var(--pad); }
.dh-label { font-weight: 600; color: var(--white); margin-bottom: 24px; }
.dh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); }
.dh-stat { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--gold); }
.dh-fig { font-weight: 300; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1; letter-spacing: -0.03em; color: var(--white); white-space: nowrap; }
.dh-fig .to { color: var(--gold); font-size: 0.7em; }
.dh-cap { font-size: 0.9375rem; line-height: 1.5; color: var(--on-dark-muted); }
.dh-src { margin-top: 28px; font-size: 0.8125rem; line-height: 1.6; color: var(--on-dark-muted); max-width: 100ch; }
.article-hero { margin: 0; background: var(--ink); }
.article-hero img { width: 100%; max-height: 62vh; object-fit: cover; }
.hero-cap { max-width: calc(760px + 2 * var(--pad)); margin-inline: auto; padding: 14px var(--pad); font-size: 0.8125rem; color: var(--on-dark-muted); }
.sub main.article-wrap { max-width: calc(760px + 2 * var(--pad)); padding: clamp(48px, 6vw, 88px) var(--pad) clamp(32px, 4vw, 56px); }
.standfirst { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); line-height: 1.4; font-weight: 300; letter-spacing: -0.012em; color: var(--navy); }
.article-body { margin-top: clamp(28px, 4vw, 44px); font-size: 1.125rem; line-height: 1.72; }
.article-body > p + p, .article-body > * + p { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); font-weight: 400; letter-spacing: -0.018em; margin-top: 1.9em; }
.article-body h2 + p { margin-top: 0.7em; }
.source-line { font-size: 0.8125rem !important; line-height: 1.6; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.article-body .quote { display: block; margin: 2em 0; padding: 28px 32px; background: var(--mist); }
.article-body .quote p { font-size: 1.2rem; line-height: 1.5; color: var(--navy); }
.article-body .quote cite { display: block; margin-top: 14px; font-size: 0.875rem; font-style: normal; color: var(--muted); }
.pullquote { margin-block: 1.8em !important; padding-block: 24px; border-block: 1px solid var(--gold-ink); font-weight: 300; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.95rem); line-height: 1.3; letter-spacing: -0.018em; color: var(--navy); }
.factbox { margin-block: 2em; background: var(--navy); color: var(--on-dark); padding: clamp(24px, 3vw, 36px); }
.fb-row { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 20px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--line-dark); }
.fb-row:first-child { border-top: 0; padding-top: 0; }
.fb-fig { font-weight: 300; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--gold); }
.fb-cap { font-size: 0.9688rem; line-height: 1.5; }
.fb-src { margin-top: 14px !important; font-size: 0.8125rem; line-height: 1.6; color: var(--on-dark-muted); }
.fb-src a { color: var(--on-dark); }
.article-foot { max-width: calc(760px + 2 * var(--pad)); margin-inline: auto; padding: 0 var(--pad) clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.8125rem; font-weight: 500; color: var(--navy); background: var(--mist); padding: 6px 12px; }
.related { background: var(--mist); padding: clamp(56px, 7vw, 96px) var(--pad); }
.related > * { max-width: var(--max); margin-inline: auto; }
.related h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); margin-bottom: 28px; }
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.rel-card { display: grid; gap: 10px; align-content: start; padding: 28px 32px; background: var(--white); text-decoration: none; border: 1px solid var(--line); transition: border-color 0.2s; }
.rel-card:hover { border-color: var(--navy); }
.rel-title { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); }
.rel-meta { font-size: 0.875rem; color: var(--muted); }

/* Policy */
.policy-wrap { max-width: calc(820px + 2 * var(--pad)); }
.policy-meta { padding: 28px 32px; background: var(--mist); font-size: 0.9688rem; display: grid; gap: 8px; }
.policy-wrap h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); font-weight: 400; letter-spacing: -0.018em; margin-top: 2em; }
.policy-wrap h3 { margin-top: 1.6em; }
.policy-wrap > p, .policy-wrap > ul, .policy-wrap > ol { margin-top: 0.9em; }
.policy-wrap li + li { margin-top: 0.4em; }
.policy-wrap table { width: 100%; border-collapse: collapse; margin-top: 1.2em; font-size: 0.9375rem; }
.policy-wrap th, .policy-wrap td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.policy-wrap thead th { font-size: 0.8125rem; color: var(--muted); border-bottom-color: var(--navy); }

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 2.2s var(--ease) both; }
  .hero-inner > * { animation: rise 1s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.18s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.28s; }
  /* .pre is added by script only to elements still below the fold, and removed as they arrive. */
  .rv { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .rv.pre { opacity: 0; transform: translateY(22px); }
  .bar-fill { transition: transform 1.2s var(--ease) 0.15s; }
  .rv.pre .bar-fill { transform: scaleX(0); }
  .strip .rv.pre { transform: translateY(40px); }
}
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-head { flex-wrap: wrap; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1rem; border-top: 1px solid var(--line-dark); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; border-top: 0; padding: 16px 20px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-row, .ledger-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-who { grid-column: 1 / -1; }
  .ledger-row.three .ledger-fig:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .count-grid, .sec-head, .why-grid, .day-head, .aud-top, .quote, .net-lower, .prog-grid, .art-grid, .prop-grid, .about-grid, .method-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head.row { grid-template-columns: 1fr; }
  .sec-head:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  /* Phone: the photograph sits above the words, so the headline never lands on the screen in the picture. */
  .hero { display: block; min-height: 0; }
  .hero-photo { position: relative; inset: auto; z-index: 0; aspect-ratio: 5 / 4; overflow: hidden; }
  .hero-photo img { object-position: 62% 42%; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(13,15,26,1) 0%, rgba(13,15,26,0) 38%); }
  .hero-inner { padding-block: 20px clamp(48px, 9vw, 72px); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .strip li:nth-child(even) { margin-top: 36px; }
  .netmap { grid-template-columns: minmax(0, 1fr); }
  /* A 640-unit map squeezed into a phone makes 6px labels: let the London panel scroll sideways instead. */
  .netmap-panel:not(.uk) { overflow-x: auto; }
  .netmap-panel:not(.uk) .netmap-svg { min-width: 620px; }
  .netmap-panel.uk .netmap-svg { max-width: 340px; margin-inline: auto; }
  .netmap-title .swipe { display: block; margin: 4px 0 0; }
  .brand img { width: 88px; }
  .ways, .formats, .newsrow, .news-grid, .dh-grid, .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .formats img, .newsitem img, .news-img { aspect-ratio: 16 / 9; }
  .prop-photo { order: 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .press-item { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 440px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .reasons > div, .team li, .fb-row { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .ledger-row, .ledger-row.three { grid-template-columns: minmax(0, 1fr); }
  .enq-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn, .btn-row .cta-btn { flex: 1 1 100%; }
  .prog-facts dl > div { grid-template-columns: 5rem 1fr; gap: 14px; }
  .prog-facts dt { font-size: 2rem; }
  .faq .answer { padding-right: 0; }
  .ran, .policy-meta, .rel-card, .article-body .quote { padding: 22px 20px; }
  .policy-wrap table, .policy-wrap thead, .policy-wrap tbody, .policy-wrap tr, .policy-wrap th, .policy-wrap td { display: block; }
  .policy-wrap thead { position: absolute; left: -9999px; }
  .policy-wrap td { border-bottom: 0; padding: 6px 0; }
  .policy-wrap tr { padding-block: 14px; border-bottom: 1px solid var(--line); }
}
