/* ==========================================================================
   HealthyWell Editorial 2026 — design system
   Concept: ink & paper editorial. Serif display over warm paper, hairline
   rules instead of cards, numbered magazine indexes, one cinnabar accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* color */
  --he26-paper: #f7f4ee;
  --he26-paper-bright: #fcfbf7;
  --he26-paper-deep: #efe9dd;
  --he26-ink: #1b1a17;
  --he26-ink-soft: #45423c;
  --he26-ink-faint: #756f64;
  --he26-line: #ddd6c9;
  --he26-line-strong: #b9b0a0;
  --he26-cinnabar: #b8432c;
  --he26-cinnabar-deep: #8f3120;
  --he26-night: #171613;
  --he26-night-line: #2c2a24;
  --he26-night-text: #d8d3c7;
  --he26-night-faint: #8f897b;
  --he26-caution-bg: #f9f1de;
  --he26-caution-line: #e2cf9d;
  --he26-caution-ink: #6b4e00;

  /* type */
  --he26-serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --he26-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;

  /* layout */
  --he26-shell: 1160px;
  --he26-gutter: clamp(16px, 4vw, 28px);
  --he26-reading: 700px;
  --he26-toc-col: 210px;

  /* motion */
  --he26-ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --he26-speed: 0.55s;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--he26-paper);
  color: var(--he26-ink);
  font-family: var(--he26-sans);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  margin: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--he26-cinnabar);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--he26-ink);
  color: var(--he26-paper);
}

.he26-shell {
  max-width: var(--he26-shell);
  margin-inline: auto;
  padding-inline: var(--he26-gutter);
}

.he26-main {
  min-height: 60vh;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.he26-skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--he26-ink);
  color: var(--he26-paper);
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--he26-ease);
}

.he26-skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   3. Small shared components
   -------------------------------------------------------------------------- */
.he26-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--he26-ink-faint);
}

.he26-kicker__no {
  font-family: var(--he26-serif);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--he26-cinnabar);
}

.he26-dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 9px 3px;
  background: var(--he26-line-strong);
  border-radius: 50%;
  vertical-align: middle;
}

.he26-text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--he26-ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 0.35s var(--he26-ease), color 0.2s;
}

.he26-text-cta:hover,
.he26-text-cta:focus-visible {
  color: var(--he26-cinnabar);
  background-size: 100% 1px;
}

.he26-chip {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--he26-line-strong);
  font-size: 13px;
  line-height: 1.4;
  color: var(--he26-ink-soft);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

a.he26-chip:hover {
  border-color: var(--he26-ink);
  color: var(--he26-ink);
}

.he26-chip--current {
  background: var(--he26-ink);
  border-color: var(--he26-ink);
  color: var(--he26-paper);
}

.he26-empty {
  padding: 60px 0 80px;
}

.he26-empty h2 {
  font-family: var(--he26-serif);
  font-size: 26px;
  font-weight: 700;
}

.he26-empty p {
  margin-top: 10px;
  color: var(--he26-ink-soft);
}

.he26-empty__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.he26-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-bottom: 8px;
  padding-top: 22px;
  border-top: 2px solid var(--he26-ink);
}

.he26-section-head h2 {
  font-family: var(--he26-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.he26-section-head p {
  font-size: 14.5px;
  color: var(--he26-ink-faint);
}

.he26-section-head--center {
  justify-content: center;
  text-align: center;
}

/* search forms */
.he26-search-form {
  display: flex;
  gap: 0;
  max-width: 560px;
}

.he26-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--he26-line-strong);
  border-right: 0;
  background: var(--he26-paper-bright);
  font: inherit;
  font-size: 15.5px;
  color: var(--he26-ink);
  border-radius: 0;
  appearance: none;
}

.he26-search-form input[type="search"]::placeholder {
  color: var(--he26-ink-faint);
}

.he26-search-form button {
  padding: 12px 22px;
  border: 1px solid var(--he26-ink);
  background: var(--he26-ink);
  color: var(--he26-paper);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.he26-search-form button:hover {
  background: var(--he26-cinnabar);
  border-color: var(--he26-cinnabar);
}

/* icons (CSS-drawn) */
.he26-icon-search {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.he26-icon-search::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 5px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

.he26-icon-menu {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}

.he26-icon-menu::before,
.he26-icon-menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.he26-icon-menu::before { top: 1px; }
.he26-icon-menu::after { bottom: 1px; }

/* fallback media monogram */
.he26-fallback-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--he26-paper-deep);
  border: 1px solid var(--he26-line);
}

