/* ==========================================================================
   NPX Exchange Ltd — npxexchange.site
   Dark editorial magazine identity: "Security · Independence · Functionality"
   Palette: near-black, warm gold, off-white, charcoal
   Type: DM Serif Display (display) / DM Sans (body)
   Structure:
     01. Tokens and reset
     02. Base typography and utilities
     03. Masthead and navigation
     04. Fixed side rail
     05. Hero
     06. Editorial sections and pillars
     07. Pull quotes and figures
     08. Dossier pages (interior layout)
     09. Content elements
     10. Footer and NPX network
     11. Responsive breakpoints
   ========================================================================== */

/* 01. Tokens and reset
   ========================================================================== */
:root {
  --black: #0b0b0d;
  --black-deep: #08080a;
  --charcoal: #17171a;
  --charcoal-soft: #1d1d20;
  --gold: #c8a24a;
  --gold-soft: #a8873c;
  --paper: #f2ede2;
  --paper-dim: #cfc8b9;
  --muted: #a9a294;
  --hairline: rgba(200, 162, 74, 0.28);
  --hairline-soft: rgba(242, 237, 226, 0.12);
  --serif: "DM Serif Display", "Times New Roman", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --rail: 78px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.35em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* 02. Base typography and utilities
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.4vw, 64px);
}

main {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 20px;
}

.skip-link:focus {
  top: 12px;
}

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 30px;
}

.section-label::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.section-label .num {
  color: var(--paper-dim);
  letter-spacing: 0.16em;
}

.lede {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.58;
  color: var(--paper);
  max-width: 62ch;
}

.body-copy {
  max-width: 68ch;
  color: var(--paper-dim);
}

.gold-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
}

.gold-link::after {
  content: "\2192";
  font-size: 15px;
  transition: transform 0.2s ease;
}

.gold-link:hover {
  text-decoration: none;
}

.gold-link:hover::after {
  transform: translateX(4px);
}

hr.rule {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 0;
}

/* 03. Masthead and navigation
   ========================================================================== */
.masthead {
  position: relative;
  z-index: 60;
  background: var(--black);
  border-bottom: 1px solid var(--hairline);
}

.masthead-top {
  border-bottom: 1px solid var(--hairline-soft);
}

.masthead-top-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 9px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead-top-inner span:first-child {
  color: var(--gold);
}

.masthead-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--paper);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand-mark::after {
  content: ".";
  color: var(--gold);
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold);
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--gold);
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
}

/* 04. Fixed side rail (desktop)
   ========================================================================== */
.side-rail {
  display: none;
}

.side-rail ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.side-rail a {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-rail a[aria-current="page"] {
  background: var(--gold);
  transform: scale(1.25);
}

.side-rail a::after {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
  background: var(--black);
  padding: 4px 8px;
  border: 1px solid var(--hairline-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.side-rail a:hover::after,
.side-rail a:focus-visible::after {
  opacity: 1;
}

.side-rail a:hover {
  background: rgba(200, 162, 74, 0.4);
}

/* 05. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
  filter: saturate(0.82) brightness(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.42) 0%, rgba(11, 11, 13, 0.58) 38%, rgba(11, 11, 13, 0.94) 78%, var(--black) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.82) 0%, rgba(11, 11, 13, 0.35) 55%, rgba(11, 11, 13, 0.55) 100%);
}

.hero-content {
  padding-block: 130px 74px;
  max-width: var(--wrap);
}

.hero h1 {
  font-size: clamp(56px, 9.6vw, 126px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-dek {
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--paper);
  margin-bottom: 34px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.hero-links .gold-link {
  border-bottom-color: var(--gold);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  max-width: 640px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* 06. Editorial sections and pillars
   ========================================================================== */
.editorial {
  padding-block: clamp(66px, 8vw, 112px);
  border-top: 1px solid var(--hairline);
}

.editorial--tight {
  padding-block: clamp(54px, 6vw, 84px);
}

.editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.editorial-head h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
}

.editorial-head p {
  color: var(--paper-dim);
  font-size: 16px;
  margin-bottom: 0;
}

.measure-wide {
  max-width: 74ch;
}

.pillars {
  background: var(--black-deep);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(66px, 8vw, 108px);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
}

.pillar {
  position: relative;
  border-top: 1px solid var(--gold);
  padding-top: 26px;
}

.pillar-num {
  font-family: var(--serif);
  font-size: clamp(86px, 10vw, 148px);
  line-height: 0.72;
  color: rgba(200, 162, 74, 0.3);
  margin: 14px 0 22px;
  letter-spacing: -0.02em;
}

@supports (-webkit-text-stroke: 1px #c8a24a) {
  .pillar-num {
    color: transparent;
    -webkit-text-stroke: 1px rgba(200, 162, 74, 0.62);
  }
}

.pillar h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.pillar p {
  font-size: 15.5px;
  color: var(--paper-dim);
}

.pillar .gold-link {
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.feature-text {
  grid-column: 1 / span 7;
}

.feature-figure {
  grid-column: 8 / span 5;
  margin: 42px 0 0;
}

.feature-figure--low {
  margin-top: 120px;
}

.feature-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 26px;
}

.feature-text h3 {
  font-size: 22px;
  margin: 34px 0 12px;
}

.feature-text p {
  color: var(--paper-dim);
}

.feature-note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* 07. Pull quotes and figures
   ========================================================================== */
figure {
  margin: 0;
}

.figure-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--charcoal);
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--muted);
}

