/* ===== Ručni Rad Suveniri — Bauhaus toy-block style ===== */

:root {
  --forest-900: #122922;
  --forest-800: #1f3a2e;
  --forest-700: #2f5444;
  --forest-600: #3c6b56;
  --bone-100: #fbf7ee;
  --bone-200: #f3ecd9;
  --bone-300: #e8ddc1;
  --brass-500: #c08a3e;
  --brass-400: #e0a84f;
  --brass-300: #efc47e;
  --clay-500: #b1543a;
  --ink: #16241d;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-paper: 0 2px 0 rgba(18, 41, 34, 0.12), 0 14px 28px -14px rgba(18, 41, 34, 0.35);
  --font-display: Futura, "Century Gothic", "Trebuchet MS", Verdana, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --maxw: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bone-100);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  accent-color: var(--brass-500);
}

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

a { color: var(--forest-700); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--forest-900);
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

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

/* ===== Grain overlay ===== */
.grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest-900);
  color: var(--bone-100);
  padding: 0.6em 1em;
  z-index: 3000;
}
.skip-link:focus { left: 0; }

/* ===== Icon sprite ===== */
.icon {
  width: 1.3em;
  height: 1.3em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  vertical-align: -0.2em;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bone-100);
  border-bottom: 3px solid var(--forest-900);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}
.logo-mark { width: auto; height: 38px; flex-shrink: 0; }
.logo-mark text { font-family: var(--font-display); }
.logo-mark text:last-of-type { font-family: var(--font-mono); text-transform: uppercase; }

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

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--forest-900);
  border: 2px solid var(--forest-900);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  height: 1.4em;
  background: var(--clay-500);
  color: var(--bone-100);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0 0.2em;
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-count.bump { animation: none; }
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--forest-900);
  border-radius: var(--radius-s);
  padding: 0.4em;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bone-100);
    border-bottom: 3px solid var(--forest-900);
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.4rem;
    gap: 0.9rem;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--forest-900);
  background: var(--forest-900);
  color: var(--bone-100);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass-500);
  transform: translateX(-102%);
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover, .btn:focus-visible { color: var(--forest-900); }

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

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

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

/* ===== Marquee ===== */
.marquee {
  background: var(--forest-900);
  color: var(--bone-200);
  overflow: hidden;
  border-bottom: 3px solid var(--forest-900);
  border-top: 3px solid var(--forest-900);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.6rem 0;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 0.6em; color: var(--brass-300); }
.marquee-track span:nth-child(even) { color: var(--bone-200); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  background: var(--bone-200);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 0.6rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--brass-500);
}
.hero-lede {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 34ch;
  color: var(--forest-800);
}
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; }
.hero-art svg { width: 100%; height: 100%; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 280px; }
}

/* ===== Section basics ===== */
.section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.section-tight { padding-block: clamp(1.6rem, 4vw, 3rem); }
.section-dark { background: var(--forest-900); color: var(--bone-200); }
.section-dark h2, .section-dark h3 { color: var(--bone-100); }
.section-bone2 { background: var(--bone-200); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass-500);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 62ch; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

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

/* ===== Reveal ===== */
.reveal { opacity: 1; transform: none; }
.reveal.js-hidden {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 15% 0);
  transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.7s ease;
}
.reveal.js-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-hidden, .reveal.js-visible { transition: none; opacity: 1; transform: none; clip-path: none; }
}

/* ===== Collage (home) ===== */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: 0.9rem;
}
.collage > * { grid-column: span 6; }
.collage-photo {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.collage-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(18%) saturate(85%) hue-rotate(-6deg);
  transition: transform 0.5s ease;
}
.collage-photo:hover img { transform: scale(1.06); }
.collage-shape {
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-paper);
}
.collage-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bone-100);
  border: 2px dashed var(--forest-700);
  border-radius: var(--radius-m);
  padding: 1rem;
  display: flex;
  align-items: center;
}

