:root {
  --paper: #ffffff;
  --paper-soft: #f4f5f1;
  --ink: #121712;
  --muted: #686e68;
  --line: #dfe2dc;
  --teal: #12353b;
  --teal-deep: #0a2429;
  --yellow: #f47a18;
  --coral: #ef6048;
  --white: #ffffff;
  --max: 1280px;
  --reading: 720px;
  --display: "Archivo", Arial, sans-serif;
  --reading-font: "Newsreader", Georgia, serif;
  --shadow: 0 24px 70px rgba(10, 36, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: -999px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(18, 23, 18, 0.08);
}

.utility-bar {
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  color: #505650;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utility-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 34px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-inner a {
  transition: color 160ms ease;
}

.utility-inner a:hover {
  color: var(--coral);
}

.masthead {
  display: grid;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.brand-logo {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.icon-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-button {
  justify-self: start;
}

.hamburger {
  display: grid;
  width: 21px;
  gap: 5px;
}

.hamburger i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.masthead-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 20px;
}

.masthead .icon-button {
  color: var(--ink);
}

.masthead .nav-cta {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.masthead .nav-cta:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.search-button > span:first-child {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(-16deg);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-cta:hover,
.button:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.button.yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.button.yellow:hover {
  border-color: var(--white);
  background: var(--white);
}

.button.light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button.light:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.button.dark {
  background: var(--teal-deep);
}

.category-tabs {
  display: flex;
  min-height: 46px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  display: inline-flex;
  padding: 0 19px;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #444a44;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-tabs a:hover,
.category-tabs a[aria-current="page"] {
  border-bottom-color: var(--yellow);
  color: var(--ink);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(3, 18, 21, 0.64);
  backdrop-filter: blur(4px);
}

.nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: flex;
  width: min(440px, calc(100vw - 36px));
  padding: 28px 32px 34px;
  flex-direction: column;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 240ms;
}

.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  padding-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.drawer-close,
.search-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 27px;
  font-weight: 300;
}

.nav-drawer nav {
  display: grid;
  margin-top: 18px;
}

.nav-drawer nav a {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 42px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-drawer nav a span {
  color: var(--coral);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.nav-drawer nav a:hover {
  padding-left: 8px;
  color: var(--coral);
}

.drawer-note {
  margin-top: auto;
  padding: 22px;
  background: var(--teal-deep);
  color: var(--white);
}

.drawer-note > span {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drawer-note p {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--reading-font);
  font-size: 18px;
  line-height: 1.45;
}

.drawer-note a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  padding: 24px;
  place-items: start center;
  overflow-y: auto;
  background: rgba(8, 30, 34, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: min(820px, 100%);
  margin-top: clamp(36px, 9vh, 110px);
  padding: clamp(24px, 4vw, 52px);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(-18px);
  transition: transform 220ms ease;
}

.search-panel.is-open .search-box {
  transform: translateY(0);
}

.search-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.search-head span,
.search-box label {
  display: block;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-head h2 {
  margin: 7px 0 28px;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.search-box label {
  margin-bottom: 7px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(19px, 3vw, 30px);
  outline: 0;
}

.search-results {
  display: grid;
  margin-top: 24px;
}

.search-result {
  display: grid;
  padding: 15px 0;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.search-result span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result strong {
  font-size: 15px;
  line-height: 1.25;
}

.search-empty {
  padding: 22px 0;
  color: var(--muted);
}

.editorial-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 152px));
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--white);
}

.editorial-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.editorial-hero:hover > img {
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 21, 0.91) 0%, rgba(4, 18, 21, 0.58) 46%, rgba(4, 18, 21, 0.12) 82%),
    linear-gradient(0deg, rgba(4, 18, 21, 0.82) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: min(720px, calc(100vh - 152px));
  margin: auto;
  padding: clamp(72px, 9vw, 124px) 0 58px;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-label {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-label span:first-child {
  padding: 7px 9px;
  background: var(--yellow);
  color: var(--ink);
}

.hero-content h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-content > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--reading-font);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.4;
}

.hero-meta {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-meta a {
  margin-left: 8px;
  color: var(--white);
}

.hero-meta a:hover {
  color: var(--yellow);
}

.editorial-section {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: clamp(68px, 8vw, 112px) 0;
}

.section-kicker {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 16px;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--ink);
}

.section-kicker > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.section-kicker > div > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section-kicker h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-kicker p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 17px;
  line-height: 1.4;
}

.section-kicker > a,
.section-kicker > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker > a:hover {
  color: var(--coral);
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.94fr);
  gap: 48px;
}

.latest-lead-media,
.card-media,
.pick-media {
  display: block;
  overflow: hidden;
  background: var(--paper-soft);
}

.latest-lead-media {
  aspect-ratio: 16 / 10;
}

.latest-lead-media img,
.card-media img,
.pick-media img,
.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 220ms ease;
}

