/* ===== Oljčno Olje Oljka — stained glass design system ===== */

:root {
  --forest-900: #122318;
  --forest-800: #1b3425;
  --forest-700: #234430;
  --forest-600: #2e5a3f;
  --bone-100: #fbf6e9;
  --bone-200: #f3ecd9;
  --bone-300: #e8dcc0;
  --brass-400: #e0b35a;
  --brass-500: #c8903c;
  --brass-700: #8f6322;
  --ruby-500: #8c2f3a;
  --ruby-600: #6e2430;
  --amber-500: #c4762e;
  --ink-900: #171a13;
  --shadow-1: 0 8px 24px -8px rgb(18 35 24 / 0.35);
  --shadow-2: 0 18px 40px -12px rgb(18 35 24 / 0.45);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: "Seravek", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Menlo", "Consolas", "SFMono-Regular", monospace;
  --ease-glass: cubic-bezier(.22,.9,.3,1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bone-100);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.1;
  color: var(--forest-900);
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.2vw + .9rem, 1.6rem); }

p { margin: 0 0 1em; }
a { color: var(--forest-700); text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  color: var(--brass-700);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

.icon { width: 1.3em; height: 1.3em; stroke: currentColor; fill: none; stroke-width: 1.6; vertical-align: -.25em; }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--forest-900);
  background: transparent;
  color: var(--forest-900);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease-glass), border-color .4s var(--ease-glass);
  text-decoration: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  left: -100%;
  background: var(--forest-900);
  z-index: -1;
  transition: left .42s var(--ease-glass);
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--bone-100); }

.btn-primary {
  background: var(--forest-900);
  color: var(--bone-100);
  border-color: var(--forest-900);
}
.btn-primary::before { background: var(--brass-500); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--forest-900); }

.btn-brass {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--forest-900);
}
.btn-brass::before { background: var(--forest-900); }
.btn-brass:hover, .btn-brass:focus-visible { color: var(--bone-100); }

.btn-ghost-dark {
  border-color: var(--bone-200);
  color: var(--bone-100);
}
.btn-ghost-dark::before { background: var(--bone-100); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { color: var(--forest-900); }

.btn:focus-visible { outline: 3px solid var(--brass-400); outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 2px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(251 246 233 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bone-300);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--forest-900);
}
.brand svg.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand .wordmark { width: 168px; height: auto; aspect-ratio: 220 / 40; }
.brand .wordmark text { font-family: var(--font-display); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  color: var(--forest-800);
  font-weight: 600;
  font-size: .92rem;
  position: relative;
  padding: .2em 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--brass-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-glass);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--brass-700); }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--forest-900);
  font-weight: 700;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 .3em;
  border-radius: 999px;
  background: var(--ruby-500);
  color: var(--bone-100);
  font-size: .75rem;
  font-family: var(--font-mono);
  transition: transform .25s var(--ease-glass);
}
.cart-count.bump { animation: bump .4s var(--ease-glass); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  position: relative;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--forest-900);
  transition: transform .3s var(--ease-glass), opacity .3s var(--ease-glass);
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--forest-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease-glass), visibility .4s;
    z-index: 70;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { color: var(--bone-200); font-size: 1.1rem; }
  .main-nav a[aria-current="page"] { color: var(--brass-400); }
  .menu-toggle { display: inline-flex; }
}

