/* Heart Resonance — site styles — zen redesign */

:root {
  /* Palette extracted from the woodblock night illustrations */
  --bg:        #07090c;
  --bg-2:      #0b0e13;
  --panel:     rgba(255, 255, 255, 0.035);
  --panel-2:   rgba(255, 255, 255, 0.065);
  --border:    rgba(201, 169, 110, 0.12);
  --border-2:  rgba(201, 169, 110, 0.26);
  --text:      #e8e0d0;     /* warm moonlit parchment */
  --text-2:    #aca49a;     /* warm stone grey */
  --muted:     #6e6860;     /* deep stone */
  --dim:       #4a4640;
  --accent:    #c9a96e;     /* crescent moon gold */
  --accent-2:  #e2c07e;     /* brighter moon */
  --heart:     #b86868;     /* muted red */
  --green:     #6a9470;     /* sage */
  --green-2:   #3d6045;
  --link:      #c9a96e;

  --radius:    10px;
  --radius-lg: 14px;

  --max:         1120px;
  --prose-max:   700px;
  --narrow-max:  860px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { border-bottom-color: var(--link); }

h1, h2, h3, h4, h5 {
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-top: 2.2em; margin-bottom: 0.6em; }
h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.6em; margin-bottom: 0.4em; }
h4 { font-size: 0.98rem; margin-top: 1.4em; margin-bottom: 0.3em; }

p { margin-bottom: 1.1em; }
ul, ol { margin: 0 0 1.1em 1.3em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); font-weight: 600; }
em { color: var(--text-2); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.8em 0;
}

code {
  font-family: var(--font-mono);
  background: var(--panel);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.4em 0 0.4em 1.2em;
  margin: 1.4em 0;
  color: var(--text);
  font-style: italic;
}

/* ── Site header ─────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 12, 0.78);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
  font-weight: 400;
  font-size: 0.95rem;
  border-bottom: none;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--accent); border-bottom: none; }

.brand-mark {
  color: var(--heart);
  font-size: 1.15rem;
  filter: drop-shadow(0 0 8px rgba(184, 104, 104, 0.5));
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.site-nav a { color: var(--muted); border-bottom: none; }
.site-nav a:hover { color: var(--text-2); }

.nav-cta {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-2);
  padding: 6px 14px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.85rem;
}
.nav-cta:hover {
  background: rgba(201, 169, 110, 0.08);
  color: var(--accent-2);
  border-bottom: 1px solid var(--border-2);
}

@media (max-width: 720px) {
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .site-nav { gap: 14px; font-size: 0.83rem; flex-wrap: wrap; justify-content: flex-end; }
  .brand-name { display: none; }
}

/* ── Full-bleed hero (index.html only) ───────────────────────────────── */

.hero-fullbleed {
  position: relative;
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-fullbleed .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 12, 0.08) 0%,
    rgba(7, 9, 12, 0.2)  35%,
    rgba(7, 9, 12, 0.78) 65%,
    rgba(7, 9, 12, 0.97) 100%
  );
}

.hero-fullbleed .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 9vh, 7rem);
  text-align: center;
}

.hero-fullbleed .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
  opacity: 0.85;
}

.hero-fullbleed h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-fullbleed .lede {
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ── Page hero (inner pages with portrait background) ────────────────── */

.page-hero {
  position: relative;
  height: clamp(260px, 46vh, 480px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 12, 0.08) 0%,
    rgba(7, 9, 12, 0.55) 55%,
    rgba(7, 9, 12, 0.96) 100%
  );
}

.page-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 2.5rem;
}

.page-hero .kicker {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  opacity: 0.85;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 400;
  color: var(--text);
}

.page-hero p {
  color: var(--text-2);
  font-size: 1.02rem;
  max-width: 540px;
  margin: 0;
  line-height: 1.58;
}

/* ── Atmospheric image break (mid-page) ──────────────────────────────── */

.img-break {
  position: relative;
  height: clamp(220px, 36vh, 360px);
  overflow: hidden;
}

.img-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.img-break::before,
.img-break::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 55%;
}
.img-break::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(7, 9, 12, 0.97) 0%, transparent 100%);
}
.img-break::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(7, 9, 12, 0.97) 0%, transparent 100%);
}

