/* Daily Dollar Finances — site styles */
:root {
  --green: #00562f;
  --green-mid: #0a6b3c;
  --green-soft: #e8f2ec;
  --green-line: #b8d0c4;
  --ink: #121212;
  --ink-soft: #3a3a3a;
  --muted: #6a716d;
  --paper: #fbfcfb;
  --white: #ffffff;
  --border: #e2e8e4;
  --shadow: 0 12px 40px rgba(0, 86, 47, 0.08);
  --radius: 6px;
  --max: 1120px;
  --nav-h: 4.5rem;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(0, 86, 47, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at -10% 30%, rgba(0, 86, 47, 0.05), transparent 50%),
    linear-gradient(180deg, #f4f8f5 0%, var(--paper) 28%, var(--paper) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1rem; }

ul, ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

li { margin-bottom: 0.4rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--nav-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: auto;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-extra {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.nav-extra a {
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-extra a::after {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; order: 2; }
  .search-toggle { order: 3; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow);
    order: 4;
    width: 100%;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a::after { display: none; }
  .nav-extra {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .search-toggle-label { display: none; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-mid);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.25rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 42%, rgba(0, 86, 47, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(0, 86, 47, 0.06), transparent 55%),
    linear-gradient(165deg, #f7faf8 0%, var(--paper) 48%, #eef5f0 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero-brand-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  margin-bottom: 1rem;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 28% 32% 30% 34%;
  background: radial-gradient(circle at 50% 45%, rgba(120, 200, 90, 0.35), rgba(0, 86, 47, 0.08) 55%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.hero-graphic {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22%;
  box-shadow:
    0 28px 60px rgba(0, 40, 24, 0.22),
    0 0 0 1px rgba(0, 86, 47, 0.08);
}

.simple-acronym {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
}

.simple-acronym a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.simple-acronym a:hover {
  background: var(--green);
  color: var(--white);
}

.simple-acronym a span {
  font-weight: 800;
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--green-soft) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.65rem;
}

/* —— Topic / article grids —— */
.topic-grid,
.article-grid,
.tool-grid {
  display: grid;
  gap: 1.25rem;
}

.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.topic-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.35rem 1.15rem;
  border-top: 3px solid var(--green);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.topic-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 0.75rem;
}

.topic-link .letter {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.topic-link h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.topic-link p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.article-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 1px 0 rgba(0, 86, 47, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-line);
  box-shadow: var(--shadow);
  color: inherit;
}

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.article-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--green-soft), #f7fbf8);
  color: var(--green);
  border: 1px solid rgba(0, 86, 47, 0.08);
}

.article-card-cat {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.article-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.015em;
}

.article-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

/* —— Icons —— */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  display: block;
}

.icon-sm {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-xs {
  width: 0.9rem;
  height: 0.9rem;
}

/* —— Article layout —— */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero-article {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 86, 47, 0.08), transparent 55%),
    linear-gradient(180deg, #f3f8f5 0%, transparent 100%);
}

.page-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 86, 47, 0.06);
}

.page-hero .meta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.page-hero .lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0;
}

.article-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

@media (min-width: 900px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.45;
}

.prose .takeaway {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  padding: 1.15rem 1.25rem;
  margin: 2rem 0;
}

.prose .takeaway h3 {
  margin-top: 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.prose .takeaway p:last-child,
.prose .takeaway ul:last-child {
  margin-bottom: 0;
}

.sidebar-box {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.sidebar-box h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.related-list {
  display: grid;
  gap: 0.65rem;
}

.related-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.8rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.related-card:hover {
  border-color: var(--green-line);
  box-shadow: 0 8px 20px rgba(0, 86, 47, 0.06);
  color: inherit;
}

.related-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}

.related-card-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.related-card-cat {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}

.related-card-title {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.35;
}

/* —— Calculators —— */
.page-hero-tools {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 86, 47, 0.08), transparent 55%),
    linear-gradient(180deg, #f3f8f5 0%, transparent 100%);
}

.calc-toolbar {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.calc-filter-chips {
  margin: 0;
}

.calc-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.calc-filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
}

.calc-filter-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.calc-filter-status {
  margin: 0;
  font-size: 0.9rem;
}

.calc-grid {
  align-items: stretch;
}

.calc-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.35rem 1.25rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
  box-shadow: 0 1px 0 rgba(0, 86, 47, 0.04);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.calc-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #3d9a66);
}

.calc-card:hover {
  border-color: var(--green-line);
  box-shadow: var(--shadow);
}