.he26-fallback-media span {
  font-family: var(--he26-serif);
  font-size: 42px;
  font-weight: 800;
  font-style: italic;
  color: var(--he26-line-strong);
}

/* --------------------------------------------------------------------------
   4. Masthead
   -------------------------------------------------------------------------- */
.he26-masthead {
  position: relative;
  z-index: 140;
  background: var(--he26-paper);
  border-bottom: 1px solid var(--he26-line);
}

.he26-dateline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--he26-line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--he26-ink-faint);
}

.he26-dateline__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 600;
}

.he26-dateline__rule {
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--he26-cinnabar);
}

.he26-dateline__label time {
  font-weight: 400;
  color: var(--he26-ink-faint);
}

.he26-dateline__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.he26-tool-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--he26-ink);
  transition: color 0.2s;
}

.he26-tool-button:hover {
  color: var(--he26-cinnabar);
}

.he26-brandline {
  display: flex;
  justify-content: center;
  padding: 30px 0 24px;
}

.he26-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.he26-wordmark__name {
  font-family: var(--he26-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--he26-ink);
}

.he26-wordmark__dot {
  color: var(--he26-cinnabar);
}

.he26-wordmark__tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--he26-ink-faint);
}

.he26-navbar {
  border-top: 1px solid var(--he26-line);
}

.he26-navbar__list,
.he26-nav-panel__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.he26-navbar__item,
.he26-navbar__list li {
  display: flex;
}

.he26-navbar__list a,
.he26-nav__list a {
  display: inline-block;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--he26-ink);
  text-decoration: none;
  background: linear-gradient(var(--he26-cinnabar), var(--he26-cinnabar)) no-repeat 50% 100% / 0 2px;
  transition: background-size 0.3s var(--he26-ease), color 0.2s;
}

.he26-navbar__list a:hover,
.he26-navbar__list a:focus-visible,
.he26-navbar__list .current-menu-item a,
.he26-navbar__list .current_page_item a {
  color: var(--he26-cinnabar);
  background-size: calc(100% - 40px) 2px;
}

/* search panel under masthead */
.he26-search-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: 20px 0 24px;
  background: var(--he26-paper);
  border-bottom: 1px solid var(--he26-line);
  box-shadow: 0 18px 30px -24px rgba(27, 26, 23, 0.35);
}

.he26-search-panel[hidden] {
  display: none;
}

.he26-search-form--panel {
  margin-inline: auto;
}

/* full menu panel */
.he26-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  background: var(--he26-paper);
}

.he26-nav-panel[hidden] {
  display: none;
}

.he26-nav-panel__inner {
  max-width: var(--he26-shell);
  margin-inline: auto;
  padding: 0 var(--he26-gutter) 60px;
}

.he26-nav-panel__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 14px;
  margin-bottom: 22px;
  background: var(--he26-paper);
  border-bottom: 1px solid var(--he26-line);
}

.he26-nav-panel__brand {
  font-family: var(--he26-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--he26-ink);
}

.he26-nav-panel__brand span {
  color: var(--he26-cinnabar);
}

.he26-nav-panel__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--he26-line-strong);
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--he26-ink);
  transition: border-color 0.2s, color 0.2s;
}

.he26-nav-panel__close:hover {
  border-color: var(--he26-cinnabar);
  color: var(--he26-cinnabar);
}

.he26-nav-panel__primary {
  padding-top: 8px;
}

.he26-nav-panel__list {
  flex-direction: column;
  align-items: stretch;
  border-top: 2px solid var(--he26-ink);
}

.he26-nav-panel__list li {
  border-bottom: 1px solid var(--he26-line);
}

.he26-nav-panel__list a {
  display: block;
  padding: 20px 4px;
  font-family: var(--he26-serif);
  font-size: clamp(24px, 4.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--he26-ink);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.3s var(--he26-ease);
}

.he26-nav-panel__list a:hover {
  color: var(--he26-cinnabar);
  padding-left: 14px;
}

.he26-nav-panel .he26-search-form {
  margin: 34px 0;
}

.he26-nav-panel__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 8px;
}

.he26-nav-panel__secondary a {
  font-size: 14px;
  color: var(--he26-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--he26-line-strong);
  padding-bottom: 2px;
}

.he26-nav-panel__secondary a:hover {
  color: var(--he26-cinnabar);
  border-color: var(--he26-cinnabar);
}

