/* ==========================================================================
   INTERMODAL — Combined Transport and Logistics Systems Magazine
   Editorial design system
   01 Tokens · 02 Base · 03 Typography · 04 Primitives · 05 Masthead
   06 Hero · 07 Editorial blocks · 08 Archive · 09 Forms · 10 Footer
   11 Responsive · 12 Dark · 13 Print
   ========================================================================== */

/* ------------------------------------------------------------- 01 Tokens */
:root {
  /* brand */
  --navy:        #0b1f33;
  --navy-700:    #122c47;
  --navy-500:    #22405f;
  --red:         #c8102e;
  --red-700:     #a20d25;
  --red-wash:    #fdf0f1;

  /* surfaces */
  --paper:       #fbfaf7;
  --paper-pure:  #ffffff;
  --paper-sink:  #f3f1ec;
  --rule:        #e2ded5;
  --rule-strong: #cdc7ba;

  /* text */
  --ink:         #10151c;
  --ink-soft:    #3c4552;
  --ink-mute:    #6b7482;
  --ink-faint:   #9aa1ac;

  --on-dark:     #f4f2ee;
  --on-dark-mute:#9fadbe;
  --rule-dark:   rgba(255,255,255,.14);

  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* metrics */
  --wrap: 1300px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --masthead-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow-print: 0 2px 4px rgba(11,31,51,.06), 0 14px 34px rgba(11,31,51,.12);
  --shadow-lift:  0 6px 12px rgba(11,31,51,.08), 0 30px 60px rgba(11,31,51,.18);
}

/* --------------------------------------------------------------- 02 Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 14px; top: -70px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 20px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.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;
}

/* --------------------------------------------------------- 03 Typography */
h1, h2, h3, h4 { margin: 0 0 .44em; font-weight: 400; }

