@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Variable-Roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #05213e;
  --ink-soft: #173d5f;
  --cyan: #00a9e8;
  --vermilion: #f04a24;
  --paper: #f7f9fb;
  --white: #ffffff;
  --text: #172536;
  --muted: #536577;
  --line: #cbd7e2;
  --line-strong: #607386;
  --hold: #e9eef3;
  --max: 1240px;
  --measure: 720px;
  --shadow: 0 16px 40px rgba(5, 33, 62, 0.08);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

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

html {
  color-scheme: light;
  background: var(--paper);
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.responsive-picture {
  width: 100%;
  height: 100%;
  display: block;
}

.responsive-picture img {
  width: 100%;
  height: 100%;
}

a {
  color: var(--ink);
  text-decoration-color: rgba(5, 33, 62, 0.38);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-color: var(--vermilion);
}

button,
input,
textarea {
  font: inherit;
}

button {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 0.55rem 1rem;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: var(--ink-soft);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(0, 169, 232, 0.28);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 930px;
}

.text-shell {
  max-width: 820px;
}

.article-shell {
  max-width: 1010px;
}

.wide-shell {
  max-width: 1180px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.prototype-notice {
  padding: 0.45rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.69rem;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-align: center;
  font-weight: 800;
  font-family: var(--font-mono);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.masthead-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  display: block;
  width: min(365px, 38vw);
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  width: 100%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}

.desktop-nav a,
.mobile-nav a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.25rem;
  background: transparent;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  background: var(--vermilion);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.45rem;
}

.mobile-nav {
  padding-block: 0.25rem 1rem;
}

.mobile-nav[data-static-navigation] {
  display: none;
}

.mobile-nav a {
  display: block;
  min-height: 44px;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a[aria-current="page"] {
  border-left: 4px solid var(--vermilion);
  padding-left: 0.75rem;
}

.identity-bar {
  color: var(--white);
  background: var(--ink);
  border-top: 4px solid var(--cyan);
}

.identity-bar-inner {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.79rem;
  letter-spacing: 0.035em;
}

.identity-bar p {
  margin: 0;
}

.identity-bar a {
  color: var(--white);
  font-weight: 800;
}

.page-space {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.positioning-line {
  max-width: 880px;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 700;
}

.eyebrow,
.story-kicker {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 900;
}

.eyebrow::before,
.story-kicker::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 3px;
  margin-right: 0.45rem;
  vertical-align: 0.22em;
  background: var(--vermilion);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 6vw, 5.3rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.027em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.016em;
}

h1 a,
h2 a,
h3 a {
  color: inherit;
  text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--vermilion);
}

.page-intro {
  max-width: 850px;
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
}

.page-intro p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.front-page-intro {
  max-width: 820px;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.front-page-intro h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.front-page-tools {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(290px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.lead-story h2 {
  max-width: 900px;
  margin: 1rem 0;
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
}

.standfirst,
.article-standfirst {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.byline,
.article-meta,
.story-row time {
  color: var(--muted);
  font-size: 0.82rem;
}

.media-placeholder {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  color: var(--ink);
  background:
    linear-gradient(135deg, transparent 49.4%, rgba(5, 33, 62, 0.12) 49.5%, rgba(5, 33, 62, 0.12) 50.5%, transparent 50.6%),
    var(--hold);
  border: 1px solid var(--line-strong);
  text-align: center;
  text-decoration: none;
}

.media-placeholder-large {
  min-height: clamp(330px, 42vw, 570px);
}

.media-placeholder-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lead-media-link {
  display: block;
  overflow: hidden;
  color: inherit;
  background: var(--hold);
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.lead-media-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.card-media-credit {
  min-width: 0;
  margin: 0;
  align-self: start;
}

.card-media-credit figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lead-media-link-credit figcaption {
  font-size: 0.7rem;
}

.media-placeholder-medium {
  min-height: 300px;
}

.media-status {
  padding: 0.45rem 0.7rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.media-rule {
  max-width: 590px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.top-stories {
  border-top: 6px solid var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
}

.section-heading a {
  font-size: 0.85rem;
  font-weight: 800;
}

.compact-heading {
  padding-top: 1.1rem;
}

.compact-heading h2 {
  font-size: 1.35rem;
}

.ranked-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranked-list li {
  display: grid;
  grid-template-columns: 42px 104px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.ranked-list li > .rank + div:last-child {
  grid-column: 2 / -1;
}

.ranked-list h3 {
  margin: 0;
  font-size: 1.18rem;
}

.rank {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.top-story-media {
  width: 104px;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: var(--hold);
  border: 1px solid var(--line-strong);
}

.top-story-media-credit {
  width: 104px;
}

.top-story-media-credit figcaption {
  font-size: 0.56rem;
  line-height: 1.2;
}

.top-story-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ranked-list [data-card-standfirst] {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.ranked-list time,
.feature-card time {
  color: var(--muted);
  font-size: 0.72rem;
}

.ad-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  overflow: hidden;
  color: var(--ink);
  background: #f0f3f6;
  border: 1px dashed var(--line-strong);
  text-align: center;
  user-select: none;
}

.ad-slot::before,
.ad-slot::after {
  content: none;
}

.ad-label,
.ad-note,
.ad-state {
  position: relative;
  z-index: 1;
  background: #f0f3f6;
}

.ad-label {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  font-weight: 900;
}

.ad-note {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.ad-state {
  padding: 0.2rem 0.4rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.ad-slot[data-ad-state="filled-space"] {
  background: #e0eaf2;
  border-style: solid;
  border-top: 7px solid var(--ink);
}

.ad-slot[data-ad-state="filled-space"] .ad-label,
.ad-slot[data-ad-state="filled-space"] .ad-note,
.ad-slot[data-ad-state="filled-space"] .ad-state {
  background: #e0eaf2;
}

.ad-slot[data-ad-state="no-fill"] {
  background: transparent;
  border-style: dashed;
}

.ad-slot[data-ad-state="no-fill"] .ad-label,
.ad-slot[data-ad-state="no-fill"] .ad-note,
.ad-slot[data-ad-state="no-fill"] .ad-state {
  background: var(--paper);
}

.ad-banner {
  width: 100%;
  height: 150px;
  margin-block: clamp(2.5rem, 6vw, 5rem);
}

.latest-with-rail {
  display: block;
}

.latest-with-rail .story-stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 3rem;
  border-top: 0;
}

.latest-with-rail .story-row {
  grid-column: 1;
}

.latest-with-rail .story-row:first-of-type {
  border-top: 1px solid var(--line-strong);
}

.latest-with-rail .story-row:nth-of-type(1) { grid-row: 1; }
.latest-with-rail .story-row:nth-of-type(2) { grid-row: 2; }
.latest-with-rail .story-row:nth-of-type(3) { grid-row: 3; }
.latest-with-rail .story-row:nth-of-type(4) { grid-row: 4; }
.latest-with-rail .story-row:nth-of-type(5) { grid-row: 5; }
.latest-with-rail .story-row:nth-of-type(6) { grid-row: 6; }

.ad-rail,
.ad-article-rail {
  width: 300px;
  height: 250px;
}

.ad-rail {
  grid-column: 2;
  grid-row: 4 / span 2;
  align-self: start;
  margin-top: 1.5rem;
}

.story-stream {
  border-top: 1px solid var(--line-strong);
}

.story-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.story-row h2,
.story-row h3 {
  margin-bottom: 0.45rem;
}

.story-row p:not(.story-kicker) {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.fixture-time {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.row-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: var(--hold);
  border: 1px solid var(--line-strong);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 900;
}

.row-media {
  display: block;
  overflow: hidden;
}

.row-media-hold {
  display: flex;
  padding: 0.5rem;
}

.row-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.depth-section,
.topic-strip {
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.one-card-grid {
  grid-template-columns: minmax(0, 760px);
}

.feature-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border-top: 5px solid var(--ink);
  box-shadow: var(--shadow);
}

.feature-card-media {
  display: block;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 9;
  background: var(--hold);
  text-decoration: none;
}

.feature-card-media-credit {
  margin: -1.5rem -1.5rem 1.25rem;
}

.feature-card-media-credit .feature-card-media {
  margin: 0;
}

.feature-card-media-credit figcaption {
  padding-inline: 0.7rem;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card:nth-child(2) {
  border-top-color: var(--cyan);
}

.feature-card:nth-child(3) {
  border-top-color: var(--vermilion);
}

.feature-card p:not(.story-kicker) {
  color: var(--muted);
}

.feature-card .prototype-card-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.topic-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line);
}

.topic-links a {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 0;
  background: var(--paper);
  font-family: var(--font-serif);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.page-indicator {
  color: var(--muted);
  font-weight: 700;
}

.numbered-stream .story-row {
  grid-template-columns: 215px minmax(0, 1fr);
}

.list-ad {
  margin-top: 3rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  color: var(--white);
  background: var(--ink-soft);
}

.button-link.is-disabled {
  color: var(--muted);
  background: transparent;
  border-color: var(--line-strong);
  opacity: 0.72;
}

.topic-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.topic-directory a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.45rem;
  padding: 1.6rem;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.topic-directory a:hover {
  background: #eef5f8;
}

.topic-directory span {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
}

.topic-directory small {
  color: var(--muted);
  font-size: 0.9rem;
}

.topic-directory em {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.05em;
}

.build-status-note {
  margin: 0 0 2rem;
  padding: 1rem 1.1rem;
  color: var(--ink);
  background: var(--white);
  border-left: 5px solid var(--cyan);
  font-size: 0.9rem;
}

.clearance-preview > .shell > section {
  margin-top: 3.5rem;
}

.clearance-summary,
.clearance-story-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.clearance-metric {
  min-width: 0;
  padding: 1rem;
  background: var(--white);
}

.clearance-metric dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clearance-metric dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.clearance-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.clearance-story {
  min-width: 0;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  background: var(--white);
  border-top: 6px solid var(--ink);
  box-shadow: var(--shadow);
}

.clearance-story h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.clearance-story h4 {
  margin: 1.4rem 0 0.55rem;
  color: var(--ink);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clearance-story ul,
.clearance-story p,
.clearance-decision-sequence li {
  font-size: 0.92rem;
  line-height: 1.6;
}

.clearance-story-status {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clearance-decision-sequence {
  max-width: 850px;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--white);
  border-left: 6px solid var(--vermilion);
}

.topic-lead {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.topic-lead h2 {
  margin-bottom: 0.8rem;
}

.topic-stream {
  max-width: 900px;
}

.story-header {
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
}

.article-page {
  display: block;
}

.story-header h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.6rem);
}

.article-standfirst {
  max-width: 820px;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-block: 1.25rem 0.8rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.article-meta p {
  margin: 0;
}

.status-stack {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

.status-stack p {
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-left: 5px solid var(--ink);
  font-size: 0.88rem;
}

.status-stack .ai-disclosure {
  border-left-color: var(--cyan);
}

.status-stack .correction-note {
  border-left-color: var(--vermilion);
}

.hero-figure {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-figure > .responsive-picture,
.hero-figure > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #05090d;
}

.hero-figure .responsive-picture img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.story-hero {
  min-height: clamp(390px, 57vw, 710px);
}

.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.45;
}

.photo-credit {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 800;
}

.photo-credit-links {
  display: block;
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.photo-credit-links a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.credit-stack {
  flex: 0 0 min(42%, 410px);
  display: grid;
  justify-items: end;
  gap: 0.22rem;
  text-align: right;
}

.rights-review-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.035em;
}

.known-box {
  margin: 3rem 0;
  padding: 1.5rem 1.8rem;
  color: var(--ink);
  background: var(--white);
  border-top: 6px solid var(--ink);
  box-shadow: var(--shadow);
}

.known-box h2 {
  margin-bottom: 0.75rem;
  font-size: 1.65rem;
}

.known-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.known-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
}

.known-grid div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-strong);
}

.known-grid dt {
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.known-grid dd {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) 300px;
  gap: 3.5rem;
  align-items: start;
}

.article-body {
  min-width: 0;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.78;
}

.article-body h2 {
  margin-top: 2.7rem;
  margin-bottom: 0.8rem;
}

.inline-documentary-group {
  margin-block: 3rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line-strong);
  font-family: var(--font-sans);
}

.inline-documentary-group > h2 {
  margin-top: 0;
}

.documentary-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.documentary-comparison figure {
  min-width: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.documentary-comparison img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #05090d;
}

.documentary-comparison figcaption {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.documentary-comparison .photo-credit {
  font-size: 0.68rem;
}

.article-lede::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--ink);
  font-size: 4.6rem;
  line-height: 0.82;
  font-weight: 700;
}

.ad-inline {
  width: 100%;
  min-height: 180px;
  margin-block: 3rem;
  font-family: var(--font-sans);
}

.narrow-only {
  display: none;
}

.ad-continuation {
  width: min(100%, 320px);
  min-height: 100px;
  margin: 3rem auto;
  font-family: var(--font-sans);
}

.source-block,
.updates-block {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--ink);
}

.source-block li,
.updates-block p {
  font-size: 0.96rem;
}

.author-box {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 3.2rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-family: var(--font-sans);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.button-link-secondary {
  color: var(--ink);
  background: var(--white);
}

.button-link-secondary:hover {
  color: var(--white);
}

.copy-link-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.author-box h2 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.author-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.author-avatar {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--white) !important;
  background: var(--ink);
  border-bottom: 7px solid var(--cyan);
  font-family: var(--font-serif);
  font-size: 1.7rem !important;
  font-weight: 700;
}

.related-section {
  margin-top: 5rem;
  padding-bottom: 5rem;
}

.two-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-form {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-top: 5px solid var(--ink);
  box-shadow: var(--shadow);
}

.search-form label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}

.search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
}

.search-controls input {
  min-height: 48px;
  width: 100%;
  padding: 0.65rem 0.8rem;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
}

.button-secondary:hover {
  color: var(--white);
}

.form-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.search-filters {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.search-filters summary {
  padding-top: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.search-filter-grid label {
  margin: 0;
  font-size: 0.78rem;
}

.search-filter-grid select {
  width: 100%;
  min-height: 44px;
  display: block;
  margin-top: 0.35rem;
  padding: 0.5rem 0.6rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  font: inherit;
}

.search-state {
  min-height: 180px;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
}

.search-state h2 {
  margin-bottom: 0.6rem;
}

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

.error-state,
.error-panel {
  border-left: 6px solid var(--vermilion);
}

.text-shell > section {
  margin-top: 3.5rem;
}

.text-shell > section p {
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.callout-link {
  margin-top: 3rem;
  padding: 1.2rem;
  background: var(--white);
  border-left: 5px solid var(--cyan);
  font-weight: 800;
}

.standards-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: clamp(2.5rem, 6vw, 6rem);
  justify-content: center;
  align-items: start;
}

.standards-toc {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  background: var(--white);
  border-top: 5px solid var(--ink);
}

.standards-toc p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  font-weight: 900;
}

.standards-toc a {
  padding: 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.standards-content section {
  padding-top: 1.4rem;
  margin-top: 2.8rem;
  border-top: 1px solid var(--line-strong);
}

.standards-content section p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.related-standards {
  margin-top: 3.5rem;
  padding: 1.4rem;
  background: var(--white);
  border-top: 5px solid var(--cyan);
}

.related-standards h2 {
  margin-bottom: 0.8rem;
}

.related-standards ul {
  margin: 0;
}

.last-updated {
  margin-top: 1rem !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.82rem !important;
}

.author-profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-strong);
}

.author-profile h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.large-avatar {
  width: 110px;
  height: 110px;
  font-size: 3rem !important;
}

.author-role {
  color: var(--muted);
  font-weight: 800;
}

.rights-hold-demo {
  min-height: 430px;
  margin: 2rem 0 3rem;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
  border-top: 7px solid var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3.5rem;
}

.footer-brand img {
  width: min(270px, 100%);
  padding: 0.45rem;
  background: var(--white);
}

.footer-brand p {
  max-width: 300px;
  font-size: 0.85rem;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
  color: var(--white);
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1099px) {
  .latest-with-rail {
    display: block;
  }

  .latest-with-rail .story-stream {
    display: block;
    border-top: 1px solid var(--line-strong);
  }

  .latest-with-rail .story-row:first-of-type {
    border-top: 0;
  }

  .ad-article-rail {
    display: none;
  }

  .ad-rail {
    width: min(100%, 320px);
    height: 100px;
    display: flex;
    margin: 1.5rem auto;
  }

  .desktop-only {
    display: none !important;
  }

  .narrow-only {
    display: flex;
  }

  .article-layout {
    display: block;
  }

  .article-body {
    max-width: var(--measure);
    margin-inline: auto;
  }

  .topic-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .search-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

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

  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .prototype-notice {
    font-size: 0.6rem;
  }

  .masthead-row {
    min-height: 82px;
    gap: 1rem;
  }

  .brand-link {
    width: min(240px, 62vw);
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0.45rem 0.65rem;
  }

  .mobile-nav[data-static-navigation] {
    display: block;
  }

  .identity-bar-inner {
    min-height: 56px;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    padding-block: 0.5rem;
    font-size: 0.72rem;
  }

  .page-space {
    padding-block: 2.7rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .lead-layout,
  .topic-lead,
  .standards-layout {
    display: block;
  }

  .lead-story h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .top-stories {
    margin-top: 3rem;
  }

  .ranked-list [data-card-standfirst] {
    display: none;
  }

  .media-placeholder-large {
    min-height: 280px;
  }

  .lead-media-link img {
    height: auto;
  }

  .media-rule {
    font-size: 0.78rem;
  }

  .ad-banner {
    height: 112px;
    margin-block: 2.6rem;
  }

  .story-row,
  .numbered-stream .story-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 1rem;
  }

  .row-media {
    min-height: 0;
  }

  .row-media img {
    min-height: 0;
  }

  .story-row h2,
  .story-row h3 {
    font-size: 1.14rem;
  }

  .story-row p:not(.story-kicker) {
    display: none;
  }

  .story-row time,
  .fixture-time {
    display: block;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .card-grid,
  .two-card-grid {
    grid-template-columns: 1fr;
  }

  .clearance-summary,
  .clearance-story-grid,
  .clearance-story-status {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 190px;
  }

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

  .topic-links a {
    min-height: 82px;
  }

  .topic-directory {
    grid-template-columns: 1fr;
  }

  .topic-directory a {
    min-height: 145px;
  }

  .topic-lead .media-placeholder {
    margin-bottom: 1.5rem;
  }

  .story-header h1 {
    font-size: clamp(2.15rem, 10.2vw, 3.4rem);
  }

  .article-meta {
    display: block;
  }

  .article-meta p + p {
    margin-top: 0.3rem;
  }

  .story-hero {
    min-height: 320px;
  }

  .hero-figure figcaption {
    display: block;
  }

  .photo-credit {
    display: block;
    margin-top: 0.4rem;
  }

  .credit-stack {
    display: grid;
    justify-items: start;
    margin-top: 0.45rem;
    text-align: left;
  }

  .documentary-comparison {
    grid-template-columns: 1fr;
  }

  .known-box {
    margin-block: 2rem;
    padding: 1.2rem;
  }

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

  .article-body {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  .ad-inline {
    min-height: 250px;
  }

  .author-box {
    grid-template-columns: 56px 1fr;
    padding: 1rem;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
  }

  .search-controls {
    grid-template-columns: 1fr 1fr;
  }

  .search-controls input {
    grid-column: 1 / -1;
  }

  .search-filter-grid {
    grid-template-columns: 1fr;
  }

  .standards-toc {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 3rem;
  }

  .author-profile {
    grid-template-columns: 82px 1fr;
    gap: 1.2rem;
  }

  .large-avatar {
    width: 76px;
    height: 76px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 0.35rem;
  }
}

@media (max-width: 380px) {
  .brand-link {
    width: min(185px, 58vw);
  }

  .menu-button span[aria-hidden="true"] {
    display: none;
  }

  .story-row,
  .numbered-stream .story-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .ranked-list li {
    grid-template-columns: 34px 88px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .top-story-media {
    width: 88px;
  }

  .top-story-media-credit {
    width: 88px;
  }

  .row-media {
    font-size: 0.55rem;
  }

  .topic-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .author-profile {
    display: block;
  }

  .author-profile .large-avatar {
    margin-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .prototype-notice,
  .site-header,
  .site-footer,
  .ad-slot,
  .menu-button {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .view[hidden] {
    display: none !important;
  }
}