/* floating menu button (mobile, after scrolling past masthead) */
.he26-floating-menu {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--he26-ink);
  color: var(--he26-paper);
  box-shadow: 0 10px 24px -12px rgba(27, 26, 23, 0.55);
  transition: background 0.2s, transform 0.25s var(--he26-ease);
}

.he26-floating-menu:hover {
  background: var(--he26-cinnabar);
  transform: translateY(-2px);
}

.he26-floating-menu[hidden] {
  display: none;
}

@media (min-width: 980px) {
  .he26-floating-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. Homepage
   -------------------------------------------------------------------------- */
/* lead story */
.he26-lead {
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
}

.he26-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.he26-lead__title {
  font-family: var(--he26-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.he26-lead__title a {
  color: var(--he26-ink);
  text-decoration: none;
  background: linear-gradient(var(--he26-cinnabar), var(--he26-cinnabar)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.45s var(--he26-ease), color 0.25s;
}

.he26-lead__title a:hover,
.he26-lead__title a:focus-visible {
  color: var(--he26-cinnabar-deep);
  background-size: 100% 2px;
}

.he26-lead__dek {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--he26-ink-soft);
}

.he26-lead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--he26-ink-faint);
}

.he26-lead__meta a {
  color: var(--he26-cinnabar);
  font-weight: 600;
  text-decoration: none;
}

.he26-lead__meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.he26-lead__text .he26-text-cta {
  margin-top: 24px;
}

/* layered lead media with depth planes */
.he26-lead__media {
  position: relative;
  margin: 0;
}

.he26-lead__frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--he26-paper-deep);
  border: 1px solid var(--he26-line);
  will-change: transform;
}

.he26-lead__image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--he26-line-strong);
  background: var(--he26-paper-deep);
  will-change: transform;
}

.he26-lead__image-link img,
.he26-lead__image-link .he26-fallback-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.8s var(--he26-ease);
}

.he26-lead__media:hover .he26-lead__image-link img {
  transform: scale(1.025);
}

/* numbered secondary index */
.he26-index {
  padding: clamp(24px, 4vw, 44px) 0 clamp(40px, 5vw, 64px);
}

.he26-index__list {
  list-style: none;
  border-top: 2px solid var(--he26-ink);
}

.he26-index__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 120px;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--he26-line);
}

.he26-index__no {
  font-family: var(--he26-serif);
  font-size: 30px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--he26-line-strong);
}

.he26-index__title {
  font-family: var(--he26-serif);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  line-height: 1.45;
}

.he26-index__title a {
  color: var(--he26-ink);
  text-decoration: none;
  transition: color 0.2s;
}

.he26-index__title a:hover {
  color: var(--he26-cinnabar);
}

.he26-index__excerpt {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--he26-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.he26-index__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-align: right;
  color: var(--he26-ink-faint);
}

/* latest list */
.he26-latest {
  padding: clamp(36px, 5vw, 60px) 0;
  background: var(--he26-paper-bright);
  border-top: 1px solid var(--he26-line);
  border-bottom: 1px solid var(--he26-line);
}

.he26-latest__list {
  list-style: none;
  counter-reset: he26-latest;
}

.he26-latest__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 30px;
  gap: 22px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--he26-line);
}

.he26-latest__row:last-child {
  border-bottom: 0;
}

.he26-latest__date {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--he26-ink-faint);
  font-variant-numeric: tabular-nums;
}

.he26-latest__title {
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.5;
}

.he26-latest__title a {
  color: var(--he26-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.he26-latest__title a:hover {
  color: var(--he26-cinnabar);
  border-color: var(--he26-cinnabar);
}

.he26-latest__category {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--he26-ink-faint);
}

.he26-latest__arrow {
  color: var(--he26-line-strong);
  font-size: 18px;
}

/* category routes */
.he26-routes {
  padding: clamp(44px, 6vw, 76px) 0;
}

.he26-routes__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 26px;
}

.he26-route {
  position: relative;
  padding: 30px 28px 34px;
  background: var(--he26-paper);
  border: 1px solid var(--he26-line-strong);
  transition: border-color 0.25s, transform 0.35s var(--he26-ease);
}

.he26-route:hover {
  border-color: var(--he26-ink);
  transform: translateY(-3px);
}

.he26-route__head {
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.he26-route__no {
  font-family: var(--he26-serif);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--he26-cinnabar);
}