.latest-lead:hover img,
.editorial-card:hover .card-media img,
.editors-pick:hover .pick-media img,
.latest-row:hover .latest-thumb img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.latest-lead-copy {
  padding: 22px 0 0;
}

.card-meta {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-meta span:first-child {
  color: var(--coral);
}

.card-meta span + span::before {
  margin-right: 10px;
  color: #adb1ab;
  content: "·";
}

.latest-lead h3 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.latest-lead h3 a:hover,
.editorial-card h3 a:hover,
.editors-pick h3 a:hover {
  color: var(--coral);
}

.latest-lead-copy > p {
  max-width: 680px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 18px;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--coral);
}

.latest-list {
  display: grid;
  align-content: start;
}

.latest-row {
  display: grid;
  padding: 0 0 18px;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.latest-row + .latest-row {
  padding-top: 18px;
}

.latest-thumb {
  height: 94px;
  overflow: hidden;
  background: var(--paper-soft);
}

.latest-row > div > span,
.card-label {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.latest-row h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.latest-row h3 a:hover {
  color: var(--coral);
}

.latest-row small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  gap: 36px 28px;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-card {
  min-width: 0;
}

.card-media {
  aspect-ratio: 4 / 3;
}

.card-copy {
  padding-top: 16px;
}

.editorial-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.editorial-card p {
  margin: 11px 0 16px;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 16px;
  line-height: 1.45;
}

.diagnosis-feature {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--white);
}

.diagnosis-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagnosis-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 28, 0.98) 0%, rgba(6, 24, 28, 0.92) 42%, rgba(6, 24, 28, 0.7) 58%, rgba(6, 24, 28, 0) 75%);
}

