/* Nadace Kořeny — růst, komunita, propojení pod povrchem
   Zemité barvy, svěží zelená jako akcent, přátelský grotesk (Bricolage Grotesque). */

:root {
  --sand: #f3ece0;
  --sand-2: #e8ddcb;
  --soil: #3b2b20;
  --soil-2: #4a382b;
  --loam: #65503f;
  --clay: #a86a43;
  --root: #b08566;
  --green: #5cc96f;
  --leaf: #2e7d45;
  --line: rgba(59, 43, 32, .15);
  --line-2: rgba(59, 43, 32, .28);
  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(18px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hd-h: 70px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hd-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--sand); color: var(--soil); font: 400 18px/1.6 var(--font); font-variation-settings: 'opsz' 18; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--leaf); text-underline-offset: .15em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.025em; line-height: 1.02; font-variation-settings: 'opsz' 96; }
::selection { background: var(--green); color: var(--soil); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; left: 12px; z-index: 100; background: var(--soil); color: var(--sand); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--loam); max-width: 50ch; }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--green) 55%, transparent) 62% 92%, transparent 92%); padding: 0 .06em; }
.hl--deep { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--clay) 40%, transparent) 62% 92%, transparent 92%); }
.link { color: var(--soil); font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 1px; }
.link:hover { color: var(--leaf); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  background: var(--soil); color: var(--sand); border: 2px solid var(--soil); border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 17px; transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--green); border-color: var(--green); color: var(--soil); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--line { background: transparent; color: var(--soil); }
.btn--big { min-height: 60px; font-size: 19px; width: 100%; background: var(--green); border-color: var(--green); color: var(--soil); }
.btn--big:hover { background: var(--soil); border-color: var(--soil); color: var(--sand); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Hlavička a logo ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hd.is-solid { background: color-mix(in srgb, var(--sand) 94%, transparent); border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--soil); margin-right: auto; font-weight: 700; font-size: 24px; letter-spacing: -.03em; }
.logo svg, .logo-big svg { width: 36px; height: 36px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lg-leaf { stroke: var(--leaf); stroke-width: 2.4; }
.lg-ground { stroke: var(--soil); stroke-width: 2; }
.lg-root { stroke: var(--clay); stroke-width: 2.2; }
.nav { display: flex; gap: 24px; font-size: 16px; }
.nav a { color: var(--soil); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--green); }
@media (max-width: 760px) { .nav { display: none; } }

/* ---------- Kořeny přes celou stránku ---------- */
.home { position: relative; }
.roots { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.home > section { position: relative; z-index: 1; }
.r-trunk { fill: none; stroke: var(--clay); stroke-width: 2.6; stroke-linecap: round; }
.r-branch { fill: none; stroke: var(--root); stroke-width: 1.5; stroke-linecap: round; }
.r-hair { fill: none; stroke: var(--root); stroke-width: .9; stroke-linecap: round; opacity: .7; }
.r-node { fill: var(--sand); stroke: var(--clay); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s var(--ease), fill .4s, stroke .4s; }
.r-node.on { transform: scale(1); fill: var(--green); stroke: var(--leaf); }
.r-pulse { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.r-pulse.on { animation: pulse 1.6s var(--ease) 1; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.5); } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--hd-h) + clamp(24px, 5vh, 64px)); }
.hero-top { padding: 0 var(--pad); display: grid; gap: 18px; max-width: 1240px; }
.hero h1 { font-size: clamp(42px, 6.1vw, 100px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; padding-left: clamp(0px, 14vw, 230px); }
.ground { position: relative; height: 96px; margin-top: 8px; border-bottom: 2px solid var(--soil); }
@media (max-width: 760px) { .hero-cta { padding-left: 0; } .ground { height: 80px; margin-top: 24px; } }
.sprout { position: absolute; bottom: -2px; left: var(--sprout-x, 22%); width: 120px; height: 90px; transform: translateX(-50%); overflow: visible; }
.sprout path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stem { stroke: var(--leaf); stroke-width: 3; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 1s var(--ease) .2s forwards; }
.leaf { fill: var(--green) !important; stroke: var(--leaf); stroke-width: 2; transform-box: fill-box; transform: scale(0); animation: unfurl .9s var(--ease) forwards; }
.leaf-l { transform-origin: 100% 100%; animation-delay: .9s; }
.leaf-r { transform-origin: 0% 100%; animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes unfurl { to { transform: scale(1); } }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(60px, 10vh, 120px) var(--pad) 0; padding-left: calc(var(--pad) + clamp(40px, 12vw, 200px)); }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats dt { font-size: 15px; color: var(--loam); }
.hero-stats dd { font-size: clamp(36px, 4.4vw, 64px); font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr; padding-left: calc(var(--pad) + 48px); } }

