@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/barlow-condensed-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/barlow-condensed-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/barlow-condensed-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Figtree';font-style:italic;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:italic;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/figtree-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   climatebeetle.org — site styles
   Palette pulled from the Climate Beetle logo: near-black, cream, amber line,
   gold ring, sage spruce, beetle rust.
   Type: Barlow Condensed (display) + Figtree (text).
   ========================================================================== */

:root {
  --ink: #0e0f0c;
  --ink-2: #151712;
  --ink-3: #1e211a;
  --bark: #23160d;
  --bark-2: #2f1e12;
  --paper: #f5efe2;
  --paper-2: #ebe2cf;
  --cream: #f2e8d3;
  --amber: #e6b47a;
  --amber-2: #f0c690;
  --gold: #b4905e;
  --sage: #9a9c6b;
  --sage-2: #b3b47f;
  --olive: #5f603b;
  --rust: #9a4a22;
  --rust-2: #b85a2c;
  --text: #1b1c16;
  --text-muted: #5b5949;
  --light: #f2e8d3;
  --light-muted: rgba(242, 232, 211, .72);
  --light-faint: rgba(242, 232, 211, .14);

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12.5C60 6 130 4.5 190 5.5c40 .7 75 2.5 106 5' fill='none' stroke='%23e6b47a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--light); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- section themes ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); isolation: isolate; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.s-ink { background: var(--ink); color: var(--light); }
.s-paper { background: var(--paper); color: var(--text); }
.s-bark { background: radial-gradient(120% 90% at 80% 10%, #3a2516 0%, var(--bark) 55%, #170e08 100%); color: var(--light); }

/* bark-beetle gallery engraving pattern (generated SVG used as a mask) */
.pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--amber); opacity: .1;
  -webkit-mask: url(/assets/svg/galleries.svg) 0 0 / 720px 720px repeat; mask: url(/assets/svg/galleries.svg) 0 0 / 720px 720px repeat; }
.pattern--soft { opacity: .05; }
.pattern--footer { opacity: .06; -webkit-mask-size: 560px; mask-size: 560px; }
.pattern--tile, .pattern--card { opacity: .12; -webkit-mask-size: 460px; mask-size: 460px; }
.s-paper .pattern { background: var(--rust); opacity: .07; }

.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--noise); opacity: .09; mix-blend-mode: overlay; }

/* ---------- type ---------- */
.display { font: 800 clamp(3.1rem, 8.4vw, 7.6rem)/.88 var(--display); text-transform: uppercase; letter-spacing: .002em; text-wrap: balance; }
.display--page { font-size: clamp(3.2rem, 9vw, 8.4rem); }
.display--huge { font-size: clamp(7rem, 22vw, 16rem); line-height: .8; color: var(--amber); opacity: .9; }
.display em, .h2 em { font-style: normal; position: relative; display: inline-block; color: var(--amber); white-space: nowrap; }
.display em::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: -.1em; height: .16em; background: var(--brush) center / 100% 100% no-repeat; transform-origin: left; animation: brush 1.1s .9s var(--ease-out) both; }
@keyframes brush { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.h2 { font: 800 clamp(2.4rem, 5.4vw, 4.6rem)/.94 var(--display); text-transform: uppercase; letter-spacing: .003em; text-wrap: balance; }
.h2--center { text-align: center; margin-inline: auto; max-width: 20ch; }
.h3 { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.h4 { font: 700 clamp(1.35rem, 2vw, 1.6rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }

.kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 20px; font: 800 12.5px/1.3 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--amber); }
.kicker::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: currentColor; flex: none; }
.s-paper .kicker { color: var(--rust); }

.lede { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.6; max-width: 56ch; }
.lede--body { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.72; }
.lede--muted { color: var(--light-muted); }
.s-ink .lede--body, .s-bark .lede--body { color: var(--light-muted); }
.s-paper .lede--body { color: #3f3e33; }
.h2 + .lede, .h2 + p { margin-top: 26px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; font: 700 15.5px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease); }
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(230, 180, 122, .55); }
.btn--primary:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(230, 180, 122, .7); }
.btn--ghost { border: 1.5px solid rgba(242, 232, 211, .45); color: var(--light); backdrop-filter: blur(6px); background: rgba(14, 15, 12, .18); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(242, 232, 211, .1); transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 16.5px; }
.btn__meta { font-weight: 600; opacity: .62; padding-left: 10px; margin-left: 2px; border-left: 1.5px solid currentColor; line-height: 1; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; font: 800 12px/1 var(--sans); letter-spacing: .1em; background: rgba(14, 15, 12, .62); color: var(--cream); backdrop-filter: blur(8px); border: 1px solid rgba(242, 232, 211, .18); }