.img-break .img-break-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.img-break .img-break-content p {
  max-width: 540px;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.93rem;
  border-bottom: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #17120a;
}
.btn-primary:hover {
  background: var(--accent-2);
  color: #17120a;
  border-bottom: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--border-2);
  color: var(--text);
  border-bottom: 1px solid var(--border-2);
  background: var(--panel);
}

/* ── Layout containers ───────────────────────────────────────────────── */

.section {
  padding: 72px 24px;
}

.section-narrow { max-width: var(--narrow-max); margin: 0 auto; }
.section-wide   { max-width: var(--max); margin: 0 auto; }
.section-prose  { max-width: var(--prose-max); margin: 0 auto; }

.section-alt {
  background: rgba(255, 255, 255, 0.018);
  border-block: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}
.section-title h2 { margin-top: 0; }
.section-title p { color: var(--muted); max-width: 500px; margin: 0 auto; font-size: 1rem; }

/* ── Cards ───────────────────────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 28px rgba(201, 169, 110, 0.06);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(201, 169, 110, 0.08);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.card h3 { margin: 0 0 7px; font-size: 1rem; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

.card-link { display: block; border-bottom: none; }
.card-link:hover { border-bottom: none; }
.card-link:hover .card { border-color: rgba(201, 169, 110, 0.35); }
.card-link:hover .card h3 { color: var(--accent); }

/* ── Feature rows ────────────────────────────────────────────────────── */

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 44px;
}

.feature-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 1px solid var(--border); }

.feature-label {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 5px;
  opacity: 0.9;
}

.feature-body h3 { margin: 0 0 9px; font-size: 1.05rem; }
.feature-body p { color: var(--muted); margin: 0; font-size: 0.93rem; }

@media (max-width: 680px) {
  .feature-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ── Stats row ───────────────────────────────────────────────────────── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 48px 0;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat-num { font-size: 1.9rem; font-weight: 500; color: var(--accent); display: block; }
.stat-label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Prose pages ─────────────────────────────────────────────────────── */

.prose {
  max-width: var(--prose-max);
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-size: 1.03rem;
}

/* When prose follows a page-hero, reduce top padding */
.page-hero + article.prose,
.page-hero + .prose {
  padding-top: 48px;
}

.prose .kicker {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  opacity: 0.85;
}

.prose h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
  font-weight: 400;
}

.prose .deck {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.prose .meta {
  color: var(--dim);
  font-size: 0.86rem;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.prose h2 { border-top: 1px solid var(--border); padding-top: 1.4em; margin-top: 2em; }
.prose h2:first-of-type { border-top: none; padding-top: 0; }

.prose .callout {
  background: var(--panel);
  border-left: 2px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 2em 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout .callout-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.prose .figure {
  margin: 2em -8px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.prose .figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 10px;
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92rem;
}
.prose th {
  text-align: left;
  padding: 11px 13px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border-2);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.prose td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-2);
}
.prose tr:last-child td { border-bottom: none; }

/* ── Pills ───────────────────────────────────────────────────────────── */

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.pill-accent { color: var(--accent); border-color: rgba(201, 169, 110, 0.24); background: rgba(201, 169, 110, 0.05); }
.pill-green  { color: var(--green); border-color: rgba(106, 148, 112, 0.24); background: rgba(106, 148, 112, 0.05); }
.pill-heart  { color: var(--heart); border-color: rgba(184, 104, 104, 0.24); background: rgba(184, 104, 104, 0.05); }

/* ── Blog list ───────────────────────────────────────────────────────── */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 40px;
}

.post-item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  margin: 0;
}
.post-item:last-child { border-bottom: 1px solid var(--border); }