/* ---------- Sekce ---------- */
.sec-head { display: grid; gap: 14px; padding: 0 var(--pad); padding-left: calc(var(--pad) + clamp(40px, 12vw, 200px)); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2, .volunteer h2 { font-size: clamp(40px, 5.6vw, 88px); }
.stories, .map-sec, .donate, .volunteer { padding-top: clamp(110px, 15vw, 200px); }
@media (max-width: 760px) { .sec-head { padding-left: calc(var(--pad) + 40px); } }

/* Příběhy */
.story-list { display: grid; gap: clamp(64px, 9vw, 130px); padding: 0 var(--pad); padding-left: calc(var(--pad) + clamp(40px, 12vw, 200px)); }
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.story:nth-child(even) figure { order: 2; }
.story figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-2); }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.story:hover img { transform: scale(1.03); }
.story-body { display: grid; gap: 16px; }
.story blockquote { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.story blockquote::before { content: '„'; color: var(--leaf); }
.story blockquote::after { content: '“'; color: var(--leaf); }
.story .who { font-size: 15px; color: var(--loam); }
.story h3 { font-size: 22px; letter-spacing: -.01em; }
.story h3 span { font-weight: 400; color: var(--loam); }
.story-stats { display: flex; gap: 28px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.story-stats div { display: grid; }
.story-stats dd { font-size: 26px; font-weight: 650; }
.story-stats dt { font-size: 13px; color: var(--loam); order: 2; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story:nth-child(even) figure { order: 0; } }
@media (max-width: 760px) { .story-list { padding-left: calc(var(--pad) + 40px); } }

/* Mapa */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 48px); padding: 0 var(--pad); align-items: start; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.map { background: var(--sand-2); border-radius: var(--r); padding: 12px; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
.cz { fill: color-mix(in srgb, var(--sand) 70%, #fff); stroke: var(--soil); stroke-opacity: .35; stroke-width: 1.5; stroke-linejoin: round; }
.m-city { font: 500 11px var(--font); fill: var(--loam); pointer-events: none; }
.gpt { cursor: pointer; }
.gpt circle.hit { fill: transparent; }
.gpt circle.dot { fill: var(--green); stroke: var(--leaf); stroke-width: 2; transition: r .3s var(--ease), fill .2s; }
.gpt circle.halo { fill: var(--green); opacity: .18; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease); }
.gpt:hover circle.halo, .gpt:focus circle.halo { transform: scale(1.6); }
.gpt[aria-pressed="true"] circle.dot { fill: var(--soil); stroke: var(--soil); }
.gpt[aria-pressed="true"] circle.halo { transform: scale(2); opacity: .3; }
.gpt:focus { outline: none; }
.gpt:focus-visible circle.dot { stroke: var(--soil); stroke-width: 3; }
.garden { display: grid; gap: 14px; }
.garden > * { animation: rise .5s var(--ease) both; }
.garden > *:nth-child(2) { animation-delay: .05s; } .garden > *:nth-child(3) { animation-delay: .1s; } .garden > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.garden figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand-2); }
.garden figure img { width: 100%; height: 100%; object-fit: cover; }
.garden h3 { font-size: clamp(28px, 2.6vw, 38px); }
.garden h3 small { display: block; font-size: 16px; font-weight: 400; color: var(--loam); letter-spacing: 0; margin-top: 4px; }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-2); }
.g-stats div { padding: 10px 8px 10px 0; display: grid; }
.g-stats dd { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.g-stats dt { order: 2; font-size: 13px; color: var(--loam); }
.g-funded li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.g-funded li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50% 0; background: var(--green); transform: rotate(-45deg); }
.garden-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px var(--pad) 0; }
.garden-list button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 15px; transition: border-color .2s, background-color .2s; }
.garden-list button:hover { border-color: var(--soil); }
.garden-list button[aria-pressed="true"] { background: var(--soil); color: var(--sand); border-color: var(--soil); }
.garden-list small { color: inherit; opacity: .7; }