/* ---------- divider (from the logo lockup) ---------- */
.divider { display: flex; align-items: flex-end; gap: 10px; width: 100%; max-width: 420px; margin-block: 28px; }
.divider__line { flex: 1; height: 4px; border-radius: 4px; background: var(--amber); margin-bottom: 9px; }
.divider__tree { height: 34px; width: auto; }
.divider__beetle { height: 24px; width: auto; margin-bottom: 2px; }
.explore .divider { max-width: none; margin: 0 0 clamp(36px, 5vw, 56px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: transform .45s var(--ease), background-color .35s, box-shadow .35s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 9, .7), rgba(10, 11, 9, 0)); opacity: 1; transition: opacity .35s; pointer-events: none; }
.site-header.is-solid { background: rgba(14, 15, 12, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--light-faint); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; height: 100%; width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.brand { flex: none; display: block; padding: 6px 0; }
.brand img { height: clamp(22px, 2.1vw, 28px); width: auto; transition: opacity .2s; }
.brand:hover img { opacity: .85; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.9vw, 30px); }
.nav a { position: relative; display: block; padding: 8px 0; font: 700 17px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: rgba(242, 232, 211, .86); transition: color .2s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cream); }

.lang-switch { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid rgba(242, 232, 211, .24); background: rgba(14, 15, 12, .3); }
.lang-switch a { padding: 6px 11px; border-radius: 999px; font: 800 12px/1 var(--sans); letter-spacing: .1em; text-decoration: none; color: var(--light-muted); transition: background-color .2s, color .2s; }
.lang-switch a:hover { color: var(--cream); }
.lang-switch a[aria-current="true"] { background: var(--amber); color: var(--ink); }
.lang-switch--lg a { padding: 11px 18px; font-size: 14px; letter-spacing: .04em; }

