/* Nikita AI Growth — single editorial design system (source of truth for build) */
:root {
  --editorial-paper: #f7f7f3;
  --editorial-card: #ffffff;
  --editorial-ink: #11140f;
  --editorial-muted: #626b63;
  --editorial-line: #d9ddd4;
  --editorial-blue: #315fd1;
  --editorial-lime: #d6f36c;
  --editorial-dark: #111410;
  --editorial-dark-muted: #b7c1b8;
  --editorial-dark-soft: #9aa59b;
  --editorial-field: #20261f;
  --editorial-field-line: #435046;
  --editorial-surface-soft: #f1f3e9;
  --editorial-media-bg: #e1e4dc;
  --editorial-feature: #354039;
  --editorial-display: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial-width: 1440px;
  --editorial-gutter: clamp(20px, 4vw, 64px);
  --editorial-nav-break: 760px;
  --focus: 3px solid var(--editorial-blue);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  /* 4-based spatial scale — tight groups vs major section breaths */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-section: clamp(48px, 7vw, 72px);
  --space-section-tight: clamp(32px, 5vw, 48px);
  --measure-prose: 66ch;
  --shell-inline: max(var(--editorial-gutter), calc((100% - var(--editorial-width)) / 2 + var(--editorial-gutter)));
}

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

html {
  background: var(--editorial-paper);
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body.editorial-site {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  font-family: var(--editorial-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.editorial-site img,
body.editorial-site svg,
body.editorial-site video {
  display: block;
  max-width: 100%;
}

body.editorial-site img,
body.editorial-site video {
  height: auto;
}

body.editorial-site a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

body.editorial-site button,
body.editorial-site input,
body.editorial-site select,
body.editorial-site textarea {
  font: inherit;
}

body.editorial-site button:not(:disabled),
body.editorial-site a,
body.editorial-site summary {
  cursor: pointer;
}

body.editorial-site :focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}

body.editorial-site :focus:not(:focus-visible) {
  outline: none;
}

body.editorial-site h1,
body.editorial-site h2,
body.editorial-site h3,
body.editorial-site p {
  margin-top: 0;
}

body.editorial-site h1,
body.editorial-site h2,
body.editorial-site h3 {
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.editorial-site h1 {
  font-size: clamp(2.65rem, 5vw, 5.8rem);
}

body.editorial-site h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

body.editorial-site h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

body.editorial-site .icon {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.12em;
}

body.editorial-site .skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 20px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--editorial-dark);
  color: #fff;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

body.editorial-site .skip-link:focus,
body.editorial-site .skip-link:focus-visible {
  transform: translateY(0);
}

body.editorial-site .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Masthead */
body.editorial-site .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  padding: env(safe-area-inset-top, 0px) max(var(--editorial-gutter), env(safe-area-inset-right, 0px)) 0 max(var(--editorial-gutter), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--editorial-line);
  background: rgba(247, 247, 243, 0.94);
  backdrop-filter: blur(16px);
}

body.editorial-site .masthead-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  max-width: var(--editorial-width);
  margin: 0 auto;
}

body.editorial-site .masthead-inner,
body.editorial-site .masthead-inner > *,
body.editorial-site .home-intro > *,
body.editorial-site .home-intro-title,
body.editorial-site .home-intro-lead,
body.editorial-site .home-split > *,
body.editorial-site .story-card > *,
body.editorial-site .article-card > *,
body.editorial-site .listing-hero > *,
body.editorial-site .contact-section > *,
body.editorial-site .about-band > *,
body.editorial-site .article-top > *,
body.editorial-site .article-layout > * {
  min-width: 0;
}

body.editorial-site .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-family: var(--editorial-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

body.editorial-site .brand-logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--editorial-ink);
  color: var(--editorial-lime);
}

body.editorial-site .brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.editorial-site .brand-logo {
  background: #fff;
  border: 1px solid var(--editorial-line);
}

body.editorial-site .locale-control-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

body.editorial-site .brand-logo-fallback {
  font-size: 0.75rem;
  letter-spacing: -0.06em;
}

body.editorial-site .brand-wordmark {
  font-size: 1.12rem;
  white-space: nowrap;
}

body.editorial-site .masthead-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 36px);
  min-width: 0;
  flex: 1;
  color: var(--editorial-muted);
  font-size: 0.83rem;
  font-weight: 700;
}

body.editorial-site .masthead-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

/* Contact lives in the open mobile menu; desktop uses header CTA */
body.editorial-site .masthead-nav-contact {
  display: none;
}

body.editorial-site .masthead-nav a:hover,
body.editorial-site .masthead-nav a.is-active {
  color: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

body.editorial-site .mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--editorial-line);
  border-radius: 50%;
  background: transparent;
  color: var(--editorial-ink);
  cursor: pointer;
}

body.editorial-site .mobile-nav-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 11px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  background: transparent;
  box-shadow: none;
}

body.editorial-site .mobile-nav-icon::after {
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  content: "";
  border-top: 1.5px solid currentColor;
}

body.editorial-site .mobile-nav-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.editorial-site .masthead-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: none;
}

body.editorial-site .personal-site-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--editorial-muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

body.editorial-site .personal-site-link:hover {
  color: var(--editorial-ink);
}

body.editorial-site .header-cta,
body.editorial-site .button-primary,
body.editorial-site .lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--editorial-ink);
  color: #fff;
  padding: 12px 17px;
  font: 800 0.86rem/1 var(--editorial-body);
  cursor: pointer;
}

body.editorial-site .header-cta,
body.editorial-site .button-primary {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.editorial-site .header-cta:hover,
body.editorial-site .button-primary:hover {
  background: var(--editorial-blue);
}

body.editorial-site .header-cta:active,
body.editorial-site .button-primary:active,
body.editorial-site .button-secondary:active {
  transform: translateY(1px);
}

body.editorial-site .locale-control {
  position: relative;
  color: var(--editorial-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

body.editorial-site .locale-control summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 4px;
  cursor: pointer;
  list-style: none;
}

body.editorial-site .locale-control summary::-webkit-details-marker {
  display: none;
}

body.editorial-site .locale-control summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

body.editorial-site .language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  display: grid;
  min-width: 150px;
  padding: 7px;
  border: 1px solid var(--editorial-line);
  border-radius: var(--radius-sm);
  background: var(--editorial-card);
  box-shadow: 0 18px 42px rgba(17, 20, 15, 0.12);
}

body.editorial-site .locale-control[open] summary {
  color: var(--editorial-ink);
}

body.editorial-site .language-link {
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--editorial-muted);
  white-space: nowrap;
}