/* ---------- Darování ---------- */
.donate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); align-items: start; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: minmax(0, 1fr); } }
.dform { background: color-mix(in srgb, var(--sand) 40%, #fff); border: 1.5px solid var(--line-2); border-radius: 22px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.dform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.dform legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span { display: grid; place-items: center; min-height: 58px; border-radius: 14px; border: 2px solid var(--line-2); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .15s; }
.amount span:hover { border-color: var(--soil); }
.amount input:checked + span { background: var(--soil); color: var(--sand); border-color: var(--soil); }
.amount input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
.amount input:active + span { transform: scale(.97); }
.custom { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line-2); border-radius: 14px; padding: 0 16px; transition: border-color .2s; }
.custom:focus-within { border-color: var(--soil); }
.custom.is-on { border-color: var(--soil); background: color-mix(in srgb, var(--green) 12%, transparent); }
.custom input { flex: 1; min-height: 54px; border: 0; background: transparent; font-size: 18px; font-weight: 600; outline: none; }
@media (max-width: 480px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand-2); justify-self: start; }
.seg button { min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 500; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--soil); color: var(--sand); }
.field { display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
.field input, .field select { min-height: 50px; padding: 0 14px; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 17px; font-weight: 400; transition: border-color .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--soil); }
.field [aria-invalid="true"] { border-color: #b23a1e; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--leaf); flex: none; }
.err { color: #b23a1e; font-size: 14px; font-weight: 500; }
.err:empty { display: none; }
.fine { font-size: 14px; color: var(--loam); }

.viz { display: grid; gap: 16px; position: sticky; top: calc(var(--hd-h) + 20px); }
.viz-sum { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.viz-sum strong { color: var(--leaf); }
.viz-grid { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; min-height: 88px; padding: 18px; border-radius: 22px; background: var(--soil); }
.vi { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--soil-2); }
.vi.big { width: 108px; }
.vi svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vi.big svg { width: 72px; }
.vi.grow { animation: grow .55s var(--ease) both; animation-delay: calc(min(var(--i), 30) * 22ms); }
@keyframes grow { from { transform: translateY(14px) scale(.3); opacity: 0; } }
.vi-more { color: var(--green); font-weight: 600; align-self: center; padding: 0 6px; }
.viz-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.viz-list li span:last-child { color: var(--loam); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .viz { position: static; } }

.thanks { margin: 32px var(--pad) 0; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--soil); color: var(--sand); display: grid; gap: 14px; outline: none; }
.thanks h3 { font-size: clamp(34px, 4vw, 56px); }
.thanks .hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--green) 60%, transparent) 62% 92%, transparent 92%); }
.thanks p { color: color-mix(in srgb, var(--sand) 85%, transparent); max-width: 56ch; }
.thanks .btn { justify-self: start; background: var(--green); border-color: var(--green); color: var(--soil); }
.thanks-sprout { width: 80px; height: 80px; }
.thanks-sprout path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.4s var(--ease) forwards; }

