/* ============================================================
   Tanglad Guide - design system
   ============================================================ */

:root {
  --bg: #fbfaf3;
  --surface: #ffffff;
  --alt-bg: #f2f4e6;
  --ink: #22301f;
  --muted: #5c6b57;
  --leaf-950: #16261a;
  --leaf-900: #1d3324;
  --leaf-700: #2e6b34;
  --leaf-500: #3e8e41;
  --leaf-300: #7fae5c;
  --leaf-600: #35753a;
  --lime: #a9c23f;
  --lemon: #e8d44d;
  --citrus: #f0a83c;
  --danger: #c0532f;
  --line: #e4e8d8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(34, 48, 31, 0.07);
  --shadow-md: 0 6px 20px rgba(34, 48, 31, 0.1);
  --shadow-lg: 0 16px 44px rgba(34, 48, 31, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--leaf-600, #35753a);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--leaf-700);
}

strong {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--leaf-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: #dbe8ac;
  color: #1d3324;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--leaf-900);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 243, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(34, 48, 31, 0.09);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover {
  color: var(--leaf-700);
}

.brand em {
  font-style: italic;
  font-weight: 600;
  color: var(--leaf-500);
}

.brand-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--leaf-500);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.active {
  color: var(--leaf-700);
  border-bottom-color: var(--lime);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  color: var(--ink);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--leaf-900) 0%, #275230 55%, var(--leaf-500) 130%);
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(5rem, 11vw, 7.5rem);
}

.hero-page {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.hero-inner {
  max-width: 800px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: var(--lemon);
}

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

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-500);
  margin-bottom: 0.9rem;
}

.hero .kicker {
  color: var(--lemon);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 .accent,
h1 .accent {
  color: var(--lemon);
  font-style: italic;
}

.lead {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.87);
  max-width: 62ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  margin-top: 3.25rem;
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--lemon);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-home {
  padding-bottom: clamp(7rem, 15vw, 9.5rem);
}

.grass-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78em 1.55em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--lime);
  color: #1d2b16;
}

.btn-primary:hover {
  background: #b7cd52;
  color: #1d2b16;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-solid {
  background: var(--surface);
  color: var(--leaf-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-solid:hover {
  color: var(--leaf-700);
  box-shadow: var(--shadow-md);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section.alt {
  background: var(--alt-bg);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.section-head .link-arrow {
  margin-top: 0.9rem;
}

/* ---------- Grids & cards ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  font-size: 1.26rem;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card.tinted,
.tinted {
  background: linear-gradient(165deg, #f7f9ec, #edf2dc);
  border-color: #dde5c8;
}

.card-tinted {
  background: linear-gradient(165deg, #f3f7e0, #e7efd0);
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ecf3d8;
  color: var(--leaf-600, #35753a);
  margin-bottom: 1.15rem;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.icon-badge.gold {
  background: #faf1d8;
  color: #b97b1d;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.05rem 0 1.2rem;
}

.chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.34em 0.85em;
  border-radius: 999px;
  background: #edf0e0;
  color: #4c5a38;
  white-space: nowrap;
}

.chip.lime {
  background: #e2edbe;
  color: #47611c;
}

.chip.lemon {
  background: #f7f0bd;
  color: #6d5d13;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--leaf-600, #35753a);
  margin-top: auto;
  padding-top: 0.75rem;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Lists ---------- */

.check-list,
.x-list {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0.5rem 0;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--leaf-500);
}

.check-list li > svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--leaf-500);
}

.check-list li:has(> svg) {
  display: flex;
  gap: 0.65rem;
  padding-left: 0;
}

.check-list li:has(> svg)::before {
  content: none;
}

.x-list li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0.5rem 0;
}

.x-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--danger);
}

ol.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.1rem;
  margin-bottom: 1.4rem;
}

ol.steps li:last-child {
  margin-bottom: 0;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

ol.steps li strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

ol.steps li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  font-size: 0.92rem;
}

.compare-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: #e9efd5;
  color: #3c4a2e;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  background: #f7f8ee;
  width: 200px;
}

.compare-table tbody td {
  color: #42503c;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.yes {
  color: #2e7d32;
  font-weight: 600;
}

.no {
  color: #b3402a;
  font-weight: 600;
}

/* ---------- Callouts ---------- */

