/* ==========================================================================
   JoshuaTerrell.org — Stylesheet
   Design language: "Organic Growth" — soft asymmetric blobs, wavy dividers,
   and a rose/coral palette meant to evoke a portfolio (and a garden)
   compounding over time. Ticker-style monospace is reserved strictly for
   real financial data (tickers, percentages) — never used as decoration.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --rose: #F43F5E;
  --rose-deep: #C0264A;
  --coral: #FB923C;
  --coral-deep: #DD6E1C;
  --bg: #FFF1F2;
  --surface: #FFFFFF;
  --surface-tint: #FFE4E6;
  --ink: #23151A;
  --ink-soft: #6E4B52;
  --ink-faint: #9C7C82;
  --border: #F3D2D6;
  --focus-ring: #7A1F35;

  /* Gradient accent — used sparingly, once per view */
  --grow-gradient: linear-gradient(120deg, var(--rose) 0%, var(--coral) 100%);

  /* Type */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Scale (major third-ish, hand tuned) */
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.05rem;
  --step-4: 2.75rem;
  --step-5: 3.6rem;

  /* Rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-organic: 63% 37% 54% 46% / 43% 47% 53% 57%;

  --shadow-soft: 0 12px 32px -18px rgba(196, 45, 74, 0.35);
  --shadow-lift: 0 20px 45px -20px rgba(120, 30, 50, 0.4);

  --nav-height: 72px;
  --max-width: 1180px;

  --transition: 180ms ease;
}

/* Dark mode — same accent identity, warm charcoal instead of black */
:root[data-theme="dark"] {
  --bg: #1B1114;
  --surface: #241820;
  --surface-tint: #331B22;
  --ink: #FBEAEC;
  --ink-soft: #D6AEB4;
  --ink-faint: #A9828A;
  --border: #3B2530;
  --focus-ring: #FFC9D2;
  --shadow-soft: 0 12px 32px -18px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 20px 45px -20px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

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

a {
  color: var(--rose-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
:root[data-theme="dark"] a { color: var(--coral); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--ink);
  font-weight: 600;
}

p { margin: 0 0 var(--space-sm); }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. DISCLAIMER BAR (header + footer, per brief — site is a work in progress)
   -------------------------------------------------------------------------- */
.disclaimer-bar {
  background: var(--ink);
  color: var(--bg);
  font-size: 0.82rem;
  text-align: center;
  padding: 7px var(--space-sm);
}
:root[data-theme="dark"] .disclaimer-bar { background: #0F0A0C; }
.disclaimer-bar strong { color: var(--coral); font-weight: 700; }

/* --------------------------------------------------------------------------
   4. NAVIGATION (fixed top)
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-organic);
  background: var(--grow-gradient);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.brand-tagline { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--rose);
  color: var(--rose-deep);
}
:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .nav-links a[aria-current="page"] {
  color: var(--coral);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform var(--transition), background var(--transition);
}
.theme-toggle:hover { transform: rotate(14deg); background: var(--surface-tint); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--grow-gradient);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); }

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   6. HERO (minimal, text-only, bold type — no imagery)
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3.5rem, 8vw, var(--space-xl));
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--rose-deep);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}
:root[data-theme="dark"] .hero-eyebrow { color: var(--coral); }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, var(--step-5));
  max-width: 16ch;
  letter-spacing: -0.01em;
}

.hero-lede {
  max-width: 58ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-lg); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  max-width: 640px;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--rose-deep);
}
:root[data-theme="dark"] .hero-stat-num { color: var(--coral); }
.hero-stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   7. ORGANIC WAVE DIVIDER
   -------------------------------------------------------------------------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--surface);
}
.wave-divider path { fill: currentColor; }

/* --------------------------------------------------------------------------
   8. SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--space-xl);
}
.section-tinted { background: var(--surface); }

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-lg);
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, var(--step-4)); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. CARD GRID
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-tint);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--coral-deep);
  background: var(--surface-tint);
  border-radius: 6px;
  padding: 3px 8px;
  align-self: flex-start;
  letter-spacing: 0.02em;
}
:root[data-theme="dark"] .card-tag { color: var(--coral); }

.card-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.card-body p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }

.card-meta {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: 0.83rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Feature panel (about teaser on home) */
.feature-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
  align-items: center;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
}
.portrait-blob {
  position: absolute;
  inset: -18px;
  background: var(--grow-gradient);
  border-radius: var(--radius-organic);
  z-index: -1;
  opacity: 0.85;
}
.portrait-frame img {
  border-radius: var(--radius-organic);
  border: 6px solid var(--surface);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.stat-row {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}
.stat-row div { min-width: 120px; }
.stat-row .num { font-family: var(--font-display); font-size: var(--step-2); color: var(--rose-deep); }
:root[data-theme="dark"] .stat-row .num { color: var(--coral); }
.stat-row .label { font-size: 0.85rem; color: var(--ink-soft); }

/* Filter bar (articles listing) */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.filter-bar button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-bar button[aria-pressed="true"] {
  background: var(--grow-gradient);
  color: #fff;
  border-color: transparent;
}
.filter-bar button:hover:not([aria-pressed="true"]) {
  border-color: var(--rose);
  color: var(--rose-deep);
}

/* --------------------------------------------------------------------------
   10. NEWSLETTER
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--grow-gradient);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.newsletter h2, .newsletter p { color: #fff; }
.newsletter p { opacity: 0.92; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.newsletter-form .btn {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.newsletter-form .btn:hover { transform: translateY(-2px); }

.newsletter-note {
  font-size: 0.8rem;
  margin-top: 8px;
  opacity: 0.85;
}

.form-feedback {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-feedback[data-state="success"] { color: var(--rose-deep); }
:root[data-theme="dark"] .form-feedback[data-state="success"] { color: var(--coral); }
.form-feedback[data-state="error"] { color: var(--rose-deep); }
.newsletter .form-feedback[data-state="success"],
.newsletter .form-feedback[data-state="error"] { color: #fff; }
.form-feedback[data-state="success"]::before { content: "✓ "; }
.form-feedback[data-state="error"]::before { content: "⚠ "; }

/* --------------------------------------------------------------------------
   11. ARTICLE / SINGLE POST PAGE
   -------------------------------------------------------------------------- */
.article-header {
  padding-block: var(--space-lg) var(--space-md);
  max-width: 72ch;
  margin-inline: auto;
}
.article-header .card-tag { margin-bottom: var(--space-sm); }
.article-header h1 { font-size: clamp(2rem, 4.5vw, var(--step-4)); }

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline-name { font-weight: 700; font-size: 0.95rem; }
.byline-meta { font-size: 0.82rem; color: var(--ink-soft); }

.article-cover {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-body {
  max-width: 72ch;
  margin-inline: auto;
  padding-bottom: var(--space-xl);
  font-size: 1.08rem;
}
.article-body h2 {
  font-size: var(--step-2);
  margin-top: var(--space-lg);
}
.article-body h3 { font-size: var(--step-1); margin-top: var(--space-md); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  border-left: 4px solid var(--rose);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
}
.article-body .ticker {
  font-family: var(--font-mono);
  background: var(--surface-tint);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.92em;
}
.article-body .disclosure {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.article-nav {
  max-width: 72ch;
  margin: 0 auto var(--space-xl);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.field {
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--surface-tint);
}
.field textarea { resize: vertical; min-height: 130px; }

.info-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--rose-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
:root[data-theme="dark"] .info-list .icon { color: var(--coral); }
.info-list .icon svg { width: 18px; height: 18px; }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: var(--space-md);
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   13. ABOUT PAGE EXTRAS
   -------------------------------------------------------------------------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--border);
}
.timeline li {
  position: relative;
  padding: 0 0 var(--space-lg) var(--space-md);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grow-gradient);
}
.timeline .year { font-family: var(--font-mono); font-size: 0.82rem; color: var(--coral-deep); }
:root[data-theme="dark"] .timeline .year { color: var(--coral); }
.timeline h3 { margin: 4px 0; font-size: 1.15rem; }
.timeline p { color: var(--ink-soft); margin: 0; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border);
}
.value-card .glyph {
  width: 44px; height: 44px;
  border-radius: var(--radius-organic);
  background: var(--grow-gradient);
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-top: var(--space-xl);
}
:root[data-theme="dark"] .site-footer { background: #120C0E; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-sm); }
.footer-brand .brand-name { color: var(--bg); }
.footer-about p { color: #E7C3C9; font-size: 0.92rem; max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--coral);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #E7C3C9;
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.social-row { display: flex; gap: 10px; margin-top: var(--space-sm); }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.social-row a:hover { background: var(--grow-gradient); transform: translateY(-3px); border-color: transparent; }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-block: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #C79AA1;
}

.footer-disclaimer {
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.82rem;
  color: #E7C3C9;
  margin-top: var(--space-lg);
}
.footer-disclaimer strong { color: var(--coral); }

/* --------------------------------------------------------------------------
   15. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grow-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   16. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .feature-panel { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article-nav { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; gap: var(--space-sm); }
}