.menu-toggle { display: none; width: 46px; height: 46px; margin-left: 4px; border-radius: 50%; border: 1px solid rgba(242, 232, 211, .28); place-items: center; background: rgba(14, 15, 12, .3); }
.menu-toggle__bars { position: relative; width: 18px; height: 12px; display: block; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars span:first-child { top: 1px; }
.menu-toggle__bars span:last-child { top: 9px; }
.menu-open .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: radial-gradient(120% 80% at 100% 0%, #2a1a0e 0%, var(--ink) 60%); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ol { display: grid; gap: 4px; }
.mobile-menu li { opacity: 0; transform: translateY(16px); animation: mm-in .5s var(--ease-out) forwards; }
.mobile-menu li:nth-child(2) { animation-delay: .04s; } .mobile-menu li:nth-child(3) { animation-delay: .08s; } .mobile-menu li:nth-child(4) { animation-delay: .12s; } .mobile-menu li:nth-child(5) { animation-delay: .16s; } .mobile-menu li:nth-child(6) { animation-delay: .2s; }
@keyframes mm-in { to { opacity: 1; transform: none; } }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; font: 800 clamp(2.4rem, 11vw, 3.4rem)/1 var(--display); text-transform: uppercase; text-decoration: none; color: var(--cream); }
.mobile-menu nav a[aria-current="page"] { color: var(--amber); }
.mm-num { font: 700 13px/1 var(--sans); letter-spacing: .1em; color: var(--amber); opacity: .8; transform: translateY(-1.4em); }
.mobile-menu__foot { display: grid; gap: 8px; margin-top: 40px; }

/* ---------- heroes ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--light); display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 32s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 1.5%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero--home .hero__media img { animation: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.hero__video.is-on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 11, 9, .82) 0%, rgba(10, 11, 9, .5) 42%, rgba(10, 11, 9, .08) 78%), linear-gradient(180deg, rgba(10, 11, 9, .6) 0%, rgba(10, 11, 9, 0) 24%, rgba(10, 11, 9, 0) 52%, rgba(14, 15, 12, 1) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(70px, 9vw, 120px); }
.hero__kicker { display: flex; flex-direction: column; gap: 6px; margin: 0 0 26px; font: 800 clamp(12px, 1.1vw, 14px)/1.45 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero__kicker span { display: inline-flex; align-items: center; gap: 14px; }
.hero__kicker > span:first-child::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: var(--amber); flex: none; }
.hero__kicker-2 { color: var(--amber); padding-left: 44px; }
.hero h1 { max-width: 13ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .3); }
.lang-cs .hero--home h1 { max-width: 17ch; font-size: clamp(2.6rem, 6.2vw, 5.9rem); }
.lang-cs .display { line-height: .98; }
.lang-cs .h2 { line-height: 1.02; }
.lang-cs .h3, .lang-cs .tile__title, .lang-cs .xcard__label { line-height: 1.06; }
.hero__lede { margin-top: 28px; color: rgba(242, 232, 211, .88); display: flex; gap: 12px; align-items: flex-start; }
.lede-icon { flex: none; margin-top: .25em; color: var(--amber); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__ctas--center { justify-content: center; }

.hero--home { min-height: max(680px, 100svh); }
.hero--home .hero__content { padding-bottom: clamp(190px, 22vw, 300px); }

.hero--page { min-height: max(560px, 82svh); }
.hero--value .hero__media img { object-position: 50% 40%; filter: brightness(1.7) saturate(1.15); }

/* ---------- film / video ---------- */
.film-stage { position: relative; z-index: 3; background: linear-gradient(180deg, transparent 0 50%, var(--ink) 50%); margin-top: calc(-1 * clamp(150px, 18vw, 250px)); }
.film-stage__wrap { max-width: 1180px; }
.film-block { margin-top: clamp(48px, 6vw, 80px); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(242, 232, 211, .08); }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.video:hover .video__poster { transform: scale(1.025); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .38)); }
.video--feature .video__play { background: radial-gradient(22% 30% at 50% 50%, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0)); }
.play-disc { position: relative; display: grid; place-items: center; width: clamp(76px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); color: var(--ink); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .6); transition: transform .45s var(--ease), background-color .25s; }
.play-disc svg { margin-left: 5px; width: 36%; height: 36%; }
.play-disc::before, .play-disc::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--amber); animation: ripple 2.8s var(--ease-out) infinite; }
.play-disc::after { animation-delay: 1.4s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.75); opacity: 0; } }
.video__play:hover .play-disc, .vr-card__media:hover .play-disc { transform: scale(1.08); background: var(--amber-2); }
.play-disc--sm { width: 72px; }
.video__meta { position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2.2vw, 24px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(14, 15, 12, .66); backdrop-filter: blur(10px); font: 700 14px/1 var(--sans); letter-spacing: .02em; color: var(--cream); pointer-events: none; }
.video__dot { width: 8px; height: 8px; border-radius: 50%; background: #e5533a; box-shadow: 0 0 0 4px rgba(229, 83, 58, .25); }
.video__len { opacity: .65; }
.video iframe, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing .video__play, .video.is-playing .video__meta, .video.is-playing .video__poster { display: none; }

/* ---------- layout helpers ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: start; }
.split--head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split--head .lede { margin-top: .4em; }
.split--media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.split--media-right { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--stat { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.columns { columns: 2 320px; column-gap: clamp(28px, 4vw, 64px); margin-top: 34px; color: var(--light-muted); font-size: 1.06rem; }
.columns p { break-inside: avoid; }

/* ---------- home: key ---------- */
.key { padding-top: clamp(90px, 11vw, 150px); }

/* ---------- home: past / future ---------- */
.message { padding-top: 0; }
.message__title { max-width: 18ch; }
.timeline { display: flex; align-items: center; gap: 14px; margin: clamp(40px, 5vw, 64px) auto clamp(24px, 3vw, 36px); max-width: 980px; }
.timeline__mark { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--display); color: var(--amber); }
.timeline__mark--now { flex-direction: column; gap: 6px; font: 800 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); }
.timeline__mark--now img { height: 30px; width: auto; }
.timeline__line { flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sage), var(--amber)); }
.timeline__line--future { background: repeating-linear-gradient(90deg, var(--amber) 0 12px, transparent 12px 22px); }
.eras { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.era { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.era__media { position: absolute; inset: 0; z-index: -2; }
.era__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.era:hover .era__media img { transform: scale(1.04); }
.era::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 9, 0) 30%, rgba(10, 11, 9, .88) 100%); }
.era--future .era__media img { filter: saturate(.75) contrast(1.05); }
.era__body { padding: clamp(22px, 3vw, 40px); }
.era__year { display: block; font: 800 clamp(3.4rem, 6vw, 5.4rem)/.85 var(--display); color: var(--amber); margin-bottom: 14px; }
.era__body p { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; max-width: 40ch; color: rgba(242, 232, 211, .92); }
.era__big { font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display) !important; text-transform: uppercase; color: var(--cream) !important; max-width: 14ch !important; }