/* ===== Grain / noise overlay ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: .05;
  mix-blend-mode: overlay;
  animation: grain-shimmer 7s steps(6) infinite;
}
@keyframes grain-shimmer {
  0%, 100% { opacity: .035; transform: translate(0,0); }
  25% { opacity: .07; transform: translate(-1%, 1%); }
  50% { opacity: .04; transform: translate(1%, -1%); }
  75% { opacity: .065; transform: translate(0, 1%); }
}
@media (prefers-reduced-motion: reduce) { .grain-overlay { animation: none; opacity: .045; } }

/* ===== Hero (tabbed, stained-glass) ===== */
.hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% -10%, var(--forest-700), var(--forest-900) 65%);
  color: var(--bone-100);
}
.hero .container { position: relative; z-index: 3; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy .eyebrow { color: var(--brass-400); }
.hero h1 { color: var(--bone-100); margin-top: .3rem; }
.hero-copy p { color: var(--bone-200); max-width: 34ch; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }

.hero-tabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.hero-tabs button {
  background: rgb(243 236 217 / .08);
  border: 1px solid rgb(243 236 217 / .3);
  color: var(--bone-200);
  padding: .5em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  min-height: 44px;
  transition: background .3s var(--ease-glass), color .3s var(--ease-glass), border-color .3s;
}
.hero-tabs button[aria-selected="true"] {
  background: var(--brass-500);
  color: var(--forest-900);
  border-color: var(--brass-500);
}

.hero-stage {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s var(--ease-glass);
}
.hero-pane[data-active="true"] { opacity: 1; visibility: visible; }
.hero-pane img { width: 100%; height: 100%; object-fit: cover; }
.hero-pane .glass-tint {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
  opacity: .55;
}
.hero-stage .pane-caption {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  z-index: 1;
  color: var(--bone-100);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgb(0 0 0 / .5);
}
.hero-stage .leaded-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* ===== Sections / cards ===== */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bone-200); }
.section-dark { background: var(--forest-900); color: var(--bone-200); }
.section-dark h2, .section-dark h3 { color: var(--bone-100); }

.section-head { max-width: 62ch; margin-bottom: 2.4rem; }

.divider {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bone-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-glass), box-shadow .35s var(--ease-glass);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.product-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-glass); }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-700); }
.product-card h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.product-card .price { font-weight: 700; color: var(--forest-800); font-size: 1.05rem; margin-top: auto; }
.product-card a.card-link { color: inherit; text-decoration: none; display: block; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }

/* horizontal scroll-snap strip on mobile */
.product-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 760px) {
  .product-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: .5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .product-strip .product-card { min-width: 72vw; scroll-snap-align: start; }
}

/* ===== Badges / seals ===== */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
}
.badge-seal { width: 86px; height: 86px; flex-shrink: 0; }

/* ===== Reveal animation ===== */
.reveal { opacity: 1; transform: none; }
.reveal.js-hidden { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 12% 0); }
.reveal.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition: opacity .7s var(--ease-glass), transform .7s var(--ease-glass), clip-path .7s var(--ease-glass);
}
.reveal.js-hidden:nth-child(1) { transition-delay: 0s; }
.reveal.js-hidden:nth-child(2) { transition-delay: .08s; }
.reveal.js-hidden:nth-child(3) { transition-delay: .16s; }
.reveal.js-hidden:nth-child(4) { transition-delay: .24s; }

/* ===== Olive compass (signature feature) ===== */
.compass {
  background: var(--forest-900);
  color: var(--bone-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.compass::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, var(--forest-700), transparent 20%, var(--brass-700) 40%, transparent 60%, var(--ruby-600) 80%, var(--forest-700));
  opacity: .18;
  filter: blur(40px);
}
.compass-grid { position: relative; z-index: 1; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .compass-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }

.compass-controls fieldset { border: none; margin: 0 0 1.4rem; padding: 0; }
.compass-controls legend { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass-400); margin-bottom: .6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  position: relative;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5em 1.1em;
  border-radius: 999px;
  border: 1px solid rgb(243 236 217 / .35);
  color: var(--bone-200);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.chip input:checked + label {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--forest-900);
}
.chip input:focus-visible + label { outline: 3px solid var(--brass-400); outline-offset: 2px; }