body.editorial-site .language-link:hover,
body.editorial-site .language-link.is-active {
  background: var(--editorial-ink);
  color: #fff;
}

body.editorial-site .page-main {
  min-height: 60vh;
}

/* Shared layout shells */
body.editorial-site .page-wrap,
body.editorial-site .article-shell {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding-left: var(--editorial-gutter);
  padding-right: var(--editorial-gutter);
}

/* Home first viewport — peak rhythm of the Practical Editorial Desk */
body.editorial-site .home-stage {
  padding-top: var(--space-section-tight);
  padding-bottom: var(--space-5);
}

body.editorial-site .home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding: var(--space-2) 0 var(--space-5);
  margin-bottom: 0;
  border-bottom: 1px solid var(--editorial-ink);
}

body.editorial-site .home-intro-title .eyebrow {
  display: block;
  max-width: 42ch;
  margin: 0 0 var(--space-3);
  color: var(--editorial-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.editorial-site .home-intro h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.85rem, 6.2vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

body.editorial-site .home-intro-lead {
  max-width: 34rem;
  padding: var(--space-1) 0 var(--space-1) var(--space-4);
  border-left: 1px solid var(--editorial-ink);
}

body.editorial-site .home-intro-lead .home-lead,
body.editorial-site .home-intro-lead > p {
  margin: 0;
  max-width: var(--measure-prose);
  color: var(--editorial-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.45;
}

body.editorial-site .home-stage .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

body.editorial-site .home-stage .hero-actions .button-primary {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

body.editorial-site .home-stage .hero-actions .button-secondary {
  min-height: 48px;
  padding: 14px 18px;
}

body.editorial-site .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

body.editorial-site .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

body.editorial-site .button-secondary {
  border: 1px solid var(--editorial-ink);
  color: var(--editorial-ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.editorial-site .button-secondary:hover {
  border-color: var(--editorial-blue);
  color: var(--editorial-blue);
  background: var(--editorial-card);
}

body.editorial-site .home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
  padding-top: var(--space-5);
}

body.editorial-site .feature-story {
  position: relative;
  min-height: clamp(480px, 54vw, 680px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--editorial-feature);
  color: #fff;
  isolation: isolate;
}

body.editorial-site .feature-story > a {
  display: block;
  height: 100%;
  min-height: inherit;
}

body.editorial-site .feature-story .media-figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

body.editorial-site .feature-story .media-frame {
  height: 100%;
}

body.editorial-site .feature-story .media-frame::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 20, 15, 0.08) 0%, rgba(17, 20, 15, 0.12) 32%, rgba(17, 20, 15, 0.88) 100%),
    linear-gradient(90deg, rgba(17, 20, 15, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

body.editorial-site .feature-story .media-fallback {
  background: linear-gradient(135deg, #d5d8c7 0%, #88927d 47%, #242b26 100%);
}

body.editorial-site .feature-story .media-overlay {
  position: absolute;
  right: clamp(22px, 3vw, 40px);
  bottom: clamp(28px, 3.5vw, 44px);
  left: clamp(22px, 3vw, 40px);
  z-index: 2;
  display: grid;
  gap: 14px;
  max-width: 42rem;
}

body.editorial-site .feature-story .media-overlay .media-label {
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

body.editorial-site .feature-story .media-overlay strong {
  max-width: 18ch;
  font: 800 clamp(2.15rem, 4.6vw, 4.15rem) / 0.96 var(--editorial-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

body.editorial-site .feature-story .media-figure figcaption {
  position: absolute;
  top: clamp(18px, 2.5vw, 28px);
  right: clamp(22px, 3vw, 40px);
  bottom: auto;
  left: clamp(22px, 3vw, 40px);
  z-index: 3;
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.editorial-site .media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--editorial-media-bg);
}

body.editorial-site .media-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.editorial-site .media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-content: end;
  gap: 7px;
  padding: 22px;
  background: linear-gradient(135deg, #d7ded3, #9cad9c 52%, #37473d);
  color: #fff;
}

body.editorial-site .media-frame.is-missing .media-fallback,
body.editorial-site .media-frame.is-error .media-fallback {
  display: grid;
}

body.editorial-site .media-fallback strong {
  max-width: 82%;
  font: 700 1.2rem / 1.05 var(--editorial-display);
  letter-spacing: -0.035em;
}

body.editorial-site .media-overlay {
  position: absolute;
  inset: auto 22px 22px;
  display: grid;
  gap: 8px;
  color: #fff;
}

body.editorial-site .media-overlay strong {
  font: 700 clamp(1.5rem, 3vw, 2.8rem) / 1 var(--editorial-display);
  letter-spacing: -0.05em;
}

body.editorial-site .media-label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 7px;
  background: var(--editorial-blue);
  color: #fff;
  font: 800 0.72rem / 1 var(--editorial-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.editorial-site .media-figure--cover .media-frame {
  min-height: 410px;
}

body.editorial-site .media-figure figcaption {
  margin-top: 9px;
  color: var(--editorial-muted);
  font-size: 0.74rem;
}

body.editorial-site .media-context {
  color: var(--editorial-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.editorial-site .story-rail {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--editorial-ink);
  padding-left: clamp(18px, 2vw, 28px);
}

body.editorial-site .story-rail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin: 0;
  padding: 0 0 var(--space-3);
  border-bottom: 2px solid var(--editorial-ink);
}

body.editorial-site .story-rail-heading h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

body.editorial-site .story-rail-heading a {
  flex: none;
  color: var(--editorial-blue);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

body.editorial-site .story-card {
  display: grid;
  grid-template-columns: minmax(124px, 0.78fr) 1fr;
  gap: var(--space-3);
  align-items: center;
  flex: 1;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site .story-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.editorial-site .story-card:hover .story-card-title,
body.editorial-site .article-card:hover h3 {
  color: var(--editorial-blue);
}

body.editorial-site .story-card .media-thumb {
  aspect-ratio: 1.2;
  border-radius: 4px;
}

body.editorial-site .story-card-title {
  display: block;
  margin: 8px 0 12px;
  font: 800 clamp(1.2rem, 1.9vw, 1.55rem) / 1.06 var(--editorial-display);
  letter-spacing: -0.04em;
}

body.editorial-site .story-card-meta,
body.editorial-site .article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 11px;
  color: var(--editorial-muted);
  font-size: 0.72rem;
}

body.editorial-site .story-card-meta span,
body.editorial-site .article-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.editorial-site .media-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.15;
  background: #dce2d7;
}

body.editorial-site .media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.editorial-site .media-thumb-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 12px;
  background: linear-gradient(135deg, #d9ded0, #899987 60%, #35433a);
  color: #fff;
  font: 800 0.7rem / 1.2 var(--editorial-body);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.editorial-site .media-thumb.is-missing .media-thumb-fallback,
body.editorial-site .media-thumb.is-error .media-thumb-fallback {
  display: grid;
}

/* Progressive image reveal (used by site.js) */
.js body.editorial-site .image-reveal {
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js body.editorial-site .image-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

body.editorial-site .topic-rail,
body.editorial-site .library-section,
body.editorial-site .about-band,
body.editorial-site .section-block {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding-left: var(--editorial-gutter);
  padding-right: var(--editorial-gutter);
}

/* Full-bleed dark bands keep shell alignment via shell-inline padding */
body.editorial-site .service-strip,
body.editorial-site .contact-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(var(--shell-inline), env(safe-area-inset-left, 0px));
  padding-right: max(var(--shell-inline), env(safe-area-inset-right, 0px));
}

body.editorial-site .topic-rail {
  margin-top: var(--space-section);
  padding-top: var(--space-section-tight);
  padding-bottom: var(--space-section-tight);
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

body.editorial-site .section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

body.editorial-site .section-heading a,
body.editorial-site .inline-cta {
  color: var(--editorial-blue);
  font-weight: 800;
}

body.editorial-site .section-lead {
  max-width: var(--measure-prose);
  margin: calc(var(--space-3) * -1) 0 var(--space-5);
  color: var(--editorial-muted);
}

body.editorial-site .topic-rail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.editorial-site .topic-card {
  min-height: 136px;
  padding: 0 var(--space-4);
  border-left: 1px solid var(--editorial-line);
}

body.editorial-site .topic-card:first-child {
  padding-left: 0;
  border-left: 0;
}

body.editorial-site .topic-index {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--editorial-blue);
  font: 700 1.8rem / 1 var(--editorial-display);
  letter-spacing: -0.04em;
}

body.editorial-site .topic-card h3 {
  margin: 0 0 var(--space-1);
  font-size: 1.05rem;
  letter-spacing: -0.035em;
}

body.editorial-site .topic-card p {
  max-width: 25ch;
  margin: 0;
  color: var(--editorial-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

body.editorial-site .service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-section);
  padding-top: 0;
  padding-bottom: 0;
  background: var(--editorial-line);
}

body.editorial-site .service-strip > div {
  min-height: 148px;
  padding: var(--space-4) var(--space-5);
  background: var(--editorial-dark);
  color: #fff;
}

body.editorial-site .service-strip strong {
  display: block;
  max-width: 26ch;
  margin-top: var(--space-5);
  font: 700 1.15rem / 1.14 var(--editorial-display);
  letter-spacing: -0.035em;
}

body.editorial-site .service-strip .section-label {
  color: var(--editorial-lime);
}

body.editorial-site .section-label,
body.editorial-site .eyebrow,
body.editorial-site .article-kicker {
  color: var(--editorial-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.editorial-site .library-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

body.editorial-site .library-section > .section-heading {
  margin-bottom: var(--space-4);
}

body.editorial-site .article-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

body.editorial-site .article-card {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) 1fr;
  gap: var(--space-3);
  align-items: center;
  min-height: 176px;
  padding: var(--space-2);
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  background: var(--editorial-card);
}

body.editorial-site .article-card .media-thumb {
  height: 152px;
}

body.editorial-site .article-card h3 {
  margin: var(--space-1) 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

body.editorial-site .article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 var(--space-2);
  color: var(--editorial-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.editorial-site .about-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  gap: var(--space-5);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  border-top: 1px solid var(--editorial-line);
}

body.editorial-site .about-person {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

body.editorial-site .author-avatar {
  display: block;
  width: 54px;
  height: 54px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--editorial-dark);
  color: var(--editorial-lime);
  object-fit: cover;
}

body.editorial-site .author-avatar--fallback {
  display: grid;
  place-items: center;
  font: 800 0.8rem / 1 var(--editorial-display);
}

body.editorial-site .about-band h2 {
  max-width: 720px;
  margin: 0 0 var(--space-2);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
}

body.editorial-site .about-band p {
  max-width: var(--measure-prose);
  margin-bottom: 0;
  color: var(--editorial-muted);
}

/* Contact */
body.editorial-site .contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  margin-top: 0;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  background: var(--editorial-dark);
  color: #fff;
}

body.editorial-site .contact-section .section-label {
  color: var(--editorial-lime);
}

body.editorial-site .contact-section h2 {
  max-width: 16ch;
  margin: var(--space-3) 0 var(--space-3);
  font-size: clamp(2.3rem, 4.8vw, 5rem);
}

body.editorial-site .contact-section p {
  max-width: 52ch;
  margin: 0;
  color: var(--editorial-dark-muted);
}

body.editorial-site .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-5);
  color: var(--editorial-lime);
  font-weight: 800;
}

body.editorial-site .contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.editorial-site .lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-content: start;
  max-width: 36rem;
  justify-self: end;
  width: 100%;
}

body.editorial-site .form-field {
  display: grid;
  gap: var(--space-1);
}

body.editorial-site .form-field label,
body.editorial-site .lead-form .checkbox {
  color: var(--editorial-dark-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

body.editorial-site .lead-form input,
body.editorial-site .lead-form textarea {
  width: 100%;
  border: 1px solid var(--editorial-field-line);
  border-radius: 5px;
  background: var(--editorial-field);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
}

body.editorial-site .lead-form textarea {
  min-height: 112px;
  resize: vertical;
}

body.editorial-site .lead-form .form-field:nth-of-type(4),
body.editorial-site .lead-form .form-field:nth-of-type(5),
body.editorial-site .lead-form .checkbox,
body.editorial-site .lead-form button,
body.editorial-site .lead-form .form-status {
  grid-column: 1 / -1;
}

body.editorial-site .lead-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

body.editorial-site .lead-form .checkbox input {
  width: auto;
  min-width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

body.editorial-site .lead-form button {
  justify-self: start;
  background: var(--editorial-lime);
  color: var(--editorial-dark);
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

body.editorial-site .lead-form button:hover {
  background: #fff;
  color: var(--editorial-dark);
}

body.editorial-site .lead-form button:disabled,
body.editorial-site .button-primary:disabled,
body.editorial-site .header-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.editorial-site .lead-form.is-loading {
  opacity: 0.88;
  pointer-events: none;
}

body.editorial-site .lead-form.is-loading button {
  position: relative;
}

body.editorial-site .lead-form.has-error input:not([type="hidden"]):not([type="checkbox"]),
body.editorial-site .lead-form.has-error textarea {
  border-color: #e8a0a0;
}

body.editorial-site .lead-form.has-success input:not([type="hidden"]):not([type="checkbox"]),
body.editorial-site .lead-form.has-success textarea {
  border-color: #7d9a6e;
}

body.editorial-site .form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--editorial-lime);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

body.editorial-site .form-status.is-error {
  color: #ffb4b4;
}

body.editorial-site .form-status.is-success {
  color: var(--editorial-lime);
}

body.editorial-site .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Listing / hub / article */
body.editorial-site .listing-hero {
  width: min(100%, var(--editorial-width));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  margin: 0 auto;
  padding: var(--space-section) var(--editorial-gutter) var(--space-section-tight);
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site .listing-hero h1 {
  margin: var(--space-2) 0 var(--space-3);
}

body.editorial-site .listing-hero > p {
  max-width: var(--measure-prose);
  margin: 0;
  color: var(--editorial-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

body.editorial-site .listing-note {
  padding: var(--space-4);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-card);
}

body.editorial-site .listing-note strong {
  display: block;
  margin: var(--space-2) 0 var(--space-1);
  font: 700 1.8rem / 1 var(--editorial-display);
  letter-spacing: -0.04em;
}

body.editorial-site .listing-note p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 0.8rem;
}

body.editorial-site .listing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  color: var(--editorial-muted);
  font-size: 0.76rem;
}

body.editorial-site .listing-stats strong {
  color: var(--editorial-ink);
  font: 800 1.4rem / 1 var(--editorial-display);
  letter-spacing: -0.04em;
}

body.editorial-site .listing-groups {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding-bottom: var(--space-section);
}

body.editorial-site .cluster-group {
  padding: var(--space-section) var(--editorial-gutter) 0;
}

body.editorial-site .cluster-group + .cluster-group {
  padding-top: var(--space-section);
}

body.editorial-site .cluster-group .section-lead {
  max-width: var(--measure-prose);
  color: var(--editorial-muted);
}

body.editorial-site .hub-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
}

body.editorial-site .hub-hero .hub-hero-media {
  margin: 0;
}

body.editorial-site .hub-hero .hub-hero-media .media-frame {
  min-height: 310px;
}

body.editorial-site .hub-hero .media-overlay strong {
  font-size: clamp(1.8rem, 3vw, 3.3rem);
}

body.editorial-site .hub-content {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding: var(--space-section) var(--editorial-gutter) 0;
}

body.editorial-site .hub-adjacent {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding: var(--space-section) var(--editorial-gutter);
  border-top: 1px solid var(--editorial-line);
}

body.editorial-site .article-shell {
  padding-top: var(--space-4);
}

body.editorial-site .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  color: var(--editorial-muted);
  font-size: 0.75rem;
}

body.editorial-site .breadcrumbs a:hover {
  color: var(--editorial-blue);
}

body.editorial-site .article-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding: var(--space-section-tight) 0 var(--space-section);
}

body.editorial-site .article-hero {
  max-width: 760px;
  padding: 0;
}

body.editorial-site .article-hero h1 {
  margin: var(--space-2) 0 var(--space-4);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

body.editorial-site .article-lead {
  max-width: var(--measure-prose);
  margin: 0;
  color: var(--editorial-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

body.editorial-site .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
  color: var(--editorial-muted);
  font-size: 0.75rem;
}

body.editorial-site .article-author {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

body.editorial-site .article-author .author-avatar {
  width: 34px;
  height: 34px;
}

body.editorial-site .article-author-copy {
  display: grid;
  line-height: 1.2;
}

body.editorial-site .article-author-copy strong {
  color: var(--editorial-ink);
  font-size: 0.76rem;
}

body.editorial-site .article-author-copy span {
  font-size: 0.72rem;
}

body.editorial-site .article-top .media-figure {
  margin: 0;
}

body.editorial-site .article-top .media-figure .media-frame {
  min-height: 430px;
}

body.editorial-site .article-layout {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 720px);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  justify-content: center;
  padding-bottom: var(--space-5);
}

body.editorial-site .article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: var(--space-1);
  color: var(--editorial-muted);
  font-size: 0.76rem;
}

body.editorial-site .article-toc span {
  margin-bottom: var(--space-1);
  color: var(--editorial-ink);
  font-weight: 800;
}

body.editorial-site .article-toc a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

body.editorial-site .article-toc a:hover,
body.editorial-site .article-toc a.is-active {
  color: var(--editorial-blue);
}

body.editorial-site .article-content {
  min-width: 0;
  max-width: 72ch;
}

body.editorial-site .article-content section {
  margin-bottom: var(--space-section);
}

body.editorial-site .article-content section:last-child {
  margin-bottom: var(--space-5);
}

body.editorial-site .article-content h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.9rem, 3.4vw, 3.3rem);
}

body.editorial-site .article-content p,
body.editorial-site .article-content li {
  max-width: var(--measure-prose);
  font-size: 1.03rem;
}

body.editorial-site .article-content a {
  color: var(--editorial-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.editorial-site .article-content a:hover {
  text-decoration-thickness: 2px;
}

body.editorial-site .answer-card {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--editorial-line);
  border-radius: var(--radius-md);
  background: var(--editorial-card);
}

body.editorial-site .answer-card h2 {
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
}

body.editorial-site .answer-card p {
  margin-bottom: 0;
}

body.editorial-site .article-stat-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 var(--space-section);
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site .article-stat {
  padding: var(--space-4) var(--space-3);
  border-left: 1px solid var(--editorial-line);
}

body.editorial-site .article-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

body.editorial-site .article-stat strong {
  display: block;
  font: 700 2rem / 1 var(--editorial-display);
  letter-spacing: -0.04em;
}

body.editorial-site .article-stat span {
  display: block;
  margin-top: var(--space-1);
  color: var(--editorial-muted);
  font-size: 0.72rem;
}

body.editorial-site .check-list {
  padding-left: var(--space-4);
}

body.editorial-site .check-list li {
  margin-bottom: var(--space-2);
  padding-left: var(--space-1);
}

body.editorial-site .step-list {
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

body.editorial-site .step-list li {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) 56px;
  border-top: 1px solid var(--editorial-line);
  counter-increment: steps;
}

body.editorial-site .step-list li::before {
  position: absolute;
  top: var(--space-4);
  left: 0;
  content: counter(steps, decimal-leading-zero);
  color: var(--editorial-blue);
  font: 800 1.2rem / 1 var(--editorial-display);
}

body.editorial-site .step-list p {
  margin: var(--space-1) 0 0;
  color: var(--editorial-muted);
}

body.editorial-site .article-visual {
  margin: 0 0 var(--space-section);
}

body.editorial-site .article-visual .media-frame {
  min-height: 270px;
}

body.editorial-site .article-visual .media-fallback strong {
  font-size: 1.4rem;
}

body.editorial-site .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-3) 0;
  border: 1px solid var(--editorial-line);
  border-radius: var(--radius-sm);
}

body.editorial-site .table-wrap table {
  margin: 0;
}

body.editorial-site table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

body.editorial-site th,
body.editorial-site td {
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--editorial-line);
  text-align: left;
  vertical-align: top;
}

body.editorial-site th {
  color: var(--editorial-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.editorial-site .warning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--editorial-line);
}

body.editorial-site .warning-grid > div {
  padding: var(--space-4);
  background: var(--editorial-surface-soft);
}

body.editorial-site .warning-grid p {
  margin: var(--space-1) 0 0;
  color: var(--editorial-muted);
  font-size: 0.92rem;
}

body.editorial-site .decision {
  padding: var(--space-5);
  background: var(--editorial-dark);
  color: #fff;
}

body.editorial-site .decision .section-label {
  color: var(--editorial-lime);
}

body.editorial-site .decision p {
  color: var(--editorial-dark-muted);
}

body.editorial-site .faq-list {
  border-top: 1px solid var(--editorial-line);
}

body.editorial-site details {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site summary {
  cursor: pointer;
  font-weight: 800;
}

body.editorial-site details p {
  margin: var(--space-2) 0 0;
  color: var(--editorial-muted);
}

body.editorial-site .sources {
  padding-top: var(--space-4);
  border-top: 1px solid var(--editorial-line);
  color: var(--editorial-muted);
  font-size: 0.86rem;
}

body.editorial-site .source-list {
  padding-left: var(--space-4);
  overflow-wrap: anywhere;
}

body.editorial-site .source-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.editorial-site .cluster-section,
body.editorial-site .related-section {
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
  padding: var(--space-section) var(--editorial-gutter);
  border-top: 1px solid var(--editorial-line);
}

body.editorial-site .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

body.editorial-site .related-card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-card);
}

body.editorial-site .related-card:hover {
  border-color: var(--editorial-blue);
}

body.editorial-site .related-card span,
body.editorial-site .related-card small {
  color: var(--editorial-muted);
  font-size: 0.72rem;
}

body.editorial-site .related-card strong {
  font: 700 1.15rem / 1.1 var(--editorial-display);
  letter-spacing: -0.035em;
}

body.editorial-site .privacy-page {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

body.editorial-site .privacy-note {
  padding: var(--space-4);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-card);
}

body.editorial-site .privacy-note p {
  margin: var(--space-2) 0 0;
  color: var(--editorial-muted);
  font-size: 0.82rem;
}

body.editorial-site .privacy-content {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: var(--space-section) var(--editorial-gutter) var(--space-8);
}

body.editorial-site .privacy-content section {
  padding: 0 0 var(--space-5);
  border-bottom: 1px solid var(--editorial-line);
}

body.editorial-site .privacy-content h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

/* Footer continues the contact dark band without a second “card” */
body.editorial-site .site-footer {
  display: block;
  padding: var(--space-5) max(var(--shell-inline), env(safe-area-inset-right, 0px)) max(var(--space-6), env(safe-area-inset-bottom, 0px)) max(var(--shell-inline), env(safe-area-inset-left, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--editorial-dark);
  color: #fff;
}

body.editorial-site .site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  width: min(100%, var(--editorial-width));
  margin: 0 auto;
}

body.editorial-site .brand--footer {
  color: #fff;
}

body.editorial-site .site-footer p {
  max-width: 44ch;
  margin: var(--space-2) 0 0;
  color: var(--editorial-dark-soft);
  font-size: 0.76rem;
}

body.editorial-site .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: var(--space-2) var(--space-4);
  color: var(--editorial-lime);
  font-size: 0.78rem;
  font-weight: 800;
}

body.editorial-site .footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.editorial-site .footer-site-link {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.76rem;
}

/* —— Input method (not just viewport) —— */
@media (pointer: coarse) {
  body.editorial-site .masthead-nav a,
  body.editorial-site .language-link,
  body.editorial-site .story-rail-heading a,
  body.editorial-site .section-heading a,
  body.editorial-site .inline-cta,
  body.editorial-site .footer-links a,
  body.editorial-site .contact-links a {
    min-height: 44px;
  }

  body.editorial-site .story-card,
  body.editorial-site .article-card,
  body.editorial-site .related-card,
  body.editorial-site .topic-card {
    min-height: 44px;
  }

  body.editorial-site .lead-form input,
  body.editorial-site .lead-form textarea {
    min-height: 48px;
    padding: 14px 14px;
    font-size: 16px; /* avoid iOS zoom on focus */
  }

  body.editorial-site .lead-form textarea {
    min-height: 120px;
  }
}

@media (hover: none) {
  body.editorial-site .story-card:active .story-card-title,
  body.editorial-site .article-card:active h3,
  body.editorial-site .related-card:active {
    color: var(--editorial-blue);
  }

  body.editorial-site .related-card:active {
    border-color: var(--editorial-blue);
  }

  body.editorial-site .article-content a:active,
  body.editorial-site .source-list a:active {
    color: var(--editorial-blue);
  }
}

/* —— Tablet landscape / compact desktop —— */
@media (max-width: 1080px) {
  body.editorial-site .masthead-inner {
    flex-wrap: wrap;
    padding: var(--space-2) 0;
  }

  body.editorial-site .masthead-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.editorial-site .masthead-nav::-webkit-scrollbar {
    display: none;
  }

  body.editorial-site .home-split,
  body.editorial-site .article-top {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
    gap: var(--space-4);
  }

  body.editorial-site .topic-rail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.editorial-site .topic-card:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  body.editorial-site .article-library-grid,
  body.editorial-site .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.editorial-site .article-layout {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: var(--space-5);
  }
}

/* —— Phone + small tablet (shared with site.js min-width: 761px) —— */
@media (max-width: 760px) {
  body.editorial-site .site-header {
    backdrop-filter: none;
    background: rgba(247, 247, 243, 0.98);
  }

  body.editorial-site .masthead-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: var(--space-1) var(--space-2);
    align-items: center;
    padding: var(--space-2) 0;
  }

  body.editorial-site .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  body.editorial-site .brand-wordmark {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.editorial-site .masthead-tools {
    grid-column: 2 / 4;
    grid-row: 1;
    margin-left: 0;
    justify-self: end;
    gap: var(--space-1);
  }

  body.editorial-site .mobile-nav-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
  }

  body.editorial-site .personal-site-link {
    display: none;
  }

  body.editorial-site .masthead-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: var(--space-2);
    border-top: 1px solid var(--editorial-line);
    overflow: visible;
  }

  body.editorial-site .masthead-nav.is-open {
    display: flex;
  }

  body.editorial-site .masthead-nav a {
    min-height: 48px;
    padding: var(--space-3) var(--space-1);
    border-bottom: 1px solid var(--editorial-line);
  }

  body.editorial-site .masthead-nav-contact {
    display: none;
  }

  body.editorial-site .header-cta {
    display: none;
    max-width: none;
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  body.editorial-site .locale-control summary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.editorial-site .locale-control summary::after {
    display: none;
  }

  body.editorial-site .locale-control summary .icon {
    width: 18px;
    height: 18px;
  }

  body.editorial-site .language-menu {
    right: 0;
    left: auto;
    min-width: min(200px, calc(100vw - 2 * var(--editorial-gutter)));
    max-height: min(70vh, 360px);
    overflow-y: auto;
  }

  body.editorial-site .home-intro,
  body.editorial-site .home-split,
  body.editorial-site .listing-hero,
  body.editorial-site .article-top,
  body.editorial-site .contact-section,
  body.editorial-site .about-band,
  body.editorial-site .privacy-page {
    grid-template-columns: 1fr;
  }

  body.editorial-site .home-stage {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  body.editorial-site .home-intro {
    gap: var(--space-4);
    padding-bottom: var(--space-5);
  }

  body.editorial-site .home-intro h1 {
    max-width: none;
  }

  body.editorial-site .home-intro-lead {
    max-width: none;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--editorial-ink);
    padding-top: var(--space-3);
  }

  body.editorial-site .home-intro-lead .home-lead,
  body.editorial-site .home-intro-lead > p {
    overflow-wrap: anywhere;
  }

  body.editorial-site .home-split {
    padding-top: var(--space-4);
    gap: var(--space-4);
  }

  body.editorial-site .story-rail {
    border-top: 1px solid var(--editorial-ink);
    border-left: 0;
    padding: var(--space-3) 0 0;
    padding-left: 0;
  }

  body.editorial-site .story-card {
    grid-template-columns: 96px 1fr;
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }

  body.editorial-site .feature-story {
    min-height: min(72vw, 480px);
    border-radius: var(--radius-md);
  }

  body.editorial-site .feature-story .media-overlay {
    right: var(--space-4);
    bottom: var(--space-4);
    left: var(--space-4);
  }

  body.editorial-site .feature-story .media-overlay strong {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.6rem);
  }

  body.editorial-site .feature-story .media-figure figcaption {
    right: var(--space-4);
    left: var(--space-4);
  }

  body.editorial-site .topic-rail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  body.editorial-site .topic-card,
  body.editorial-site .topic-card:nth-child(odd),
  body.editorial-site .topic-card:nth-child(even),
  body.editorial-site .topic-card:nth-child(3n + 1) {
    min-height: 0;
    padding: var(--space-3) var(--space-3) var(--space-3) 0;
    border-left: 0;
    border-top: 1px solid var(--editorial-line);
  }

  body.editorial-site .topic-card:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0;
  }

  body.editorial-site .topic-card:nth-child(even) {
    padding-right: 0;
    padding-left: var(--space-3);
    border-left: 1px solid var(--editorial-line);
  }

  body.editorial-site .service-strip {
    grid-template-columns: 1fr;
  }

  body.editorial-site .service-strip > div {
    min-height: 0;
    padding: var(--space-4);
  }

  body.editorial-site .service-strip strong {
    margin-top: var(--space-3);
  }

  body.editorial-site .article-library-grid,
  body.editorial-site .related-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  body.editorial-site .article-card {
    grid-template-columns: 104px 1fr;
    min-height: 0;
    gap: var(--space-3);
  }

  body.editorial-site .article-card .media-thumb {
    height: 112px;
  }

  body.editorial-site .article-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  body.editorial-site .article-top {
    padding-top: var(--space-4);
    padding-bottom: var(--space-5);
    gap: var(--space-4);
  }

  body.editorial-site .article-top .media-figure .media-frame,
  body.editorial-site .media-figure--cover .media-frame {
    min-height: min(56vw, 320px);
  }

  body.editorial-site .article-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1);
    margin: 0 calc(var(--editorial-gutter) * -0.15);
    padding: 0 var(--space-1) var(--space-2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.editorial-site .article-toc a {
    flex: none;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--editorial-line);
    border-radius: 4px;
    white-space: nowrap;
  }

  body.editorial-site .article-toc span {
    width: 100%;
    margin-bottom: 0;
  }

  body.editorial-site .article-stat-rail {
    grid-template-columns: 1fr;
  }

  body.editorial-site .article-stat,
  body.editorial-site .article-stat:first-child {
    padding: var(--space-3) 0;
    border-left: 0;
    border-top: 1px solid var(--editorial-line);
  }

  body.editorial-site .article-stat:first-child {
    border-top: 0;
  }

  body.editorial-site .warning-grid {
    grid-template-columns: 1fr;
  }

  body.editorial-site .table-wrap {
    margin-inline: calc(var(--editorial-gutter) * -0.25);
    padding-inline: calc(var(--editorial-gutter) * 0.25);
  }

  body.editorial-site .table-wrap::after {
    content: "";
    display: block;
    height: 1px;
  }

  body.editorial-site .lead-form {
    justify-self: stretch;
    max-width: none;
    grid-template-columns: 1fr;
  }

  body.editorial-site .lead-form .form-field:nth-of-type(4),
  body.editorial-site .lead-form .form-field:nth-of-type(5),
  body.editorial-site .lead-form .checkbox,
  body.editorial-site .lead-form button,
  body.editorial-site .lead-form .form-status {
    grid-column: auto;
  }

  body.editorial-site .contact-section {
    gap: var(--space-5);
  }

  body.editorial-site .about-band {
    gap: var(--space-4);
  }

  body.editorial-site .site-footer-inner {
    flex-direction: column;
  }

  body.editorial-site .footer-links {
    justify-content: flex-start;
  }

  body.editorial-site .section-heading {
    flex-wrap: wrap;
    align-items: start;
    gap: var(--space-2);
  }
}