/* ---------- home: explore bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 16.6vw, 232px); gap: clamp(14px, 1.6vw, 22px); }
.tile { position: relative; display: flex; align-items: flex-end; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; text-decoration: none; color: var(--cream); background: var(--ink); box-shadow: 0 30px 60px -30px rgba(27, 28, 22, .5); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(27, 28, 22, .6); }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 9, 0) 40%, rgba(10, 11, 9, .82) 100%); }
.tile__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; padding: clamp(18px, 2.4vw, 30px); }
.tile__title { font: 800 clamp(1.7rem, 2.8vw, 2.6rem)/.95 var(--display); text-transform: uppercase; }
.tile__arrow { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--amber); color: var(--ink); transition: transform .4s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(4px); }
.tile--film { grid-column: span 8; grid-row: span 2; }
.tile--film .tile__title { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.tile__play { position: absolute; top: clamp(18px, 2.4vw, 28px); right: clamp(18px, 2.4vw, 28px); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(14, 15, 12, .5); border: 1.5px solid rgba(242, 232, 211, .5); backdrop-filter: blur(6px); color: var(--cream); transition: background-color .3s, color .3s; }
.tile__play svg { margin-left: 3px; }
.tile--film:hover .tile__play { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.tile--badge { grid-column: span 4; grid-row: span 2; align-items: center; justify-content: center; background: radial-gradient(70% 60% at 50% 45%, #2e2014 0%, var(--ink) 100%); }
.tile--badge::before { display: none; }
.tile__badge { width: min(84%, 380px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); transition: transform 1s var(--ease); }
.tile--badge:hover .tile__badge { transform: rotate(-6deg) scale(1.04); }
.tile--vr, .tile--trees { grid-column: span 6; }
.tile .chip--360 { position: absolute; top: 18px; left: 18px; }

/* ---------- quote ---------- */
.quote { padding-bottom: 0; overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 60px); align-items: end; }
.quote__text { padding-bottom: clamp(80px, 10vw, 140px); }
.quote__h { color: var(--amber); }
.quote blockquote { margin-top: 34px; position: relative; padding-left: clamp(18px, 2.4vw, 32px); border-left: 4px solid var(--amber); }
.quote blockquote p { font: 500 clamp(1.4rem, 2.5vw, 2.1rem)/1.32 var(--sans); letter-spacing: -.01em; color: var(--cream); text-wrap: pretty; }
.quote blockquote footer { margin-top: 22px; font: 800 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.quote__figure { position: relative; align-self: end; justify-self: center; width: min(100%, 470px); }
.quote__figure img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.quote__disc { position: absolute; left: 6%; right: 6%; aspect-ratio: 1; bottom: 12%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(230, 180, 122, .32), rgba(230, 180, 122, .06) 70%); border: 2px solid rgba(180, 144, 94, .5); }

