/* =========================================================================
   forestry-ecological-gis.org — main stylesheet
   Light, forest-inspired theme. Wide on desktop, fluid on mobile.
   ========================================================================= */

:root {
  /* Palette — moss, bark, lichen, sky, parchment. */
  --c-moss-900: #1f3a2b;
  --c-moss-700: #2e5a3f;
  --c-moss-500: #4a8a5f;
  --c-moss-300: #8fbf9f;
  --c-moss-100: #e2efe5;

  --c-bark-700: #5a4128;
  --c-bark-500: #876445;
  --c-bark-300: #c9a982;

  --c-sky-500:  #3a7ca5;
  --c-sky-300:  #8fc1de;
  --c-sky-100:  #e3eef5;

  --c-sun-500:  #e07a1f;
  --c-sun-300:  #f3b06d;
  --c-sun-100:  #fce8d4;

  --c-bg:        #fafaf6;
  --c-surface:   #ffffff;
  --c-surface-2: #f3f1e7;
  --c-line:      #e5e0d1;
  --c-text:      #2c2a23;
  --c-text-soft: #5b574b;
  --c-muted:     #8a8576;

  --c-link:        var(--c-moss-700);
  --c-link-hover:  var(--c-sun-500);

  /* Typography */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
               system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif Pro", "Iowan Old Style", "Charter", "Georgia", serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", "Consolas", monospace;

  --fs-base:  1.0625rem;     /* 17px */
  --fs-small: 0.9rem;
  --fs-h1:    clamp(1.5rem, 1.0rem + 2.4vw, 3rem);
  --fs-h2:    clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem);
  --fs-h3:    clamp(1.2rem, 1rem + 0.6vw, 1.55rem);
  --fs-h4:    1.1rem;

  --lh-body: 1.7;
  --lh-heading: 1.25;

  /* Layout */
  --max-content: 1640px;       /* widescreen-friendly */
  --max-prose:   86ch;         /* fallback for legibility on truly narrow content */
  --header-h:    72px;
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   18px;

  --shadow-1: 0 1px 2px rgba(20, 30, 25, 0.06), 0 2px 8px rgba(20, 30, 25, 0.04);
  --shadow-2: 0 4px 14px rgba(20, 30, 25, 0.08), 0 12px 30px rgba(20, 30, 25, 0.06);

  --t-fast: 120ms ease;
  --t-base: 220ms ease;
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body {
  overflow-x: clip;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main, .container { min-width: 0; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-wrap: break-word; }
.prose p, .prose li { overflow-wrap: break-word; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
  color: var(--c-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
a:hover, a:focus-visible {
  color: var(--c-link-hover);
  border-bottom-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--c-sun-500);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-moss-700);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---- Layout primitives ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.25rem);
}
main { flex: 1 0 auto; }
.page-wrap { padding-block: clamp(1.5rem, 3vw, 3rem); }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-moss-900);
  border: none;
}
.brand:hover { color: var(--c-moss-700); }
.brand__logo { width: 36px; height: 36px; }
.brand__name { line-height: 1.15; }
.brand__name small { display: block; font-size: 0.7rem; color: var(--c-muted); font-weight: 500; letter-spacing: 0.02em; }

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-text-soft);
  border: none;
  white-space: nowrap;
  line-height: 1;
}
.primary-nav .nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}
.nav-toggle__icon { width: 1.4rem; height: 1.4rem; display: block; }
.primary-nav a:hover, .primary-nav a:focus-visible {
  background: var(--c-moss-100);
  color: var(--c-moss-900);
}
.primary-nav a[aria-current="page"] {
  background: var(--c-moss-100);
  color: var(--c-moss-900);
}
.primary-nav a[aria-current="page"]::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-moss-500);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--c-moss-900);
}
.nav-toggle:hover { background: var(--c-moss-100); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    padding: 0.5rem 1rem 1rem;
    gap: 0.1rem;
    box-shadow: var(--shadow-1);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  margin-top: 4rem;
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-line);
  color: var(--c-text-soft);
  font-size: 0.95rem;
}
.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1.5fr 2fr; align-items: start; }
}
.site-footer h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); margin: 0 0 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: var(--c-text); border-bottom-color: transparent; }
.site-footer a:hover { color: var(--c-moss-700); border-bottom-color: currentColor; }
.site-footer__meta { font-size: 0.85rem; color: var(--c-muted); margin-top: 1rem; }

