/* ============================================
   Pedologia Fácil — Design System
   Paleta inspirada nos horizontes do solo
   ============================================ */

:root {
  /* Marca Solunexus (apoio técnico do projeto): teal + verde-folha */
  --brand-teal-900: #032b34;
  --brand-teal-800: #04404d;
  --brand-teal-700: #00576b;
  --brand-teal-600: #046984;
  --brand-teal-100: #e3eef1;

  --brand-green-a: #4cb043;
  --brand-green-b: #00893c;
  --brand-green-100: #e5f3e3;

  /* Tons de solo, usados só em fotografia/curiosidades */
  --solo-950: #2b1a12;
  --solo-900: #3d2417;
  --solo-800: #5a3423;
  --solo-700: #7a4a30;
  --solo-600: #9c623f;
  --solo-500: #b8794f;
  --solo-100: #f6ede3;
  --solo-50:  #fbf7f2;

  --verde-700: var(--brand-teal-700);
  --verde-600: var(--brand-green-b);
  --verde-500: var(--brand-green-a);
  --verde-100: var(--brand-green-100);

  --ink: #1b2626;
  --ink-soft: #57635f;
  --paper: #ffffff;
  --border: #e3e8e6;

  --shadow-sm: 0 1px 2px rgba(3, 43, 52, 0.07);
  --shadow-md: 0 8px 24px rgba(3, 43, 52, 0.10);
  --shadow-lg: 0 20px 48px rgba(3, 43, 52, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1180px;
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--brand-teal-900);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--verde-600);
  display: inline-block;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--solo-50); }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--primary {
  background: linear-gradient(120deg, var(--brand-green-a), var(--brand-green-b));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  border-color: var(--brand-teal-700);
  color: var(--brand-teal-700);
}
.btn--outline:hover { background: var(--brand-teal-700); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--brand-green-a), var(--brand-teal-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px;
  flex: none;
}
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--brand-teal-900); }
.brand-text span { display: block; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .03em; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--brand-teal-100); color: var(--brand-teal-700); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--solo-950); position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(3,26,32,.88) 0%, rgba(3,26,32,.72) 32%, rgba(3,26,32,.30) 62%, rgba(3,26,32,.15) 100%), url("../images/helio-campo.jpg");
  background-size: cover;
  background-position: center 25%;
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-content { max-width: 660px; }
.hero .eyebrow { color: #d9e8cf; }
.hero .eyebrow::before { background: #d9e8cf; }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: #cfe3b8; }
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
}
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- Trust bar ---------- */
.trustbar { padding: 30px 0; border-bottom: 1px solid var(--border); }
.trustbar .container {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center;
}
.trustbar span.label { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.trustbar img { height: 34px; width: auto; filter: grayscale(1) opacity(.55); transition: filter .2s ease; }
.trustbar img:hover { filter: grayscale(0) opacity(1); }
.trustbar-featured { display: flex; align-items: center; }
.trustbar-featured img { height: 40px; filter: none; opacity: 1; }
.trustbar-divider { width: 1px; height: 28px; background: var(--border); }

/* ---------- Cards de trilha ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--solo-500); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  background: var(--verde-100);
  color: var(--verde-700);
}
.card h3 { font-size: 19px; margin-bottom: 2px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; flex: 1; }
.card .card-link { font-size: 13.5px; font-weight: 700; color: var(--solo-800); }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img { aspect-ratio: 4/5; object-fit: cover; }
.about-badges { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.badge {
  font-size: 12.5px; font-weight: 700; color: var(--solo-900);
  background: var(--solo-100); padding: 7px 12px; border-radius: 999px;
}
.about-body p { color: var(--ink-soft); font-size: 16.5px; }
.timeline { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: flex; gap: 12px; font-size: 15px; }
.timeline li strong { color: var(--solo-900); min-width: 66px; }

/* ---------- Destaque / curiosidade ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--brand-teal-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  overflow: hidden;
}
.spotlight img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.spotlight h2 { color: #fff; }
.spotlight p { color: rgba(255,255,255,.82); }
.spotlight .eyebrow { color: #9be08c; }
.spotlight .eyebrow::before { background: #9be08c; }

/* ---------- Solunexus CTA ---------- */
.solunexus-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--brand-teal-100);
}
.solunexus-cta img { height: 34px; width: auto; flex: none; }
.solunexus-cta-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.solunexus-cta-text strong { color: var(--brand-teal-900); font-size: 16px; }
.solunexus-cta-text span { color: var(--ink-soft); font-size: 14.5px; }
.solunexus-cta .btn { flex: none; }