@media (min-width: 680px) {
  .collage { grid-auto-rows: 70px; }
  .c-1 { grid-column: 1 / 4; grid-row: 1 / 6; }
  .c-2 { grid-column: 4 / 7; grid-row: 1 / 4; background: var(--brass-400); }
  .c-3 { grid-column: 4 / 6; grid-row: 4 / 7; }
  .c-4 { grid-column: 6 / 7; grid-row: 4 / 7; background: var(--forest-700); color: var(--bone-100); }
  .c-5 { grid-column: 1 / 3; grid-row: 6 / 8; background: var(--clay-500); color: var(--bone-100); }
  .c-6 { grid-column: 3 / 7; grid-row: 7 / 9; }
}

/* ===== Product grid / cards ===== */
.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--forest-900);
  border-radius: 999px;
  padding: 0.5em 1em;
  background: var(--bone-100);
  cursor: pointer;
  min-height: 44px;
}
.chip[aria-pressed="true"] { background: var(--forest-900); color: var(--bone-100); }

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

.card {
  background: var(--bone-100);
  border: 2px solid var(--forest-900);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-paper); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-maker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--forest-700); }
.card-body h3 { font-size: 1.05rem; margin: 0; }
.card-body p { font-size: 0.9rem; color: var(--forest-800); margin: 0; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--clay-500); }

.strip-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
}
.strip-scroll .card { scroll-snap-align: start; }
@media (min-width: 680px) {
  .strip-scroll { display: none; }
  .grid-only { display: grid; }
}
@media (max-width: 679px) {
  .grid-only.product-grid { display: none; }
}

/* ===== Makers map (signature feature) ===== */
.maker-map-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.maker-map {
  position: relative;
  background: var(--forest-800);
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-paper);
}
.maker-map svg { width: 100%; height: 100%; display: block; }
.maker-pin {
  position: absolute;
  width: 34px; height: 34px;
  transform: translate(-50%, -100%);
  background: var(--brass-400);
  border: 2px solid var(--forest-900);
  border-radius: 50% 50% 50% 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.maker-pin:hover, .maker-pin:focus-visible { background: var(--clay-500); transform: translate(-50%, -100%) scale(1.12); }
.maker-pin[aria-pressed="true"] { background: var(--bone-100); }
.maker-pin svg { width: 16px; height: 16px; stroke: var(--forest-900); }

.maker-card {
  background: var(--bone-100);
  border: 2px solid var(--forest-900);
  border-radius: var(--radius-m);
  padding: 1.4rem;
  min-height: 220px;
}
.maker-card .eyebrow { margin-bottom: 0.2rem; }
.maker-card h3 { font-size: 1.3rem; margin-bottom: 0.1rem; color: var(--ink); }
.maker-card p { color: var(--ink); }
.maker-card .place { font-family: var(--font-mono); font-size: 0.8rem; color: var(--forest-700); margin-bottom: 0.8rem; display: block; }

@media (max-width: 760px) {
  .maker-map-wrap { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--forest-900);
  color: var(--bone-300);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-grid h4 {
  color: var(--bone-100);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { color: var(--bone-300); }
.footer-grid a:hover { color: var(--brass-300); }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--bone-100); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-logo svg { width: auto; height: 34px; }
.footer-logo svg text { fill: var(--bone-100); }
.footer-logo svg text:last-of-type { fill: var(--brass-300); }
.footer-logo svg circle { fill: var(--brass-400); }
.footer-logo svg rect { fill: var(--bone-200); }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 160px; }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 247, 238, 0.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--bone-300);
}
.footer-bottom a { color: var(--bone-300); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--brass-300); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Forms ===== */
label { display: block; font-weight: 600; margin-bottom: 0.3em; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65em 0.8em;
  border: 2px solid var(--forest-900);
  border-radius: var(--radius-s);
  background: var(--bone-100);
  color: var(--ink);
  min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.check-row { display: flex; align-items: center; gap: 0.6em; margin-bottom: 1.1rem; }
.check-row input { width: 20px; height: 20px; min-height: unset; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.error-msg { color: var(--clay-500); font-size: 0.85rem; margin-top: 0.3em; display: none; }
.error-msg.show { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--clay-500); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: var(--forest-700); }
.form-status.err { color: var(--clay-500); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 2500;
  background: var(--forest-900);
  color: var(--bone-100);
  border-radius: var(--radius-m);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-paper);
  max-width: 820px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--bone-200); flex: 1 1 260px; }