figcaption b {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  margin-right: 8px;
}

.pullquote {
  margin: clamp(56px, 7vw, 96px) 0;
  padding: clamp(34px, 4vw, 52px) 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: 40px;
  align-items: end;
}

.pullquote blockquote {
  margin: 0;
}

.pullquote p {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  text-wrap: balance;
}

.pullquote p em {
  color: var(--gold);
  font-style: italic;
}

.pullquote figcaption {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--hairline);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 08. Dossier pages (interior layout)
   ========================================================================== */
.page-head {
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(46px, 6vw, 80px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(1100px 420px at 82% -10%, rgba(200, 162, 74, 0.08), transparent 65%),
    var(--black);
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.breadcrumbs {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--gold-soft);
  margin-right: 8px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs [aria-current="page"] {
  color: var(--paper-dim);
}

.page-head h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-head h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-head-dek {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 52ch;
  margin: 0;
}

.page-head-index {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.band {
  height: clamp(240px, 40vh, 430px);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.band-caption {
  padding-block: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline-soft);
}

.dossier {
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 110px);
}

.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.dossier-main {
  max-width: 780px;
  min-width: 0;
}

.dossier-main > section + section {
  margin-top: clamp(46px, 5vw, 68px);
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--hairline-soft);
}

.dossier-main h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.dossier-main h3 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.25;
  margin: 30px 0 10px;
}

.dossier-main p {
  color: var(--paper-dim);
  max-width: 70ch;
}

.dossier-main .lede {
  color: var(--paper);
}

.dossier-aside {
  position: sticky;
  top: 40px;
  border-top: 1px solid var(--gold);
  padding-top: 20px;
}

.aside-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.aside-contents {
  list-style: none;
  margin-bottom: 30px;
}

.aside-contents li {
  border-bottom: 1px solid var(--hairline-soft);
}

.aside-contents a {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--paper-dim);
}

.aside-contents a::before {
  content: attr(data-num);
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding-top: 2px;
}

.aside-contents a:hover {
  color: var(--gold);
  text-decoration: none;
}

.aside-figure {
  margin-top: 26px;
}

.aside-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--hairline);
}

.aside-figure figcaption {
  font-size: 10.5px;
}

/* 09. Content elements
   ========================================================================== */
.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 38px;
  margin: 26px 0 10px;
}

.measure {
  border-top: 1px solid var(--hairline);
  padding: 16px 0 6px;
}

.measure h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.measure p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 12px;
}

.index-heading {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  margin-bottom: 28px;
}

.index-list {
  list-style: none;
  margin: 22px 0 8px;
  border-top: 1px solid var(--hairline);
}

.index-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.index-list .idx {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 17px;
  line-height: 1.4;
}

.index-list strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 3px;
}

.index-list p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.note-box {
  margin: 36px 0;
  padding: 24px 26px;
  background: var(--charcoal);
  border-left: 2px solid var(--gold);
  max-width: 70ch;
}

.note-box p {
  margin: 0;
  font-size: 15px;
  color: var(--paper-dim);
}