.callout {
  display: flex;
  gap: 0.95rem;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  border-left: 4px solid var(--leaf-500);
  background: #f3f7e3;
  margin-top: 1.75rem;
}

.callout > svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--leaf-600, #35753a);
}

.callout-title {
  font-weight: 700;
  margin-bottom: 0.3rem !important;
  color: var(--leaf-900);
}

.callout p {
  font-size: 0.94rem;
  color: #42503c;
  margin: 0;
}

.callout.tip {
  background: #f3f7e3;
  border-left-color: var(--lime);
}

.callout.info {
  background: #edf4fa;
  border-left-color: #7fa8cc;
}

.callout.info > svg {
  color: #3f6e99;
}

.callout.info .callout-title {
  color: #2c4a63;
}

.callout.warn {
  background: #fcf3dd;
  border-left-color: var(--citrus);
}

.callout.warn > svg {
  color: #b97b1d;
}

.callout.warn .callout-title {
  color: #7c5511;
}

.callout.danger {
  background: #fcece6;
  border-left-color: #d96a4a;
}

.callout.danger > svg {
  color: #c0532f;
}

.callout.danger .callout-title {
  color: #8c3517;
}

/* ---------- FAQ ---------- */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--leaf-500);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Feature quote ---------- */

.feature-quote {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  line-height: 1.45;
  color: #2c3f27;
  position: relative;
  padding: 0 2.75rem;
}

.feature-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -1.6rem;
  font-size: 5.5rem;
  color: var(--lime);
  opacity: 0.55;
  line-height: 1;
}

.feature-quote footer {
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split layout & panel art ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-copy {
  min-width: 0;
}

.split.reverse > div:first-child {
  order: 2;
}

.panel-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
  border: 1px solid #dbe4cb;
}

.panel-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  padding-left: 2.1rem;
  margin-top: 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: #d5e0bc;
}

.timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.98rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px #cbd9a8;
}

.timeline li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* ---------- Decision items & species banner ---------- */

.decision-item {
  display: flex;
  gap: 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.decision-item .icon-badge {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}

.decision-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.decision-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.species-banner {
  display: flex;
}

.species-banner .card {
  flex: 1;
}

/* ---------- Recipes ---------- */

.recipe-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.recipe-card > header {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
}

.recipe-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4rem;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-chip {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: #f1f3e6;
  border: 1px solid #e2e7cf;
  color: #55654a;
  white-space: nowrap;
}

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.recipe-body h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.recipe-body ul,
.recipe-body ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: #42503c;
}

.recipe-body li {
  margin-bottom: 0.4rem;
}

/* ---------- Tabs ---------- */

.tabs .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 2px solid #e2e8cf;
  margin-bottom: 1.75rem;
}

.tabs .tab-list button {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.7em 1.2em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tabs .tab-list button:hover {
  color: var(--ink);
  background: rgba(169, 194, 63, 0.12);
}

.tabs .tab-list button[aria-selected="true"] {
  color: var(--leaf-700);
  background: var(--surface);
  border-bottom-color: var(--leaf-500);
}

.tab-panel[hidden] {
  display: none;
}

/* ---------- Page CTA ---------- */

.page-cta {
  background: linear-gradient(140deg, var(--leaf-900), #2c5c33 70%, var(--leaf-500) 135%);
  color: #fff;
  text-align: center;
  border-radius: 26px;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.page-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.page-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  margin: 0.5rem auto 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--leaf-950);
  color: #cfd8c6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: rgba(207, 216, 198, 0.72);
  max-width: 44ch;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand:hover {
  color: #fff;
}

.footer h4,
.footer-links h4,
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #cfd8c6;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

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

.footer-facts li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  color: rgba(207, 216, 198, 0.85);
}

.footer-facts li span {
  flex-shrink: 0;
  min-width: 92px;
  font-weight: 600;
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(207, 216, 198, 0.62);
}

/* ---------- Photos & figures ---------- */
.photo-grid {
  display: grid;
  gap: 1.25rem;
}

.photo-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.photo-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 820px) {
  .photo-grid.cols-2,
  .photo-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

figure.photo {
  margin: 0;
}

figure.photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

figure.photo img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.6rem;
}

figcaption .credit {
  display: block;
  font-size: 0.76rem;
  color: #8a9578;
  margin-top: 0.15rem;
}