.he26-route__name {
  font-family: var(--he26-serif);
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 800;
}

.he26-route__name a {
  color: var(--he26-ink);
  text-decoration: none;
}

.he26-route__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.he26-route__blurb {
  margin-top: 8px;
  font-size: 15px;
  color: var(--he26-ink-soft);
}

.he26-route__posts {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--he26-line);
  list-style: none;
  display: grid;
  gap: 8px;
}

.he26-route__posts a {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--he26-ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.he26-route__posts a::before {
  content: "—";
  margin-right: 8px;
  color: var(--he26-line-strong);
}

.he26-route__posts a:hover {
  color: var(--he26-cinnabar);
}

/* evergreen guides */
.he26-evergreen {
  padding: clamp(44px, 6vw, 76px) 0;
  background: var(--he26-paper-deep);
}

.he26-evergreen__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.he26-evergreen__intro h2 {
  font-family: var(--he26-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.35;
}

.he26-evergreen__intro p:last-child {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--he26-ink-soft);
}

.he26-evergreen__list {
  list-style: none;
  border-top: 2px solid var(--he26-ink);
}

.he26-evergreen__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--he26-line);
}

.he26-evergreen__title {
  font-family: var(--he26-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.he26-evergreen__title a {
  color: var(--he26-ink);
  text-decoration: none;
  transition: color 0.2s;
}

.he26-evergreen__title a:hover {
  color: var(--he26-cinnabar);
}

.he26-evergreen__meta {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--he26-ink-faint);
}

/* editorial standards */
.he26-standards {
  padding: clamp(48px, 6vw, 84px) 0;
}

.he26-standards__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: 30px;
  list-style: none;
}

.he26-standards__list li {
  padding-top: 18px;
  border-top: 1px solid var(--he26-line-strong);
}

.he26-standards__no {
  font-family: var(--he26-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--he26-cinnabar);
}

.he26-standards__list h3 {
  margin-top: 10px;
  font-family: var(--he26-serif);
  font-size: 20px;
  font-weight: 700;
}

.he26-standards__list p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--he26-ink-soft);
}

.he26-standards__link {
  margin-top: 34px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Archive / search / listing
   -------------------------------------------------------------------------- */
.he26-archive-head {
  padding: clamp(44px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 2px solid var(--he26-ink);
}

.he26-archive-head__title {
  font-family: var(--he26-serif);
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.he26-archive-head__description {
  max-width: 640px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--he26-ink-soft);
}

.he26-archive-head__description p {
  margin: 0;
}

.he26-archive-head__count {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--he26-ink-faint);
}

.he26-archive-head__siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.he26-archive-head--search .he26-search-inline {
  margin-top: 24px;
}

.he26-archive-body {
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px);
}

.he26-rows {
  list-style: none;
}

.he26-rows__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--he26-line);
}

.he26-rows__item:first-child {
  border-top: 1px solid var(--he26-line);
}

.he26-rows__no {
  font-family: var(--he26-serif);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  color: var(--he26-line-strong);
}

.he26-rows__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--he26-ink-faint);
  font-variant-numeric: tabular-nums;
}

.he26-rows__title {
  font-family: var(--he26-serif);
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700;
  line-height: 1.45;
}

.he26-rows__title a {
  color: var(--he26-ink);
  text-decoration: none;
  background: linear-gradient(var(--he26-cinnabar), var(--he26-cinnabar)) no-repeat 0 100% / 0 1px;
  transition: background-size 0.4s var(--he26-ease), color 0.2s;
}

.he26-rows__title a:hover {
  color: var(--he26-cinnabar-deep);
  background-size: 100% 1px;
}

.he26-rows__excerpt {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--he26-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* pagination */
.he26-pagination {
  margin-top: 44px;
}

.he26-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.he26-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border: 1px solid var(--he26-line-strong);
  font-family: var(--he26-serif);
  font-size: 15px;
  color: var(--he26-ink);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.he26-pagination a.page-numbers:hover {
  border-color: var(--he26-ink);
}

.he26-pagination .page-numbers.current {
  background: var(--he26-ink);
  border-color: var(--he26-ink);
  color: var(--he26-paper);
}

/* --------------------------------------------------------------------------
   7. Article
   -------------------------------------------------------------------------- */
.he26-article {
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
}

.he26-article__shell {
  max-width: 1080px;
}

.he26-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--he26-ink-faint);
}

