/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f9f4;
  --bg-soft-2: #eaf6ee;
  --paper: #ffffff;

  --ink: #16231b;
  --ink-soft: #3c4b42;
  --ink-mute: #66766c;

  --green-900: #0f3320;
  --green-800: #145c39;
  --green-700: #1f7a4d;
  --green-600: #2f9e5c;
  --green-500: #45b96d;
  --green-100: #eaf6ee;

  --white: #ffffff;
  --line: rgba(22, 35, 27, 0.12);
  --line-soft: rgba(22, 35, 27, 0.07);
  --shadow-sm: 0 1px 2px rgba(15, 51, 32, 0.06), 0 1px 1px rgba(15, 51, 32, 0.04);
  --shadow-md: 0 12px 24px -8px rgba(15, 51, 32, 0.18), 0 4px 8px -4px rgba(15, 51, 32, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 51, 32, 0.22), 0 8px 16px -6px rgba(15, 51, 32, 0.1);

  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --nav-h: 76px;
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
::selection { background: var(--green-600); color: var(--white); }

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

html.nav-lock, html.nav-lock body { overflow: hidden; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--white);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.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;
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-soft { background: var(--bg-soft); }
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-600); flex-shrink: 0;
}
.eyebrow-line { color: var(--ink-mute); font-size: 1.05rem; margin-top: .9rem; max-width: 52ch; }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* =============================================================
   4. Buttons & tags
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: .96rem; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--green-700); color: var(--white);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }
}
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
@media (hover: hover) {
  .btn-ghost:hover { border-color: var(--green-700); color: var(--green-800); background: var(--green-100); }
}
.btn-sm { padding: .6rem 1.1rem; font-size: .86rem; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--green-800); background: var(--green-100);
  padding: .35rem .7rem; border-radius: 999px;
}
.chip {
  display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  padding: .4rem .85rem; border-radius: 999px;
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out), background-color .25s var(--ease-out);
}
@media (hover: hover) {
  .chip:hover { border-color: var(--green-700); color: var(--green-800); background: var(--green-100); }
}

/* =============================================================
   5. Header & navigation
   ============================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s var(--ease-out);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem;
  z-index: 20;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: flex; align-items: center; gap: .3rem;
}
.nav-list { display: flex; align-items: center; gap: .2rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .7rem .9rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
}
@media (hover: hover) {
  .nav-link:hover { color: var(--green-800); background: var(--green-100); }
}
.nav-link.is-active { color: var(--green-800); background: var(--green-100); }
.nav-link-caret { transition: transform .25s var(--ease-out); flex-shrink: 0; }
.nav-item.is-open .nav-link-caret { transform: rotate(180deg); }

.nav-cta { margin-left: .4rem; }

.nav-item {
  position: relative;
  display: flex; align-items: center;
}
.nav-caret-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
  color: var(--ink-mute);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
@media (hover: hover) {
  .nav-caret-btn:hover { background: var(--green-100); color: var(--green-800); }
}
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 300px; padding: .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.nav-item.is-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-dropdown-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute); padding: .4rem .7rem .6rem;
}
.nav-dropdown-link {
  display: block; padding: .65rem .7rem; border-radius: 10px;
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), padding-left .2s var(--ease-out);
}
@media (hover: hover) {
  .nav-dropdown-link:hover { background: var(--green-100); color: var(--green-800); padding-left: 1rem; }
}
.nav-dropdown-foot {
  margin-top: .4rem; padding-top: .7rem; border-top: 1px solid var(--line-soft);
}
.nav-dropdown-foot a {
  display: block; padding: .5rem .7rem; font-size: .88rem; font-weight: 700; color: var(--green-700);
}

@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 1.25rem;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
    overflow-y: auto;
  }
  .nav-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: .2rem; }
  .nav-link { padding: .95rem 1rem; }
  .nav-item { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .nav-item > .nav-link { flex: 1 1 auto; }
  .nav-dropdown, .nav-item.is-open .nav-dropdown {
    position: static; left: auto; transform: none; min-width: 0; width: 100%; box-shadow: none;
    border: none; background: var(--bg-soft); margin: .2rem 0 .5rem;
    max-height: 0; padding: 0 .9rem; opacity: 1; visibility: visible; pointer-events: auto;
    overflow: hidden; transition: max-height .3s var(--ease-out), padding .3s var(--ease-out);
  }
  .nav-item.is-open .nav-dropdown { max-height: 480px; padding: .9rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

/* =============================================================
   6. Hero (home)
   ============================================================= */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: clip;
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-title { margin-bottom: 1.1rem; }
.hero-title em {
  font-style: normal; color: var(--green-700);
  background: linear-gradient(180deg, transparent 62%, var(--green-100) 62%);
}
.hero-sub {
  font-size: 1.15rem; color: var(--ink-mute); max-width: 46ch; margin-bottom: 1.9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.1rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 2.4rem);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value {
  font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink);
}
.hero-stat-label { font-size: .85rem; color: var(--ink-mute); }

.hero-media { position: relative; }
.hero-media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
  background: var(--paper); border: 1px solid var(--line);
  padding: .9rem 1.1rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 240px;
}
@media (max-width: 539px) {
  .hero-badge { left: .6rem; right: .6rem; max-width: none; }
}
.hero-badge-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-100); display: flex; align-items: center; justify-content: center;
  color: var(--green-700);
}
.hero-badge-title { font-weight: 800; font-size: .95rem; color: var(--ink); }
.hero-badge-sub { font-size: .8rem; color: var(--ink-mute); }

