/* ==========================================================================
   UI kit · Баргузинский заповедник · Портал
   Composes on top of /colors_and_type.css
   ========================================================================== */

/* Layout shell */
.page { min-height: 100vh; background: var(--paper); color: var(--fg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.content { max-width: 720px; margin: 0 auto; padding: 0 32px; }

/* ---- Header --------------------------------------------------------- */
.header {
  border-bottom: 1px solid var(--mist-strong);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 40px;
  padding: 18px 32px; max-width: 1200px; margin: 0 auto;
}
.wordmark { display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.wordmark .line { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--sable-700); letter-spacing: 0.04em; line-height: 1; }
.wordmark .rule { border: none; border-top: 1px solid var(--cedar-500); border-bottom: 1px solid var(--cedar-500); height: 3px; margin: 4px 0 3px; }
.wordmark .sub { font-family: var(--font-mono); font-size: 9px; color: var(--cedar-500); letter-spacing: 0.18em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; justify-content: center; }
.nav a {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--sable-600); text-decoration: none;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.nav a:hover { color: var(--cedar-500); }
.nav a.active { border-bottom-color: var(--cedar-500); color: var(--cedar-500); }

.header-actions { display: flex; gap: 14px; align-items: center; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--sable-200); border-radius: 2px;
  background: var(--paper-sunk); color: var(--sable-400);
  font-family: var(--font-body); font-size: 13px; cursor: pointer;
  transition: border-color 160ms var(--ease-out);
}
.search-trigger:hover { border-color: var(--cedar-500); color: var(--cedar-500); }
.search-trigger svg { width: 14px; height: 14px; stroke-width: 1.75; }

/* ---- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  background: var(--paper);
  overflow: hidden;
}
.hero-topo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url('/assets/topo-contours.svg');
  background-size: 1200px auto; background-repeat: repeat-y;
  opacity: 0.5; mix-blend-mode: multiply;
}
/* photo-backed hero variant */
.hero-photo { padding: 120px 32px 110px; color: var(--paper); }
.hero-photo .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(32,22,12,0.55) 0%, rgba(32,22,12,0.35) 40%, rgba(32,22,12,0.72) 100%),
    linear-gradient(90deg, rgba(32,22,12,0.55) 0%, rgba(32,22,12,0.2) 70%);
}
.hero-photo .hero-topo { opacity: 0.18; mix-blend-mode: screen; }
.hero-photo .hero-kicker { color: #E7C48D; }
.hero-photo .hero-title { color: var(--paper); }
.hero-photo .hero-lead { color: rgba(255,253,248,0.88); }
.hero-photo .btn-secondary { color: var(--paper); border-color: rgba(255,253,248,0.7); }
.hero-photo .btn-secondary:hover { background: rgba(255,253,248,0.12); }
.hero-photo .meta-cell { border-top-color: #E7C48D; }
.hero-photo .meta-cell .k { color: #E7C48D; }
.hero-photo .meta-cell .v { color: var(--paper); }
.hero-photo .meta-cell .vsub { color: rgba(255,253,248,0.65); }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.hero-kicker { font-family: var(--font-mono); font-size: 11px; color: var(--cedar-500); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: 80px; line-height: 0.98; color: var(--sable-700); letter-spacing: -0.015em; margin: 0 0 22px; text-wrap: balance; }
.hero-lead { font-family: var(--font-body); font-size: 20px; line-height: 1.5; color: var(--sable-500); max-width: 520px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-self: end; }
.meta-cell { border-top: 1px solid var(--cedar-500); padding-top: 10px; }
.meta-cell .k { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.meta-cell .v { font-family: var(--font-display); font-weight: 700; color: var(--sable-700); font-size: 28px; line-height: 1.1; }
.meta-cell .vsub { font-family: var(--font-mono); font-size: 11px; color: var(--sable-400); margin-top: 2px; letter-spacing: 0.04em; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 12px 20px; border-radius: 2px; border: 1.5px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 160ms var(--ease-out);
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; stroke-width: 1.5; }
.btn-primary { background: var(--sable-600); color: var(--paper); }
.btn-primary:hover { background: var(--sable-700); }
.btn-secondary { background: transparent; color: var(--sable-600); border-color: var(--sable-600); }
.btn-secondary:hover { background: var(--mist); }
.btn-ghost { background: transparent; color: var(--cedar-500); padding: 6px 0; }
.btn-ghost:hover { color: var(--sable-700); }

/* ---- Section header ------------------------------------------------- */
.section { padding: 72px 32px; }
.section-header { max-width: 1200px; margin: 0 auto 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end; }
.section-num { font-family: var(--font-mono); font-size: 12px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.1; color: var(--sable-700); margin: 0; letter-spacing: -0.01em; }
.section-rule { border: none; border-top: 3px double var(--cedar-500); height: 0; margin: 0 0 22px; }
.section-link { font-family: var(--font-body); font-size: 14px; color: var(--cedar-500); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.section-link:hover { color: var(--sable-700); }

/* ---- Species card --------------------------------------------------- */
.species-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.species-card {
  background: var(--paper-raised);
  border: 1px solid var(--sable-100);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.species-card:hover { border-color: var(--cedar-500); }
.species-photo {
  aspect-ratio: 4 / 3; background: var(--paper-sunk);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--sable-100);
  position: relative;
}
.species-photo-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--sable-300); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.species-photo img { width: 75%; height: auto; }
.species-photo.has-photo { padding: 0; background: var(--sable-700); }
.species-photo img.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.species-body { padding: 20px 20px 22px; }
.species-meta { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.species-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--sable-700); margin: 0 0 4px; line-height: 1.15; }
.species-latin { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--cedar-500); margin: 0 0 12px; }
.species-desc { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--sable-500); margin: 0; }

.badge { display: inline-block; padding: 3px 9px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; border-radius: 2px; }
.b-red { background: #F7E3DD; color: #A53F2B; border: 1px solid #E1B7AB; }
.b-green { background: #E9ECDF; color: #4A7A3D; border: 1px solid #C7D1AE; }
.b-amber { background: #F6EBD3; color: #8A5A28; border: 1px solid #E0C89B; }
.b-neutral { background: var(--mist); color: var(--sable-500); border: 1px solid var(--mist-strong); }

/* ---- History timeline ----------------------------------------------- */
.timeline { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px double var(--cedar-500); padding-top: 32px; }
.tl-item { padding: 0 24px 0 0; border-right: 1px solid var(--mist-strong); }
.tl-item:last-child { border-right: 0; }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--cedar-500); letter-spacing: -0.01em; line-height: 1; margin-bottom: 12px; }
.tl-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--sable-700); margin-bottom: 8px; }
.tl-body { font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--sable-500); }