.display, h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.1vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.022em;
  font-weight: 400;
  text-wrap: balance;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -.012em;
}
h4 {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.standfirst {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  line-height: 1.46;
  color: var(--ink-soft);
  max-width: 56ch;
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; background: var(--rule); max-width: 160px;
}
.eyebrow--plain::after { display: none; }
.on-dark .eyebrow { color: #ff7a84; }
.on-dark .eyebrow::after { background: var(--rule-dark); }

.meta {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------- 04 Primitives */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: 760px; }

.band { padding-block: clamp(60px, 8.5vw, 118px); }
.band--tight { padding-block: clamp(40px, 5vw, 70px); }
.band--sink { background: var(--paper-sink); }
.band--navy, .on-dark { background: var(--navy); color: var(--on-dark); }
.on-dark p, .on-dark .standfirst { color: var(--on-dark-mute); }
.on-dark .meta { color: var(--on-dark-mute); }

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

.lead-in { display: grid; gap: 18px; max-width: 640px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.lead-in p { color: var(--ink-mute); margin: 0; }
.lead-in--wide { max-width: 820px; }

.heading-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 20px; border-bottom: 1px solid var(--rule);
}
.on-dark .heading-row { border-color: var(--rule-dark); }
.heading-row > div { max-width: 640px; }
.heading-row h2 { margin-bottom: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn svg { transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--fill   { background: var(--red); color: #fff; border-color: var(--red); }
.btn--fill:hover { background: var(--red-700); border-color: var(--red-700); }

.btn--navy   { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--line   { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--line-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: .7rem; letter-spacing: .12em; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.arrow-link:hover { color: var(--red); border-color: var(--red); gap: 14px; }
.on-dark .arrow-link { color: #fff; border-color: rgba(255,255,255,.45); }
.on-dark .arrow-link:hover { color: #ff7a84; border-color: #ff7a84; }

/* ----------------------------------------------------------- 05 Masthead */
.utility {
  background: var(--navy); color: var(--on-dark-mute);
  font-size: .71rem; letter-spacing: .1em;
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 36px; padding-block: 8px;
}
.utility__tag {
  font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: #fff;
  display: flex; align-items: center; gap: 12px; margin: 0;
}
.utility__tag i { font-style: normal; color: var(--red); }
.utility__links { display: flex; gap: 24px; }
.utility__links a { transition: color .2s var(--ease); }
.utility__links a:hover { color: #fff; }

.masthead {
  position: sticky; top: 0; z-index: 120;
  background: rgba(251,250,247,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.masthead.is-stuck { border-bottom-color: var(--rule-strong); }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  min-height: var(--masthead-h);
}

.wordmark { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.wordmark__name {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.3vw, 1.78rem);
  font-weight: 800; letter-spacing: -.045em; text-transform: uppercase;
  line-height: .9; color: var(--ink);
}
.wordmark__name b { font-weight: 800; color: var(--red); }
.wordmark__line {
  font-size: .56rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-mute); white-space: nowrap; display: none;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a {
  position: relative;
  font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); padding: 12px 14px; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav > a:hover { color: var(--ink); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { color: var(--red); }
.nav .btn { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--rule-strong); cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 19px; height: 1.5px; background: currentColor; position: relative; transition: background-color .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: currentColor;
  transition: transform .25s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------- 06 Hero */
.hero { border-bottom: 1px solid var(--rule); background: var(--paper); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(36px, 5.5vw, 86px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__issue {
  display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.hero__issue b { background: var(--red); color: #fff; padding: 6px 12px; font-weight: 700; }
.hero__issue span { color: var(--ink-mute); }

.hero h1 { margin-bottom: 24px; }
.hero__sub { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__cover { position: relative; display: block; justify-self: center; width: 100%; max-width: 420px; }
.hero__cover img {
  position: relative; z-index: 1; width: 100%; box-shadow: var(--shadow-print);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.hero__cover:hover img { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
.hero__cover::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: 0;
  border: 1px solid var(--rule-strong);
}
@media (max-width: 960px) { .hero__cover::after { display: none; } }

/* contents strip beneath hero */
.contents {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--rule);
}
.contents__item {
  padding: clamp(28px, 3.2vw, 38px) clamp(24px, 2.8vw, 40px);
  border-right: 1px solid var(--rule);
  display: flex; gap: 18px; align-items: flex-start;
}
.contents__item:first-child { padding-left: 0; }
.contents__item:last-child { padding-right: 0; border-right: 0; }
.contents__num {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--red);
  flex: none; padding-top: 2px;
}
.contents__item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.contents__item p { font-size: .88rem; color: var(--ink-mute); margin: 0; }

/* -------------------------------------------------------------- Ribbon */
.ribbon { border-bottom: 1px solid var(--rule); background: var(--paper-pure); }
.ribbon__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 22px;
}
.ribbon__inner span {
  font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .2s var(--ease);
}
.ribbon__inner span:hover { color: var(--red); }

/* ----------------------------------------------------- 07 Editorial blocks */
.columns {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 80px); align-items: start;
}
.columns--sidebar { grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr); }
.columns--flip > :first-child { order: 2; }

.copy { font-size: 1.02rem; color: var(--ink-soft); }
.copy > p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-size: 3.9em; line-height: .82;
  padding: .06em .12em 0 0; color: var(--navy);
}
.copy--plain > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.copy h2 { margin-top: 1.6em; color: var(--ink); }
.copy h2:first-child { margin-top: 0; }
.copy h3 { margin-top: 1.5em; color: var(--ink); }
.copy ul { margin: 0 0 1.3em; padding: 0; list-style: none; }
.copy ul li {
  padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); position: relative;
}
.copy ul li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--red);
}
.copy a { color: var(--red); border-bottom: 1px solid currentColor; }
.copy strong { color: var(--ink); font-weight: 600; }

.pullquote {
  margin: 2.4em 0; padding: 0 0 0 28px; border-left: 2px solid var(--red);
  font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.26; letter-spacing: -.015em; color: var(--navy);
}
.pullquote cite {
  display: block; margin-top: 16px; font-family: var(--sans); font-style: normal;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* numbered editorial list */
.facts { display: grid; gap: 0; }
.facts__row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px; padding: 26px 0; border-top: 1px solid var(--rule);
}
.facts__row:last-child { border-bottom: 1px solid var(--rule); }
.facts__n {
  font-family: var(--serif); font-size: 1.1rem; color: var(--red);
  border-top: 2px solid var(--red); padding-top: 8px; line-height: 1;
}
.facts__row h3 { font-size: 1.22rem; margin-bottom: 6px; }
.facts__row p { color: var(--ink-mute); font-size: .96rem; margin: 0; }
.on-dark .facts__row { border-color: var(--rule-dark); }
.on-dark .facts__row h3 { color: #fff; }
.on-dark .facts__row p { color: var(--on-dark-mute); }
.on-dark .facts__n { color: #ff7a84; border-color: #ff7a84; }

/* figures / stats */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.figure {
  padding: clamp(28px, 3vw, 40px) clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--rule-dark);
}
.figure:first-child { padding-left: 0; }
.figure:last-child { padding-right: 0; border-right: 0; }
.figure b {
  display: block; font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1;
  letter-spacing: -.03em; color: #fff; margin-bottom: 16px;
}
.figure span {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.5; color: var(--on-dark-mute);
}
.figures--light .figure { border-color: var(--rule); }
.figures--light .figure b { color: var(--navy); }
.figures--light .figure span { color: var(--ink-mute); }

/* promo split */
.promo {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.promo__media img { width: 100%; box-shadow: var(--shadow-print); }

/* partner strip */
.partners {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 30px); align-items: stretch;
}
.partners a {
  display: flex; align-items: center; justify-content: center;
  min-height: 150px; padding: 20px;
  border: 1px solid var(--rule); background: var(--paper-pure);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.partners a:hover { border-color: var(--rule-strong); transform: translateY(-3px); }
.partners img { max-height: 190px; width: auto; max-width: 100%; object-fit: contain; }

/* ------------------------------------------------------------ 08 Archive */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--rule);
}
.search { position: relative; flex: 1 1 260px; max-width: 340px; }
.search input {
  width: 100%; font: inherit; font-size: .92rem; color: var(--ink);
  padding: 11px 14px 11px 38px;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong);
  transition: border-color .2s var(--ease);
}
.search input::placeholder { color: var(--ink-faint); }
.search input:focus { outline: none; border-bottom-color: var(--red); }
.search svg { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--rule-strong); background: transparent;
  color: var(--ink-soft); cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.tally { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.no-results { display: none; padding: 70px 0; text-align: center; color: var(--ink-mute); }

.shelf {
  display: grid; gap: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.issue { display: flex; flex-direction: column; }
.issue__cover {
  position: relative; display: block; overflow: hidden;
  background: var(--paper-sink); aspect-ratio: 220 / 301;
  box-shadow: var(--shadow-print);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.issue__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.issue__cover::after {
  content: ""; position: absolute; inset: 0; background: rgba(11,31,51,.55);
  opacity: 0; transition: opacity .3s var(--ease);
}
.issue__cta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 12px 8px;
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.issue:hover .issue__cover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.issue:hover .issue__cover img { transform: scale(1.04); }
.issue:hover .issue__cover::after { opacity: 1; }
.issue:hover .issue__cta, .issue__cover:focus-visible .issue__cta { transform: translateY(0); }

.issue__bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.issue__no { font-family: var(--serif); font-size: 1.18rem; letter-spacing: -.01em; }
.issue__fmt { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.issue__line { margin: 10px 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink-mute); }

/* ---------------------------------------------------------- 08b Newsroom */
.tag {
  display: inline-block;
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); background: var(--red-wash);
  padding: 5px 10px;
}
.on-dark .tag { color: #ff7a84; background: rgba(255,122,132,.14); }

.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.byline time { color: inherit; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-strong); }

/* lead story */
.lead-story {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
  padding-bottom: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.lead-story--bare {
  grid-template-columns: 1fr;
  padding-bottom: 0; border-bottom: 0; margin-bottom: 0;
}
.lead-story__shot { display: block; overflow: hidden; background: var(--navy); }
.lead-story__shot img { width: 100%; aspect-ratio: 900 / 440; object-fit: cover; transition: transform .6s var(--ease); }
.lead-story:hover .lead-story__shot img { transform: scale(1.03); }
.lead-story h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin: 18px 0 14px;
  transition: color .2s var(--ease);
}
.lead-story a:hover h2 { color: var(--red); }
.lead-story p { color: var(--ink-mute); max-width: 52ch; }

/* story grid */
.stories {
  display: grid; gap: clamp(28px, 3.4vw, 46px) clamp(20px, 2.6vw, 36px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.story { display: flex; flex-direction: column; }
.story__shot { display: block; overflow: hidden; background: var(--navy); margin-bottom: 18px; }
.story__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story__shot img { transform: scale(1.04); }
.story h3 {
  font-size: 1.3rem; margin: 12px 0 10px; transition: color .2s var(--ease);
}
.story:hover h3 { color: var(--red); }
.story p { font-size: .92rem; color: var(--ink-mute); margin: 0 0 16px; }
.story .byline { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); }

/* compact list (homepage band, sidebars) */
.briefs { display: grid; }
.brief {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px;
  padding: 20px 0; border-top: 1px solid var(--rule);
  align-items: start;
}
.brief:last-child { border-bottom: 1px solid var(--rule); }
.brief__shot { display: block; overflow: hidden; background: var(--navy); }
.brief__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.brief h3 { font-size: 1.08rem; margin: 8px 0 0; transition: color .2s var(--ease); }
.brief:hover h3 { color: var(--red); }
.brief .byline { font-size: .64rem; }
.on-dark .brief { border-color: var(--rule-dark); }
.on-dark .brief h3 { color: #fff; }
.on-dark .byline { color: var(--on-dark-mute); }

/* pager */
.pager {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 30px; border-top: 1px solid var(--rule);
}
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  border: 1px solid var(--rule-strong); color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .is-disabled { opacity: .4; pointer-events: none; }

/* ------------------------------------------------------- 08c Article page */
.article { max-width: 720px; }
.article__head { margin-bottom: clamp(30px, 4vw, 44px); }
.article__head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin: 20px 0 18px;
}
.article__head .standfirst { margin-bottom: 26px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--rule);
}

.article__hero { margin: 0 0 clamp(30px, 4vw, 46px); }
.article__hero img { width: 100%; }
.article__hero figcaption,
.article figure figcaption {
  margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--rule-strong);
  font-size: .8rem; line-height: 1.55; color: var(--ink-mute);
}
.article figure { margin: 2.4em 0; }
.article figure img { width: 100%; }

.keyfacts {
  margin: 2.6em 0; padding: 26px 28px;
  background: var(--paper-pure); border-top: 2px solid var(--red);
}
.keyfacts h4 { margin-bottom: 16px; color: var(--ink); }
.keyfacts ul { margin: 0; padding: 0; list-style: none; }
.keyfacts li {
  padding: 10px 0 10px 24px; border-bottom: 1px solid var(--rule);
  position: relative; font-size: .94rem; color: var(--ink-soft);
}
.keyfacts li:last-child { border-bottom: 0; padding-bottom: 0; }
.keyfacts li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 9px; height: 1px; background: var(--red);
}

.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--rule);
}
.share h4 { margin: 0 8px 0 0; color: var(--ink-mute); }
.share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--rule-strong); color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.share a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.article-aside {
  position: sticky; top: 118px; display: grid; gap: 30px; align-self: start;
}
.article-aside h4 { padding-bottom: 12px; border-bottom: 1px solid var(--rule); }

.prev-next {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(40px, 5vw, 60px);
}
.prev-next a {
  background: var(--paper); padding: 24px 26px;
  transition: background-color .2s var(--ease);
}
.prev-next a:hover { background: var(--paper-pure); }
.prev-next span {
  display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px;
}
.prev-next strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); }
.prev-next a:hover strong { color: var(--red); }
.prev-next .is-empty { background: var(--paper-sink); opacity: .55; pointer-events: none; }
.prev-next .align-end { text-align: right; }

/* ------------------------------------------------------- 09 Page header */
.pagehead {
  background: var(--navy); color: var(--on-dark);
  padding-block: clamp(46px, 6.5vw, 86px);
  position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 48%; height: 180%;
  background: linear-gradient(140deg, rgba(200,16,46,.22), transparent 62%);
  pointer-events: none;
}
.pagehead h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin-bottom: 18px; position: relative; }
.pagehead .standfirst { color: var(--on-dark-mute); position: relative; }
.crumbs {
  display: flex; gap: 10px; align-items: center; margin-bottom: 22px; position: relative;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.crumbs a { color: rgba(255,255,255,.72); }
.crumbs a:hover { color: #fff; }

/* ---------------------------------------------------------- 09b Contact */
.detail-list { display: grid; }
.detail {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--rule);
}
.detail:last-child { border-bottom: 1px solid var(--rule); }
.detail dt { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
.detail dd { margin: 0; font-size: 1.02rem; color: var(--ink); }
.detail dd a:hover { color: var(--red); }

.request-note {
  margin: 0 0 26px; padding: 16px 20px;
  background: var(--red-wash); border-left: 2px solid var(--red);
  font-size: .94rem; line-height: 1.55; color: var(--ink-soft);
}

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 11px 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-strong);
  transition: border-color .2s var(--ease);
}
.field select { padding-right: 20px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.form__note { font-size: .82rem; color: var(--ink-mute); margin: 0; }

.locator {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.locator__card {
  border-left: 2px solid var(--red); padding: 22px 26px;
  background: var(--paper-pure); line-height: 1.85; color: var(--ink-soft);
}
.locator__card strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; font-weight: 400; }
.locator__card span { display: block; margin-top: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

/* ------------------------------------------------------------- 10 Footer */
.colophon { background: var(--navy); color: var(--on-dark-mute); padding-top: clamp(50px, 6vw, 82px); }
.colophon__grid {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(30px, 4vw, 60px); padding-bottom: 52px;
}
.colophon .wordmark__name { color: #fff; font-size: 1.7rem; }
.colophon p { font-size: .9rem; max-width: 40ch; line-height: 1.7; }
.colophon h4 { color: #fff; margin-bottom: 18px; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.colophon a { font-size: .9rem; transition: color .2s var(--ease); }
.colophon a:hover { color: #fff; }
.colophon__base {
  border-top: 1px solid var(--rule-dark); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.44);
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 110;
  width: 44px; height: 44px; border: 1px solid var(--rule-strong);
  background: var(--paper-pure); color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ------------------------------------------------------------- Reveal fx */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------- 11 Responsive */
@media (min-width: 1180px) { .wordmark__line { display: block; } }

@media (max-width: 1080px) {
  .nav > a { padding: 12px 10px; font-size: .71rem; letter-spacing: .1em; }
  .masthead__inner { gap: 14px; }
}

@media (max-width: 960px) {
  .lead-story { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cover { order: -1; max-width: 290px; justify-self: start; }
  .columns, .columns--sidebar { grid-template-columns: 1fr; }
  .columns--flip > :first-child { order: 0; }
  .contents__item {
    border-right: 0; border-top: 1px solid var(--rule);
    padding-inline: 0;
  }
  .contents__item:first-child { padding-left: 0; }
  .contents { border-top: 0; }
  .figure {
    border-right: 0; border-bottom: 1px solid var(--rule-dark);
    padding-inline: 0;
  }
  .figure:last-child { border-bottom: 0; padding-right: 0; }
  .figures--light .figure { border-color: var(--rule); }
}

@media (max-width: 880px) {
  .masthead-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--masthead-h) + 36px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule-strong);
    padding: 6px var(--gutter) 26px;
    box-shadow: var(--shadow-lift);
    max-height: calc(100dvh - var(--masthead-h) - 36px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .28s var(--ease), opacity .22s var(--ease), visibility 0s linear .28s;
  }
  .nav.is-open {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .28s var(--ease), opacity .22s var(--ease), visibility 0s;
  }
  .nav > a { padding: 17px 2px; font-size: .9rem; letter-spacing: .1em; border-bottom: 1px solid var(--rule); }
  .nav > a::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 22px; }
  .utility__links { display: none; }
  .utility__inner { justify-content: center; }
  .utility__tag { font-size: .62rem; letter-spacing: .16em; text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 6px; }
  .shelf { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .stories { grid-template-columns: 1fr; }
  .brief { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .prev-next .align-end { text-align: left; }
  .copy > p:first-of-type::first-letter { font-size: 3.2em; }
  .utility__tag i, .utility__tag .utility__since { display: none; }
  .ribbon__inner { gap: 6px 16px; }
  .ribbon__inner span { font-size: .62rem; letter-spacing: .18em; }
}

/* --------------------------------------------------------------- 12 Dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1117; --paper-pure: #121821; --paper-sink: #10161e;
    --rule: #222b36; --rule-strong: #334051;
    --ink: #ecefF3; --ink-soft: #c3cbd6; --ink-mute: #8d97a5; --ink-faint: #6b7584;
    --navy: #070b11; --navy-700: #101a26; --red: #ff4d5a; --red-700: #e13b47;
    --red-wash: rgba(255,77,90,.12);
    --on-dark: #eceff3; --on-dark-mute: #94a0b0;
    --shadow-print: 0 2px 4px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.5);
    --shadow-lift: 0 6px 12px rgba(0,0,0,.45), 0 30px 60px rgba(0,0,0,.6);
  }
  :root:not([data-theme="light"]) .masthead { background: rgba(13,17,23,.92); }
  :root:not([data-theme="light"]) .btn--line:hover { background: var(--ink); color: #0d1117; }
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #0d1117; }
  :root:not([data-theme="light"]) .copy > p:first-of-type::first-letter { color: var(--red); }
  :root:not([data-theme="light"]) .pullquote { color: var(--ink); }
  :root:not([data-theme="light"]) .figures--light .figure b { color: var(--red); }
  :root:not([data-theme="light"]) .to-top { background: var(--paper-pure); color: var(--ink); }
}

/* -------------------------------------------------------------- 13 Print */
@media print {
  .utility, .masthead, .to-top, .partners, .colophon, .ribbon { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band { padding-block: 18pt; }
}