/* =============================================================
   7. Category cards
   ============================================================= */
.grid-categories {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.category-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
@media (hover: hover) {
  .category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .category-card:hover .category-card-media img { transform: scale(1.07); }
}
.category-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.category-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.category-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.category-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.category-card-tags .chip { font-size: .74rem; padding: .3rem .6rem; }
.category-card-link {
  margin-top: auto; padding-top: .6rem;
  font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: .4rem;
}
.category-card-link svg { transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  .category-card:hover .category-card-link svg { transform: translateX(4px); }
}

/* =============================================================
   8. Article cards & grids
   ============================================================= */
.grid-articles {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.article-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
@media (hover: hover) {
  .article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
  .article-card:hover .article-card-media img { transform: scale(1.08); }
}
.article-card-link { display: block; }
.article-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.article-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.article-card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.article-card-body h3 { font-size: 1.12rem; line-height: 1.25; }
.article-card-body p { font-size: .93rem; color: var(--ink-mute); }
.article-card-meta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--ink-mute); margin-top: .2rem;
}
.article-card-meta .dot::before { content: "·"; }

.empty-state {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--ink-mute);
  font-size: .96rem;
  max-width: 60ch;
}

/* =============================================================
   9. Newsletter
   ============================================================= */
.newsletter {
  background: var(--green-900);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  display: grid; gap: 1.6rem;
  align-items: center;
}
@media (min-width: 720px) {
  .newsletter { grid-template-columns: 1.1fr 1fr; }
}
.newsletter h2 { color: var(--white); }
.newsletter p { color: rgba(255,255,255,.78); max-width: 46ch; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .7rem; }
.newsletter-form input[type="email"] {
  flex: 1 1 220px; min-width: 0;
  padding: .9rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: var(--white); font-size: .95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus-visible { outline-color: var(--green-500); }
.newsletter-note { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .6rem; }
.newsletter-success {
  display: none; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--green-500);
}
.newsletter.is-sent .newsletter-form { display: none; }
.newsletter.is-sent .newsletter-success { display: flex; }

/* =============================================================
   10. About page
   ============================================================= */
.about-values {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.value-card {
  padding: 1.6rem; border-radius: var(--radius-md); background: var(--bg-soft);
  border: 1px solid var(--line-soft);
}
.value-card-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; color: var(--green-700);
  margin-bottom: 1rem;
}

/* =============================================================
   11. Category page
   ============================================================= */
.category-hero {
  display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 860px) {
  .category-hero { grid-template-columns: 1fr 0.8fr; }
}
.category-hero-media {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow-lg);
}
.category-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.subcat-nav {
  display: flex; flex-wrap: wrap; gap: .6rem;
  padding: 1rem 0; margin-bottom: .5rem;
  border-bottom: 1px solid var(--line-soft);
}
.subcategory-section { scroll-margin-top: calc(var(--nav-h) + 24px); padding-block: clamp(2.5rem, 5vw, 4rem); }
.subcategory-section + .subcategory-section { border-top: 1px solid var(--line-soft); }
.subcategory-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.subcategory-head p { color: var(--ink-mute); max-width: 60ch; }

/* =============================================================
   12. Article page
   ============================================================= */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--green-600); z-index: 200;
  transition: width .1s linear;
}
.article-hero { max-width: 760px; margin-inline: auto; text-align: left; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  color: var(--ink-mute); font-size: .9rem; margin-top: 1.2rem;
}
.article-meta .dot::before { content: "·"; }
.article-cover {
  max-width: 960px; margin: clamp(2rem,4vw,3rem) auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  max-width: 720px; margin-inline: auto;
  font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft);
}
.article-body h2 { margin-top: 2.4rem; margin-bottom: 1rem; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.8rem; margin-bottom: .8rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body ul, .article-body ol { margin-bottom: 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.8rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.article-body th, .article-body td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: normal; }
.article-body th { background: var(--bg-soft); font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.article-body tr:last-child td { border-bottom: none; }
.pull-quote {
  border-left: 4px solid var(--green-600);
  padding: .3rem 0 .3rem 1.4rem; margin: 2rem 0;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  color: var(--ink); line-height: 1.4;
}
.tip-box {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem; margin: 1.8rem 0;
}
.tip-box-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--green-800); margin-bottom: .6rem; }

.author-box {
  max-width: 720px; margin: 3rem auto 0; padding: 1.6rem;
  display: flex; gap: 1.1rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-soft);
}
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box-name { font-weight: 800; color: var(--ink); }
.author-box-role { font-size: .85rem; color: var(--ink-mute); margin-bottom: .35rem; }

.back-to-top {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}
@media (max-width: 959px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 539px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--white); margin-bottom: .8rem; }
.footer-tagline { max-width: 32ch; font-size: .92rem; }
.footer-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-col a { display: block; padding-block: .4rem; font-size: .93rem; transition: color .2s var(--ease-out); }
@media (hover: hover) {
  .footer-col a:hover { color: var(--white); }
}
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .84rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease-out);
}
@media (hover: hover) {
  .footer-social a:hover { background: var(--green-700); }
}

/* =============================================================
   15. Page hero (generic, category/about/credits titles)
   ============================================================= */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.breadcrumb { display: flex; gap: .4rem; font-size: .85rem; color: var(--ink-mute); margin-bottom: 1rem; }
.breadcrumb a { color: var(--green-700); font-weight: 600; }

/* =============================================================
   16. Responsive helpers
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions .btn { width: 100%; }
}