.he26-breadcrumbs a {
  color: var(--he26-ink-faint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.he26-breadcrumbs a:hover {
  color: var(--he26-cinnabar);
  border-color: var(--he26-cinnabar);
}

.he26-breadcrumbs__sep {
  color: var(--he26-line-strong);
}

.he26-breadcrumbs [aria-current] {
  color: var(--he26-ink-soft);
}

.he26-article-head {
  max-width: 780px;
}

.he26-article-head__title {
  font-family: var(--he26-serif);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.he26-article-head__dek {
  margin-top: 20px;
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--he26-ink-soft);
}

.he26-article-head__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--he26-line);
  font-size: 13.5px;
  color: var(--he26-ink-faint);
}

.he26-article-figure {
  margin: 0;
  min-width: 0;
}

.he26-article-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-deep);
}

.he26-article-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--he26-ink-faint);
}

/* layout: optional sticky TOC column + reading column */
.he26-article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--he26-reading));
  justify-content: center;
  margin-top: 34px;
}

@media (min-width: 1180px) {
  .he26-article-layout {
    grid-template-columns: var(--he26-toc-col) minmax(0, var(--he26-reading));
    grid-template-areas:
      "toc figure"
      "toc main";
    column-gap: 56px;
    justify-content: center;
  }

  .he26-article-layout > .he26-article-figure {
    grid-area: figure;
  }

  .he26-article-layout > .he26-toc {
    grid-area: toc;
    grid-row: 1 / span 2;
  }

  .he26-article-layout > .he26-article-main {
    grid-area: main;
  }
}

.he26-article-main {
  min-width: 0;
}

/* table of contents */
.he26-toc {
  align-self: start;
  margin: 30px 0 30px;
  min-width: 0;
}

.he26-toc[hidden] {
  display: none;
}

@media (min-width: 1180px) {
  .he26-toc {
    position: sticky;
    top: 28px;
    margin: 6px 0 0;
  }
}

.he26-toc summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--he26-ink);
  cursor: pointer;
  list-style: none;
  border-top: 2px solid var(--he26-ink);
  border-bottom: 1px solid var(--he26-line);
  background-image: linear-gradient(var(--he26-cinnabar), var(--he26-cinnabar));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: var(--he26-toc-progress, 0%) 2px;
  transition: background-size 0.2s linear;
}

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

.he26-toc summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--he26-serif);
  font-size: 16px;
  color: var(--he26-cinnabar);
}

.he26-toc[open] summary::after {
  content: "–";
}

@media (min-width: 1180px) {
  .he26-toc summary {
    cursor: default;
  }

  .he26-toc summary::after {
    content: none;
  }
}

.he26-toc [data-auto-toc-count] {
  font-weight: 400;
  color: var(--he26-ink-faint);
  letter-spacing: 0.02em;
}

.he26-toc nav {
  max-height: min(62vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--he26-line-strong) transparent;
}

.he26-toc > nav > ol {
  margin: 6px 0 0;
  padding: 0 0 14px;
  list-style: none;
  border-bottom: 1px solid var(--he26-line);
}

.he26-toc__sublist {
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
}

.he26-toc__item--h3 a {
  padding: 5px 0 5px 26px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--he26-ink-faint);
}

.he26-toc li {
  margin: 0;
  border-left: 2px solid var(--he26-line);
  transition: border-color 0.2s;
}

.he26-toc li.is-active {
  border-color: var(--he26-cinnabar);
}

.he26-toc li a {
  display: block;
  padding: 7px 0 7px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--he26-ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.he26-toc li.is-active a {
  color: var(--he26-cinnabar-deep);
  font-weight: 600;
}

.he26-toc li a:hover {
  color: var(--he26-cinnabar);
}

/* article body typography + content contract classes */
.he26-article-body {
  min-width: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--he26-ink);
}

.he26-article-body > * + * {
  margin-top: 24px;
}

.he26-article-body p {
  margin: 0;
}

