/* shared.css - HUMMBL Design System v3
   Production governance brand: dark, technical, evidence-forward.
   Included by all pages. Page-specific styles stay inline.
   To add a new page: <link rel="stylesheet" href="shared.css"> */

:root {
  /* Backgrounds — canonical dark (brand-tokens.css) */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-elevated: #1a1a24;

  /* Text — canonical dark (brand-tokens.css) */
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;

  /* Accents — canonical Verderer system (PALETTE.md) */
  --accent-green: #1b7a3d;
  --accent-green-hover: #166432;
  --accent-warm: #b45309;
  --accent-success: #15803d;
  --accent-danger: #dc2626;

  /* Borders — canonical dark (krineia brand.css dark overrides) */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-prominent: rgba(52, 194, 106, 0.3);

  /* Typography — canonical 3-font system (typography.md) */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --font-serif: "Crimson Pro", Georgia, "Times New Roman", serif;

  color-scheme: dark;
}

/* ── Dark Theme compatibility ── */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-elevated: #1a1a24;

  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;

  --accent-green: #1b7a3d;
  --accent-green-hover: #166432;
  --accent-warm: #b45309;
  --accent-success: #15803d;
  --accent-danger: #dc2626;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-prominent: rgba(52, 194, 106, 0.3);

  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.5), #0a0a0f 44rem), #0a0a0f;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(27, 122, 61, 0.08) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 122, 61, 0.055) 0 1px, transparent 1px),
    radial-gradient(
      circle at 78% 12%,
      rgba(27, 122, 61, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 34%),
    repeating-linear-gradient(
      transparent,
      transparent 0 4px,
      rgba(255, 255, 255, 0.015) 4px 5px
    );
  background-size:
    44px 44px,
    44px 44px,
    auto,
    auto,
    auto;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* ── Skip Link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent-green);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ── Visually hidden but available to screen readers ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Container (canonical page wrapper) ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ── Hero (marketing section pattern) ── */
.hero {
  padding: 64px 0 32px;
}

.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(27, 122, 61, 0.11);
  padding: 4px 10px;
  border: 1px solid rgba(27, 122, 61, 0.22);
  border-radius: 0;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 900px;
}

.hero h1 .accent {
  color: var(--accent-green);
}

.hero .lede {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.btn-primary {
  background: var(--accent-green);
  color: #0a0a0f;
}

.btn-primary:hover {
  background: var(--accent-green-hover);
  text-decoration: none;
  color: #0a0a0f;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-prominent);
  text-decoration: none;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Card (reusable surface pattern) ── */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 20px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 20px;
}

.stat-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

/* ── Header ── */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.logo-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-green);
  color: #0a0a0f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-links {
  display: flex;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.header-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.header-links a:hover {
  color: var(--accent-green);
}

/* ── Hamburger Menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 13px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent-green);
}

.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}

/* ── Mobile / Tablet Responsive ── */
@media (max-width: 1100px) {
  .hamburger {
    display: flex;
  }

  .header-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 18px;
    z-index: 1000;
  }

  .header-links.open {
    display: flex;
  }
}

/* ── Breadcrumb navigation ── */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--accent-green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Sitewide dark migration compatibility ──
   Older pages still define page-local cards, headings, tables, and panels.
   These overrides keep those components visually aligned with the homepage
   while the remaining pages move toward shared templates. */
.page-hero h1,
.section-title,
.tier-price-amount,
.pricing-price,
.offer-price,
.metric-value,
.stat-value,
.card-title,
.post-title,
.case-title {
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
}

.page-hero,
.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-subtitle,
.section-subtitle,
.lede,
.tier-summary,
.pricing-description,
.pathway-copy,
.case-summary,
.post-excerpt {
  color: var(--text-secondary) !important;
}

.section-label,
.pathway-label,
.eyebrow,
.metric-label,
.stat-label {
  color: var(--accent-green) !important;
  font-family: var(--font-mono) !important;
}

.card,
.tier-card,
.pricing-card,
.pathway-card,
.offer-card,
.case-card,
.post-card,
.audit-card,
.primitive-card,
.solution-card,
.readiness-card,
.evidence-card,
.control-card,
.report-card,
.surface-card,
.timeline-item,
.status-card,
.faq-item,
.step-card {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    ),
    rgba(17, 17, 24, 0.84) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.card:hover,
.tier-card:hover,
.pricing-card:hover,
.pathway-card:hover,
.offer-card:hover,
.case-card:hover,
.post-card:hover,
.audit-card:hover,
.primitive-card:hover,
.solution-card:hover,
.readiness-card:hover,
.evidence-card:hover,
.control-card:hover,
.report-card:hover,
.surface-card:hover {
  border-color: var(--border-prominent) !important;
}

.featured,
.pricing-card.featured,
.tier-card.featured {
  border-color: var(--border-prominent) !important;
  box-shadow: 0 0 44px rgba(27, 122, 61, 0.08) !important;
}