/* ---- Article preview / news ---------------------------------------- */
.articles { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.article { cursor: pointer; }
.article .img { aspect-ratio: 16/10; background: var(--paper-sunk); border: 1px solid var(--sable-100); display: flex; align-items:center; justify-content: center; font-family: var(--font-mono); font-size: 10px; color: var(--sable-300); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; overflow: hidden; }
.article .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article .meta { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.article h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--sable-700); margin: 0 0 8px; }
.article.lg h3 { font-size: 30px; }
.article p { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--sable-500); margin: 0; }

/* ---- Footer --------------------------------------------------------- */
.footer { background: var(--sable-700); color: var(--paper); padding: 64px 32px 24px; position: relative; overflow: hidden; margin-top: 96px; }
.footer-topo { position: absolute; inset: 0; opacity: 0.1; background-image: url('/assets/topo-contours.svg'); background-size: 1200px auto; background-repeat: repeat-y; }
.footer-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cedar-200); margin: 0 0 16px; font-weight: 500; }
.footer a { display: block; font-family: var(--font-body); font-size: 14px; color: var(--paper); text-decoration: none; padding: 4px 0; opacity: 0.85; }
.footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .line { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--paper); letter-spacing: 0.04em; line-height: 1.1; }
.footer-brand .sub { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-200); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 8px; }
.footer-seal { position: absolute; right: 48px; top: 48px; opacity: 0.3; transform: rotate(-6deg); width: 150px; }
.footer-seal svg, .footer-seal img { width: 100%; filter: invert(1) sepia(0.3); }
.footer-bottom { position: relative; max-width: 1200px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--cedar-200); letter-spacing: 0.06em; }