/* ---------- people row ---------- */
.portraits { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.portraits a { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; text-align: center; }
.portrait { position: relative; display: block; width: 140px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 0 var(--amber); transition: transform .45s var(--ease), box-shadow .35s var(--ease); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portraits a:hover .portrait, .panorama__faces a:hover { transform: translateY(-6px); box-shadow: 0 0 0 4px var(--amber); }
.portrait__label { font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--cream); }
.portraits a:hover .portrait__label { color: var(--amber); }
.portrait--lg { width: clamp(120px, 13vw, 160px); }
.portrait--sm { width: 64px; }

/* ---------- feedback card ---------- */
.feedback__card { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 22px; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: var(--radius-lg); background: radial-gradient(90% 120% at 50% 0%, #3a2516 0%, var(--bark) 60%, #170e08 100%); color: var(--cream); }
.feedback__beetle { width: 54px; animation: crawl 6s ease-in-out infinite; }
@keyframes crawl { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
.feedback__h { max-width: 24ch; }

/* ---------- about + link rows ---------- */
.film-pair { display: grid; gap: 12px; margin-top: 8px; max-width: 420px; }
.film-chip { display: flex; align-items: center; gap: 16px; padding: 10px; border-radius: 16px; text-decoration: none; background: rgba(242, 232, 211, .04); border: 1px solid var(--light-faint); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.film-chip:hover { background: rgba(230, 180, 122, .1); border-color: rgba(230, 180, 122, .5); transform: translateX(4px); }
.film-chip__img { position: relative; flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.film-chip__img img { width: 100%; height: 100%; object-fit: cover; }
.film-chip__play { position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); }
.film-chip__play svg { margin-left: 2px; }
.film-chip__text { display: grid; gap: 4px; }
.film-chip__title { font: 800 1.35rem/1 var(--display); text-transform: uppercase; color: var(--cream); }
.film-chip__meta { font: 700 13px/1 var(--sans); color: var(--light-muted); }
.about .divider { margin-top: 32px; }
.link-rows { display: grid; gap: 12px; margin-top: 36px; }
.link-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--light-faint); background: rgba(242, 232, 211, .03); text-decoration: none; font-weight: 600; line-height: 1.4; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.link-row:hover { background: rgba(230, 180, 122, .1); border-color: rgba(230, 180, 122, .5); transform: translateX(4px); }
.link-row__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--ink); }
.link-row__text { flex: 1; }
.link-row__arrow { flex: none; color: var(--amber); }

/* ---------- value page ---------- */
.values__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.pullquote { position: relative; padding-left: 28px; border-left: 4px solid var(--amber); }
.pullquote p { font: italic 500 clamp(1.25rem, 2vw, 1.6rem)/1.45 var(--sans); color: #2d2c24; text-wrap: pretty; }
.values__body { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.values__photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(27, 28, 22, .5); }
.values__photo img { width: 100%; }
.values__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.value-card { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: #fffaf0; box-shadow: 0 1px 0 rgba(27, 28, 22, .06), 0 20px 40px -28px rgba(27, 28, 22, .35); border: 1px solid rgba(27, 28, 22, .06); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(27, 28, 22, .06), 0 30px 50px -28px rgba(27, 28, 22, .45); }
.value-card__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--ink); color: var(--amber); margin-bottom: 22px; }
.value-card .h4 { margin-bottom: 12px; }
.value-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.value-card:first-child { background: var(--ink); color: var(--cream); }
.value-card:first-child p { color: var(--light-muted); font-size: 1.1rem; }
.value-card:first-child .value-card__icon { background: var(--amber); color: var(--ink); }

/* ---------- trees page ---------- */
.hero--trees { min-height: max(700px, 100svh); justify-content: flex-start; background: radial-gradient(90% 70% at 72% 78%, #3b2a17 0%, #1b1a12 45%, var(--ink) 80%); }
.hero--trees::before { background: linear-gradient(180deg, rgba(14, 15, 12, .4) 0%, rgba(14, 15, 12, 0) 40%); }
.hero__glow { position: absolute; z-index: -1; right: 12%; bottom: 18%; width: min(46vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(230, 180, 122, .5) 0%, rgba(230, 180, 122, .12) 45%, rgba(230, 180, 122, 0) 70%); }
.hero__content--top { padding-bottom: 0; padding-top: calc(var(--header-h) + 48px); }
.hero--trees h1 { max-width: 16ch; }
.treeline { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; }
.treeline__tree { position: absolute; bottom: 5%; left: var(--x); height: var(--h); width: auto; aspect-ratio: 2 / 3; transform: translateX(-50%); transform-origin: 50% 100%; animation: grow 1.6s var(--d, 0s) var(--ease-out) both; }
.treeline__tree--back { opacity: .38; filter: brightness(.65) saturate(.6); bottom: 9%; }
@keyframes grow { from { transform: translateX(-50%) scaleY(0); opacity: 0; } to { transform: translateX(-50%) scaleY(1); } }
.treeline__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: linear-gradient(180deg, #171810, var(--ink)); border-top: 4px solid rgba(230, 180, 122, .8); }

.recap__title { max-width: 16ch; }
.species-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 70px); }
.species-stage { position: relative; }
.species-stage__card { position: sticky; top: calc(var(--header-h) + 28px); height: min(72vh, 640px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: radial-gradient(80% 70% at 50% 80%, #2a2a1a 0%, var(--ink) 75%); box-shadow: 0 40px 80px -40px rgba(27, 28, 22, .6); }
.species-stage__sun { position: absolute; z-index: -1; left: 50%; top: 22%; width: 60%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(230, 180, 122, .35), rgba(230, 180, 122, 0) 68%); }
.species-stage__tree { position: absolute; left: 50%; bottom: 13%; height: 74%; width: auto; aspect-ratio: 2 / 3; transform: translateX(-50%) translateY(30px) scale(.9); transform-origin: 50% 100%; opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease-out); }
.species-stage__tree.is-active { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.species-stage__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(180deg, #1c1c13, #121209); border-top: 4px solid var(--amber); }
.species-stage__dots { position: absolute; left: 0; right: 0; bottom: 5%; display: flex; justify-content: center; gap: 10px; }
.species-stage__dots li { width: 8px; height: 8px; border-radius: 8px; background: rgba(242, 232, 211, .3); transition: width .4s var(--ease), background-color .3s; }
.species-stage__dots li.is-active { width: 28px; background: var(--amber); }
.species-list { display: grid; gap: clamp(20px, 3vw, 32px); counter-reset: sp; }
.species { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: #fffaf0; border: 1px solid rgba(27, 28, 22, .07); box-shadow: 0 20px 40px -32px rgba(27, 28, 22, .4); transition: border-color .4s, box-shadow .4s; scroll-margin-top: calc(var(--header-h) + 30px); }
.species.is-active { border-color: rgba(154, 74, 34, .35); box-shadow: 0 30px 60px -30px rgba(27, 28, 22, .45); }
.species__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.species__icon { display: none; flex: none; height: 84px; width: auto; aspect-ratio: 2 / 3; }
.species__num { flex: none; font: 800 clamp(2.6rem, 4vw, 3.4rem)/.8 var(--display); color: var(--amber); -webkit-text-stroke: 0; }
.species__latin { margin: 6px 0 0; font-size: .95rem; color: var(--text-muted); }
.species p { color: #3f3e33; }
.species a { color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.species__photo { margin-top: 22px; border-radius: 14px; overflow: hidden; }
.species__photo img { width: 100%; }
.other-trees { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid rgba(27, 28, 22, .12); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 5vw, 80px); align-items: baseline; }

/* ---------- 360 page ---------- */
.hero--vr { min-height: max(620px, 88svh); }
.hero--vr::before { background: linear-gradient(90deg, rgba(10, 11, 9, .9) 0%, rgba(10, 11, 9, .72) 45%, rgba(10, 11, 9, .3) 75%, rgba(10, 11, 9, .2) 100%), linear-gradient(180deg, rgba(10, 11, 9, .7) 0%, rgba(10, 11, 9, 0) 30%, rgba(10, 11, 9, 0) 60%, var(--ink) 100%); }
.vr-wall { position: absolute; inset: -10% -20%; z-index: -2; display: grid; align-content: center; gap: 18px; transform: perspective(1400px) rotateX(16deg) rotateZ(-7deg) scale(1.08); }
.vr-wall__row { display: flex; gap: 18px; width: max-content; animation: marquee 90s linear infinite; }
.vr-wall__row--rev { animation-direction: reverse; animation-duration: 110s; }
.vr-wall__tile { flex: none; width: clamp(260px, 26vw, 400px); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; opacity: .78; }
.vr-wall__tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }
.orbit { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid rgba(242, 232, 211, .4); color: var(--amber); margin-bottom: 26px; backdrop-filter: blur(8px); background: rgba(14, 15, 12, .3); }
.orbit svg { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vr-intro { padding-bottom: clamp(40px, 5vw, 64px); }
.vr-intro .h2 { max-width: 18ch; }
.vr-list { padding-top: clamp(24px, 3vw, 40px); }
.vr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px) clamp(18px, 2.4vw, 32px); }
.vr-card__media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(242, 232, 211, .08); }
.vr-card__media img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; }
.vr-card__media:hover img { transform: scale(1.05); filter: brightness(.82); }
.vr-card__media .chip { position: absolute; top: 14px; left: 14px; }
.vr-card__media .play-disc { opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s var(--ease); }
.vr-card__media:hover .play-disc, .vr-card__media:focus-visible .play-disc { opacity: 1; transform: scale(1); }
.vr-card__body { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; margin-top: 22px; }
.vr-card__num { grid-row: span 2; font: 800 2.4rem/.85 var(--display); color: var(--amber); }
.vr-card__num span { font-size: .5em; color: var(--light-muted); margin-left: 2px; }
.vr-card__body .h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 10px; }
.vr-card__body p { color: var(--light-muted); font-size: 1rem; }

/* ---------- beetle page ---------- */
.hero--beetle { min-height: max(640px, 92svh); background: radial-gradient(90% 90% at 70% 40%, #4a2f1b 0%, #2a1a0e 50%, #140c06 100%); justify-content: center; }
.hero--beetle::before { background: linear-gradient(90deg, rgba(20, 12, 6, .85) 0%, rgba(20, 12, 6, .35) 50%, rgba(20, 12, 6, .1) 100%), linear-gradient(180deg, rgba(20, 12, 6, .6) 0%, rgba(20, 12, 6, 0) 25%, rgba(20, 12, 6, 0) 70%, var(--paper) 140%); }
.gallery-stage { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.gallery-stage--dim { opacity: .22; }
.gallery-art { width: 100%; height: 100%; }
.gallery-art path { fill: none; stroke: var(--cream); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--t, 1s) var(--d, 0s) var(--ease) forwards; }
.gallery-art .gm { stroke: var(--amber); }
.gallery-art ellipse { fill: var(--cream); opacity: 0; animation: pop .5s var(--d, 0s) var(--ease-out) forwards; }
.gallery-art .gc { fill: var(--amber); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); } to { opacity: 1; transform-box: fill-box; transform-origin: center; transform: scale(1); } }
.hero-beetle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; padding-bottom: clamp(60px, 8vw, 110px); }
.hero-beetle__badge { justify-self: center; width: min(100%, 440px); }
.hero-beetle__badge img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.bigstat { display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink); color: var(--cream); box-shadow: 0 40px 70px -40px rgba(27, 28, 22, .7); }
.bigstat__n { font: 800 clamp(4.6rem, 10vw, 8.6rem)/.95 var(--display); margin-bottom: 6px; color: var(--amber); letter-spacing: -.01em; }
.bigstat__l { font: 800 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); max-width: 22ch; }
.bigstat__beetles { width: 100%; height: auto; margin-top: 12px; }
.solution { overflow: hidden; }
.solution__figure { position: relative; justify-self: center; width: min(100%, 440px); }
.solution__figure img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.solution .quote__disc { bottom: 8%; }
.facts__head { max-width: 760px; }
.facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.fact-card { position: relative; padding: clamp(28px, 3.2vw, 44px); border-radius: var(--radius-lg); background: rgba(14, 15, 12, .55); border: 1px solid rgba(242, 232, 211, .12); backdrop-filter: blur(6px); }
.fact-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--amber); color: var(--bark); margin-bottom: 24px; }
.fact-card .h4 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 14px; color: var(--cream); }
.fact-card p { color: var(--light-muted); }
.impacts__head { max-width: 760px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(40px, 5vw, 60px); border-radius: var(--radius-lg); overflow: hidden; background: rgba(27, 28, 22, .12); }
.stats li { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--ink); color: var(--cream); }
.stats__n { font: 800 clamp(2.8rem, 5vw, 4.4rem)/.85 var(--display); color: var(--amber); white-space: nowrap; }
.stats__l { font-size: .98rem; line-height: 1.45; color: var(--light-muted); }
.impacts__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.impacts__col { display: grid; gap: clamp(28px, 3vw, 44px); align-content: start; }
.impacts__h { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid var(--amber); }
.impacts__body p { color: #3f3e33; font-size: 1.04rem; }
.impacts__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(27, 28, 22, .5); max-width: 440px; }
.impacts__photo img { width: 100%; }