.he26-article-body a {
  color: var(--he26-cinnabar-deep);
  text-decoration: underline;
  text-decoration-color: var(--he26-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.he26-article-body a:hover {
  color: var(--he26-cinnabar);
  text-decoration-color: var(--he26-cinnabar);
}

.he26-article-body strong {
  font-weight: 700;
}

.he26-article-body h2,
.he26-article-body h3,
.he26-article-body h4 {
  font-family: var(--he26-serif);
  font-weight: 800;
  letter-spacing: -0.01em;
  scroll-margin-top: 24px;
}

.he26-article-body h2 {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--he26-line);
  font-size: 26px;
  line-height: 1.45;
}

.he26-article-body h3 {
  margin-top: 38px;
  font-size: 21px;
  line-height: 1.5;
}

.he26-article-body h4 {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.55;
}

.he26-article-body ul,
.he26-article-body ol {
  padding-left: 24px;
}

.he26-article-body li {
  margin-top: 9px;
}

.he26-article-body li::marker {
  color: var(--he26-cinnabar);
  font-weight: 600;
}

.he26-article-body hr {
  border: 0;
  border-top: 1px solid var(--he26-line-strong);
  margin: 44px auto;
  max-width: 160px;
}

.he26-article-body blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--he26-cinnabar);
  font-family: var(--he26-serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--he26-ink-soft);
}

/* figures and images */
.he26-article-body figure {
  margin: 34px 0;
}

.he26-article-body figure img,
.he26-article-body img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-deep);
}

.he26-article-body figcaption,
.he26-article-body .wp-element-caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--he26-ink-faint);
}

.he26-article-body .hw-article-visual,
.he26-article-body .hw-article-visual--narrow {
  max-width: 560px;
  margin-inline: auto;
}

/* Gutenberg alignment inside the reading column: stay inside the column */
.he26-article-body .alignwide,
.he26-article-body .alignfull {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  transform: none;
}

/* tables */
.he26-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
}

.he26-article-body .wp-block-table {
  margin: 30px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.he26-article-body th {
  padding: 11px 14px;
  border-bottom: 2px solid var(--he26-ink);
  background: var(--he26-paper-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
}

.he26-article-body td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--he26-line);
  vertical-align: top;
}

.he26-article-body .is-style-stripes tbody tr:nth-child(even) {
  background: rgba(27, 26, 23, 0.03);
}

.he26-article-body .hw-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body .hw-table-scroll table {
  min-width: 560px;
  margin: 0;
}

.he26-article-body .hw-table-scroll th,
.he26-article-body .hw-table-scroll td {
  padding: 12px 16px;
}

/* standfirst / lead paragraph */
.he26-article-body .healthywell-standfirst,
.he26-page-body .hw-page-lead {
  font-family: var(--he26-serif);
  font-size: 19.5px;
  line-height: 1.8;
  color: var(--he26-ink-soft);
}

/* generic callout shells */
.he26-article-body .hw-summary-box,
.he26-article-body .hw-info-box,
.he26-article-body .hw-note-box,
.he26-article-body .healthywell-summary,
.he26-article-body .healthywell-note,
.he26-article-body .hw-key-point {
  margin: 30px 0;
  padding: 22px 24px;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body .hw-summary-box,
.he26-article-body .healthywell-summary {
  border-left: 3px solid var(--he26-ink);
}

.he26-article-body .hw-caution-box,
.he26-article-body .healthywell-warning,
.he26-article-body .hw-caution {
  margin: 30px 0;
  padding: 22px 24px;
  border: 1px solid var(--he26-caution-line);
  background: var(--he26-caution-bg);
  color: var(--he26-caution-ink);
}

.he26-article-body .hw-summary-box ul,
.he26-article-body .hw-caution-box ul,
.he26-article-body .healthywell-summary ol,
.he26-article-body .healthywell-summary ul {
  padding-left: 20px;
  margin: 0;
}

.he26-article-body .hw-summary-box li,
.he26-article-body .hw-caution-box li,
.he26-article-body .healthywell-summary li {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.7;
}

.he26-article-body .hw-caution-box li::marker {
  color: var(--he26-caution-ink);
}

.he26-article-body .hw-info-box h3,
.he26-article-body .hw-checklist h3,
.he26-article-body .hw-label-check h3 {
  margin-top: 0;
  font-size: 18px;
}

.he26-article-body .hw-reference-box {
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid var(--he26-line-strong);
  border-bottom: 1px solid var(--he26-line-strong);
}

.he26-article-body .hw-reference-box ul {
  padding: 0;
  list-style: none;
}

.he26-article-body .hw-reference-box li {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--he26-ink-soft);
}

.he26-article-body .hw-reference-box a {
  color: var(--he26-ink-soft);
  word-break: break-all;
}

.he26-article-body .hw-reference-box a:hover {
  color: var(--he26-cinnabar);
}