.cookie-banner p a { color: var(--bone-100); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .btn-ghost { color: var(--bone-100); border-color: var(--bone-100); }
.cookie-banner .btn-ghost:hover, .cookie-banner .btn-ghost:focus-visible { color: var(--bone-100); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 0.6rem; border-bottom: 2px solid var(--forest-900); }
.cart-table td { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--bone-300); vertical-align: middle; }
.cart-item-name { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; }
.cart-item-name img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-s); border: 2px solid var(--forest-900); }
.qty-group { display: inline-flex; align-items: center; border: 2px solid var(--forest-900); border-radius: 999px; overflow: hidden; }
.qty-group button { width: 32px; height: 32px; border: none; background: var(--bone-200); cursor: pointer; font-size: 1rem; font-weight: 700; }
.qty-group input { width: 40px; text-align: center; border: none; min-height: unset; padding: 0; background: transparent; }
.remove-btn { background: none; border: none; color: var(--clay-500); font-weight: 600; cursor: pointer; text-decoration: underline; min-height: 44px; padding: 0 0.4em; }
.cart-summary { display: flex; justify-content: flex-end; margin-top: 1.4rem; }
.cart-summary-box { width: min(320px, 100%); background: var(--bone-200); border: 2px solid var(--forest-900); border-radius: var(--radius-m); padding: 1.2rem; }
.cart-summary-box .row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.cart-summary-box .total { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--forest-900); padding-top: 0.6rem; }
.empty-cart { text-align: center; padding: 3rem 1rem; }

.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; align-items: start; }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }
.delivery-options { display: grid; gap: 0.8rem; margin-bottom: 1.2rem; }
.delivery-option { border: 2px solid var(--forest-900); border-radius: var(--radius-m); padding: 0.9rem 1rem; display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; }
.delivery-option input { width: 20px; height: 20px; min-height: unset; margin-top: 0.1em; }

/* ===== Product page ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .card-media { aspect-ratio: 1/1; border-radius: var(--radius-l); border: 2px solid var(--forest-900); }
.product-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--forest-700); margin-bottom: 0.4rem; }
.qty-add { display: flex; gap: 1rem; align-items: center; margin: 1.4rem 0; }
.badge-seal { width: 86px; height: 86px; position: absolute; top: -16px; right: -16px; }

/* ===== About / FAQ / legal ===== */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.faq-item { border-bottom: 2px solid var(--forest-900); padding: 1rem 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin-top: 0.8rem; color: var(--forest-800); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.value-card { background: var(--bone-100); border: 2px solid var(--forest-900); border-radius: var(--radius-m); padding: 1.3rem; position: relative; }

.timeline { border-left: 3px dashed var(--forest-700); padding-left: 1.4rem; display: grid; gap: 1.4rem; }

/* ===== 404 ===== */
.not-found { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0; }
.not-found svg { width: min(360px, 80vw); height: auto; margin: 0 auto 1.6rem; }

/* ===== Hero illustration block-assembly ===== */
.hero-art .blk {
  opacity: 0;
  animation: dropIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-art .blk:nth-child(1) { animation-delay: 0.05s; }
.hero-art .blk:nth-child(2) { animation-delay: 0.15s; }
.hero-art .blk:nth-child(3) { animation-delay: 0.25s; }
.hero-art .blk:nth-child(4) { animation-delay: 0.35s; }
.hero-art .blk:nth-child(5) { animation-delay: 0.45s; }
.hero-art .blk:nth-child(6) { animation-delay: 0.55s; }
.hero-art .blk:nth-child(7) { animation-delay: 0.65s; }
.hero-art .blk:nth-child(8) { animation-delay: 0.75s; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-46px) scale(0.85); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .blk { animation: none; opacity: 1; }
}

/* ===== Misc continuous motion element ===== */
.spin-slow { animation: spin 18s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin-slow { animation: none; } }

.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.6rem 0 1rem; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; background: var(--bone-200); border: 1px solid var(--forest-700); border-radius: 999px; padding: 0.3em 0.8em; }

.table-plain { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.table-plain th, .table-plain td { border: 1px solid var(--bone-300); padding: 0.6rem 0.8rem; text-align: left; }
.table-plain th { background: var(--bone-200); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; }

/* qa fix: off-canvas menu / strip widened the page on phones */
html,body{overflow-x:clip;}