.chart-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 2.25rem auto 0;
}

.chart-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Interactive tools ---------- */

.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 2.25rem auto 0;
}

.tool-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.35rem;
}

.tool-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.tool-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.3rem;
}

.tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.tool-field input[type="number"],
.tool-field select,
.tool-label-top + .pill-group {
  margin-top: 0;
}

.tool-field input[type="number"] {
  width: 9.5rem;
  padding: 0.55em 0.75em;
}

.tool-field select {
  min-width: 230px;
  padding: 0.55em 0.75em;
}

.tool-field input[type="number"],
.tool-field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fdfdf7;
  border: 1px solid #ccd6b4;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-field input[type="number"]:focus,
.tool-field select:focus {
  outline: none;
  border-color: var(--leaf-500);
  box-shadow: 0 0 0 3px rgba(169, 194, 63, 0.25);
}

.pill-group {
  display: flex;
  gap: 0.45rem;
}

.pill-group button,
.q-btn,
.preset-btn {
  appearance: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: #fdfdf7;
  border: 1px solid #ccd6b4;
  border-radius: 999px;
  padding: 0.5em 1.15em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill-group button:hover,
.q-btn:hover,
.preset-btn:hover {
  border-color: var(--leaf-500);
  color: var(--leaf-700);
}

.pill-group button[aria-pressed="true"],
.q-btn[aria-pressed="true"],
.preset-btn[aria-pressed="true"] {
  background: var(--leaf-500);
  border-color: var(--leaf-500);
  color: #fff;
}

.tool-result {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  background: #f4f7e6;
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
}

.tool-stat {
  display: flex;
  flex-direction: column;
}

.tool-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--leaf-700);
  line-height: 1.15;
}

.tool-stat .tool-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-note {
  font-size: 0.83rem;
  color: #8a9578;
  margin: 0;
}

.tool-reset {
  appearance: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 1.5px solid #ccd6b4;
  padding: 0.2em 0.1em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tool-reset:hover {
  color: var(--leaf-700);
  border-bottom-color: var(--leaf-500);
}

.tool-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.tool-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.tool-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--leaf-500);
}

.quiz-q {
  padding: 1.05rem 0;
  border-bottom: 1px dashed var(--line);
}

.quiz-q:first-child {
  padding-top: 0;
}

.quiz-q strong {
  display: block;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.q-opts {
  display: flex;
  gap: 0.5rem;
}

.verdict-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b97b1d;
  background: #faf1d8;
  border-radius: 999px;
  padding: 0.25em 0.8em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.quiz-verdict {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.quiz-verdict .icon-badge {
  margin-bottom: 0;
}

.quiz-verdict h3 {
  margin-bottom: 0.35rem;
}

.quiz-verdict p {
  color: var(--muted);
  font-size: 0.95rem;
}

.quiz-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 0.35rem;
}

.quiz-links .link-arrow {
  padding-top: 0.25rem;
}

.season-strip-wrap {
  margin-top: 0.25rem;
}

.season-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.season-cell {
  height: 40px;
  border-radius: 8px;
}

.c-plant {
  background: var(--citrus);
}

.c-grow {
  background: #cdd9a8;
}

.c-harvest {
  background: var(--leaf-500);
}

.c-rest {
  background: #e2e6da;
}

.season-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 0.35rem;
}

.season-months span {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

.season-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.season-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sw {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  display: inline-block;
}

.sw-plant {
  background: var(--citrus);
}

.sw-grow {
  background: #cdd9a8;
}

.sw-harvest {
  background: var(--leaf-500);
}

.sw-rest {
  background: #e2e6da;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .recipe-card,
  figure.photo img,
  .btn {
    transition: none;
  }

  .card:hover,
  .recipe-card:hover {
    transform: none;
  }

  figure.photo img:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .site-nav ul {
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 0.84rem;
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 0.75rem 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid #f0f2e6;
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: none;
    font-size: 0.98rem;
  }

  .site-nav a.active {
    background: #f4f7e6;
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split.reverse > div:first-child {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .recipe-body {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: clamp(6rem, 16vw, 8rem);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 2.75rem 0;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .tabs .tab-list {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .feature-quote {
    padding: 0 1.5rem;
  }

  .chart-block {
    padding: 1.25rem;
  }
}
