:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f5;
  --text: #1d1d1f;
  --muted: #5f6368;
  --subtle: #6b6e73;
  --accent: #7a5b1d;
  --accent-dark: #5f4510;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.28);
  --focus: rgba(122, 91, 29, 0.72);
  --max-content: 1180px;
  --measure: 680px;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-editorial: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #ffffff;
  font-family: var(--font-system);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-dark);
  font-weight: 650;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus {
  outline: 0;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p,
li {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.62;
}

p {
  max-width: var(--measure);
  margin: 0 0 22px;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  min-height: 44px;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 8px;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.global-nav,
.section-nav,
.footer-layout,
.page-wrap {
  width: min(calc(100% - 40px), var(--max-content));
  margin-inline: auto;
}

.global-nav,
.section-nav,
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.global-nav {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  margin-right: 0.28em;
  font-weight: 400;
}

.global-links,
.section-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.global-links a,
.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  border-radius: 8px;
  font-size: 0.94rem;
  text-decoration: none;
}

.global-links a:hover,
.global-links a:focus-visible,
.global-links a[aria-current],
.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a[aria-current] {
  background: #f4efe5;
}

.section-nav-wrap {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-nav {
  justify-content: flex-start;
  min-height: 54px;
}

.section-nav .section-name {
  margin-right: auto;
  padding-left: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.eyebrow,
.card-kicker {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.newsroom-hero {
  padding: clamp(82px, 13vw, 150px) 0 clamp(70px, 10vw, 120px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.newsroom-hero p:last-child,
.archive-header > p:last-child {
  max-width: 760px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.page-section {
  padding-block: clamp(64px, 10vw, 112px);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.article-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h2 a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.card-summary {
  font-size: 1.05rem;
}

.card-footer {
  display: grid;
  gap: 10px;
  padding-top: 28px;
  margin-top: auto;
}

.card-meta {
  margin: 0;
  color: var(--subtle);
  font-size: 0.92rem;
}

.breadcrumbs {
  padding-block: 24px 14px;
}

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

.breadcrumbs li {
  color: var(--subtle);
  font-size: 0.92rem;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #9b9b9b;
  content: "/";
}

.breadcrumbs li:has(+ .breadcrumb-current-title)::after {
  content: none;
}

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

.breadcrumb-current-title::after {
  content: none;
}

.article-page {
  --article-support-section-spacing: 30px;
  display: grid;
  grid-template-areas:
    "header rail"
    "figure rail"
    "body rail"
    "bio rail"
    "sources rail"
    "related rail";
  grid-template-columns: minmax(0, 820px) minmax(240px, 280px);
  column-gap: clamp(40px, 5vw, 68px);
  padding-bottom: clamp(72px, 12vw, 132px);
}

.article-header {
  grid-area: header;
  min-width: 0;
  padding: 20px 0 30px;
}

.article-type-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.article-header h1 {
  max-width: 820px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.03;
  word-spacing: 0.06em;
}

.article-lead {
  max-width: 820px;
  margin-bottom: 22px;
  color: #343434;
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 1.85vw, 1.36rem);
  line-height: 1.46;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  max-width: 760px;
  padding-top: 16px;
  color: #4d4d4d;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-editorial);
  font-size: 0.88rem;
  line-height: 1.4;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-meta span:not(:last-child)::after {
  width: 1px;
  height: 16px;
  margin-inline: 20px;
  background: var(--line-strong);
  content: "";
}

.article-meta strong {
  margin-left: 0.25em;
  color: var(--accent-dark);
  font-weight: 700;
}

.article-meta time {
  margin-left: 0.3em;
}

.card-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card-tag-list li {
  display: inline-flex;
  align-items: center;
  color: var(--subtle);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card-tag-list li:not(:last-child)::after {
  margin-inline: 0.6em;
  content: "·";
}

.tag-link {
  color: var(--accent-dark);
  font-weight: 650;
}

.tag-link:hover {
  color: var(--accent);
}

.topic-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.topic-pill-list li {
  display: inline-flex;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--accent-dark);
  background: #f4efe5;
  border: 1px solid #c6b89b;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.topic-pill:hover {
  color: var(--accent-dark);
  background: #ece1cc;
  border-color: var(--accent);
}

.article-figure {
  grid-area: figure;
  min-width: 0;
  margin: 0 0 28px;
}

.article-figure img {
  width: 100%;
  background: #111111;
  border-radius: 5px;
}

.article-figure figcaption {
  max-width: 820px;
  padding-top: 9px;
  color: var(--subtle);
  font-size: 0.81rem;
  line-height: 1.45;
}

.article-figure figcaption span {
  display: inline;
  margin-left: 0.35em;
  white-space: nowrap;
}

.article-rail {
  grid-area: rail;
  min-width: 0;
  padding: 52px 0 0 clamp(28px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.article-rail-inner {
  position: sticky;
  top: 22px;
}

.takeaways,
.article-topics {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.takeaways h2,
.article-topics h2 {
  padding-bottom: 12px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  border-bottom: 1px solid #c6b89b;
  font-family: var(--font-system);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

.takeaways li {
  padding: 0 0 14px;
  margin: 0 0 14px;
  color: #292929;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  line-height: 1.55;
}

.takeaways li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.article-body {
  grid-area: body;
  min-width: 0;
  max-width: var(--measure);
}

.article-body h2 {
  margin: 48px 0 14px;
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: #292929;
  font-family: var(--font-editorial);
  font-size: clamp(1.08rem, 1.65vw, 1.2rem);
  line-height: 1.68;
}

.article-body a {
  font-weight: 600;
}

.author-bio,
.sources,
.related {
  max-width: var(--measure);
  padding-block: var(--article-support-section-spacing);
  margin-top: 0;
  border-bottom: 2px solid var(--text);
}

.author-bio {
  grid-area: bio;
  margin-top: 52px;
  border-top: 2px solid var(--text);
  scroll-margin-top: 24px;
}

.sources {
  grid-area: sources;
}

.related {
  grid-area: related;
}

.author-bio h2,
.sources h2,
.related h2 {
  margin-bottom: 18px;
  font-family: var(--font-editorial);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.author-bio p {
  color: #303030;
  font-family: var(--font-editorial);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.62;
}

.author-bio p:last-child {
  margin-bottom: 0;
}

.author-bio-copy {
  display: flow-root;
}

.author-bio-photo {
  float: left;
  width: 96px;
  height: 96px;
  margin: 2px 22px 12px 0;
  object-fit: cover;
  border-radius: 50%;
}

.sources ol,
.related ul {
  padding-left: 1.3em;
  margin: 0;
}

.sources li,
.related li {
  padding: 0 0 14px 4px;
  margin-bottom: 14px;
  color: #303030;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  line-height: 1.48;
}

.related li:last-child,
.sources li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.sources li span {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
  font-family: var(--font-system);
  font-size: 0.9rem;
}

.archive-page {
  min-height: 65vh;
  padding-bottom: clamp(76px, 12vw, 128px);
}

.archive-header {
  padding: clamp(44px, 8vw, 86px) 0 56px;
}

.empty-state,
.status-panel {
  max-width: 760px;
  padding: clamp(30px, 6vw, 58px);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.lifecycle-notice {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 2px solid var(--text);
  background: #f5f3ee;
}

.lifecycle-notice p,
.lifecycle-notice time {
  display: block;
  margin: 0 0 8px;
}

.lifecycle-notice time {
  font-size: 0.9rem;
}

.operational-page {
  min-height: 66vh;
  padding-bottom: 90px;
}

.pagination {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin-block: 2.5rem;
}

.pagination a:last-child {
  justify-self: end;
}

.search-form {
  background: #f6f7f8;
  border: 1px solid #d8dde3;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(14rem, 2fr) repeat(4, minmax(9rem, 1fr));
  margin-block: 2rem;
  padding: 1.25rem;
}

.search-form label {
  display: grid;
  font-weight: 650;
  gap: 0.35rem;
}

.search-form input,
.search-form select,
.search-form button {
  background: #ffffff;
  border: 1px solid #67717e;
  border-radius: 0.25rem;
  color: #14171a;
  font: inherit;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
}

.search-form button {
  align-self: end;
  background: #14171a;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.search-status {
  min-height: 1.5rem;
}

@media (max-width: 900px) {
  .search-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .article-page {
    grid-template-areas:
      "header"
      "figure"
      "rail"
      "body"
      "bio"
      "sources"
      "related";
    grid-template-columns: minmax(0, 1fr);
  }

  .article-header {
    max-width: 820px;
  }

  .article-rail {
    max-width: var(--measure);
    padding: 26px 0 32px;
    margin-bottom: 36px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .article-rail-inner {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
    gap: 30px;
  }

  .takeaways,
  .article-topics {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .search-form {
    grid-template-columns: 1fr;
  }
}

.status-panel {
  margin-top: 54px;
}

.status-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.standards-page {
  padding-bottom: 80px;
}

.standards-content {
  max-width: 820px;
}

.standards-content section {
  padding-block: 32px;
  border-top: 1px solid var(--line-strong);
}

.standards-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.standards-content p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 9px;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: var(--accent);
}

.site-footer {
  padding: 26px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-layout p,
.footer-layout a {
  margin: 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

.footer-layout a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

::selection {
  color: #ffffff;
  background: var(--accent-dark);
}

@media (max-width: 760px) {
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .global-nav {
    min-height: 60px;
  }

  .global-links {
    flex-wrap: nowrap;
  }

  .global-links a {
    padding-inline: 9px;
  }

  .section-nav {
    flex-wrap: nowrap;
    padding-block: 4px;
  }

  .section-nav .section-name {
    width: auto;
    min-height: 44px;
  }

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

  .article-header {
    padding-top: 16px;
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 10.2vw, 2.75rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
  }

  .article-lead {
    font-size: 1.18rem;
  }

  .article-meta {
    display: grid;
    gap: 7px;
  }

  .article-meta span:not(:last-child)::after {
    content: none;
  }

  .article-figure {
    margin-bottom: 24px;
  }

  .article-rail-inner {
    display: block;
  }

  .takeaways {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .article-body h2 {
    margin-top: 42px;
  }

  .author-bio {
    margin-top: 44px;
  }

  .author-bio-photo {
    width: 76px;
    height: 76px;
    margin-right: 16px;
  }
}

@media (max-width: 360px) {
  .global-nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 10px;
  }

  .global-links {
    width: 100%;
    flex-wrap: wrap;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --muted: #3f4145;
    --subtle: #45474b;
    --line: rgba(0, 0, 0, 0.34);
  }
}