/* —— Narrow phones —— */
@media (max-width: 560px) {
  body.editorial-site .brand-wordmark {
    font-size: 0.95rem;
  }

  body.editorial-site .header-cta .icon {
    display: none;
  }

  body.editorial-site .header-cta {
    padding: 10px 10px;
    font-size: 0.75rem;
  }

  body.editorial-site .topic-rail-grid {
    grid-template-columns: 1fr;
  }

  body.editorial-site .topic-card,
  body.editorial-site .topic-card:nth-child(odd),
  body.editorial-site .topic-card:nth-child(even),
  body.editorial-site .topic-card:nth-child(-n + 2) {
    padding: var(--space-3) 0;
    border-left: 0;
    border-top: 1px solid var(--editorial-line);
  }

  body.editorial-site .topic-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  body.editorial-site .story-card {
    grid-template-columns: 1fr;
  }

  body.editorial-site .story-card .media-thumb {
    aspect-ratio: 16 / 9;
    max-height: 160px;
  }

  body.editorial-site .article-card {
    grid-template-columns: 1fr;
  }

  body.editorial-site .article-card .media-thumb {
    height: 160px;
    aspect-ratio: 16 / 9;
  }

  body.editorial-site .feature-story {
    min-height: min(88vw, 420px);
  }

  body.editorial-site .home-stage .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.editorial-site .home-stage .hero-actions .button-primary,
  body.editorial-site .home-stage .hero-actions .button-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* —— Landscape phones: keep reading height, shrink hero spectacle —— */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 480px) {
  body.editorial-site .feature-story {
    min-height: 240px;
  }

  body.editorial-site .feature-story .media-overlay strong {
    font-size: clamp(1.35rem, 4.5vw, 2rem);
  }

  body.editorial-site .home-intro h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  body.editorial-site .article-top .media-figure .media-frame,
  body.editorial-site .media-figure--cover .media-frame {
    min-height: 200px;
  }

  body.editorial-site .site-header {
    position: sticky;
  }
}