/* ---------- people page ---------- */
.hero--people { padding-bottom: clamp(60px, 8vw, 110px); background: radial-gradient(80% 70% at 85% 0%, #2c1d10 0%, var(--ink) 65%); }
.hero--people::before { display: none; }
.hero__content--people { padding-bottom: clamp(36px, 4vw, 56px); }
.hero--people h1 { max-width: none; }
.panorama { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1200 / 340; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85); }
.panorama > img { width: 100%; height: 100%; object-fit: cover; }
.panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 9, 0) 50%, rgba(10, 11, 9, .65) 100%); pointer-events: none; }
.panorama__faces { position: absolute; z-index: 1; right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); display: flex; }
.panorama__faces a { margin-left: -14px; box-shadow: 0 0 0 3px var(--ink); }
.people-intro__h { margin: 36px 0 12px; }
.people-intro p:not(.lede) { color: #3f3e33; }
.people-intro__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(27, 28, 22, .6); max-width: 460px; justify-self: end; }
.people-intro__photo img { width: 100%; }
.profile-list { display: grid; }
.profile { display: grid; grid-template-columns: auto minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 3.5vw, 56px); align-items: center; padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--light-faint); scroll-margin-top: calc(var(--header-h) + 20px); }
.profile:last-child { border-bottom: 1px solid var(--light-faint); }
.profile__role { color: var(--cream); }
.profile__role a { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease); }
.profile__role a:hover { background-size: 100% 3px; }
.profile__name { margin: 10px 0 0; font: 800 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.profile__text { color: var(--light-muted); }
.profile:target .portrait, .profile:hover .portrait { box-shadow: 0 0 0 4px var(--amber); }

/* ---------- explore cards ---------- */
.explore__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.xcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 22px; border-radius: var(--radius); overflow: hidden; isolation: isolate; text-decoration: none; color: var(--cream); background: var(--ink-3); transition: transform .45s var(--ease); }
.xcard:hover { transform: translateY(-4px); }
.xcard__media { position: absolute; inset: 0; z-index: -1; }
.xcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xcard:hover .xcard__media img { transform: scale(1.06); }
.xcard::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10, 11, 9, .05) 30%, rgba(10, 11, 9, .85) 100%); pointer-events: none; }
.xcard--beetle .xcard__media { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2516, var(--ink)); padding-bottom: 50px; }
.xcard--beetle .xcard__media img.xcard__badge { width: 150px; height: auto; object-fit: contain; }
.xcard:hover .xcard__badge { transform: rotate(-8deg) scale(1.05); }
.xcard__label { position: relative; z-index: 1; font: 800 1.7rem/.95 var(--display); text-transform: uppercase; padding-right: 50px; }
.xcard__arrow { position: absolute; z-index: 1; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink); transition: transform .4s var(--ease); }
.xcard:hover .xcard__arrow { transform: translateX(3px); }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #0a0b09; color: var(--light-muted); padding: clamp(64px, 8vw, 110px) 0 32px; border-top: 1px solid var(--light-faint); }
.site-footer__inner { display: grid; gap: 40px; justify-items: center; text-align: center; }
.site-footer__brand img { width: min(560px, 82vw); height: auto; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.site-footer__nav a { font: 700 17px/1 var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--cream); }
.site-footer__nav a:hover { color: var(--amber); }
.site-footer__links { display: grid; gap: 10px; max-width: 760px; }
.site-footer__links a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .95rem; text-decoration: none; color: var(--light-muted); }
.site-footer__links a:hover { color: var(--amber); }
.site-footer__links svg { flex: none; color: var(--amber); }
.site-footer__bottom { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--light-faint); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- player dialog ---------- */
.player { width: min(94vw, 1280px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--cream); overflow: visible; }
.player::backdrop { background: rgba(6, 7, 5, .9); backdrop-filter: blur(6px); }
.player__inner { position: relative; }
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.player__close { position: absolute; right: 0; top: -58px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--ink); }
.player[open] { animation: pop-in .45s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- 404 ---------- */
.hero--404 { min-height: 100svh; justify-content: center; background: radial-gradient(90% 90% at 50% 40%, #3a2516 0%, var(--bark) 50%, #140c06 100%); }
.hero--404::before { background: radial-gradient(60% 60% at 50% 50%, rgba(20, 12, 6, .7), rgba(20, 12, 6, .2)); }
.hero__content--center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.hero__content--center .lede { margin: 0; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { font-size: 15.5px; letter-spacing: .05em; }
}
@media (max-width: 1060px) {
  .nav, .site-header .lang-switch { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .explore__grid { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: auto minmax(0, 1fr); }
  .profile__text { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16.5px; }
  .split--head, .split--media, .split--media-right, .split--stat, .values__head, .other-trees { grid-template-columns: 1fr; }
  .eras { grid-template-columns: 1fr; }
  .era { aspect-ratio: 4 / 3.4; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--film, .tile--badge, .tile--vr, .tile--trees { grid-column: auto; grid-row: auto; min-height: 260px; }
  .tile--film { min-height: 0; aspect-ratio: 16 / 11; }
  .tile--badge { aspect-ratio: 1 / 1; min-height: 0; }
  .tile__badge { width: 76%; }
  .quote__grid { grid-template-columns: 1fr; }
  .quote__text { padding-bottom: 20px; }
  .quote__figure { width: min(82%, 400px); }
  .values__body { grid-template-columns: 1fr; }
  .values__photo { position: relative; top: 0; max-width: 360px; }
  .values__grid { grid-template-columns: 1fr; }
  .species-layout { grid-template-columns: 1fr; }
  .species-stage { display: none; }
  .species__icon { display: block; }
  .species__num { display: none; }
  .vr-grid { grid-template-columns: 1fr; }
  .vr-card__media .play-disc { opacity: 1; transform: none; }
  .hero-beetle { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 30px); }
  .hero-beetle__badge { width: min(64%, 300px); justify-self: start; order: -1; }
  .solution__figure { width: min(78%, 380px); }
  .facts__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .impacts__body { grid-template-columns: 1fr; }
  .people-intro__photo { justify-self: start; max-width: 420px; }
  .panorama { aspect-ratio: 16 / 9; }
  .panorama__faces .portrait--sm { width: 48px; }
  .film-stage { margin-top: calc(-1 * clamp(110px, 24vw, 170px)); }
  .hero--home .hero__content { padding-bottom: clamp(150px, 30vw, 220px); }
  .treeline { height: 46%; }
  .hero__glow { right: -10%; bottom: 20%; width: 80vw; }
}
@media (max-width: 600px) {
  .explore__grid { grid-template-columns: 1fr; }
  .xcard { min-height: 180px; }
  .profile { grid-template-columns: 1fr; gap: 16px; }
  .portrait--lg { width: 112px; }
  .portraits { gap: 18px 14px; }
  .portraits li { width: calc(50% - 8px); }
  .portraits li:last-child { width: 100%; }
  .portrait { width: 116px; }
  .hero__kicker-2 { padding-left: 0; }
  .btn { width: 100%; justify-content: center; }
  .hero__ctas .btn--ghost { width: auto; }
  .hero__ctas { gap: 10px; }
  .timeline { gap: 8px; }
  .timeline__mark { font-size: 1.25rem; }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .video__meta { display: none; }
  .link-row { padding: 14px 16px; gap: 14px; }
  .lang-cs .hero--home h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .vr-wall__row { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .mobile-menu, .grain, .pattern, .video__play, .explore, .player { display: none !important; }
  body, .s-ink, .s-bark, .hero { background: #fff !important; color: #000 !important; }
}