/* checklist */
.he26-article-body .hw-checklist {
  margin: 30px 0;
  padding: 22px 24px;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body .hw-checklist ul {
  padding: 0;
  list-style: none;
}

.he26-article-body .hw-checklist li {
  position: relative;
  margin-top: 10px;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.7;
}

.he26-article-body .hw-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--he26-cinnabar);
  font-weight: 700;
}

/* info card grid */
.he26-article-body .hw-info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.he26-article-body .hw-info-card {
  padding: 20px 22px;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body .hw-info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.he26-article-body .hw-info-card dt {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--he26-cinnabar);
}

.he26-article-body .hw-info-card dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--he26-ink-soft);
}

/* label check grid */
.he26-article-body .hw-label-check {
  margin: 30px 0;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body .hw-label-check > h3 {
  padding: 18px 22px 0;
}

.he26-article-body .hw-label-check__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.he26-article-body .hw-label-check__item {
  padding: 14px 22px;
  border-top: 1px solid var(--he26-line);
  font-size: 14.5px;
  line-height: 1.65;
}

.he26-article-body .hw-label-check__item strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--he26-cinnabar-deep);
}

/* FAQ */
.he26-article-body .hw-faq {
  margin: 34px 0;
}

.he26-article-body .hw-faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--he26-line);
}

.he26-article-body .hw-faq-item:last-child {
  border-bottom: 1px solid var(--he26-line);
}

.he26-article-body .hw-faq-item h3 {
  margin-top: 0;
  font-size: 18.5px;
}

.he26-article-body .hw-faq-item p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--he26-ink-soft);
}

/* native Gutenberg details blocks */
.he26-article-body details.wp-block-details {
  margin: 26px 0;
  padding: 14px 20px;
  border: 1px solid var(--he26-line);
  background: var(--he26-paper-bright);
}

.he26-article-body details.wp-block-details summary {
  font-weight: 700;
  cursor: pointer;
}

/* groups with background from the editor keep their own color */
.he26-article-body .wp-block-group.has-background {
  padding: 22px 24px;
}

/* disclaimer + tags */
.he26-disclaimer {
  margin: 48px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--he26-ink);
}

.he26-disclaimer strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--he26-ink);
}

.he26-disclaimer p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--he26-ink-faint);
}

.he26-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}

.he26-article-tags a {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--he26-line-strong);
  font-size: 13px;
  color: var(--he26-ink-soft);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.he26-article-tags a:hover {
  border-color: var(--he26-cinnabar);
  color: var(--he26-cinnabar);
}

/* prev / next article navigation */
.he26-postnav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--he26-line);
  border-bottom: 1px solid var(--he26-line);
}

.he26-postnav__cell {
  padding: 18px 24px 20px 0;
  min-width: 0;
}

.he26-postnav__cell--next {
  padding: 18px 0 20px 24px;
  border-left: 1px solid var(--he26-line);
  text-align: right;
}

.he26-postnav__label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--he26-ink-faint);
}

.he26-postnav__title {
  display: block;
  font-family: var(--he26-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--he26-ink);
  text-decoration: none;
  overflow-wrap: break-word;
  background: linear-gradient(var(--he26-cinnabar), var(--he26-cinnabar)) no-repeat 0 100% / 0 1px;
  transition: background-size 0.35s var(--he26-ease), color 0.2s;
}

.he26-postnav__cell--next .he26-postnav__title {
  background-position: 100% 100%;
}

.he26-postnav__title:hover {
  color: var(--he26-cinnabar-deep);
  background-size: 100% 1px;
}

@media (max-width: 640px) {
  .he26-postnav {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-postnav__cell {
    padding: 16px 0;
  }

  .he26-postnav__cell--next {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--he26-line);
    text-align: left;
  }
}

/* related */
.he26-related {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--he26-paper-bright);
  border-top: 1px solid var(--he26-line);
}

.he26-related__list {
  list-style: none;
  border-top: 1px solid var(--he26-line);
}

.he26-related__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 120px;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--he26-line);
}

/* --------------------------------------------------------------------------
   8. Static page
   -------------------------------------------------------------------------- */
.he26-page {
  padding: clamp(40px, 6vw, 68px) 0 clamp(48px, 6vw, 80px);
}

.he26-page__shell {
  max-width: 860px;
}

.he26-page-head__title {
  font-family: var(--he26-serif);
  font-size: clamp(30px, 4.6vw, 42px);
  font-weight: 900;
  line-height: 1.3;
}

.he26-page-head__lead {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--he26-ink-soft);
}