/* —— Very small width (320–360) —— */
@media (max-width: 360px) {
  body.editorial-site {
    font-size: 16px;
  }

  body.editorial-site .brand-wordmark {
    max-width: 5.5rem;
  }

  body.editorial-site .header-cta {
    padding: 10px 8px;
    font-size: 0.72rem;
  }
}

/* Reduced motion — keep state changes, drop decorative motion only */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.editorial-site .skip-link,
  body.editorial-site .header-cta,
  body.editorial-site .button-primary,
  body.editorial-site .button-secondary,
  body.editorial-site .lead-form button {
    transition: none;
  }

  .js body.editorial-site .image-reveal,
  .js body.editorial-site .image-reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Prefer less data on slow connections: skip reveal motion overhead */
@media (prefers-reduced-data: reduce) {
  .js body.editorial-site .image-reveal,
  .js body.editorial-site .image-reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.editorial-site .site-header {
    backdrop-filter: none;
  }
}

/* Selection */
body.editorial-site ::selection {
  background: var(--editorial-blue);
  color: #fff;
}

/* Print — reading artifact, not marketing chrome */
@media print {
  body.editorial-site {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.45;
  }

  body.editorial-site .site-header,
  body.editorial-site .skip-link,
  body.editorial-site .mobile-nav-toggle,
  body.editorial-site .masthead-tools,
  body.editorial-site .hero-actions,
  body.editorial-site .lead-form,
  body.editorial-site .contact-section,
  body.editorial-site .service-strip,
  body.editorial-site .site-footer,
  body.editorial-site .article-toc,
  body.editorial-site .home-stage .story-rail,
  body.editorial-site .inline-cta {
    display: none !important;
  }

  body.editorial-site .page-main,
  body.editorial-site .article-shell,
  body.editorial-site .article-layout,
  body.editorial-site .article-content {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  body.editorial-site a {
    color: #000;
    text-decoration: underline;
  }

  body.editorial-site .article-content a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }

  body.editorial-site .media-frame,
  body.editorial-site .feature-story {
    break-inside: avoid;
  }
}