/* ---- Headings & prose -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: var(--lh-heading);
  color: var(--c-moss-900);
  margin: 2.2rem 0 0.9rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
h1 {
  font-size: var(--fs-h1);
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--c-moss-700), var(--c-sky-500) 60%, var(--c-sun-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: var(--fs-h2);
  position: relative;
  padding-left: 0.85rem;
}
h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 4px; height: 0.95em;
  background: linear-gradient(var(--c-moss-500), var(--c-sky-500));
  border-radius: 2px;
}
h3 { font-size: var(--fs-h3); color: var(--c-moss-700); }
h4 { font-size: var(--fs-h4); color: var(--c-bark-700); letter-spacing: 0.01em; }

.prose p { margin: 0 0 1.1rem; }

/* Lists: forest-themed bullets and tidy spacing */
.prose ul,
.prose ol {
  margin: 0.5rem 0 1.4rem;
  padding-left: 1.6rem;
}
.prose ul { list-style: none; }
.prose ol { list-style: none; counter-reset: pl; }
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-block: 0.4rem 0.6rem;
}
.prose li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 0.35rem;
  line-height: 1.65;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--c-moss-500);
  box-shadow: 0 0 0 3px var(--c-moss-100);
}
.prose ul ul > li::before {
  background: transparent;
  border: 1.5px solid var(--c-moss-500);
  box-shadow: none;
  width: 0.4rem;
  height: 0.4rem;
}
.prose ul ul ul > li::before {
  background: var(--c-bark-500);
  box-shadow: 0 0 0 3px var(--c-sun-100);
}
.prose ol > li {
  counter-increment: pl;
}
.prose ol > li::before {
  content: counter(pl);
  position: absolute;
  left: -1.85rem;
  top: 0.2em;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--c-moss-100);
  color: var(--c-moss-900);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-grid;
  place-content: center;
  border: 1px solid var(--c-moss-300);
}
.prose ol { padding-left: 2.1rem; }
.prose li > p { margin-bottom: 0.5rem; }
.prose li > ul,
.prose li > ol { margin-top: 0.4rem; }

/* Description lists, just in case */
.prose dl { margin: 1rem 0 1.4rem; display: grid; gap: 0.4rem 1rem; grid-template-columns: max-content 1fr; }
.prose dt { font-weight: 600; color: var(--c-moss-900); }
.prose dd { margin: 0; color: var(--c-text-soft); }

/* Task lists override the bullet styling above */
.prose ul.contains-task-list > li::before,
.prose .contains-task-list ul > li::before { content: none; }

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.1rem;
  border-left: 4px solid var(--c-moss-300);
  background: var(--c-moss-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-text-soft);
  font-style: italic;
}
.prose hr {
  border: none;
  height: 1px;
  background: var(--c-line);
  margin: 2.5rem 0;
}

/* Inline code: subtle tint, no border, blends with text. */
.prose :not(pre) > code,
.prose p > code,
.prose li > code,
.prose td > code,
.prose th > code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--c-moss-100);
  color: var(--c-moss-900);
  padding: 0.05em 0.4em;
  border-radius: 4px;
  border: none;
}

/* Codeblocks: light theme. Prism's default theme tokens get overridden below. */
.code-wrap {
  position: relative;
  margin: 1.4rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: #f7f7ef;
  border: 1px solid var(--c-line);
}
.code-wrap pre[class*="language-"],
.code-wrap pre {
  margin: 0;
  padding: 1.05rem 1.15rem;
  background: transparent;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2c2a23;
}
.code-wrap pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.copy-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: var(--c-surface);
  color: var(--c-moss-700);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--t-base), background var(--t-fast), color var(--t-fast);
}
.code-wrap:hover .copy-btn,
.copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { background: var(--c-moss-100); color: var(--c-moss-900); }
.copy-btn.is-copied { color: var(--c-moss-700); background: var(--c-moss-100); }

/* Prism token overrides (light) */
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #8a8576; font-style: italic; }
.token.punctuation { color: #5b574b; }
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol { color: var(--c-sun-500); }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: var(--c-moss-700); }
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string { color: var(--c-sky-500); background: transparent; }
.token.atrule, .token.attr-value, .token.keyword { color: #b04a4a; }
.token.function, .token.class-name { color: var(--c-bark-700); }
.token.regex, .token.important, .token.variable { color: #b04a4a; }

/* Tables */
.table-scroll {
  overflow-x: auto;
  margin: 1.4rem 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
}
.table-scroll > table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.table-scroll th, .table-scroll td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.table-scroll thead th {
  background: var(--c-moss-100);
  color: var(--c-moss-900);
  font-weight: 600;
  border-bottom: 2px solid var(--c-moss-300);
}
.table-scroll tbody tr:hover { background: var(--c-surface-2); }
.table-scroll tbody tr:last-child td { border-bottom: none; }

/* Task lists (togglable checkboxes, no leading bullet) */
.prose ul.contains-task-list,
.prose .contains-task-list ul {
  list-style: none;
  padding-left: 0.25rem;
}
.prose li.task-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.15rem 0;
}
.prose li.task-list-item { padding-left: 0; }
.prose li.task-list-item::marker,
.prose li.task-list-item::before { content: none; background: transparent; box-shadow: none; border: none; }
.prose li.task-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem; height: 1.05rem;
  margin-top: 0.35rem;
  border: 1.5px solid var(--c-moss-500);
  border-radius: 4px;
  background: var(--c-surface);
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-grid;
  place-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.prose li.task-list-item input[type="checkbox"]:hover { border-color: var(--c-moss-700); }
.prose li.task-list-item input[type="checkbox"]:checked {
  background: var(--c-moss-500);
  border-color: var(--c-moss-500);
}
.prose li.task-list-item input[type="checkbox"]:checked::after {
  content: "";
  width: 0.35rem; height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.prose li.task-list-item.is-checked > *:not(input) { text-decoration: line-through; color: var(--c-muted); }

/* FAQ accordion */
.faq-list { display: grid; gap: 0.65rem; margin: 1rem 0 2rem; }
.faq {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  transition: box-shadow var(--t-base);
}
.faq[open] { box-shadow: var(--shadow-1); }
.faq > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  color: var(--c-moss-900);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--c-moss-500);
  transition: transform var(--t-base);
}
.faq[open] > summary::after { content: "−"; transform: rotate(0deg); }
.faq-body { padding: 0 1.1rem 1rem; color: var(--c-text-soft); }
.faq-body > *:first-child { margin-top: 0; }
.faq-body > *:last-child  { margin-bottom: 0; }