.diagnosis-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 660px;
  margin: auto;
  padding: 76px 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.diagnosis-tag {
  padding: 7px 9px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.diagnosis-scope {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.diagnosis-scope span + span::before {
  margin-right: 22px;
  color: var(--yellow);
  content: "•";
}

.diagnosis-copy h2 {
  max-width: 880px;
  margin: 26px 0 0;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.diagnosis-copy p {
  max-width: 720px;
  margin: 20px 0 25px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--reading-font);
  font-size: 19px;
  line-height: 1.5;
}

.diagnosis-copy .button {
  min-height: 50px;
  padding-right: 24px;
  padding-left: 24px;
}

.method-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  background: var(--teal-deep);
  color: var(--white);
}

.method-image {
  min-height: 700px;
  overflow: hidden;
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-copy {
  position: relative;
  display: flex;
  min-height: 700px;
  padding: clamp(48px, 6vw, 90px);
  flex-direction: column;
  justify-content: center;
}

.method-index {
  position: absolute;
  top: 34px;
  right: 38px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.method-copy .eyebrow {
  color: var(--yellow);
}

.method-copy h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.method-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--reading-font);
  font-size: 19px;
}

.method-copy ol {
  display: grid;
  margin: 0 0 30px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.method-copy li {
  display: grid;
  padding: 15px 0;
  grid-template-columns: 34px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method-copy li:nth-child(odd) {
  margin-right: 18px;
}

.method-copy li span {
  color: var(--yellow);
  font-size: 9px;
}

.method-copy .button {
  align-self: flex-start;
}

.editors-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 58px;
}

.pick-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
}

.editors-pick h3 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.editors-pick > p {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 18px;
}

.reading-route ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-route li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 60px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.reading-route li:first-child {
  padding-top: 0;
}

.reading-route li > span {
  color: var(--yellow);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px var(--ink);
}

.reading-route small {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reading-route a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.reading-route a:hover {
  color: var(--coral);
}

.site-footer {
  padding: 28px max(24px, calc((100vw - var(--max)) / 2)) 24px;
  background: #000000;
  color: var(--white);
}

.footer-rule {
  display: flex;
  height: 34px;
  align-items: start;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-rule span {
  margin-top: -7px;
  padding-left: 10px;
  background: #000000;
  color: var(--yellow);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-grid {
  display: grid;
  padding: 54px 0 68px;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 58px;
}

.footer-brand .brand {
  display: block;
  align-items: flex-start;
}

.footer-wordmark .brand-logo {
  width: min(100%, 390px);
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--reading-font);
  font-size: 18px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 7px;
  color: var(--yellow);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-grid a:hover {
  color: var(--yellow);
}

.fine-print {
  display: flex;
  padding-top: 18px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fine-print a:first-of-type {
  margin-left: auto;
}

.fine-print a:hover {
  color: var(--yellow);
}

/* Article */
.article-hero {
  position: relative;
  display: flex;
  min-height: 650px;
  overflow: hidden;
  align-items: flex-end;
  background: var(--teal-deep);
  color: var(--white);
}

.article-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 19, 22, 0.94) 0%, rgba(4, 19, 22, 0.5) 53%, rgba(4, 19, 22, 0.12) 100%),
    linear-gradient(90deg, rgba(4, 19, 22, 0.42), transparent 65%);
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 90px 0 56px;
}

.article-hero-copy .eyebrow {
  color: var(--yellow);
}

.article-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.article-hero .dek {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--reading-font);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.article-byline {
  display: grid;
  width: min(calc(100% - 48px), 1120px);
  min-height: 88px;
  margin: auto;
  padding: 20px 0;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.article-byline > div:not(.share-actions) {
  display: flex;
  flex-direction: column;
}

.article-byline span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-byline strong {
  font-size: 12px;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-actions button,
.share-actions a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-actions button:hover,
.share-actions a:hover {
  border-color: var(--ink);
}

.article-shell {
  position: relative;
  width: min(calc(100% - 48px), 960px);
  margin: auto;
  padding: 64px 0 94px;
}

.article-rail {
  position: absolute;
  top: 72px;
  left: -96px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.article-rail > span {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.article-rail button,
.article-rail a {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 13px;
}

.article-rail button:hover,
.article-rail a:hover,
.article-rail button:focus-visible,
.article-rail a:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  outline: none;
  text-decoration: none;
}

.article-content {
  max-width: var(--reading);
  margin: auto;
  color: #272c27;
  font-family: var(--reading-font);
  font-size: 21px;
  line-height: 1.72;
}

.article-content > section:not(.facts-key):not(.article-cta):not(.author-box) {
  margin-top: 54px;
}

.article-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(29px, 3.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content a:not(.button) {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-toc {
  margin-bottom: 42px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
}

.article-toc summary {
  display: flex;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}

.article-toc summary::-webkit-details-marker {
  display: none;
}

.article-toc summary span {
  color: var(--muted);
  font-size: 8px;
}

.article-toc nav {
  display: grid;
  padding: 0 0 18px;
  gap: 8px;
}

.article-toc nav a {
  color: var(--muted) !important;
  font-size: 13px;
  text-decoration: none !important;
}

.article-toc nav a:hover,
.article-toc nav a.is-current {
  color: var(--coral) !important;
}

.facts-key {
  margin-bottom: 56px;
  padding: 32px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
}

.facts-key > span,
.article-cta > span,
.author-box > div > span {
  display: block;
  margin-bottom: 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts-key h2 {
  max-width: 560px;
  margin-bottom: 25px;
  font-size: clamp(25px, 3vw, 34px);
}

.facts-key ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(18, 23, 18, 0.35);
}

.facts-key li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(18, 23, 18, 0.35);
  font-size: 14px;
  line-height: 1.4;
}

.facts-key label {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
}

.facts-key input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.facts-key input:checked + span {
  opacity: 0.65;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.facts-key input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.faq-section .eyebrow {
  margin-bottom: 8px;
  font-family: var(--display);
}

.faq-list {
  border-top: 1px solid var(--ink);
  font-family: var(--display);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 45px 19px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 14px;
  right: 0;
  color: var(--coral);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 50px 20px 0;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 17px;
  line-height: 1.5;
}

.article-cta {
  margin-top: 64px;
  padding: 38px;
  background: var(--paper-soft);
  border-left: 7px solid var(--yellow);
  font-family: var(--display);
}

.article-cta h2 {
  max-width: 560px;
}

.article-cta p {
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 18px;
  line-height: 1.5;
}

.author-box {
  display: grid;
  margin-top: 72px;
  padding-top: 30px;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
}

.author-mark {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  background: var(--teal-deep);
  color: var(--yellow);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.author-box h2 {
  margin-bottom: 10px;
  font-size: 27px;
}

.author-box p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--reading-font);
  font-size: 16px;
  line-height: 1.45;
}

.author-box a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-section {
  border-top: 1px solid var(--line);
}

.category-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  align-items: flex-end;
  color: var(--white);
}

.category-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 19, 22, 0.92), rgba(4, 19, 22, 0.18));
}

.category-hero > div:last-child {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 80px 0 52px;
}

.category-hero .eyebrow {
  color: var(--yellow);
}

.category-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.category-hero p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--reading-font);
  font-size: 20px;
}

.category-listing {
  min-height: 500px;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  padding: 13px 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-card h3 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 32px;
  }

  .article-rail {
    display: none;
  }
}