/* 12-column editorial grid — shared alignment layer */
body.editorial-site {
  --editorial-grid-gap: clamp(12px, 1.55vw, 24px);
  --editorial-grid: repeat(12, minmax(0, 1fr));
}

@media (min-width: 761px) {
  body.editorial-site .masthead-inner,
  body.editorial-site .home-intro,
  body.editorial-site .home-split,
  body.editorial-site .listing-hero,
  body.editorial-site .about-band,
  body.editorial-site .contact-section,
  body.editorial-site .article-top,
  body.editorial-site .article-layout,
  body.editorial-site .site-footer-inner {
    display: grid;
    grid-template-columns: var(--editorial-grid);
    column-gap: var(--editorial-grid-gap);
  }

  body.editorial-site .masthead-inner {
    align-items: center;
  }

  body.editorial-site .masthead-inner > .brand {
    grid-column: 1 / span 3;
  }

  body.editorial-site .masthead-nav {
    grid-column: 4 / span 6;
    justify-content: center;
  }

  body.editorial-site .masthead-tools {
    grid-column: 10 / -1;
  }

  body.editorial-site .home-intro-title,
  body.editorial-site .home-split > .feature-story,
  body.editorial-site .listing-hero > :first-child,
  body.editorial-site .about-band > :last-child,
  body.editorial-site .contact-section > :first-child,
  body.editorial-site .article-hero {
    grid-column: 1 / span 7;
  }

  body.editorial-site .home-intro-lead,
  body.editorial-site .home-split > .story-rail,
  body.editorial-site .listing-hero > aside,
  body.editorial-site .about-band > :first-child,
  body.editorial-site .contact-section > .lead-form {
    grid-column: 8 / -1;
  }

  body.editorial-site .topic-rail-grid,
  body.editorial-site .article-library-grid,
  body.editorial-site .related-grid,
  body.editorial-site .service-strip {
    grid-template-columns: var(--editorial-grid);
    column-gap: var(--editorial-grid-gap);
  }

  body.editorial-site .topic-card {
    grid-column: span 2;
    padding-right: var(--space-3);
    padding-left: var(--space-3);
  }

  body.editorial-site .topic-card:first-child {
    padding-left: 0;
  }

  body.editorial-site .article-card,
  body.editorial-site .related-card {
    grid-column: span 4;
  }

  body.editorial-site .service-strip > div {
    grid-column: span 4;
  }

  body.editorial-site .article-top {
    align-items: start;
    row-gap: var(--space-5);
  }

  body.editorial-site .article-top .article-cover-figure {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  body.editorial-site .article-top .article-hero {
    grid-column: 1 / span 7;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  body.editorial-site .article-top .article-author,
  body.editorial-site .article-top .article-author-card {
    grid-column: 8 / -1;
    grid-row: 2;
    align-self: end;
  }

  body.editorial-site .article-layout {
    align-items: start;
  }

  body.editorial-site .article-toc {
    grid-column: 1 / span 2;
  }

  body.editorial-site .article-content {
    grid-column: 3 / span 8;
    max-width: none;
  }

  body.editorial-site .site-footer-inner > :first-child {
    grid-column: 1 / span 6;
  }

  body.editorial-site .site-footer-inner > .footer-links {
    grid-column: 8 / -1;
  }
}

/* Covers are editorial images, not square thumbnails. */
body.editorial-site .article-cover-figure .media-frame,
body.editorial-site .media-figure--cover .media-frame,
body.editorial-site .hub-hero-cover .media-frame {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

body.editorial-site .article-cover-figure .media-frame > img,
body.editorial-site .media-figure--cover .media-frame > img,
body.editorial-site .hub-hero-cover .media-frame > img {
  object-fit: cover;
}

body.editorial-site .article-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  text-wrap: balance;
}

body.editorial-site .article-author-card,
body.editorial-site .article-author-caption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--editorial-muted);
  font-size: 0.8rem;
}

