:root {
  color-scheme: dark;
  --ink: #080a0d;
  --surface: #11151a;
  --surface-2: #171d23;
  --paper: #eef2f1;
  --text: #f6f8f7;
  --muted: #a9b4b7;
  --line: #303941;
  --cyan: #51d5eb;
  --green: #8ee6a8;
  --coral: #ff826e;
  --gold: #f4ca68;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 10, 13, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.nav nav a:hover { color: var(--cyan); }
.news-hero {
  min-height: min(710px, calc(100vh - 68px));
  display: flex;
  align-items: end;
  position: relative;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .94) 0%, rgba(5, 7, 10, .7) 48%, rgba(5, 7, 10, .24) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, .88), transparent 44%),
    url("/assets/news-open-safety-layer.png") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 64px;
  padding-top: 90px;
  padding-bottom: 62px;
}
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .96; letter-spacing: 0; max-width: 820px; }
.hero-copy { margin: 26px 0 0; max-width: 650px; color: #d3dcde; font-size: clamp(1rem, 2vw, 1.24rem); }
.lead-story {
  display: flex;
  min-height: 208px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: rgba(17, 21, 26, .92);
  border-top: 3px solid var(--coral);
  text-decoration: none;
}
.lead-story:hover strong { color: var(--cyan); }
.lead-story strong { font-size: 1.5rem; line-height: 1.2; }
.lead-story > span:last-child { color: var(--muted); font-size: .9rem; }
.story-label { color: var(--coral); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.section { padding: 86px 0 94px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 42px; margin-bottom: 32px; }
.section-heading h2, .standards-layout h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.05; letter-spacing: 0; }
.section-heading > p { max-width: 470px; color: var(--muted); margin: 0; }
.filter-bar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 18px; }
.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 8px 13px;
  cursor: pointer;
}
.filter:hover, .filter.active { background: var(--paper); color: #0b0e11; border-color: var(--paper); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.story-card { min-width: 0; background: var(--surface); }
.story-card a { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.story-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #171d23; }
.story-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.story-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--green); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.story-meta time { color: #829095; font-weight: 600; }
.story-card h3 { margin: 16px 0 10px; font-size: 1.25rem; line-height: 1.25; letter-spacing: 0; }
.story-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.story-read { margin-top: auto; padding-top: 20px; color: var(--cyan); font-size: .86rem; }
.story-card a:hover h3 { color: var(--cyan); }
.wire-band { padding: 86px 0; background: var(--paper); color: #101419; }
.wire-band .eyebrow { color: #087c6b; }
.wire-note { display: grid; gap: 4px; text-align: right; color: #59666b; font-size: .82rem; }
.wire-list { border-top: 2px solid #101419; }
.wire-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 28px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #bdc8c8;
  text-decoration: none;
}
.wire-item:hover h3 { color: #007c8e; }
.wire-source { font-size: .8rem; font-weight: 850; text-transform: uppercase; color: #006f61; }
.wire-item h3 { margin: 0 0 7px; font-size: 1.12rem; line-height: 1.32; }
.wire-item p { margin: 0; color: #59666b; font-size: .9rem; }
.wire-date { text-align: right; color: #68767a; font-size: .8rem; }
.wire-empty { padding: 28px 0; color: #59666b; border-bottom: 1px solid #bdc8c8; }
.standards-band { padding: 86px 0; background: var(--surface-2); border-top: 1px solid var(--line); }
.standards-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.standards-copy { color: var(--muted); font-size: 1.05rem; }
.standards-copy p { margin-top: 0; }
.standards-copy a { color: var(--gold); text-decoration: none; font-weight: 750; }
.news-footer { padding: 28px 0; border-top: 1px solid var(--line); color: #829095; font-size: .85rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-row div { display: flex; gap: 22px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--cyan); }

.article-hero { padding: 76px 0 54px; border-bottom: 1px solid var(--line); }
.article-kicker { color: var(--green); font-weight: 850; text-transform: uppercase; font-size: .78rem; }
.article-hero h1 { max-width: 1020px; margin-top: 15px; font-size: clamp(2.5rem, 7vw, 5.7rem); }
.article-dek { max-width: 820px; margin: 25px 0 34px; color: #c3ced1; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 18px; color: #819095; font-size: .87rem; }
.article-image { width: 100%; max-height: 690px; object-fit: cover; display: block; background: var(--surface); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 80px; padding-top: 62px; padding-bottom: 92px; }
.prose { color: #d4dcde; font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; line-height: 1.82; }
.prose p { margin: 0 0 26px; }
.prose p:first-child::first-letter { float: left; color: var(--cyan); font-size: 4.2rem; line-height: .78; padding: 10px 9px 0 0; }
.fact-panel { position: sticky; top: 96px; align-self: start; border-top: 3px solid var(--gold); background: var(--surface-2); padding: 22px; }
.fact-panel h2 { margin: 0 0 14px; font-size: 1rem; }
.fact-panel ul { margin: 0; padding: 0; }
.fact-panel li { list-style: none; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.status-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--coral); font-size: .82rem; }
.official-links { margin-top: 20px; display: grid; gap: 8px; }
.official-links a { color: var(--cyan); font-size: .84rem; text-decoration: none; overflow-wrap: anywhere; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner, .standards-layout, .article-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 38px; }
  .article-layout { gap: 40px; }
  .fact-panel { position: static; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 62px; }
  .brand span { max-width: 185px; line-height: 1.1; }
  .nav nav { gap: 14px; }
  .nav nav a:nth-child(2) { display: none; }
  .news-hero { min-height: calc(100vh - 62px); background-position: 62% center; }
  .hero-inner { padding-top: 64px; padding-bottom: 28px; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .lead-story { min-height: 164px; padding: 18px; }
  .section, .wire-band, .standards-band { padding: 58px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .story-grid { grid-template-columns: 1fr; }
  .wire-heading { display: block; }
  .wire-note { text-align: left; margin-top: 16px; }
  .wire-item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .wire-item > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .wire-date { grid-column: 2; grid-row: 1; }
  .article-hero { padding: 54px 0 38px; }
  .article-layout { padding-top: 38px; padding-bottom: 58px; }
  .footer-row { display: grid; }
}
