/*
 * PDS-B, "The brief".
 * Source Serif 4 is the approved softer alternate to STIX Two Text.
 * Both subsets are self-hosted under the SIL OFL 1.1 (see LICENSE.txt).
 */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+2713;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+2713;
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Georgia");
  ascent-override: 106.56%;
  descent-override: 34.46%;
  line-gap-override: 0%;
  size-adjust: 97.22%;
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Georgia Bold"), local("Georgia-Bold");
  ascent-override: 120.11%;
  descent-override: 38.84%;
  line-gap-override: 0%;
  size-adjust: 86.25%;
}

:root {
  --ink: #14110f;
  --body: #26221f;
  --muted: #5b6472;
  --faint: #6f665e;
  --line: #e6ded8;
  --line-strong: #d3c8bf;
  --paper: #faf7f5;
  --panel: #faf7f5;
  --brand-parchment: #faf7f5;
  --brand-claret: #661019;
  --brand-claret-soft: #f4e9e8;
  --radius: 0;
}

html,
body {
  background: var(--paper);
}

body {
  font-family: var(--font-display);
  color: var(--body);
}

input,
button {
  font-family: inherit;
}

a {
  color: var(--brand-claret);
}

a:hover {
  color: var(--brand-claret);
}

h1,
h2,
h3,
h4,
.answer p,
.source-quote {
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
}

/* Header and wordmark: one hairline, no top stripe or ornamental hover. */
html .site-header {
  border-top: 0;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: none;
}

html .site-header .wrap {
  padding-block: 1.1rem;
}

html .wordmark {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-variant-caps: all-small-caps;
  font-weight: 600;
  letter-spacing: 0.01em;
}

html .wordmark-segment--base {
  color: var(--ink);
}

html .wordmark-segment--accent {
  color: var(--brand-claret);
}

html .wordmark:hover,
html .wordmark:hover .wordmark-segment--base,
html .wordmark:hover .wordmark-segment--accent {
  color: var(--brand-claret);
  text-decoration: none;
}

html .site-nav a {
  color: var(--body);
  font-size: var(--fs-sm);
  font-variant-caps: all-small-caps;
  font-weight: 400;
  letter-spacing: 0.05em;
}

html .site-nav a:hover {
  color: var(--brand-claret);
  text-decoration: underline;
}

/* The paper belongs to the document, not to individual wrappers. */
html main,
html .hero,
html .page-intro,
html .empty-state,
html .sister-callout,
html .what-changed,
html .expert-card,
html .sources-apparatus {
  background: transparent;
}

html main {
  padding-block: 3rem 4rem;
}

html main > .hero:first-child {
  margin-top: -3rem;
}

/* Homepage: a typographic brief, without gradients, symbols, or side rules. */
html .hero {
  position: static;
  overflow: visible;
  padding-block: 3.25rem 2.75rem;
  border-bottom: 0;
}

html .hero::after {
  content: none;
}

html .hero h1 {
  max-width: 42rem;
  color: var(--ink);
  font-size: clamp(2.2rem, 1.8rem + 1.8vw, 3.15rem);
  line-height: 1.16;
}

html .hero .lede {
  max-width: 44rem;
  color: var(--body);
  font-size: var(--fs-md);
}

html .hero .search-slot {
  max-width: 40rem;
  margin-top: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
}

html .search-slot {
  --pagefind-ui-font: var(--font-display);
  --pagefind-ui-background: var(--paper);
  --pagefind-ui-border: var(--line-strong);
  --pagefind-ui-border-radius: 0;
}

html .section {
  margin-top: 3.25rem;
}

html .section-head {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-strong);
}

html .section-head h2 {
  color: var(--ink);
  font-variant-caps: all-small-caps;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

html .section-head .more {
  color: var(--brand-claret);
  font-size: var(--fs-sm);
}

/* Industry navigation stays a quiet index. No card fills or color swaps. */
html .industry-chip-grid {
  gap: 0;
}

html .industry-chip {
  min-height: 7.25rem;
  justify-content: center;
  padding: 0.9rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--body);
}

html .industry-chip:hover,
html .industry-chip:focus-visible {
  background: transparent;
  text-decoration: none;
}

html .industry-icon {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--brand-claret);
}

html .industry-chip:nth-child(n) .industry-icon {
  background: transparent;
  color: var(--brand-claret);
}

html .industry-chip:hover .industry-icon,
html .industry-chip:focus-visible .industry-icon {
  border-color: var(--brand-claret);
  background: transparent;
  color: var(--brand-claret);
}