body.editorial-site .article-author-card .author-avatar,
body.editorial-site .article-author-caption .author-avatar {
  width: 48px;
  height: 48px;
}

/* Captions below editorial images are intentionally suppressed. Alt text remains. */
body.editorial-site .media-figure > figcaption {
  display: none;
}

body.editorial-site .mobile-menu-cta,
body.editorial-site .mobile-nav-contacts {
  display: none;
}

body.editorial-site .masthead-nav a.mobile-menu-cta {
  display: none;
}

body.editorial-site .locale-control-icon {
  padding: 3px;
  border-radius: 50%;
  background: var(--editorial-ink);
}

body.editorial-site.mobile-menu-open,
html.mobile-menu-open {
  overflow: hidden;
}

/* Make the contact decision visibly stronger and align it to the same grid. */
body.editorial-site .contact-section h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.6vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

body.editorial-site .contact-section .lead-form {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  border-top: 2px solid var(--editorial-lime);
}

body.editorial-site .footer-identity {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

body.editorial-site .footer-identity > .author-avatar {
  width: 64px;
  height: 64px;
  border: 2px solid var(--editorial-lime);
}

/* Full-screen mobile navigation: CTA → site sections → contacts. */
@media (max-width: 760px) {
  body.editorial-site .site-header:has(.masthead-nav.is-open) {
    z-index: 60;
  }

  body.editorial-site .masthead-nav.is-open {
    position: fixed;
    z-index: 55;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 92px) var(--editorial-gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
    overflow-y: auto;
    background: var(--editorial-paper);
  }

  body.editorial-site .masthead-nav.is-open::before {
    content: none;
    display: none;
  }

  body.editorial-site .masthead-nav.is-open a.mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: 0 0 var(--space-5);
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--editorial-ink);
    color: #fff;
    font-weight: 800;
  }

  body.editorial-site .masthead-nav.is-open .mobile-nav-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 2px solid var(--editorial-ink);
    color: var(--editorial-blue);
    font-size: 1rem;
    font-weight: 800;
  }

  body.editorial-site .masthead-nav.is-open .mobile-nav-contacts a {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    font-size: 1rem;
  }

  body.editorial-site .masthead-nav.is-open a {
    min-height: 58px;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--editorial-line);
    font-size: 1.2rem;
  }

  body.editorial-site .masthead-nav.is-open a.masthead-nav-contact {
    display: none;
  }

  body.editorial-site .masthead-nav.is-open .masthead-nav-contact {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 2px solid var(--editorial-ink);
    border-bottom: 0;
  }

  body.editorial-site .mobile-nav-toggle {
    position: relative;
    z-index: 70;
  }

  body.editorial-site .masthead-tools {
    position: relative;
    z-index: 70;
  }

  body.editorial-site .article-cover-figure .media-frame,
  body.editorial-site .media-figure--cover .media-frame,
  body.editorial-site .hub-hero-cover .media-frame {
    aspect-ratio: 16 / 9;
  }

  body.editorial-site .article-hero h1 {
    max-width: none;
    font-size: clamp(2.3rem, 9vw, 3.7rem);
  }

  body.editorial-site .contact-section h2 {
    max-width: none;
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }
}