.note-box p + p {
  margin-top: 12px;
}

.note-box strong {
  color: var(--paper);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 26px 0 34px;
}

.plain-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14.5px;
}

.plain-table caption {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 12px;
}

.plain-table th,
.plain-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.plain-table thead th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--hairline);
}

.plain-table td {
  color: var(--paper-dim);
}

.plain-table td:first-child {
  color: var(--paper);
  width: 38%;
}

.plain-table td:last-child,
.plain-table th:last-child {
  padding-right: 0;
}

.disclaimer-note {
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 74ch;
}

.contact-block {
  margin-top: 34px;
  padding: 28px 30px;
  border: 1px solid var(--hairline);
  background: var(--charcoal);
  max-width: 640px;
}

.contact-block p {
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--paper-dim);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block .label {
  display: inline-block;
  min-width: 132px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 10. Footer and NPX network
   ========================================================================== */
.site-footer {
  background: var(--black-deep);
  border-top: 1px solid var(--gold);
  padding-block: clamp(56px, 7vw, 90px) 34px;
}

.footer-network {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding-bottom: clamp(44px, 5vw, 66px);
  border-bottom: 1px solid var(--hairline);
}

.footer-network h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.footer-network > div > p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}

.footer-network .section-label {
  margin-bottom: 18px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  list-style: none;
}

.network-grid li {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.network-grid a {
  display: block;
  padding: 17px 20px;
  color: var(--paper);
  transition: background 0.18s ease;
}

.network-grid a:hover,
.network-grid a:focus-visible {
  background: var(--charcoal);
  text-decoration: none;
}

.network-grid .net-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.network-grid .net-domain {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(30px, 5vw, 70px);
  padding-top: 30px;
}

.footer-brand .brand-mark {
  font-size: 28px;
}

.footer-brand p {
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-legal {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-legal p {
  margin-bottom: 10px;
}

.footer-legal strong {
  color: var(--paper-dim);
  font-weight: 500;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--gold);
}

/* 11. Responsive breakpoints
   ========================================================================== */
@media (min-width: 1180px) {
  body {
    padding-left: var(--rail);
  }

  .side-rail {
    display: block;
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
  }

  .masthead,
  .site-footer {
    margin-left: calc(var(--rail) * -1);
    padding-left: var(--rail);
  }
}

@media (max-width: 1020px) {
  .editorial-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feature-text {
    grid-column: 1 / span 12;
  }

  .feature-figure,
  .feature-figure--low {
    grid-column: 1 / span 9;
    margin-top: 0;
  }

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

  .dossier-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    margin-top: 40px;
  }

  .aside-figure {
    margin-top: 0;
  }

  .page-head-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pillar-num {
    font-size: 104px;
    margin-bottom: 16px;
  }

  .pullquote {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pullquote figcaption {
    border-left: 0;
    padding-left: 0;
  }

  .footer-network,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-network > div > p {
    max-width: 56ch;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .masthead-top-inner {
    font-size: 9.5px;
  }

  .masthead-top-inner span:nth-child(2) {
    display: none;
  }

  .masthead-main {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 18px;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav ul {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline-soft);
  }

  .primary-nav a {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-block: 110px 54px;
  }

  .hero h1 {
    font-size: clamp(48px, 13.5vw, 74px);
  }

  .hero-meta {
    margin-top: 32px;
    gap: 8px 20px;
    font-size: 9px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .band-caption {
    font-size: 10px;
  }

  .feature-figure,
  .feature-figure--low {
    grid-column: 1 / -1;
  }

  .measure-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dossier-aside {
    grid-template-columns: 1fr;
  }

  .aside-figure img {
    aspect-ratio: 16 / 9;
  }

  .network-grid {
    grid-template-columns: 1fr;
  }

  .plain-table {
    font-size: 13.5px;
    min-width: 560px;
  }

  .plain-table th,
  .plain-table td {
    padding-right: 10px;
  }

  .contact-block {
    padding: 22px 20px;
  }

  .contact-block .label {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    font-size: 30px;
  }

  .brand-sub {
    display: none;
  }

  .hero-links {
    gap: 18px;
  }

  .gold-link {
    font-size: 11px;
  }

  .masthead-top-inner span:last-child {
    display: none;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