/* ---- Map section --------------------------------------------------- */
.map-section { background: var(--paper-raised); }
.map-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.map-figure { background: var(--paper); border: 1px solid var(--sable-100); padding: 24px; }
.map-figure img { width: 100%; height: auto; display: block; }
.map-figure figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--sable-400); letter-spacing: 0.04em; margin-top: 14px; line-height: 1.5; }
.map-notes { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.map-note { border-top: 1px solid var(--cedar-500); padding-top: 12px; }
.map-note .k { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.map-note .v { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--sable-600); }

/* ---- Utility -------------------------------------------------------- */
.divider { border: none; border-top: 3px double var(--cedar-500); height: 0; margin: 48px 0; }

/* ---- Article page --------------------------------------------------- */
.article-hero { padding: 64px 32px 40px; max-width: 880px; margin: 0 auto; }
.article-kicker { font-family: var(--font-mono); font-size: 11px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; display: inline-flex; gap: 16px; align-items: center; }
.article-kicker .dot { width: 3px; height: 3px; background: var(--sable-300); border-radius: 50%; }
.article-title { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.05; color: var(--sable-700); margin: 0 0 20px; letter-spacing: -0.01em; }
.article-lead { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--sable-500); margin: 0; }

.article-body { max-width: 720px; margin: 0 auto; padding: 40px 32px 80px; }
.article-body p { font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: var(--sable-600); margin: 0 0 20px; }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--sable-700); margin: 40px 0 16px; line-height: 1.2; }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--sable-700); margin: 28px 0 10px; }
.article-figure { margin: 32px 0; }
.article-figure .img { aspect-ratio: 16/10; background: var(--paper-sunk); border: 1px solid var(--sable-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); color: var(--sable-300); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; overflow: hidden; }
.article-figure .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-figure figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--sable-400); letter-spacing: 0.04em; margin-top: 8px; }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.3; color: var(--cedar-500); border-left: 3px double var(--cedar-500); padding: 8px 0 8px 24px; margin: 32px 0; }
.footnote { font-family: var(--font-mono); font-size: 12px; color: var(--sable-400); letter-spacing: 0.02em; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--mist-strong); }

