:root {
  --bg: #f6f2e9;
  --leaf: #1f6f4a;
  --leaf-dark: #123b2b;
  --moss: #77a86b;
  --sun: #f4c95d;
  --card: rgba(255,255,255,.86);
  --shadow: 0 22px 60px rgba(18,59,43,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--leaf-dark); background: radial-gradient(circle at top left, #d8ead0 0 18rem, transparent 30rem), linear-gradient(135deg, var(--bg), #e8f2df); }
a { color: inherit; }
.site-header { min-height: 72vh; padding: 24px; background: linear-gradient(120deg, rgba(18,59,43,.88), rgba(31,111,74,.74)), url('https://commons.wikimedia.org/wiki/Special:FilePath/Forest%20path%20in%20summer.jpg') center/cover; color: white; border-bottom-left-radius: 48px; border-bottom-right-radius: 48px; box-shadow: var(--shadow); }
.site-header.compact { min-height: auto; padding-bottom: 24px; border-radius: 0 0 32px 32px; }
.nav { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav a { text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.brand { font-size: 1.05rem; }
.hero { max-width: 900px; margin: 12vh auto 0; }
.eyebrow { margin: 0 0 14px; color: var(--sun); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .95; margin: 0 0 22px; letter-spacing: -.06em; }
.hero p:not(.eyebrow) { max-width: 680px; font-size: 1.25rem; line-height: 1.7; color: rgba(255,255,255,.9); }
.cta, .back-link { display: inline-flex; margin-top: 20px; padding: 14px 20px; border-radius: 999px; background: var(--sun); color: #253115; text-decoration: none; font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
main { width: min(1180px, calc(100% - 32px)); margin: 52px auto; }
.intro { background: var(--card); border: 1px solid rgba(31,111,74,.16); border-radius: 28px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.intro h2, .text-panel h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; }
.intro p, .text-panel p { font-size: 1.08rem; line-height: 1.8; }
.project-credit { margin: 28px 0; padding: clamp(24px, 5vw, 42px); text-align: center; border-radius: 28px; background: rgba(255,255,255,.72); border: 1px solid rgba(31,111,74,.14); box-shadow: 0 14px 34px rgba(18,59,43,.10); }
.project-credit p { margin: 0; }
.project-credit__main { font-size: clamp(2rem, 5vw, 4.3rem); line-height: 1; font-weight: 800; letter-spacing: -.06em; color: var(--leaf-dark); }
.project-credit__tiny { margin-top: 8px !important; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(18,59,43,.52); }
.project-credit__site { margin-top: 16px !important; font-size: clamp(.95rem, 1.8vw, 1.15rem); font-weight: 700; color: var(--leaf); }
.tree-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tree-card { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; overflow: hidden; padding: 0 0 22px; border-radius: 24px; text-decoration: none; background: linear-gradient(145deg, white, #edf7e8); border: 1px solid rgba(31,111,74,.14); box-shadow: 0 14px 34px rgba(18,59,43,.10); transition: transform .2s ease, box-shadow .2s ease; }
.tree-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tree-card img { width: 100%; height: 170px; object-fit: cover; background: #dbe7d4; }
.tree-card span, .tree-card strong, .tree-card em { margin-inline: 22px; }
.tree-card span { width: fit-content; padding: 6px 10px; border-radius: 999px; background: #e0efd8; color: var(--leaf); font-weight: 800; }
.tree-card strong { font-size: 1.35rem; letter-spacing: -.03em; }
.tree-card em, .latin { color: #5d715f; font-style: italic; }
.detail-layout { width: min(980px, calc(100% - 32px)); }
.detail-card { background: var(--card); border-radius: 34px; padding: clamp(22px, 5vw, 54px); box-shadow: var(--shadow); border: 1px solid rgba(31,111,74,.14); }
.detail-card h1 { color: var(--leaf-dark); font-size: clamp(2.5rem, 7vw, 5rem); }
.detail-card .eyebrow { color: var(--leaf); }
.hero-image { width: 100%; max-height: 560px; object-fit: cover; border-radius: 28px; margin: 28px 0; box-shadow: 0 18px 42px rgba(0,0,0,.18); background: #dbe7d4; }
.text-panel { padding: 28px; border-radius: 24px; background: white; }
footer { text-align: center; padding: 36px 16px 48px; color: #60735f; }
@media (max-width: 640px) { .site-header { border-bottom-left-radius: 28px; border-bottom-right-radius: 28px; } .nav { align-items: flex-start; flex-direction: column; } .hero { margin-top: 8vh; } }
.site-footer p { margin: 0 0 14px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.footer-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; background: rgba(31,111,74,.10); color: var(--leaf); }
.legal-layout { width: min(980px, calc(100% - 32px)); }
.legal-card h1 { color: var(--leaf-dark); font-size: clamp(2.4rem, 7vw, 5rem); }
.legal-section { margin-top: 18px; }
.legal-section h2 { font-size: clamp(1.25rem, 3vw, 2rem); }
.legal-section p { overflow-wrap: anywhere; }