/* Mermaid */
.mermaid {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1.4rem 0;
  text-align: center;
  overflow-x: auto;
}

/* KaTeX (loaded from CDN) */
.katex { font-size: 1.02em; }
.katex-display { overflow-x: auto; overflow-y: hidden; padding-block: 0.25rem; }

/* ---- Article (page/section) layout ------------------------------------ */
.article {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1100px) {
  .article.has-toc {
    grid-template-columns: minmax(0, 1fr) 16rem;
  }
}
.article__body {
  background: var(--c-surface);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--c-line);
}
.article__body > *:first-child { margin-top: 0; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--c-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--c-text-soft); border-bottom-color: transparent; }
.breadcrumbs a:hover { color: var(--c-moss-700); border-bottom-color: currentColor; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; }
.breadcrumbs li + li::before { content: "›"; color: var(--c-muted); margin-right: 0.5rem; }

/* ---- Home hero ---------------------------------------------------------- */
.hero {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.hero__logo {
  margin: 0 auto 1.5rem;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(46, 90, 63, 0.18));
}
.hero h1 { margin-bottom: 0.9rem; }
.hero__lede {
  max-width: 70ch;
  margin: 0 auto;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  color: var(--c-text-soft);
}

.cta-row {
  display: grid;
  gap: 0.85rem;
  margin: 2rem auto 0;
  max-width: 980px;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  background: var(--c-surface);
  color: var(--c-moss-900);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  border-bottom: 1px solid var(--c-line);
  transition: transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-fast), background var(--t-fast);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-moss-300);
  background: var(--c-moss-100);
  color: var(--c-moss-900);
}
.cta__icon { width: 26px; height: 26px; flex: 0 0 auto; }
.cta--canopy .cta__icon  { color: var(--c-moss-500); }
.cta--ecology .cta__icon { color: var(--c-sky-500); }
.cta--maxent  .cta__icon { color: var(--c-sun-500); }

/* ---- Section cards (used on home + hubs) ------------------------------- */
.intro-prose {
  max-width: 95ch;
  margin: 0 auto;
  padding-inline: 0.5rem;
}
@media (min-width: 1100px) {
  .intro-prose {
    max-width: none;
    columns: 2;
    column-gap: 3rem;
    column-rule: 1px solid var(--c-line);
  }
  .intro-prose > p { break-inside: avoid; margin: 0 0 1rem; }
}

.section-intro {
  margin: 3rem auto 1rem;
  max-width: 78ch;
  text-align: center;
  color: var(--c-text-soft);
}
.section-intro h2 { color: var(--c-moss-900); }

.card-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  margin: 1.5rem 0 2.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.3rem 1.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-text);
  box-shadow: var(--shadow-1);
  border-bottom: 1px solid var(--c-line);
  transition: transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-fast);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-moss-300);
  color: var(--c-text);
}
.card__icon {
  width: 32px; height: 32px;
  color: var(--c-moss-500);
}
.card--ecology .card__icon { color: var(--c-sky-500); }
.card--maxent  .card__icon { color: var(--c-sun-500); }
.card--canopy  .card__icon { color: var(--c-moss-500); }
.card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--c-moss-900);
}
.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--c-text-soft);
  line-height: 1.55;
}
.card__more {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--c-moss-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card:hover .card__more { color: var(--c-sun-500); }

/* ---- Related / child nav on deep pages -------------------------------- */
.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.related h2 { margin-top: 0; font-size: var(--fs-h3); }

/* ---- Responsive widening -------------------------------------------- */
@media (min-width: 1200px) {
  :root { --fs-base: 1.1rem; }
  .article__body { padding: 3rem clamp(2.5rem, 5vw, 4.5rem); }
  .hero__lede { max-width: 88ch; }
}
@media (min-width: 1500px) {
  .article__body { padding: 3.5rem clamp(3rem, 6vw, 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