/* ---- Species detail -------------------------------------------------- */
.species-header { max-width: 1200px; margin: 0 auto; padding: 56px 32px 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.species-hero-photo { aspect-ratio: 4/3; background: var(--paper-sunk); border: 1px solid var(--sable-100); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.species-hero-photo img { width: 60%; }
.species-hero-photo.has-photo { padding: 0; background: var(--sable-700); }
.species-hero-photo img.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.species-header-text { padding-bottom: 16px; }
.species-taxonomy { border-top: 1px solid var(--mist-strong); padding: 20px 0 0; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.taxonomy-item { }
.taxonomy-item .k { font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.taxonomy-item .v { font-family: var(--font-body); font-size: 14px; color: var(--sable-600); }

/* ---- Search modal -------------------------------------------------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(58,42,30,0.4); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; }
.modal {
  width: 720px; max-width: 90vw; background: var(--paper);
  border-radius: 4px; box-shadow: 0 8px 24px rgba(58,42,30,0.12), 0 2px 4px rgba(58,42,30,0.06);
  overflow: hidden;
}
.modal-input { width: 100%; padding: 22px 28px; border: 0; border-bottom: 1px solid var(--mist-strong); font-family: var(--font-body); font-size: 18px; background: transparent; color: var(--sable-600); outline: none; }
.modal-results { max-height: 400px; overflow-y: auto; }
.modal-section { padding: 10px 28px; font-family: var(--font-mono); font-size: 10px; color: var(--cedar-500); letter-spacing: 0.14em; text-transform: uppercase; background: var(--paper-raised); }
.modal-result { padding: 12px 28px; display: flex; gap: 16px; align-items: center; cursor: pointer; border-bottom: 1px solid var(--mist); }
.modal-result:hover { background: var(--mist); }
.modal-result .title { font-family: var(--font-display); font-weight: 700; color: var(--sable-700); font-size: 16px; }
.modal-result .sub { font-family: var(--font-body); font-size: 13px; color: var(--sable-400); }

/* ---- Tabs ----------------------------------------------------------- */
.tabs { border-bottom: 1px solid var(--mist-strong); display: flex; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.tab { padding: 16px 0; font-family: var(--font-body); font-size: 14px; color: var(--sable-400); cursor: pointer; border-bottom: 2px solid transparent; transition: all 160ms var(--ease-out); background: none; border-width: 0 0 2px; letter-spacing: 0.02em; }
.tab:hover { color: var(--sable-600); }
.tab.active { color: var(--cedar-500); border-bottom-color: var(--cedar-500); }

/* small helpers */
.text-mono { font-family: var(--font-mono); }

/* ---- Burger button ------------------------------------------------------ */
.burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--sable-600);
  transition: transform 240ms var(--ease-out), opacity 160ms;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Mobile nav drawer -------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px; z-index: 200;
  background: var(--paper);
  border-left: 1px solid var(--mist-strong);
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 300ms var(--ease-field);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-body); font-size: 18px; font-weight: 500;
  color: var(--sable-600); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--mist);
  transition: color 160ms var(--ease-out);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--cedar-500); }

.mobile-nav-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 199;
  background: rgba(58,42,30,0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- Tablet (≤ 900px) --------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); align-self: auto; }
  .hero-title { font-size: 56px; }

  .species-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; gap: 32px; }
  .articles { grid-template-columns: 1fr; gap: 24px; }
  .article.lg h3 { font-size: 22px; }

  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; border-top: none; }
  .tl-item { border-top: 3px double var(--cedar-500); padding-top: 16px; border-right: none; padding-right: 0; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .species-header { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .species-hero-photo { aspect-ratio: 16/9; }
  .species-hero-photo img.cover { width: 100%; }
}

/* ---- Mobile (≤ 640px) --------------------------------------------------- */
@media (max-width: 640px) {
  /* Header */
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 16px; }
  .nav { display: none; }
  .search-label { display: none; }
  .search-trigger .text-mono { display: none; }
  .search-trigger { padding: 8px 10px; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .mobile-nav-backdrop { display: block; }

  /* Sections */
  .section { padding: 48px 16px; }
  .section-header { grid-template-columns: auto 1fr; gap: 12px 16px; margin-bottom: 28px; }
  .section-link { grid-column: 1 / -1; }
  .section-title { font-size: 28px; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero, .hero-photo { padding: 64px 16px 72px; }
  .hero-title { font-size: 38px; line-height: 1.05; }
  .hero-lead { font-size: 16px; }
  .hero-kicker { font-size: 10px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .meta-cell .v { font-size: 22px; }

  /* Species cards */
  .species-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Map */
  .map-grid { grid-template-columns: 1fr; }
  .map-figure { padding: 16px; }

  /* Timeline */
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .tl-year { font-size: 32px; }

  /* Articles */
  .articles { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 48px 16px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-seal { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 10px; }
  .footer-ministry { flex-direction: column; gap: 10px; }

  /* Species detail */
  .species-header { padding: 24px 16px; }
  .species-header-text h1 { font-size: 36px !important; }
  .species-taxonomy { grid-template-columns: 1fr; }

  /* Article body */
  .article-body { padding: 24px 16px 48px; }
  .article-hero { padding: 40px 16px 24px; }
  .article-title { font-size: 36px; }
  .pull-quote { font-size: 20px; }

  /* Tabs */
  .tabs { padding: 0 16px; gap: 16px; overflow-x: auto; }

  /* Content */
  .content { padding: 0 16px; }
}