/* ---------- Livro CTA ---------- */
.book-cta {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}
.book-cta img { filter: drop-shadow(0 20px 30px rgba(43,26,18,.25)); }
.book-cta ul { padding-left: 20px; color: var(--ink-soft); }
.book-cta ul li { margin-bottom: 8px; }

/* ---------- Régua do Hélio CTA ---------- */
.regua-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.regua-cta-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.regua-cta-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.regua-cta-text ul { padding-left: 20px; color: var(--ink-soft); }
.regua-cta-text ul li { margin-bottom: 8px; }
@media (max-width: 860px) {
  .regua-cta { grid-template-columns: 1fr; }
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--brand-teal-800), var(--brand-teal-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.85); }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type=email] {
  flex: 1; min-width: 220px;
  padding: 14px 18px; border-radius: 999px; border: none;
  font-size: 15px;
}
.newsletter small { display: block; margin-top: 10px; color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-teal-900); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,.75); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14.5px; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { text-decoration: underline; }

/* ---------- Article / technical content ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article .lead-paragraph {
  font-size: 19px;
  color: var(--brand-teal-900);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.4em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--border);
}
.article h2 { font-size: 25px; margin-top: 1.8em; }
.article h3 { font-size: 19px; color: var(--brand-teal-800); margin-top: 1.5em; }
.article p, .article li { font-size: 16px; line-height: 1.75; color: var(--ink); }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.article > p { margin: 0 0 1.2em; }
.article figure { margin: 2em 0; text-align: center; }
.article figure img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); margin: 0 auto; max-width: 100%; }
.article figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.article .byline {
  font-size: 14px; font-weight: 700; color: var(--brand-teal-700);
  text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .6em;
}
.article-footnotes {
  margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--border);
}
.article-footnotes p { font-size: 13.5px !important; color: var(--ink-soft) !important; margin: 0 0 6px; line-height: 1.5 !important; }
.table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
table.data-table th, table.data-table td { border-bottom: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
table.data-table th { background: var(--brand-teal-100); color: var(--brand-teal-800); font-weight: 700; white-space: nowrap; }
table.data-table tr:last-child td { border-bottom: none; }

/* ---------- Calculadora interativa ---------- */
.calculator {
  background: var(--brand-teal-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.calculator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.calculator-field { display: flex; flex-direction: column; gap: 6px; }
.calculator-field label { font-size: 13.5px; font-weight: 600; color: var(--brand-teal-800); }
.calculator-field input {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: var(--font-body); background: #fff;
}
.calculator-field input:focus { outline: 2px solid var(--brand-teal-600); outline-offset: 1px; }
.calculator-result {
  margin-top: 8px; padding: 22px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--border);
  text-align: center;
}
.calculator-result .result-label { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.calculator-result .result-value { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--brand-teal-800); margin-top: 6px; }
.calculator-result img { margin: 16px auto 8px; max-width: 220px; border-radius: var(--radius-sm); }
.calculator-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }
.gallery-grid { display: grid; gap: 28px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

.formula-box {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--brand-teal-100); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 22px; margin: 1.2em 0; font-family: var(--font-head); font-size: 18px; color: var(--brand-teal-900); font-weight: 700;
}
.formula-box .frac { display: inline-flex; flex-direction: column; align-items: center; font-size: 14px; font-weight: 600; }
.formula-box .frac .num { border-bottom: 2px solid var(--brand-teal-900); padding: 0 6px 3px; }
.formula-box .frac .den { padding-top: 3px; }
.media-note {
  background: var(--solo-100); border: 1px dashed var(--solo-500); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 1em 0; font-size: 14.5px; color: var(--ink-soft);
}