.volunteer > div { padding: 0 var(--pad); padding-left: calc(var(--pad) + clamp(40px, 12vw, 200px)); display: grid; gap: 18px; justify-items: start; }
@media (max-width: 760px) { .volunteer > div { padding-left: calc(var(--pad) + 40px); } }

.ft { position: relative; z-index: 1; margin-top: clamp(100px, 13vw, 180px); padding: 32px var(--pad); border-top: 2px solid var(--soil); display: grid; gap: 4px; font-size: 15px; color: var(--loam); background: var(--sand); }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 80; transform: translate(-50%, calc(100% + 120px)); transition: transform .45s var(--ease); background: var(--soil); color: var(--sand); padding: 12px 18px; border-radius: 999px; font-size: 15px; }
.toast:empty { visibility: hidden; }
.toast.on { transform: translate(-50%, 0); }

/* ---------- Brand manuál ---------- */
.manual { padding-top: calc(var(--hd-h) + clamp(40px, 7vw, 90px)); }
.m-head { padding: 0 var(--pad); display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 1000px; }
.m-head h1 { font-size: clamp(48px, 7vw, 112px); }
.m-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad); }
.m-toc { position: sticky; top: calc(var(--hd-h) + 24px); align-self: start; }
.m-toc ol { display: grid; gap: 2px; counter-reset: t; border-left: 2px solid var(--line-2); }
.m-toc a { display: block; padding: 6px 14px; color: var(--loam); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.m-toc a:hover, .m-toc a.is-active { color: var(--soil); border-left-color: var(--green); }
@media (max-width: 860px) { .m-layout { grid-template-columns: 1fr; } .m-toc { position: static; } .m-toc ol { display: flex; flex-wrap: wrap; border: 0; gap: 6px; } .m-toc a { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 12px; } }
.m-body { display: grid; gap: clamp(64px, 9vw, 120px); }
.m-body section { display: grid; gap: 18px; }
.m-body h2 { font-size: clamp(34px, 4vw, 56px); display: flex; gap: 14px; align-items: baseline; }
.m-body h2 .num { font-size: 16px; color: var(--clay); font-weight: 600; letter-spacing: .04em; }
.m-body > section > p { max-width: 62ch; color: var(--loam); }
.logo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .logo-row { grid-template-columns: 1fr; } }
.logo-tile { border-radius: var(--r); padding: 40px 20px 14px; display: grid; gap: 30px; justify-items: center; }
.logo-tile figcaption { font-size: 13px; justify-self: start; }
.tile-light { background: #fff; border: 1.5px solid var(--line); }
.tile-dark { background: var(--soil); color: var(--sand); }
.tile-dark .lg-ground { stroke: var(--sand); }
.tile-dark .lg-leaf { stroke: var(--green); }
.tile-green { background: var(--green); color: var(--soil); }
.logo-big { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 40px; letter-spacing: -.03em; }
.logo-big svg { width: 64px; height: 64px; }
.mono .lg-leaf, .mono .lg-ground, .mono .lg-root { stroke: var(--soil); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .rules { grid-template-columns: 1fr; } }
.rules > div { border-radius: var(--r); padding: 18px 20px; }
.rules h3 { font-size: 20px; margin-bottom: 8px; }
.rules li { padding: 4px 0 4px 22px; position: relative; font-size: 16px; }
.rule-ok { background: color-mix(in srgb, var(--green) 18%, transparent); }
.rule-ok li::before { content: '✓'; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.rule-no { background: color-mix(in srgb, var(--clay) 14%, transparent); }
.rule-no li::before { content: '×'; position: absolute; left: 2px; color: #9a3d1c; font-weight: 700; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 860px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sw { width: 100%; text-align: left; border-radius: var(--r); padding: 90px 14px 14px; display: grid; gap: 2px; border: 1.5px solid var(--line); transition: transform .2s var(--ease); }
.sw:hover { transform: translateY(-3px); }
.sw-name { font-weight: 650; font-size: 18px; }
.sw-hex { font-variant-numeric: tabular-nums; font-size: 14px; }
.sw-use { font-size: 13px; opacity: .8; }
.sw-soil { background: #3b2b20; color: #f3ece0; }
.sw-sand { background: #f3ece0; color: #3b2b20; }
.sw-clay { background: #a86a43; color: #fff; }
.sw-green { background: #5cc96f; color: #3b2b20; }
.sw-leaf { background: #2e7d45; color: #fff; }
.note { font-size: 16px; color: var(--loam); padding: 14px 18px; border-radius: var(--r); background: var(--sand-2); }
.type-scale { border-top: 1.5px solid var(--line-2); }
.ts { padding-top: 18px; }
.ts-1 { font-size: clamp(52px, 7vw, 96px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.ts-2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.ts-3 { font-size: 19px; max-width: 52ch; }
.ts-meta { font-size: 13px; color: var(--loam); padding: 6px 0 18px; border-bottom: 1px solid var(--line); }
.tone { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px) { .tone { grid-template-columns: 1fr; } }
.tone div { padding: 16px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--green) 16%, transparent); }
.tone div.tone-no { background: color-mix(in srgb, var(--clay) 12%, transparent); }
.tone dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--leaf); }
.tone .tone-no dt { color: #9a3d1c; }
.tone .tone-no dd { color: var(--loam); text-decoration: line-through; text-decoration-color: rgba(154, 61, 28, .4); }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr; } }
.photo-row figure { display: grid; gap: 8px; }
.photo-row img, .photo-fake { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.photo-fake { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, var(--sand-2) 0 10px, color-mix(in srgb, var(--sand-2) 70%, #fff) 10px 20px); color: var(--loam); font-weight: 600; }
.photo-fake small { font-weight: 400; }
.photo-row figcaption { font-size: 14px; }
.tpl-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 700px) { .tpl-row { grid-template-columns: 1fr; } }
.tpl { display: grid; gap: 8px; }
.tpl figcaption { font-size: 14px; color: var(--loam); }
.poster { aspect-ratio: 1 / 1.414; background: var(--green); border-radius: 6px; padding: 8% 8% 7%; display: flex; flex-direction: column; color: var(--soil); position: relative; overflow: hidden; }
.p-date { font-weight: 600; font-size: clamp(14px, 1.4vw, 18px); }
.p-title { font-size: clamp(42px, 6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: .95; margin-top: 12%; }
.p-sub { font-size: clamp(15px, 1.5vw, 20px); margin-top: 6%; max-width: 18ch; }
.p-root { flex: 1; margin: 8% -8% 0; border-top: 3px solid var(--soil); background: repeating-radial-gradient(circle at 30% 0, transparent 0 18px, rgba(59, 43, 32, .25) 18px 19px); }
.p-foot { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; padding-top: 4%; }
.logo-mini { font-weight: 700; font-size: 18px; letter-spacing: -.03em; }
.post { aspect-ratio: 1; border-radius: 6px; overflow: hidden; position: relative; }
.post img { width: 100%; height: 100%; object-fit: cover; }
.post p { position: absolute; left: 6%; right: 6%; bottom: 6%; background: var(--sand); padding: 14px 16px; border-radius: 12px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.post p span { display: block; font-size: 13px; font-weight: 400; color: var(--loam); letter-spacing: 0; margin-top: 6px; }
.downloads { border-top: 1.5px solid var(--line-2); }
.downloads a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soil); text-decoration: none; font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.downloads a:hover { color: var(--leaf); padding-left: 8px; }
.downloads a span { color: var(--loam); font-weight: 400; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .stem { stroke-dashoffset: 0; } .leaf { transform: none; } .r-node { transform: scale(1); }
  .thanks-sprout path { stroke-dashoffset: 0; }
}