html .industry-label,
html .industry-chip:hover .industry-label,
html .industry-chip:focus-visible .industry-label {
  color: var(--body);
  font-weight: 400;
}

html .industry-chip:hover .industry-label,
html .industry-chip:focus-visible .industry-label {
  text-decoration: underline;
  text-decoration-color: var(--brand-claret);
}

/* Coverage links read as a ruled index instead of floating cards. */
html .tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin-top: 1.25rem;
}

html .tile,
html .tile:nth-child(n) {
  padding: 1.15rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--body);
}

html .tile:hover {
  border-color: var(--line);
  background: transparent;
  text-decoration: none;
}

html .tile-title,
html .tile h3,
html .tile:hover .tile-title,
html .tile:hover h3 {
  color: var(--ink);
}

html .tile:hover .tile-title,
html .tile:hover h3 {
  color: var(--brand-claret);
  text-decoration: underline;
}

/* Hubs: the same body substrate, with rules used only as separators. */
html .page-intro {
  margin: 0 0 2.5rem;
  padding: 0 0 2rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
}

html .page-intro::before,
html .page-intro::after {
  content: none;
}

html main > .wrap:has(> .page-intro) {
  padding-bottom: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

html main > .wrap:has(> .page-intro) > .page-intro {
  margin-bottom: 2.5rem;
  padding-inline: 0;
}

html main > .wrap:has(> .page-intro) > .empty-state,
html main > .wrap:has(> .page-intro) > .sister-callout,
html main > .wrap:has(> .page-intro) > .tile-grid,
html main > .wrap:has(> .page-intro) > .q-list,
html main > .wrap:has(> .page-intro) > .section {
  margin-top: 0;
  padding-top: 0;
}

html .page-intro h1 {
  margin: 1rem 0 0.5rem;
  color: var(--ink);
}

html .breadcrumbs ol {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-variant-caps: all-small-caps;
  font-weight: 400;
  letter-spacing: 0.05em;
}

html .breadcrumbs a,
html .breadcrumbs [aria-current="page"] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}

html .prose-wrap > .breadcrumbs {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

html .prose-wrap > .breadcrumbs + h1,
html .prose-wrap > .breadcrumbs + .year-badge + h1 {
  color: var(--ink);
}

html .empty-state,
html .sister-callout {
  margin-top: 0;
  padding: 1.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

html .sister-callout h2 {
  color: var(--ink);
}

/* The short answer is the holding: one intentional double rule, no side rule. */
html .answer {
  margin: 2rem 0 2.25rem;
  padding: 1.35rem 0.15rem;
  border: 0;
  border-top: 4px double var(--brand-claret);
  border-bottom: 4px double var(--brand-claret);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html .answer .eyebrow {
  color: var(--brand-claret);
  letter-spacing: 0.12em;
}

html .answer p {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 400;
}

html .prose h2 {
  margin-top: 3rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.09em;
  text-align: center;
}

html .prose h2::after {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0.7rem auto 0;
  background: var(--line-strong);
  content: "";
}

html .source-quote {
  border-left: 2px solid var(--line-strong);
  color: #4a423d;
}

html .sources-apparatus {
  margin-top: 3.5rem;
  padding: 1.3rem 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  font-size: 88%;
}

html .sources-heading-apparatus {
  color: var(--brand-claret);
  letter-spacing: 0.12em;
}

html .sources-heading-apparatus::before,
html .kicker::before {
  content: none;
}

html .kicker,
html .eyebrow-claret {
  color: var(--brand-claret);
}

html .year-badge {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--brand-claret);
  font-variant-caps: all-small-caps;
}

html .what-changed,
html .expert-card {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

html .avatar {
  background: var(--brand-claret-soft);
  color: var(--brand-claret);
}

/* Footer remains part of the document rather than becoming a dark band. */
html .site-footer,
html main:has(> .wrap > .page-intro) + .site-footer {
  margin-top: 2rem;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--muted);
}

html .site-footer h4 {
  color: var(--ink);
}

html .site-footer p,
html .site-footer .small,
html .site-footer .fineprint {
  color: var(--muted);
}

html .site-footer a,
html .site-footer a:hover {
  color: var(--brand-claret);
}

html .site-footer .fineprint {
  border-top-color: var(--line);
}

@media (max-width: 46rem) {
  html main {
    padding-block: 2.25rem 3rem;
  }

  html main > .hero:first-child {
    margin-top: -2.25rem;
  }

  html .hero {
    padding-block: 2.5rem 2rem;
  }

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

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

  html .page-intro {
    margin-inline: 0;
    padding: 0 0 1.5rem;
  }
}