/* ---------- Curiosidades ---------- */
.curio-toolbar {
  position: sticky; top: 76px; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--border); padding: 18px 0;
}
.curio-search {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border);
  border-radius: 999px; padding: 12px 20px; max-width: 560px;
}
.curio-search input { border: none; outline: none; flex: 1; font-size: 15px; font-family: var(--font-body); background: transparent; }
.curio-list { display: grid; gap: 10px; margin-top: 14px; max-height: 260px; overflow-y: auto; padding-right: 6px; }
.curio-list a {
  display: flex; gap: 10px; text-decoration: none; color: var(--ink); font-size: 14px;
  padding: 8px 10px; border-radius: 8px;
}
.curio-list a:hover { background: var(--brand-teal-100); }
.curio-list .num { color: var(--brand-teal-700); font-weight: 700; flex: none; width: 28px; }
.curio-item { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 32px; margin-bottom: 22px; scroll-margin-top: 150px; }
.curio-item .curio-index {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: linear-gradient(155deg, var(--brand-green-a), var(--brand-teal-700));
  color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.curio-item h3 { font-size: 19px; margin-bottom: 12px; }
.curio-item[hidden] { display: none !important; }

/* ---------- Internal page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--brand-teal-100), var(--paper));
  padding: 64px 0 40px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero .lead { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }

/* ---------- Glossário ---------- */
.glossary-toolbar {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.glossary-toolbar-inner { display: flex; flex-direction: column; gap: 14px; }
.glossary-search {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  max-width: 520px;
}
.glossary-search input {
  border: none; outline: none; flex: 1; font-size: 15px; font-family: var(--font-body);
  background: transparent;
}
.glossary-az { display: flex; flex-wrap: wrap; gap: 6px; }
.glossary-az a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  text-decoration: none; font-size: 13px; font-weight: 700;
  color: var(--brand-teal-700); background: var(--brand-teal-100);
}
.glossary-az a:hover { background: var(--brand-teal-700); color: #fff; }

.glossary-section { padding-top: 40px; }
.glossary-letter { margin-bottom: 40px; scroll-margin-top: 150px; }
.glossary-letter-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(155deg, var(--brand-green-a), var(--brand-teal-700));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px;
  margin-bottom: 18px;
}
.glossary-terms { display: grid; gap: 16px; }
.term {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  background: var(--paper);
}
.term h4 { font-family: var(--font-body); font-size: 16.5px; font-weight: 700; color: var(--brand-teal-800); margin-bottom: 8px; text-transform: capitalize; }
.term p { font-size: 15px; color: var(--ink-soft); margin: 0 0 8px; }
.term p:last-child { margin-bottom: 0; }
.glossary-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.term[hidden], .glossary-letter[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .spotlight { grid-template-columns: 1fr; padding: 32px; }
  .spotlight img { order: -1; }
  .book-cta { grid-template-columns: 1fr; text-align: center; }
  .book-cta img { margin: 0 auto; max-width: 220px; }
  .solunexus-cta { flex-direction: column; text-align: center; }
  .newsletter { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .calculator { padding: 22px; }
}

@media (max-width: 760px) {
  .nav, .nav-cta .btn--outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 8px; }
  .hero { min-height: 560px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .glossary-toolbar { top: 76px; }
  .glossary-letter { scroll-margin-top: 190px; }
  .curio-toolbar { top: 76px; }
  .curio-item { scroll-margin-top: 190px; padding: 22px; }
  body.nav-open .nav {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  body.nav-open .nav a { padding: 12px 8px; width: 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}