table,
.table-wrap,
.terminal,
.code-block,
.example-block,
pre {
  background: rgba(10, 10, 15, 0.82) !important;
  border-color: var(--border-subtle) !important;
  border-radius: 4px !important;
}

th,
td,
li,
.feature-row,
.timeline-item,
.status-row {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

input,
textarea,
select {
  background: var(--bg-elevated) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-subtle) !important;
}

/* ── Sitewide frontier-lab migration layer ──
   This block intentionally uses !important because many legacy pages still
   carry inline page-local CSS after shared.css. Keep it scoped to visual
   system primitives so page-specific layouts can continue to work. */
.container {
  max-width: 1440px !important;
  padding-right: 48px !important;
  padding-left: 48px !important;
}

header {
  min-height: 78px !important;
  margin-bottom: 0 !important;
  padding: 22px 0 !important;
  border-bottom: 0 !important;
  gap: 18px 28px !important;
}

.logo-text {
  font-family: var(--font-mono) !important;
  font-size: 15px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.logo-badge {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  border: 1px solid rgba(27, 122, 61, 0.42) !important;
  border-radius: 0 !important;
  background: rgba(27, 122, 61, 0.08) !important;
  color: var(--accent-green) !important;
}

.header-links,
.header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-left: auto !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.header-links a,
.header-nav a {
  color: var(--text-tertiary) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.header-links a:hover,
.header-nav a:hover {
  color: var(--accent-green) !important;
}

.hero,
.page-hero,
.article-hero,
main:not(.landing) > h1:first-child {
  text-align: left !important;
}

.hero,
.page-hero,
.article-hero {
  margin-bottom: 56px !important;
  padding: 76px 0 58px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.hero h1,
.page-hero h1,
.article-hero h1,
main:not(.landing) > h1:first-child {
  max-width: 1080px !important;
  margin-bottom: 28px !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(48px, 7.2vw, 104px) !important;
  font-weight: 700 !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  overflow-wrap: break-word !important;
  text-wrap: balance !important;
}

.hero p,
.hero .lede,
.page-hero p,
.page-hero-subtitle,
.article-hero p,
.article-hero .lede,
main:not(.landing) > h1:first-child + p {
  max-width: 800px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  color: var(--text-secondary) !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.5 !important;
}

.eyebrow,
.badge,
.section-label,
.pathway-label,
.metric-label,
.stat-label,
.card-kicker,
.report-kicker,
.surface-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(27, 122, 61, 0.24) !important;
  border-radius: 0 !important;
  background: rgba(27, 122, 61, 0.08) !important;
  color: var(--accent-green) !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.section-title,
main:not(.landing) h2 {
  font-family: var(--font-sans) !important;
  font-size: clamp(30px, 3.2vw, 54px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.section-subtitle,
main:not(.landing) h2 + p {
  max-width: 780px !important;
  color: var(--text-secondary) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.card,
.stat-card,
.tier-card,
.pricing-card,
.pathway-card,
.offer-card,
.case-card,
.post-card,
.audit-card,
.primitive-card,
.solution-card,
.readiness-card,
.evidence-card,
.control-card,
.report-card,
.surface-card,
.timeline-item,
.status-card,
.faq-item,
.step-card,
.feature-card,
.value-card,
.panel,
.callout {
  border-radius: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.018)
    ),
    rgba(10, 10, 15, 0.74) !important;
  box-shadow: none !important;
}

.card h2,
.card h3,
.stat-card h3,
.tier-card h3,
.pricing-card h3,
.pathway-card h3,
.offer-card h3,
.case-card h3,
.post-card h3,
.audit-card h3,
.primitive-card h3,
.solution-card h3,
.readiness-card h3,
.evidence-card h3,
.control-card h3,
.report-card h3,
.surface-card h3,
.feature-card h3,
.value-card h3,
.panel h3,
.callout h3 {
  letter-spacing: 0 !important;
}

.btn,
.cta-btn,
.button,
.primary-cta,
.secondary-cta,
.subscribe-form button,
.assessment-form button,
form input[type="submit"] {
  min-height: 44px !important;
  border-radius: 0 !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.btn-primary,
.primary-cta,
.cta-btn.primary,
form input[type="submit"] {
  background: var(--accent-green) !important;
  color: #0a0a0f !important;
}

.btn-secondary,
.secondary-cta,
.cta-btn.secondary {
  border-color: var(--border-subtle) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-primary) !important;
}

footer {
  margin-top: 88px !important;
  padding: 44px 0 56px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  text-align: left !important;
}

.footer-nav {
  justify-content: flex-start !important;
  gap: 18px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

@media (max-width: 1100px) {
  .header-links,
  .header-nav {
    display: none !important;
  }

  .header-links.open,
  .header-nav.open {
    display: flex !important;
    gap: 30px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .hero,
  .page-hero,
  .article-hero {
    margin-bottom: 40px !important;
    padding: 56px 0 42px !important;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1,
  main:not(.landing) > h1:first-child {
    font-size: clamp(38px, 10.5vw, 56px) !important;
    line-height: 0.98 !important;
  }

  .hero p,
  .hero .hero-sub,
  .page-hero p,
  .article-hero p,
  .urgency,
  .callout,
  .panel {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .hero p,
  .hero .hero-sub,
  .page-hero p,
  .article-hero p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .urgency-text,
  .callout p,
  .panel p {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .pills,
  .chip-row,
  .badge-row,
  .meta-row,
  .cta-row {
    justify-content: flex-start !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .pill,
  .chip,
  .badge {
    max-width: 100% !important;
    white-space: normal !important;
  }
}

/* Keep the homepage as the design reference while legacy pages migrate. */
body.home-page .container {
  max-width: 1440px !important;
  padding-right: 48px !important;
  padding-left: 48px !important;
}

body.home-page header {
  display: block !important;
  min-height: 92vh !important;
  margin-bottom: 0 !important;
  padding: 24px 0 84px !important;
  border-bottom: none !important;
}

body.home-page .header-nav {
  display: flex !important;
  gap: 4px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
}

body.home-page .header-nav a {
  padding: 8px 10px !important;
  color: var(--text-secondary) !important;
}

body.home-page .header-nav a:hover {
  color: var(--text-primary) !important;
}

body.home-page .hero-panel {
  border-radius: 0 !important;
}

body.home-page .btn {
  gap: 12px !important;
  min-height: auto !important;
  padding: 18px 36px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
}

body.home-page footer {
  margin-top: 0 !important;
  padding: 80px 0 40px !important;
  text-align: center !important;
}

body.home-page .footer-nav {
  justify-content: center !important;
}

@media (max-width: 900px) {
  body.home-page .header-nav {
    display: none !important;
  }

  body.home-page .header-nav.open {
    display: flex !important;
    gap: 28px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  body.home-page .container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

/* Higher-specificity interior overrides beat legacy page-local styles loaded
   after shared.css. These mirror the migration layer without touching home. */
body:not(.home-page) .header-links,
body:not(.home-page) .header-nav {
  gap: 18px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body:not(.home-page) .header-links a,
body:not(.home-page) .header-nav a {
  color: var(--text-tertiary) !important;
}

body:not(.home-page) .hero,
body:not(.home-page) .page-hero,
body:not(.home-page) .article-hero {
  text-align: left !important;
  margin-bottom: 56px !important;
  padding: 76px 0 58px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body:not(.home-page) .hero h1,
body:not(.home-page) .page-hero h1,
body:not(.home-page) .article-hero h1,
body:not(.home-page) main:not(.landing) > h1:first-child {
  max-width: 1080px !important;
  margin-bottom: 28px !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(48px, 7.2vw, 104px) !important;
  font-weight: 700 !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
}

body:not(.home-page) .hero p,
body:not(.home-page) .hero .lede,
body:not(.home-page) .page-hero p,
body:not(.home-page) .page-hero-subtitle,
body:not(.home-page) .article-hero p,
body:not(.home-page) .article-hero .lede,
body:not(.home-page) main:not(.landing) > h1:first-child + p {
  max-width: 800px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  color: var(--text-secondary) !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.5 !important;
}

body:not(.home-page) .card,
body:not(.home-page) .stat-card,
body:not(.home-page) .tier-card,
body:not(.home-page) .pricing-card,
body:not(.home-page) .pathway-card,
body:not(.home-page) .offer-card,
body:not(.home-page) .case-card,
body:not(.home-page) .post-card,
body:not(.home-page) .audit-card,
body:not(.home-page) .primitive-card,
body:not(.home-page) .solution-card,
body:not(.home-page) .readiness-card,
body:not(.home-page) .evidence-card,
body:not(.home-page) .control-card,
body:not(.home-page) .report-card,
body:not(.home-page) .surface-card,
body:not(.home-page) .timeline-item,
body:not(.home-page) .status-card,
body:not(.home-page) .faq-item,
body:not(.home-page) .step-card,
body:not(.home-page) .feature-card,
body:not(.home-page) .value-card,
body:not(.home-page) .panel,
body:not(.home-page) .callout {
  border-radius: 0 !important;
}

@media (max-width: 768px) {
  body:not(.home-page) .hero h1,
  body:not(.home-page) .page-hero h1,
  body:not(.home-page) .article-hero h1,
  body:not(.home-page) main:not(.landing) > h1:first-child {
    font-size: clamp(38px, 10.5vw, 56px) !important;
    line-height: 0.98 !important;
  }
}

/* ── Focus indicators (accessibility) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* ── Reduced motion (accessibility) ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