@media (max-width: 980px) {
  .control-label {
    display: none;
  }

  .latest-grid,
  .editors-grid {
    grid-template-columns: 1fr;
  }

  .latest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .latest-row + .latest-row {
    padding-top: 0;
  }

  .latest-row:nth-child(n + 3) {
    padding-top: 18px;
  }

  .method-feature {
    grid-template-columns: 1fr;
  }

  .method-image {
    min-height: 500px;
  }

  .method-copy {
    min-height: auto;
  }

  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .utility-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .utility-inner > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .utility-inner nav a:not(:last-child) {
    display: none;
  }

  .masthead {
    min-height: 64px;
    padding: 0 16px;
    grid-template-columns: 42px 1fr 88px;
    gap: 10px;
  }

  .masthead .brand-logo {
    height: 48px;
  }

  .masthead-actions {
    gap: 12px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 9px;
  }

  .category-tabs {
    justify-content: flex-start;
  }

  .category-tabs a {
    padding: 0 14px;
  }

  .editorial-hero,
  .hero-content {
    min-height: 610px;
  }

  .hero-content,
  .editorial-section,
  .diagnosis-copy,
  .article-hero-copy,
  .article-byline,
  .article-shell,
  .category-hero > div:last-child {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-content {
    padding-bottom: 38px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 12vw, 66px);
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-meta a {
    width: 100%;
    margin: 4px 0 0;
  }

  .section-kicker {
    display: block;
  }

  .section-kicker p,
  .section-kicker > a,
  .section-kicker > span {
    display: block;
    margin-top: 12px;
  }

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

  .latest-row,
  .latest-row + .latest-row,
  .latest-row:nth-child(n + 3) {
    padding: 16px 0;
  }

  .latest-row:first-child {
    padding-top: 0;
  }

  .four-up,
  .three-up {
    grid-template-columns: 1fr;
  }

  .diagnosis-feature,
  .diagnosis-copy {
    min-height: 640px;
  }

  .diagnosis-overlay {
    background: linear-gradient(0deg, rgba(6, 24, 28, 0.96), rgba(6, 24, 28, 0.42));
  }

  .diagnosis-copy {
    justify-content: flex-end;
  }

  .diagnosis-scope {
    gap: 8px 12px;
  }

  .diagnosis-scope span + span::before {
    margin-right: 12px;
  }

  .method-copy ol {
    grid-template-columns: 1fr;
  }

  .method-copy li:nth-child(odd) {
    margin-right: 0;
  }

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

  .fine-print {
    flex-wrap: wrap;
  }

  .fine-print a:first-of-type {
    margin-left: 0;
  }

  .article-hero {
    min-height: 610px;
  }

  .article-hero h1 {
    font-size: clamp(40px, 11vw, 64px);
  }

  .article-byline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-actions {
    grid-column: 1 / -1;
  }

  .article-content {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }

  .masthead {
    grid-template-columns: 42px 1fr 42px;
  }

  .masthead .brand-logo {
    height: 40px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(4, 18, 21, 0.96) 0%, rgba(4, 18, 21, 0.48) 67%, rgba(4, 18, 21, 0.12) 100%);
  }

  .editorial-hero > img {
    object-position: 60% center;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content > p {
    font-size: 18px;
  }

  .latest-row {
    grid-template-columns: 116px 1fr;
    gap: 14px;
  }

  .latest-thumb {
    height: 82px;
  }

  .latest-row h3 {
    font-size: 14px;
  }

  .latest-row small {
    display: none;
  }

  .editorial-card h3 {
    font-size: 23px;
  }

  .diagnosis-copy h2 {
    font-size: 37px;
  }

  .diagnosis-scope {
    display: grid;
    gap: 5px;
  }

  .diagnosis-scope span + span::before {
    margin-right: 8px;
  }

  .method-image {
    min-height: 360px;
  }

  .method-copy {
    padding: 54px 24px;
  }

  .method-copy h2 {
    font-size: 38px;
  }

  .reading-route li {
    grid-template-columns: 48px 1fr;
  }

  .search-panel {
    padding: 0;
  }

  .search-box {
    min-height: 100vh;
    margin: 0;
  }

  .search-result {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .article-hero-copy {
    padding-bottom: 38px;
  }

  .article-hero h1 {
    font-size: 42px;
  }

  .article-hero .dek {
    font-size: 18px;
  }

  .article-byline {
    gap: 16px;
  }

  .article-shell {
    padding-top: 42px;
  }

  .facts-key,
  .article-cta {
    margin-right: -16px;
    margin-left: -16px;
    padding: 26px 20px;
  }

  .facts-key label {
    grid-template-columns: 22px 1fr;
    gap: 10px;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .category-hero {
    min-height: 480px;
  }

  .category-hero h1 {
    font-size: 58px;
  }
}

@media (max-width: 360px) {
  .nav-cta {
    padding: 8px;
  }

  .masthead .brand-logo {
    height: 35px;
  }

  .hero-content h1,
  .article-hero h1 {
    font-size: 38px;
  }

  .latest-row {
    grid-template-columns: 96px 1fr;
  }
}

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

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