.he26-page-body {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 2px solid var(--he26-ink);
}

/* --------------------------------------------------------------------------
   9. 404
   -------------------------------------------------------------------------- */
.he26-error {
  padding: clamp(60px, 9vw, 120px) 0;
}

.he26-error__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.he26-error__code {
  margin: 0;
  font-family: var(--he26-serif);
  font-size: clamp(84px, 14vw, 170px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--he26-line-strong);
}

.he26-error__body h1 {
  font-family: var(--he26-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.4;
}

.he26-error__body > p {
  margin-top: 14px;
  color: var(--he26-ink-soft);
}

.he26-error__body .he26-search-form {
  margin-top: 24px;
}

.he26-error__links {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.he26-footer {
  background: var(--he26-night);
  color: var(--he26-night-text);
  padding: clamp(52px, 7vw, 84px) 0 36px;
}

.he26-footer__masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--he26-night-line);
}

.he26-footer__wordmark {
  font-family: var(--he26-serif);
  font-size: 34px;
  font-weight: 900;
  color: var(--he26-paper);
  text-decoration: none;
}

.he26-footer__wordmark span {
  color: var(--he26-cinnabar);
}

.he26-footer__mission {
  max-width: 430px;
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--he26-night-faint);
}

.he26-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 40px 0 8px;
}

.he26-footer__heading {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--he26-night-faint);
}

.he26-footer-nav__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.he26-footer-nav__list a {
  font-size: 15px;
  color: var(--he26-night-text);
  text-decoration: none;
  transition: color 0.2s;
}

.he26-footer-nav__list a:hover {
  color: var(--he26-paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.he26-search-form--footer input[type="search"] {
  background: transparent;
  border-color: var(--he26-night-line);
  color: var(--he26-paper);
}

.he26-search-form--footer input[type="search"]::placeholder {
  color: var(--he26-night-faint);
}

.he26-search-form--footer button {
  background: var(--he26-paper);
  border-color: var(--he26-paper);
  color: var(--he26-night);
}

.he26-search-form--footer button:hover {
  background: var(--he26-cinnabar);
  border-color: var(--he26-cinnabar);
  color: var(--he26-paper);
}

.he26-footer__colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--he26-night-line);
  font-size: 12.5px;
  color: var(--he26-night-faint);
}

/* --------------------------------------------------------------------------
   11. Motion (max three patterns: hero depth, content entry, hover focus)
   -------------------------------------------------------------------------- */
/* content entry — applied once per section, gated behind js class */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--he26-speed) var(--he26-ease), transform var(--he26-speed) var(--he26-ease);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* hero depth planes — JS moves these a few px, never more */
[data-depth-layer] {
  transition: transform 0.3s ease-out;
}

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

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-depth-layer] {
    transform: none !important;
    transition: none;
  }

  .he26-lead__media:hover .he26-lead__image-link img,
  .he26-route:hover {
    transform: none;
    transition: none;
  }

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

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 979px) {
  .he26-navbar {
    display: none;
  }

  .he26-brandline {
    justify-content: flex-start;
    padding: 22px 0 18px;
  }

  .he26-wordmark {
    align-items: flex-start;
  }

  .he26-wordmark__tag {
    letter-spacing: 0.2em;
  }

  .he26-lead__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-lead__media {
    max-width: 620px;
  }

  .he26-routes__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-evergreen__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-standards__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-footer__columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .he26-error__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-error__code {
    font-size: clamp(72px, 20vw, 120px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .he26-lead__frame {
    inset: 16px -12px -16px 12px;
  }

  .he26-dateline__label time {
    display: none;
  }

  .he26-index__row,
  .he26-related__row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .he26-index__meta {
    grid-column: 2;
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }

  .he26-rows__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .he26-latest__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .he26-latest__arrow {
    display: none;
  }

  .he26-index__no,
  .he26-rows__no {
    font-size: 22px;
  }

  .he26-info-card-grid,
  .he26-article-body .hw-info-card-grid,
  .he26-article-body .hw-label-check__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-footer__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .he26-article-body h2 {
    font-size: 23px;
  }

  .he26-article-body h3 {
    font-size: 19.5px;
  }
}

/* --------------------------------------------------------------------------
   13. Print
   -------------------------------------------------------------------------- */
@media print {
  .he26-masthead,
  .he26-footer,
  .he26-floating-menu,
  .he26-related,
  .he26-toc,
  .he26-breadcrumbs {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