.compass-result {
  background: rgb(251 246 233 / .06);
  border: 1px solid rgb(251 246 233 / .18);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  min-height: 180px;
}
.compass-result .hint { color: var(--bone-300); font-family: var(--font-mono); font-size: .85rem; }
.compass-match {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgb(251 246 233 / .14);
}
.compass-match:last-child { border-bottom: none; }
.compass-match img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.compass-match .meta { flex: 1; }
.compass-match .meta h4 { margin: 0 0 .2rem; color: var(--bone-100); font-size: 1rem; }
.compass-match .meta p { margin: 0; color: var(--bone-300); font-size: .85rem; }
.compass-match .why { font-family: var(--font-mono); font-size: .72rem; color: var(--brass-400); }

/* ===== Forms ===== */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--forest-800); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: .75em .9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--bone-300);
  background: var(--bone-100);
  accent-color: var(--forest-700);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--brass-400);
  outline-offset: 1px;
  border-color: var(--forest-700);
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; padding: .3rem 0; }
.form-msg[data-state="ok"] { color: var(--forest-700); }
.form-msg[data-state="error"] { color: var(--ruby-500); }
.form-msg:empty { display: none; }

/* ===== Footer ===== */
.site-footer {
  background: var(--forest-900);
  color: var(--bone-300);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2.2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--bone-100); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--bone-300); }
.footer-grid a:hover { color: var(--brass-400); }
.footer-brand .brand { color: var(--bone-100); margin-bottom: .8rem; }
.footer-brand p { max-width: 30ch; color: var(--bone-300); font-size: .92rem; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: .7em .9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgb(251 246 233 / .25);
  background: rgb(251 246 233 / .06);
  color: var(--bone-100);
  min-height: 44px;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(251 246 233 / .14);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--bone-300);
}
.footer-bottom a { color: var(--bone-300); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  background: var(--forest-900);
  color: var(--bone-100);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-2);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  transform: translateY(140%);
  transition: transform .5s var(--ease-glass);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; font-size: .9rem; color: var(--bone-200); }
.cookie-banner a { color: var(--brass-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ===== Page header (non-home pages) ===== */
.page-hero {
  background: var(--forest-900);
  color: var(--bone-100);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero .eyebrow { color: var(--brass-400); }
.page-hero h1 { color: var(--bone-100); }
.page-hero p { color: var(--bone-200); max-width: 56ch; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th { text-align: left; font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brass-700); padding: .6rem; border-bottom: 2px solid var(--bone-300); }
.cart-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--bone-300); vertical-align: middle; }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-row-main { display: flex; align-items: center; gap: .8rem; }
.qty-input { width: 4rem; min-height: 40px; padding: .3em .5em; border-radius: var(--radius-sm); border: 1.5px solid var(--bone-300); }
.remove-btn { background: none; border: none; color: var(--ruby-500); font-weight: 600; cursor: pointer; text-decoration: underline; min-height: 44px; }
.cart-summary { max-width: 360px; margin-left: auto; display: grid; gap: .5rem; font-size: 1.05rem; }
.cart-summary .total { font-weight: 700; font-size: 1.3rem; color: var(--forest-900); display: flex; justify-content: space-between; border-top: 2px solid var(--bone-300); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--forest-700); }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--bone-300);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brass-500);
  flex-shrink: 0;
  transition: transform .3s var(--ease-glass);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .7rem; color: var(--forest-800); }

/* ===== 404 ===== */
.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.notfound svg { width: min(320px, 70vw); height: auto; margin: 0 auto 1.5rem; }

/* ===== Continuous ambient element ===== */
.ambient-leaf {
  position: fixed;
  right: 2.5vw;
  top: 30vh;
  width: 54px;
  height: 54px;
  opacity: .5;
  z-index: 1;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(26px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .ambient-leaf { animation: none; } }
@media (max-width: 900px) { .ambient-leaf { display: none; } }

/* ===== Misc ===== */
.two-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.stat-strip { display: flex; flex-wrap: wrap; gap: 2rem; }
.stat-strip div { font-family: var(--font-mono); }
.stat-strip strong { display: block; font-size: 1.6rem; color: var(--forest-900); font-family: var(--font-display); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass-500);
  color: var(--forest-900);
  padding: .6em 1em;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
