:root {
  --ink: #11233f;
  --paper: #f6f0e7;
  --paper-light: #fffdf8;
  --signal: #e4472f;
  --signal-dark: #b92f20;
  --sage: #8ea59a;
  --sky: #c9dce0;
  --line: rgba(17, 35, 63, 0.18);
  --muted: #566175;
  --shadow: 0 20px 50px rgba(17, 35, 63, 0.1);
  --measure: 74rem;
  --radius: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--signal-dark);
  text-underline-offset: 0.2em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #0a6b7b;
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.skip-route {
  position: fixed;
  z-index: 100;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}

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

.advisory-ribbon {
  padding: 0.52rem 1rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.advisory-ribbon a {
  color: #fff;
}

.folio-bar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 231, 0.95);
}

.folio-bar__inner {
  width: min(var(--measure), calc(100% - 2rem));
  min-height: 5.25rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.spectacle-mark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.spectacle-mark::before {
  display: none;
}

.folio-bar__context {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.folio-nav__links {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  list-style: none;
}

.folio-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.folio-nav a:hover {
  color: var(--signal);
}

.folio-menu {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  display: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.folio-menu span,
.folio-menu::before,
.folio-menu::after {
  width: 1.1rem;
  height: 2px;
  margin: 0.22rem auto;
  display: block;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.folio-menu[aria-expanded="true"] span {
  opacity: 0;
}

.folio-menu[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.folio-menu[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.dispatch-lead {
  width: min(var(--measure), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 8rem) 0 clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.dispatch-lead__text {
  position: relative;
  z-index: 2;
  max-width: 64rem;
}

.dispatch-label {
  margin: 0 0 1rem;
  color: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 5vw, 4.7rem);
}

.dispatch-lead h1 {
  max-width: 100%;
}

.dispatch-lead__summary {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.dispatch-lead__meta {
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.dispatch-lead__image {
  position: relative;
  width: min(68rem, 91%);
  margin: 0 0 0 auto;
}

.dispatch-lead__image::before {
  position: absolute;
  z-index: -1;
  inset: 1.4rem 0 -1.4rem 18%;
  content: "";
  background: var(--signal);
}

.dispatch-lead__image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 58% 39%;
  box-shadow: var(--shadow);
}

.dispatch-lead__image figcaption {
  position: absolute;
  left: -2rem;
  bottom: 1.5rem;
  width: min(18rem, 75%);
  padding: 1rem 1.1rem;
  color: white;
  background: var(--ink);
  font-size: 0.76rem;
  line-height: 1.45;
}

.reading-plan {
  width: min(58rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.chapter-index {
  margin-bottom: clamp(3rem, 8vw, 7rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper-light);
  box-shadow: 0 -0.45rem 0 var(--signal);
}

.chapter-index h2 {
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-index ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  list-style: none;
}

.chapter-index li {
  border-bottom: 1px solid var(--line);
}

.chapter-index a {
  padding: 0.72rem 0;
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
}

.field-report {
  min-width: 0;
}

.field-report > p:first-child {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.55;
}

.verification-note {
  margin: 1.8rem 0 3rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--sage);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.65);
  font-size: 0.82rem;
}

.dossier-block {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.dossier-block__marker {
  margin: 0 0 0.6rem;
  color: var(--signal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dossier-block h2 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.dossier-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.dossier-block p,
.dossier-block ul,
.dossier-block ol {
  max-width: 48rem;
}

.action-ledger {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  list-style: none;
  border: 1px solid var(--line);
}

.action-ledger li {
  padding: 1.25rem;
  background: var(--paper-light);
}

.action-ledger strong {
  display: block;
  margin-bottom: 0.35rem;
}

.practice-card {
  max-width: 48rem;
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: white;
  background: var(--ink);
  box-shadow: 0.7rem 0.7rem 0 var(--sky);
}

.practice-card h3 {
  color: #fff;
}

.practice-card ul,
.practice-card ol {
  margin-bottom: 0;
}

.resource-line {
  max-width: 48rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.tag {
  margin-right: 0.45rem;
  padding: 0.18rem 0.55rem;
  display: inline-block;
  border-radius: 99px;
  color: var(--ink);
  background: var(--sky);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--partner {
  color: white;
  background: var(--signal-dark);
}

.spread {
  max-width: 55rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.spread img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.spread figcaption {
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  background: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

.partner-panel {
  position: relative;
  max-width: 54rem;
  margin: 3rem 0;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  color: white;
  background: var(--signal);
}

.partner-panel::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  content: "";
  border: 2.2rem solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.partner-panel h2,
.partner-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.partner-panel p {
  position: relative;
  z-index: 1;
  max-width: 41rem;
}

.primary-action {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  padding: 0.9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid var(--ink);
  color: white;
  background: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action::after {
  content: "↗";
}

.primary-action:hover {
  color: white;
  box-shadow: 0.45rem 0.45rem 0 rgba(17, 35, 63, 0.28);
  transform: translate(-0.2rem, -0.2rem);
}

.partner-panel .commercial-caveat {
  margin-top: 1rem;
  font-size: 0.76rem;
  line-height: 1.5;
}

.operator-note {
  max-width: 50rem;
  margin-top: 3rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper-light);
  font-size: 0.86rem;
}

.final-imprint {
  color: #fff;
  background: var(--ink);
}

.final-imprint__layout {
  width: min(var(--measure), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.final-imprint__layout > :first-child {
  grid-column: 1 / -1;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.final-imprint a {
  color: #fff;
}

.final-imprint__brand {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.final-imprint p {
  max-width: 33rem;
  margin: 0.6rem 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.final-imprint h2 {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.final-imprint li + li {
  margin-top: 0.45rem;
}

.final-imprint__base {
  width: min(var(--measure), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.policy-layout {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.policy-layout__lead {
  position: sticky;
  top: 1rem;
  min-width: 0;
}

.trail-markers {
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-layout h1 {
  max-width: 100%;
  font-size: clamp(2.8rem, 4vw, 3.35rem);
}

.policy-layout__lead p {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-sheet {
  min-width: 0;
  padding: clamp(1.3rem, 4vw, 3.5rem);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.policy-sheet h2 {
  margin-top: 2.6rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.policy-sheet h2:first-child {
  margin-top: 0;
}

.policy-sheet p,
.policy-sheet li {
  color: #34425a;
}

.policy-sheet code {
  padding: 0.15rem 0.35rem;
  background: #ece7de;
  overflow-wrap: anywhere;
}

.identity-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(8rem, 0.38fr) 1fr;
  border-top: 1px solid var(--line);
}

.identity-list dt,
.identity-list dd {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.identity-list dt {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.choice-ledger {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: var(--ink);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.28);
}

.choice-ledger.is-visible {
  display: grid;
}

.choice-ledger p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.5;
}

.choice-ledger a {
  color: white;
}

.choice-ledger__actions {
  display: flex;
  gap: 0.55rem;
}

.choice-ledger button {
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid white;
  color: white;
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.choice-ledger button:hover {
  color: var(--ink);
  background: white;
}

@media (max-width: 1100px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-layout__lead {
    position: static;
  }

  .policy-layout h1 {
    max-width: 12ch;
  }
}

@media (max-width: 960px) {
  .folio-bar__context {
    display: none;
  }

  .folio-bar__inner {
    grid-template-columns: 1fr auto;
  }

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

@media (max-width: 720px) {
  body {
    background: var(--paper);
  }

  .folio-bar__inner {
    min-height: 4.5rem;
  }

  .folio-menu {
    display: block;
  }

  .folio-nav {
    position: fixed;
    z-index: 19;
    inset: 7.25rem 0 auto;
    padding: 1rem;
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--paper-light);
    box-shadow: var(--shadow);
  }

  .folio-nav.is-open {
    display: block;
  }

  .folio-nav__links {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .folio-nav a {
    padding: 0.8rem 0;
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .dispatch-lead {
    padding-top: 2.5rem;
  }

  h1 {
    font-size: clamp(2.75rem, 9vw, 3.5rem);
  }

  .dispatch-lead__image {
    width: calc(100% - 1rem);
  }

  .dispatch-lead__image figcaption {
    position: static;
    width: 100%;
  }

  .chapter-index ol {
    grid-template-columns: 1fr;
  }

  .action-ledger,
  .spread {
    grid-template-columns: 1fr;
  }

  .spread img {
    min-height: 15rem;
  }

  .final-imprint__layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-layout__lead {
    position: static;
  }

  .identity-list {
    grid-template-columns: 1fr;
  }

  .identity-list dt {
    padding-bottom: 0.1rem;
    border-bottom: 0;
  }

  .identity-list dd {
    padding-top: 0.1rem;
  }

  .choice-ledger {
    grid-template-columns: 1fr;
  }

  .choice-ledger__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