.calc-card-head {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.calc-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green-soft), #f7fbf8);
  color: var(--green);
  border: 1px solid rgba(0, 86, 47, 0.08);
  flex-shrink: 0;
}

.calc-card-head h2 {
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}

.calc-card-head p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.45;
}

.calc-form {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 86, 47, 0.12);
  outline: none;
}

.field-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-result {
  margin-top: 1.2rem;
  padding: 1.05rem 1.15rem;
  background:
    linear-gradient(180deg, #eef6f1 0%, var(--green-soft) 100%);
  border: 1px solid rgba(0, 86, 47, 0.1);
  border-radius: 12px;
  min-height: 3.4rem;
}

.calc-result .label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.calc-result .value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.calc-result .detail {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.45;
}

.calc-disclaimer {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* —— Mission / split —— */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--green-line);
}

.stat-item:first-child {
  border-top: 1px solid var(--green-line);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Podcast promo —— */
.section-podcast {
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(0, 86, 47, 0.12), transparent 55%),
    linear-gradient(180deg, #f3f7f4 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.podcast-promo,
.podcast-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .podcast-promo,
  .podcast-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.podcast-promo-copy h2 {
  margin-bottom: 0.85rem;
}

.podcast-promo-copy > p {
  color: var(--muted);
  max-width: 34rem;
}

.podcast-promo-note {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink) !important;
  margin-top: 0.85rem;
}

.podcast-cover-link {
  display: block;
  justify-self: center;
  max-width: min(100%, 420px);
  width: 100%;
  text-decoration: none;
  transition: transform 0.45s var(--ease);
}

.podcast-cover-link:hover,
.podcast-cover-link:focus-visible {
  transform: translateY(-4px) scale(1.015);
}

.podcast-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 18px 40px rgba(0, 30, 18, 0.18),
    0 2px 0 rgba(0, 86, 47, 0.12);
}

.page-hero-podcast {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.podcast-hero-copy .lede {
  max-width: 34rem;
}

.podcast-hero-art {
  justify-self: center;
  max-width: min(100%, 440px);
  width: 100%;
}

.podcast-cover-lg {
  animation: podcast-cover-in 0.9s var(--ease) both;
}

@keyframes podcast-cover-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .podcast-cover-link,
  .podcast-cover-lg,
  .hero-graphic {
    transition: none;
    animation: none;
  }
}

.podcast-copy {
  max-width: 40rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: #c5cbc7;
  padding: 3rem 0 2rem;
}

.site-footer a {
  color: #e8f2ec;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2.5rem;
}

.footer-brand img,
.footer-brand .logo-dark {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 22rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.affiliate-note {
  font-style: italic;
  opacity: 0.85;
}

/* —— Forms (contact) —— */
.contact-form {
  max-width: 32rem;
  display: grid;
  gap: 1rem;
}

.contact-form textarea {
  width: 100%;
  min-height: 140px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  resize: vertical;
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-brand-text,
  .hero h1,
  .hero .lede,
  .hero .cta-row,
  .hero-visual,
  .simple-acronym {
    animation: rise 0.8s var(--ease) both;
  }

  .hero h1 { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero .cta-row { animation-delay: 0.24s; }
  .hero-visual { animation-delay: 0.18s; }
  .simple-acronym { animation-delay: 0.32s; }

  .hero-graphic {
    animation: hero-float 7s ease-in-out infinite;
  }

  @keyframes hero-float {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* —— Search toggle + modal —— */
.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.search-toggle:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

body.search-open {
  overflow: hidden;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  padding: 10vh 1rem 2rem;
}

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

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(4px);
}

.search-modal-panel {
  position: relative;
  width: min(100%, 640px);
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 1.25rem 1.25rem 1rem;
  max-height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
  animation: search-rise 0.28s var(--ease);
}

@keyframes search-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.search-modal-header h2 {
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0;
}

.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--muted);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.search-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.75rem 0 0.5rem;
}

.search-results {
  overflow: auto;
  display: grid;
  gap: 0.55rem;
  padding-right: 0.15rem;
  margin-top: 0.25rem;
}

.search-result {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--green-line);
  background: var(--white);
  color: inherit;
}

.search-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}

.search-result-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.search-result-meta {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.search-result-body strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.search-result-body span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* —— Blog toolbar —— */
.blog-toolbar {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.blog-search-wrap {
  max-width: 28rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.blog-count {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.blog-empty {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--green-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.prose .takeaway {
  border-radius: 10px;
}
