:root {
  --ink: #102f3a;
  --ink-2: #183f4b;
  --teal: #008f87;
  --teal-dark: #006b66;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mist: #edf2f1;
  --line: #cedad8;
  --muted: #526a70;
  --warning: #fff4d8;
  --danger: #9b3d2e;
  --measure: 70ch;
  --shadow: 0 18px 45px rgba(16, 47, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(rgba(251, 250, 246, .9), rgba(251, 250, 246, .9)),
    url('/assets/images/paper-grain-texture.webp');
  background-size: auto, 720px 720px;
  background-blend-mode: normal, multiply;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 4px;
  border-radius: 2px;
}
img, svg { display: block; max-width: 100%; }
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 20;
  transform: translateY(-180%); padding: .7rem 1rem; color: var(--white); background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--ink); color: var(--white); border-bottom: 4px solid var(--teal); }
.header-inner, .shell, .footer-inner { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.1rem 0; }
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; }
.brand-logo { width: clamp(13rem, 24vw, 19.375rem); height: auto; }
.site-footer .brand-logo { width: min(17rem, 100%); }
.primary-nav ul, .footer-nav, .breadcrumb ol { list-style: none; padding: 0; margin: 0; }
.primary-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .25rem .9rem; }
.primary-nav a { color: #e7f1ef; text-decoration: none; font-size: .86rem; font-weight: 650; }
.primary-nav a:hover { color: #7ce2d8; }
main { min-height: 65vh; }
.shell { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.breadcrumb { margin-bottom: 2rem; font-size: .82rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: #83989c; }
.eyebrow, .kicker { margin: 0 0 .7rem; color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 17ch; font-size: clamp(2.5rem, 6vw, 5.2rem); }
h2 { margin-top: 3.4rem; font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { margin-top: 2rem; font-size: 1.18rem; letter-spacing: -.015em; }
p, li { max-width: var(--measure); }
.standfirst { max-width: 62ch; margin: 1.4rem 0 0; color: #314f58; font-size: clamp(1.1rem, 2vw, 1.36rem); line-height: 1.55; }
.page-head { max-width: 940px; }
.page-head h1 { max-width: 20ch; font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.hero h1 { max-width: 12ch; }
.hero-note { padding: 1.5rem; background: var(--mist); border-top: 4px solid var(--teal); }
.hero-note p { margin: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.4rem; color: var(--muted); font-size: .82rem; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--ink); }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--teal); }
.rule { width: 5rem; height: 3px; margin: 2.2rem 0; background: var(--teal); }
.lede-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(240px, .6fr); gap: 2rem; align-items: start; margin-top: 3.2rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 17rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--white); }
.card--visual { padding: 0; overflow: hidden; }
.cover-frame { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-cover-frame { border-bottom: 1px solid var(--line); }
.card-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cover-link img { transition: transform 180ms ease; }
.cover-link:hover img { transform: scale(1.02); }
.cover-link:focus-visible { outline: 3px solid #f0b429; outline-offset: 3px; }
.card-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.card h2, .card h3 { margin-top: .6rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.card p { color: #405d65; }
.card .arrow { display: inline-block; margin-top: 1rem; font-weight: 760; }
.card--featured { background: var(--ink); color: var(--white); }
.card--featured p { color: #d4e2e0; }
.card--featured a { color: #7ce2d8; }
.card--draft { box-shadow: inset 0 4px 0 #c28a16; }
.card--draft .kicker { color: #7a520c; }
.card-date { margin: -.25rem 0 .75rem; color: var(--muted) !important; font-size: .82rem; }
.blog-filters { margin-top: 2.25rem; padding: 1rem; border-block: 1px solid var(--line); background: rgba(237, 242, 241, .72); }
.blog-filters__label { margin: 0 0 .65rem; color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-filters ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.blog-filters a { display: block; min-height: 2.65rem; padding: .55rem .8rem; border: 1px solid var(--line); color: var(--ink); background: var(--white); font-size: .86rem; font-weight: 760; line-height: 1.45; text-decoration: none; }
.blog-filters a:hover { border-color: var(--teal); color: var(--ink); background: #f2fbf9; }
.blog-filters a[aria-current="page"] { border-color: var(--ink); color: var(--white); background: var(--ink); box-shadow: inset 0 -4px 0 var(--teal); }
.section-label { margin-top: 5rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.blog-group { margin-top: 5rem; }
.blog-group .cards { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.latest-list { margin-top: 5rem; }
.latest-list .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: transparent; border: 0; }
.latest-list .card { border: 1px solid var(--line); }
.latest-ordering { max-width: 78ch; margin-top: 1rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-top: 0; }
.cover-media { max-width: 940px; margin: 2rem 0 0; overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cover-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cover-media figcaption { padding: .65rem 1rem; color: #d5e3e1; background: var(--ink); font-size: .75rem; letter-spacing: .02em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 7vw, 6rem); align-items: start; margin-top: 3.5rem; }
.prose { min-width: 0; max-width: var(--measure); }
.article-layout > * { min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 1.1rem 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .55rem; }
.side-note { position: sticky; top: 1.5rem; padding: 1.25rem; background: var(--mist); font-size: .86rem; }
.side-note h2 { margin: 0 0 .7rem; font-size: 1rem; letter-spacing: 0; }
.side-note p:last-child { margin-bottom: 0; }
.callout, .disclosure, .synthetic { margin: 2rem 0; padding: 1.35rem 1.5rem; border-left: 4px solid var(--teal); background: var(--mist); }
.disclosure { border-left-color: #c28a16; background: var(--warning); }
.synthetic { border: 2px solid var(--teal); background: #f2fbf9; }
.callout > :first-child, .disclosure > :first-child, .synthetic > :first-child { margin-top: 0; }
.callout > :last-child, .disclosure > :last-child, .synthetic > :last-child { margin-bottom: 0; }
.decision-list { list-style: none; padding: 0 !important; }
.decision-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.table-wrap { max-width: 100%; margin: 1.6rem 0; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
caption { padding: 1rem; text-align: left; font-weight: 800; color: var(--ink); background: #dfe9e7; }
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--white); background: var(--ink-2); font-size: .78rem; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.prompt { padding: 1.2rem; color: #dcebea; background: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; overflow-wrap: anywhere; }
.source-list { padding-left: 1.2rem; }
.source-list li + li { margin-top: .7rem; }
.next-step { margin-top: 3.5rem; padding: 2rem; color: var(--white); background: var(--ink); }
.next-step h2 { margin-top: 0; font-size: 1.55rem; }
.next-step p { color: #d5e3e1; }
.next-step a { color: #7ce2d8; }
.newsletter-form { max-width: 620px; padding: 1.6rem; background: var(--mist); border-top: 4px solid var(--teal); }
.newsletter-form label { display: block; margin-bottom: .45rem; font-weight: 800; }
.newsletter-form input { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 2px solid var(--ink); background: var(--white); font: inherit; }
.newsletter-form button { min-height: 3rem; margin-top: .8rem; padding: .7rem 1.1rem; border: 0; color: #30474c; background: #cfd7d6; font: inherit; font-weight: 800; cursor: not-allowed; }
.field-help { color: var(--muted); font-size: .88rem; }
.site-footer { color: #dce8e6; background: #0b252e; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: 2rem; padding-block: 3rem; }
.site-footer a { color: #a9e8e1; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-content: start; }
.fine-print { color: var(--muted); font-size: .78rem; }
.site-footer .fine-print { color: #a9bdc0; }
.not-found { min-height: 68vh; display: grid; align-content: center; }
.error-code { margin: 0; color: var(--teal-dark); font-size: 1rem; font-weight: 850; letter-spacing: .12em; }
.legal-status { display: inline-block; margin: 1rem 0; padding: .35rem .55rem; color: #6f4510; background: var(--warning); font-size: .75rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .primary-nav ul { justify-content: flex-start; }
  .hero, .lede-grid, .article-layout, .footer-inner { grid-template-columns: 1fr; }
  .latest-list .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-note { position: static; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .latest-list .cards { grid-template-columns: 1fr; }
  .shell { width: min(100% - 1.25rem, 1180px); }
  .header-inner, .footer-inner { width: min(100% - 1.25rem, 1180px); }
  h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .card { min-height: 0; }
  .cover-media { margin-top: 1.5rem; }
  .primary-nav a { display: inline-block; padding-block: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .shell { width: 100%; padding: 0; }
  a { color: #000; }
  .side-note { position: static; }
}