.post-date {
  color: var(--dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.post-title { font-size: 1.2rem; margin: 0 0 6px; font-weight: 500; }
.post-title a { color: var(--text); border-bottom: none; }
.post-title a:hover { color: var(--accent); }

.post-excerpt { color: var(--muted); margin: 0 0 10px; font-size: 0.93rem; line-height: 1.58; }
.post-tags { display: flex; gap: 7px; flex-wrap: wrap; }

@media (max-width: 580px) {
  .post-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Compare table ───────────────────────────────────────────────────── */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table th {
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  position: sticky;
  top: 52px;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
}
.compare-table td.hr-col {
  background: rgba(201, 169, 110, 0.04);
  color: var(--text);
}
.check { color: var(--green); font-weight: 600; }
.cross { color: var(--dim); }
.partial { color: var(--accent); }

/* ── Tool widgets ────────────────────────────────────────────────────── */

.tool-card {
  max-width: 540px;
  margin: 28px auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.tool-field { margin-bottom: 20px; }

.tool-field label {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.tool-field .hint { color: var(--dim); font-size: 0.82rem; margin-top: 6px; }

.tool-field input[type="number"],
.tool-field input[type="text"],
.tool-field select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(7, 9, 12, 0.8);
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
}
.tool-field input:focus,
.tool-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.unit-toggle {
  display: inline-flex;
  background: rgba(7, 9, 12, 0.8);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 3px;
  margin-left: 10px;
}
.unit-toggle button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 5px 11px;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 500;
}
.unit-toggle button.active {
  background: var(--accent);
  color: #17120a;
}

.tool-result {
  margin-top: 28px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.07) 0%, rgba(201, 169, 110, 0.02) 100%);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 12px;
  text-align: center;
}
.tool-result .big {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.tool-result .small { color: var(--muted); font-size: 0.9rem; }
.tool-result .breath-timing {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 36px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.tool-result .breath-timing span { display: block; font-size: 1.2rem; color: var(--text); font-weight: 500; }

/* Pacer orb */

.pacer-stage {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 18px 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-ball {
  width: 88px; height: 88px;
  background: radial-gradient(circle at 35% 30%, rgba(228, 205, 160, 0.9), rgba(201, 169, 110, 0.5) 60%, rgba(201, 169, 110, 0.06));
  border: 1px solid rgba(201, 169, 110, 0.7);
  border-radius: 50%;
  box-shadow:
    0 0 26px rgba(201, 169, 110, 0.4),
    0 0 55px rgba(201, 169, 110, 0.22),
    0 0 100px rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17120a;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  transition: transform 0.04s linear;
  will-change: transform;
}

.pacer-controls { display: grid; gap: 16px; margin-top: 12px; }

.pacer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pacer-row label { color: var(--text-2); font-weight: 400; font-size: 0.9rem; }
.pacer-row .value { color: var(--accent); font-weight: 500; font-feature-settings: "tnum"; font-size: 0.9rem; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(201, 169, 110, 0.15);
  border-radius: 2px;
  outline: none;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg);
}

.btn-full {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #17120a;
  border: none;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.btn-full:hover { background: var(--accent-2); }
.btn-full.ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border-2); }

/* ── Glossary ────────────────────────────────────────────────────────── */

.glossary-list { margin-top: 32px; }

.glossary-item { padding: 20px 0; border-top: 1px solid var(--border); }
.glossary-item:last-child { border-bottom: 1px solid var(--border); }

.glossary-term { color: var(--accent); font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; }
.glossary-term .abbr { color: var(--muted); font-weight: 400; font-size: 0.88em; margin-left: 8px; }
.glossary-def { color: var(--text-2); margin: 0; font-size: 0.94rem; line-height: 1.65; }

/* ── Research list ───────────────────────────────────────────────────── */

.research-item { padding: 22px 0; border-top: 1px solid var(--border); }
.research-item:last-child { border-bottom: 1px solid var(--border); }

.research-item .cite { color: var(--text); font-weight: 600; margin-bottom: 4px; font-size: 0.98rem; }
.research-item .venue { color: var(--dim); font-size: 0.84rem; margin-bottom: 10px; }
.research-item .summary { color: var(--text-2); margin: 0 0 10px; font-size: 0.92rem; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 80px;
  padding: 52px 24px 34px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 30px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-title {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.footer-col a { color: var(--muted); font-size: 0.88rem; border-bottom: none; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max);
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
}

/* ── Hero (legacy, for fallback) ─────────────────────────────────────── */

.hero { padding: 80px 24px 60px; text-align: center; }
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero .lede { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 600px; margin: 0 auto 34px; }

/* ── Utility ─────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 60px; }
.mb-lg { margin-bottom: 40px; }
.highlight { color: var(--accent); }
.highlight-green { color: var(--green); }
.highlight-heart { color: var(--heart); }
