/* ==========================================================================
   Фабрика леса — design system
   --------------------------------------------------------------------------
   TYPE SCALE (modular, fluid 360px → 1440px)
     mobile  : ratio 1.125 (major second)
     desktop : ratio 1.25  (major third)
     step  -2    -1    0    1      2      3      4      5      6      7
     min   12   13    16   18     20.3   22.8   25.6   28.8   32.4   36.5
     max   12   13    16   20     25     31.3   39     48.8   61     76.3
   SPACE SCALE (ratio ≈1.5, snapped to the 4px grid)
     4 · 8 · 12 · 16 · 24 · 36 · 56 · 80 · 120 · 176
   Proximity: heading line gap (≤4px) < eyebrow→heading (16) < heading→lead
   (24) < block→block (56–80) < section→section (120–176).
   ========================================================================== */

:root {
  /* brand */
  --c-forest-950: #0c1a09;
  --c-forest-900: #12260d;
  --c-forest-800: #183510;
  --c-forest-700: #234f17; /* logo green */
  --c-forest-600: #2d6420;
  --c-forest-400: #5f8f4c;
  --c-forest-100: #e3ead9;
  --c-wood-600: #b0743a;
  --c-wood-500: #c88a4b;
  --c-wood-400: #d4a373;
  --c-wood-100: #f3e6d6;
  --c-bark: #4a2d0e;
  --c-cream: #f9f6f0;
  --c-paper: #f1eadd;
  --c-white: #ffffff;
  --c-ink: #1f2421;
  --c-ink-2: #545b56;
  --c-ink-3: #868b85;
  --c-line: rgba(31, 36, 33, 0.12);
  --c-line-strong: rgba(31, 36, 33, 0.22);
  --c-ok: #3f8a2c;
  --c-err: #b3401f;

  /* type */
  --font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs--2: 0.75rem;
  --fs--1: 0.8125rem;
  --fs-0: 1rem;
  --fs-1: clamp(1.125rem, 1.0833rem + 0.185vw, 1.25rem);
  --fs-2: clamp(1.266rem, 1.167rem + 0.44vw, 1.563rem);
  --fs-3: clamp(1.424rem, 1.248rem + 0.784vw, 1.953rem);
  --fs-4: clamp(1.602rem, 1.322rem + 1.243vw, 2.441rem);
  --fs-5: clamp(1.802rem, 1.385rem + 1.852vw, 3.052rem);
  --fs-6: clamp(2.027rem, 1.431rem + 2.649vw, 3.815rem);
  --fs-7: clamp(2.281rem, 1.452rem + 3.684vw, 4.768rem);
  --lh-display: 1.02;
  --lh-head: 1.12;
  --lh-body: 1.6;
  --ls-display: -0.035em;
  --ls-head: -0.02em;

  /* space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: clamp(1.75rem, 1.583rem + 0.741vw, 2.25rem);
  --sp-7: clamp(2.25rem, 1.833rem + 1.852vw, 3.5rem);
  --sp-8: clamp(3rem, 2.333rem + 2.963vw, 5rem);
  --sp-9: clamp(4rem, 2.833rem + 5.185vw, 7.5rem);
  --sp-10: clamp(5rem, 3rem + 8.889vw, 11rem);

  /* shape */
  --r-s: 0.5rem;
  --r-m: 1rem;
  --r-l: 1.5rem;
  --r-xl: 2rem;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(18, 38, 13, 0.06), 0 4px 16px rgba(18, 38, 13, 0.06);
  --shadow-2: 0 2px 6px rgba(18, 38, 13, 0.08), 0 18px 48px rgba(18, 38, 13, 0.12);

  /* layout */
  --container: 86rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --header-h: 4.5rem;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 2rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-0);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-wood-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-wood-400); color: var(--c-forest-950); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography ---------- */
.h1, h1 { font-size: var(--fs-7); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 700; text-wrap: balance; }
.h2, h2 { font-size: var(--fs-6); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: 700; text-wrap: balance; }
.h2--s { font-size: var(--fs-5); }
.h3, h3 { font-size: var(--fs-3); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-weight: 600; text-wrap: balance; }
.h4, h4 { font-size: var(--fs-1); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.dot::after { content: "."; color: var(--c-wood-500); }
.lead { font-size: var(--fs-1); line-height: 1.55; color: var(--c-ink-2); max-width: 40em; }
.muted { color: var(--c-ink-2); }
.small { font-size: var(--fs--1); line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-forest-700);
}
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--c-wood-500); transform: rotate(45deg); }
.num { font-variant-numeric: tabular-nums; }
.accent { color: var(--c-wood-500); }

.prose { max-width: 46rem; color: var(--c-ink-2); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-4); line-height: var(--lh-head); letter-spacing: var(--ls-head); color: var(--c-ink); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-2); color: var(--c-ink); margin-top: var(--sp-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--sp-4); }
.prose ul li, .prose ol li { position: relative; padding-left: 1.5rem; }
.prose ul li + li, .prose ol li + li { margin-top: var(--sp-2); }
.prose ul li::before { content: ""; position: absolute; left: 0.25rem; top: 0.7em; width: 0.4rem; height: 0.4rem; background: var(--c-wood-500); border-radius: 1px; transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li) "."; position: absolute; left: 0; color: var(--c-wood-600); font-weight: 600; }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose a, .link { color: var(--c-forest-700); text-decoration: underline; text-decoration-color: rgba(35, 79, 23, 0.3); text-underline-offset: 0.2em; transition: text-decoration-color 0.25s; }
.prose a:hover, .link:hover { text-decoration-color: currentColor; }
.prose blockquote { border-left: 3px solid var(--c-wood-500); padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); color: var(--c-ink); font-size: var(--fs-1); }
.formula { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-m); padding: var(--sp-4) var(--sp-5); color: var(--c-ink); font-size: var(--fs-0); overflow-x: auto; }

/* ---------- layout ---------- */
html { overflow-x: clip; }
.section, .hero, .page-hero, .footer { overflow-x: clip; }
.article > *, .split > *, .grid > *, .faq > *, .cta-form > *, .page-hero__box > *, .hero__grid > *, .banner > * { min-width: 0; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: left; line-height: 1.25; padding-block: 0.5rem; } }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-9); position: relative; }
.section--tight { padding-block: var(--sp-8); }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--c-paper); }
.section--white { background: var(--c-white); }
.section--dark { background: var(--c-forest-900); color: var(--c-cream); overflow: hidden; isolation: isolate; }
.section--dark .lead, .section--dark .muted { color: rgba(249, 246, 240, 0.72); }
.section--dark .eyebrow { color: var(--c-wood-400); }
.panel { background: var(--c-paper); border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-7); position: relative; overflow: hidden; isolation: isolate; }
.panel--white { background: var(--c-white); }
.panel--dark { background: var(--c-forest-900); color: var(--c-cream); }
.panel--dark .lead, .panel--dark .muted { color: rgba(249, 246, 240, 0.72); }
.panel--dark .eyebrow { color: var(--c-wood-400); }

.section-head { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-8); }
.section-head__title { display: grid; gap: var(--sp-4); }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: var(--sp-8); }
  .section-head--split .lead { justify-self: end; }
}

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grid--6 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.split { display: grid; gap: var(--sp-8); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .split--center { align-items: center; }
  .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.stack > * + * { margin-top: var(--sp-5); }
.stack-s > * + * { margin-top: var(--sp-4); }
.stack-l > * + * { margin-top: var(--sp-7); }
.row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--c-forest-700); --btn-fg: var(--c-white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 3.25rem; padding: 0 var(--sp-5); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-wood-500); border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease-expo); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 10px 30px -10px rgba(200, 138, 75, 0.7); }
.btn:active { transform: scale(0.97); }
.btn__icon { width: 1.75rem; height: 1.75rem; margin-right: calc(var(--sp-3) * -1); border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); transition: transform 0.5s var(--ease-expo); }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn__icon svg { width: 1rem; height: 1rem; }
.btn--wood { --btn-bg: var(--c-wood-500); --btn-fg: var(--c-forest-950); }
.btn--wood::before { background: var(--c-forest-700); }
.btn--wood:hover { color: var(--c-white); box-shadow: 0 10px 30px -10px rgba(35, 79, 23, 0.6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-line-strong); }
.btn--ghost::before { background: var(--c-forest-700); }
.btn--ghost:hover { color: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-forest-700); }
.btn--light { --btn-bg: var(--c-cream); --btn-fg: var(--c-forest-900); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--c-cream); box-shadow: inset 0 0 0 1.5px rgba(249, 246, 240, 0.35); }
.btn--ghost-light:hover { color: var(--c-forest-950); }
.btn--s { min-height: 2.5rem; padding: 0 var(--sp-4); font-size: var(--fs--1); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.arrow-link { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: 0.9375rem; color: var(--c-forest-700); }
.arrow-link svg { width: 1rem; height: 1rem; transition: transform 0.4s var(--ease-expo); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link, .panel--dark .arrow-link { color: var(--c-wood-400); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 0.375rem; height: 1.625rem; padding: 0 0.625rem; border-radius: var(--r-pill); font-size: var(--fs--2); font-weight: 600; line-height: 1; white-space: nowrap; background: var(--c-forest-100); color: var(--c-forest-700); }
.badge::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; }
.badge--order { background: var(--c-wood-100); color: var(--c-bark); }
.badge--plain::before { display: none; }
.chip { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 var(--sp-4); border-radius: var(--r-pill); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 0.875rem; font-weight: 500; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--c-forest-700); }
.chip.is-active { background: var(--c-forest-700); color: var(--c-white); box-shadow: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { position: fixed; inset: 0.75rem 0 auto; z-index: 100; pointer-events: none; transition: transform 0.5s var(--ease-out); }
.header.is-hidden { transform: translateY(-130%); }
.header__bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h); padding: 0 var(--sp-3) 0 var(--sp-5);
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: var(--r-l); box-shadow: var(--shadow-1);
}
.header__logo { flex: none; display: block; }
.header__logo img { height: 2.375rem; width: auto; }
.nav { display: none; flex: none; }
.nav__list { display: flex; align-items: center; gap: 0.125rem; }
.nav__link { display: inline-flex; align-items: center; gap: 0.25rem; height: 2.5rem; padding: 0 0.625rem; white-space: nowrap; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 500; color: var(--c-ink); transition: background 0.25s, color 0.25s; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--c-paper); }
.nav__link.is-current { color: var(--c-forest-700); }
.nav__link.is-current::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c-wood-500); margin-left: 0.125rem; }
.nav__link svg { width: 0.75rem; height: 0.75rem; transition: transform 0.3s var(--ease-out); }
.nav__item { position: relative; }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 0.875rem); left: 50%; min-width: 17rem;
  padding: var(--sp-3); background: var(--c-white); border-radius: var(--r-l); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.3s;
}
.dropdown::before { content: ""; position: absolute; inset: -1rem 0 auto; height: 1rem; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown--mega { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--sp-3); width: 40rem; }
.dropdown__title { padding: var(--sp-2) var(--sp-3); font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-3); }
.dropdown__link { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-m); font-size: 0.875rem; font-weight: 500; transition: background 0.2s; }
.dropdown__link:hover { background: var(--c-cream); }
.dropdown__link img { width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; object-fit: cover; flex: none; }
.dropdown__link .ico { width: 2.5rem; height: 2.5rem; flex: none; border-radius: 0.625rem; background: var(--c-forest-100); color: var(--c-forest-700); display: grid; place-items: center; }
.dropdown__link .ico svg { width: 1.25rem; height: 1.25rem; }
.dropdown__link small { display: block; color: var(--c-ink-3); font-size: var(--fs--2); font-weight: 400; }
.dropdown__side { background: var(--c-cream); border-radius: var(--r-m); padding: var(--sp-2); }

.header__contacts { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
.header__phone { display: none; text-align: right; line-height: 1.2; padding-right: var(--sp-2); }
.header__phone a { font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
.header__phone span { display: block; font-size: var(--fs--2); color: var(--c-ink-3); }
.icon-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-paper); color: var(--c-forest-700); flex: none; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out); }
.icon-btn:hover { background: var(--c-forest-700); color: var(--c-white); transform: translateY(-2px); }
.icon-btn svg { width: 1.125rem; height: 1.125rem; }
.icon-btn--wa:hover { background: #25a35a; }
.icon-btn--tg:hover { background: #2a9ad6; }
.header__cta { display: none; }
.burger { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-forest-700); color: var(--c-white); display: grid; place-items: center; flex: none; }
.burger span { position: relative; width: 1.125rem; height: 2px; background: currentColor; border-radius: 2px; transition: background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease-out); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); }
.menu-open .burger span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--c-cream);
  padding: calc(var(--header-h) + 2rem) var(--gutter) var(--sp-7);
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu__group { border-bottom: 1px solid var(--c-line); }
.mobile-menu__group > summary, .mobile-menu__group > a { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-4) 0; font-size: var(--fs-2); font-weight: 600; letter-spacing: -0.02em; list-style: none; cursor: pointer; }
.mobile-menu__group > summary::-webkit-details-marker { display: none; }
.mobile-menu__group > summary svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.mobile-menu__group[open] > summary svg { transform: rotate(180deg); }
.mobile-menu__sub { padding-bottom: var(--sp-4); display: grid; gap: var(--sp-1); }
.mobile-menu__sub a { padding: var(--sp-2) 0; color: var(--c-ink-2); }
.mobile-menu__foot { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.mobile-menu .mobile-menu__group { transform: translateY(16px); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.6s; }
.menu-open .mobile-menu .mobile-menu__group { transform: none; opacity: 1; }

@media (max-width: 400px) { .header__bar { gap: var(--sp-3); padding-left: var(--sp-4); } .header__logo img { height: 2rem; } .header__contacts { gap: 0.375rem; } .icon-btn { width: 2.25rem; height: 2.25rem; } }
@media (min-width: 640px) { .header__phone { display: block; } .hide-d-phone { display: none; } }
@media (min-width: 1180px) {
  .nav { display: block; }
  .burger, .mobile-menu { display: none; }
  .header__phone { display: none; }
  .hide-d-phone { display: grid; }
}
@media (min-width: 1360px) {
  .header__phone { display: block; }
  .hide-d-phone { display: none; }
  .header__cta { display: inline-flex; }
}

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); font-size: var(--fs--1); color: var(--c-ink-3); }
.crumbs a { color: var(--c-ink-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--c-forest-700); }
.crumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.crumbs li + li::before { content: ""; width: 0.3rem; height: 0.3rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.crumbs [aria-current] { color: var(--c-ink); }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: var(--sp-5); }
.hero__grid { display: grid; gap: var(--sp-4); }
.hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 22rem; background: var(--c-forest-900); }
.hero__panel { position: relative; border-radius: var(--r-xl); background: var(--c-paper); padding: var(--sp-7) var(--sp-6); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__panel h1 { margin-top: var(--sp-4); font-size: var(--fs-6); }
.hero__panel .lead { margin-top: var(--sp-5); }
.hero__facts { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.hero__facts li { display: flex; gap: var(--sp-3); align-items: flex-start; font-weight: 500; }
.hero__facts svg { flex: none; width: 1.375rem; height: 1.375rem; color: var(--c-forest-700); margin-top: 0.1rem; }
.hero__actions { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__tags { margin-top: auto; padding-top: var(--sp-7); }
.hero__tags-inner { border-top: 1px solid var(--c-line); padding-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs--1); font-weight: 500; color: var(--c-ink-2); }
.hero__media-caption { position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5); z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-4); color: var(--c-white); pointer-events: none; }
.hero__media-caption .glass { pointer-events: auto; }
.glass { background: rgba(18, 38, 13, 0.38); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-l); padding: var(--sp-4) var(--sp-5); }
.hero__stat b { display: block; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.03em; }
@media (max-width: 1023px) {
  .hero__panel { order: -1; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media-caption .glass { padding: var(--sp-3) var(--sp-4); max-width: 60%; }
  .hero__media-caption .hero__stat b { font-size: var(--fs-2); }
}
.hero__stat span { font-size: var(--fs--1); opacity: 0.85; }
.gallery-dots { display: flex; gap: 0.375rem; }
.gallery-dots button { width: 2rem; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; position: relative; }
.gallery-dots button i { position: absolute; inset: 0; background: var(--c-white); transform: scaleX(0); transform-origin: left; }
.gallery-dots button.is-active i { animation: dot-progress var(--dur, 6s) linear forwards; }
@keyframes dot-progress { to { transform: scaleX(1); } }
@media (min-width: 1024px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; }
  .hero > .container { flex: 1; display: flex; }
  .hero__grid { grid-template-columns: 0.92fr 1.08fr; flex: 1; min-height: 38rem; }
  .hero__panel { padding: var(--sp-7) var(--sp-7) var(--sp-6); justify-content: center; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .hero__facts li { flex-direction: column; gap: var(--sp-2); font-size: var(--fs--1); line-height: 1.4; padding-top: var(--sp-3); border-top: 1px solid var(--c-line-strong); }
}

/* ---------- WebGL gallery ---------- */
.gl-gallery { position: absolute; inset: 0; }
.gl-gallery > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-io); }
.gl-gallery > img.is-active { opacity: 1; }
.gl-gallery canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.gl-gallery.gl-ready > img { visibility: hidden; }
.gl-gallery::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12, 26, 9, 0) 45%, rgba(12, 26, 9, 0.65) 100%); pointer-events: none; }

/* ---------- WebGL grain field ---------- */
.gl-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gl-field canvas { width: 100%; height: 100%; }
.rings-bg { position: absolute; z-index: -1; pointer-events: none; color: var(--c-forest-700); opacity: 0.08; }
.section--dark .rings-bg, .panel--dark .rings-bg { color: var(--c-wood-400); opacity: 0.1; }
.noise::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay; background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: var(--sp-5); }
.page-hero__box { position: relative; border-radius: var(--r-xl); background: var(--c-paper); overflow: hidden; isolation: isolate; display: grid; }
.page-hero__body { padding: var(--sp-7) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); position: relative; z-index: 1; }
.page-hero__body h1 { margin-top: var(--sp-2); }
.page-hero__body .h1 { font-size: var(--fs-6); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.page-hero__media { position: relative; min-height: 18rem; }
.page-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--dark .page-hero__box { background: var(--c-forest-900); color: var(--c-cream); }
.page-hero--dark .lead { color: rgba(249, 246, 240, 0.75); }
.page-hero--dark .crumbs, .page-hero--dark .crumbs a { color: rgba(249, 246, 240, 0.6); }
.page-hero--dark .crumbs [aria-current] { color: var(--c-cream); }
.page-hero--dark .eyebrow { color: var(--c-wood-400); }
.price-block { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.price-block__item { background: var(--c-white); border-radius: var(--r-m); padding: var(--sp-3) var(--sp-4); min-width: 9rem; }
.price-block__item span { display: block; font-size: var(--fs--2); color: var(--c-ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.price-block__item b { font-size: var(--fs-2); letter-spacing: -0.02em; white-space: nowrap; }
.page-hero--dark .price-block__item { background: rgba(255, 255, 255, 0.08); }
.page-hero--dark .price-block__item span { color: rgba(249, 246, 240, 0.6); }
@media (min-width: 960px) {
  .page-hero__box--media { grid-template-columns: 1.1fr 1fr; min-height: 34rem; }
  .page-hero__body { padding: var(--sp-8) var(--sp-7); justify-content: center; }
  .page-hero__media { min-height: 100%; }
}

/* thumbs gallery on product hero */
.thumbs { position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); z-index: 3; display: flex; gap: var(--sp-2); }
.thumbs button { width: 4rem; height: 3rem; border-radius: 0.625rem; overflow: hidden; border: 2px solid transparent; opacity: 0.7; transition: opacity 0.3s, border-color 0.3s, transform 0.3s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-active, .thumbs button:hover { opacity: 1; border-color: var(--c-white); transform: translateY(-2px); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card { position: relative; background: var(--c-white); border-radius: var(--r-l); overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.card.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 138, 75, 0.14), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.card.spot:hover::after { opacity: 1; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

/* product */
.product-card { display: flex; flex-direction: column; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-paper); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: var(--sp-3); left: var(--sp-3); display: flex; gap: var(--sp-2); z-index: 1; }
.product-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.product-card__title { font-size: var(--fs-2); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.product-card__meta { font-size: var(--fs--1); color: var(--c-ink-2); }
.product-card__sizes { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.product-card__sizes span { font-size: var(--fs--2); font-weight: 600; padding: 0.25rem 0.5rem; background: var(--c-cream); border-radius: 0.375rem; color: var(--c-ink-2); }
.product-card__foot { margin-top: auto; padding-top: var(--sp-3); display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); border-top: 1px solid var(--c-line); }
.price { line-height: 1.15; }
.price small { display: block; font-size: var(--fs--2); color: var(--c-ink-3); font-weight: 500; }
.price b { font-size: var(--fs-1); letter-spacing: -0.02em; white-space: nowrap; }
.price em { font-style: normal; font-size: var(--fs--1); color: var(--c-ink-2); display: block; }
.round-arrow { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c-wood-500); color: var(--c-forest-950); transition: background 0.3s, transform 0.5s var(--ease-expo), color 0.3s; }
.round-arrow svg { width: 1.125rem; height: 1.125rem; transform: rotate(-45deg); transition: transform 0.5s var(--ease-expo); }
.card:hover .round-arrow { background: var(--c-forest-700); color: var(--c-white); }
.card:hover .round-arrow svg { transform: rotate(0); }

/* photo card (overlay text) */
.photo-card { min-height: 26rem; color: var(--c-white); display: flex; flex-direction: column; justify-content: flex-end; }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 26, 9, 0) 30%, rgba(12, 26, 9, 0.85) 100%); }
.photo-card:hover > img { transform: scale(1.06); }
.photo-card__body { padding: var(--sp-5); display: grid; gap: var(--sp-3); }
.photo-card__num { position: absolute; top: var(--sp-5); left: var(--sp-5); font-size: var(--fs--1); font-weight: 600; color: var(--c-wood-400); }
.photo-card p { color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; }
.photo-card .round-arrow { position: absolute; right: var(--sp-5); top: var(--sp-5); }
.photo-card--accent { background: var(--c-wood-500); color: var(--c-forest-950); }
.photo-card--accent::before { display: none; }

/* feature / numbered */
.feature { padding: var(--sp-6) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); border-top: 1px solid var(--c-line-strong); }
.feature__num { font-size: var(--fs--1); font-weight: 600; color: var(--c-wood-600); font-variant-numeric: tabular-nums; }
.feature__title { font-size: var(--fs-2); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.feature p { color: var(--c-ink-2); font-size: 0.9375rem; }
.section--dark .feature { border-color: rgba(249, 246, 240, 0.18); }
.section--dark .feature p { color: rgba(249, 246, 240, 0.7); }
.section--dark .feature__num { color: var(--c-wood-400); }
.feature--card { background: var(--c-white); border: 0; border-radius: var(--r-l); }
.feature__icon { width: 3rem; height: 3rem; border-radius: var(--r-m); background: var(--c-forest-100); color: var(--c-forest-700); display: grid; place-items: center; margin-bottom: var(--sp-2); transition: transform 0.6s var(--ease-expo), background 0.3s, color 0.3s; }
.feature__icon svg { width: 1.5rem; height: 1.5rem; }
.card:hover .feature__icon { transform: rotate(-8deg) scale(1.06); background: var(--c-forest-700); color: var(--c-white); }

/* link card with icon */
.link-card { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); min-height: 15rem; }
.link-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: var(--sp-5); }
.link-card h3 { font-size: var(--fs-2); }
.link-card p { color: var(--c-ink-2); font-size: 0.9375rem; }

/* species card */
.species-card { min-height: 20rem; padding: var(--sp-5); display: flex; flex-direction: column; color: var(--c-white); }
.species-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out), filter 0.6s; }
.species-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(12, 26, 9, 0.1), rgba(12, 26, 9, 0.88)); }
.species-card:hover > img { transform: scale(1.08) rotate(0.5deg); }
.species-card__letter { font-size: var(--fs-7); font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; color: var(--c-wood-400); opacity: 0.9; }
.species-card h3 { margin-top: auto; }
.species-card p { margin-top: var(--sp-3); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }
.species-card__meta { margin-top: var(--sp-4); display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.species-card__meta span { font-size: var(--fs--2); font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 0.375rem; background: rgba(255, 255, 255, 0.14); }

/* testimonials */
.review { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); }
.review__quote { font-size: var(--fs-1); line-height: 1.5; color: var(--c-ink); }
.review__quote::before { content: "“"; display: block; font-size: var(--fs-6); line-height: 0.6; color: var(--c-wood-500); margin-bottom: var(--sp-3); }
.review__author { margin-top: auto; display: flex; gap: var(--sp-3); align-items: center; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.review__avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-forest-700); color: var(--c-white); font-weight: 700; flex: none; }
.review__author b { display: block; font-size: 0.9375rem; }
.review__author span { font-size: var(--fs--1); color: var(--c-ink-3); }

/* horizontal scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 26rem); gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-4); scrollbar-width: thin; scrollbar-color: var(--c-wood-400) transparent; }
.scroller > * { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: var(--sp-2); }
.scroller-nav button { width: 3rem; height: 3rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-strong); display: grid; place-items: center; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.scroller-nav button:hover { background: var(--c-forest-700); color: var(--c-white); box-shadow: none; }
.scroller-nav svg { width: 1.125rem; height: 1.125rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--sp-5); }
.stat { padding: var(--sp-5) 0; border-top: 1px solid var(--c-line-strong); }
.stat b { display: block; font-size: var(--fs-6); line-height: 1; letter-spacing: -0.04em; font-weight: 700; color: var(--c-forest-700); font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.45em; letter-spacing: -0.02em; margin-left: 0.15em; color: var(--c-wood-600); }
.stat span { display: block; margin-top: var(--sp-3); color: var(--c-ink-2); font-size: 0.9375rem; }
.section--dark .stat { border-color: rgba(249, 246, 240, 0.18); }
.section--dark .stat b { color: var(--c-cream); }
.section--dark .stat b small { color: var(--c-wood-400); }
.section--dark .stat span { color: rgba(249, 246, 240, 0.7); }

/* steps / process */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--c-line); }
.step::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--c-wood-500); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-expo); transition-delay: calc(var(--i, 0) * 180ms + 200ms); }
.is-in .step::after, .step.is-in::after { transform: scaleX(1); }
.step__num { font-size: var(--fs-5); line-height: 1; font-weight: 300; letter-spacing: -0.04em; color: var(--c-wood-500); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: var(--sp-4); font-size: var(--fs-2); }
.step p { margin-top: var(--sp-3); color: var(--c-ink-2); font-size: 0.9375rem; }
.section--dark .step::before { background: rgba(249, 246, 240, 0.16); }
.section--dark .step p { color: rgba(249, 246, 240, 0.7); }
.step__img { margin-top: var(--sp-5); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover .step__img img { transform: scale(1.05); }

/* chain (production arrows) */
.chain { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.chain__item { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3 / 4; color: var(--c-white); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--sp-5); isolation: isolate; }
.chain__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.chain__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 26, 9, 0) 40%, rgba(12, 26, 9, 0.85)); }
.chain__item:hover img { transform: scale(1.06); }
.chain__item b { font-size: var(--fs-2); letter-spacing: -0.02em; line-height: 1.1; }
.chain__item span { font-size: var(--fs--1); color: var(--c-wood-400); font-weight: 600; margin-bottom: var(--sp-2); }

/* marquee */
.marquee { overflow: hidden; padding-block: var(--sp-5); border-block: 1px solid var(--c-line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--sp-7); animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-3); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__item i { font-style: normal; font-size: var(--fs--1); font-weight: 600; color: var(--c-wood-600); }
.marquee__item svg { width: 1.5rem; height: 1.5rem; color: var(--c-wood-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrap { position: relative; background: var(--c-white); border-radius: var(--r-l); overflow: auto; max-height: 75vh; box-shadow: inset 0 0 0 1px var(--c-line); -webkit-overflow-scrolling: touch; }
.table-wrap--free { max-height: none; }
.table { font-size: 0.9375rem; min-width: 46rem; }
.table th, .table td { padding: 0.875rem var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.table thead th { position: sticky; top: 0; z-index: 1; background: var(--c-forest-900); color: var(--c-cream); font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.table tbody tr { transition: background 0.2s; }
.table tbody tr:hover { background: var(--c-cream); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .c { text-align: center; }
.table td b { font-weight: 600; }
.table a:not(.btn) { color: var(--c-forest-700); font-weight: 600; }
.table a:not(.btn):hover { text-decoration: underline; }
.table--props { min-width: 0; }
.table--props th[scope="row"] { width: 38%; color: var(--c-ink-2); font-weight: 500; background: var(--c-cream); }
.table--compare { min-width: 40rem; }
.table-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.date-chip { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.5rem 0.875rem; border-radius: var(--r-pill); background: var(--c-wood-100); color: var(--c-bark); font-size: var(--fs--1); font-weight: 600; }
.date-chip svg { width: 1rem; height: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.filters-group { display: grid; gap: var(--sp-3); }
.filters-group + .filters-group { margin-top: var(--sp-4); }
.filters-label { font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-3); }
tr.is-filtered, .is-filtered { display: none !important; }

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq { display: grid; gap: var(--sp-8); }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.faq__aside { display: flex; flex-direction: column; gap: var(--sp-5); }
.faq__cta { margin-top: auto; padding-top: var(--sp-7); display: grid; gap: var(--sp-3); }
.acc { border-top: 1px solid var(--c-line-strong); }
.acc__item { border-bottom: 1px solid var(--c-line-strong); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); padding: var(--sp-5) 0; text-align: left; font-size: var(--fs-1); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; transition: color 0.25s; }
.acc__q:hover { color: var(--c-forest-700); }
.acc__icon { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--c-paper); transition: background 0.3s, transform 0.5s var(--ease-expo); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--c-wood-500); transform: rotate(180deg); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding-bottom: var(--sp-5); color: var(--c-ink-2); max-width: 42rem; }
.acc__a p + p { margin-top: calc(var(--sp-3) * -1); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.section--dark .acc, .section--dark .acc__item { border-color: rgba(249, 246, 240, 0.18); }
.section--dark .acc__icon { background: rgba(249, 246, 240, 0.1); }
.section--dark .acc__a p { color: rgba(249, 246, 240, 0.72); }

/* tabs */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: var(--sp-1); padding: var(--sp-1); border-radius: var(--r-pill); background: var(--c-paper); }
.tabs__btn { height: 2.5rem; padding: 0 var(--sp-4); border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 600; color: var(--c-ink-2); transition: background 0.3s, color 0.3s; }
.tabs__btn[aria-selected="true"] { background: var(--c-white); color: var(--c-forest-700); box-shadow: var(--shadow-1); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fade-up 0.6s var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background: var(--c-white); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-6); position: relative; box-shadow: var(--shadow-1); }
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--sp-2); position: relative; }
.field label, .field__label { font-size: var(--fs--1); font-weight: 600; color: var(--c-ink-2); }
.field label .req { color: var(--c-wood-600); }
.input, .select, .textarea {
  width: 100%; min-height: 3.25rem; padding: 0 var(--sp-4);
  background: var(--c-cream); border: 1.5px solid transparent; border-radius: var(--r-m);
  font-size: 1rem; color: var(--c-ink); transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; appearance: none; -webkit-appearance: none;
}
.textarea { padding: var(--sp-3) var(--sp-4); min-height: 7rem; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23234f17' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.75rem; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; background: var(--c-white); border-color: var(--c-forest-700); box-shadow: 0 0 0 4px rgba(35, 79, 23, 0.1); }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: var(--c-err); background: #fdf3ef; }
.field__error { font-size: var(--fs--1); color: var(--c-err); display: none; }
.field.is-invalid .field__error { display: block; }
.file { position: relative; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); min-height: 3.25rem; border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-m); cursor: pointer; transition: border-color 0.25s, background 0.25s; font-size: 0.9375rem; color: var(--c-ink-2); }
.file:hover, .file.is-drag { border-color: var(--c-forest-700); background: var(--c-cream); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file svg { width: 1.25rem; height: 1.25rem; color: var(--c-forest-700); flex: none; }
.file.has-file { border-style: solid; border-color: var(--c-forest-700); color: var(--c-ink); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs--1); line-height: 1.5; color: var(--c-ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 0.375rem; border: 1.5px solid var(--c-line-strong); background: var(--c-white); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; margin-top: 0.05rem; }
.check__box svg { width: 0.875rem; height: 0.875rem; color: var(--c-white); transform: scale(0); transition: transform 0.3s var(--ease-expo); }
.check input:checked + .check__box { background: var(--c-forest-700); border-color: var(--c-forest-700); }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-wood-500); outline-offset: 2px; }
.check a { color: var(--c-forest-700); text-decoration: underline; text-underline-offset: 0.15em; }
.form__consents { display: grid; gap: var(--sp-3); padding-top: var(--sp-2); }
.form__note { font-size: var(--fs--1); color: var(--c-ink-3); text-align: center; }
.form-success { display: none; text-align: center; padding: var(--sp-7) var(--sp-4); }
.form-success__icon { width: 4.5rem; height: 4.5rem; margin: 0 auto var(--sp-5); border-radius: 50%; background: var(--c-forest-100); color: var(--c-forest-700); display: grid; place-items: center; }
.form-success__icon svg { width: 2.25rem; height: 2.25rem; stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-sent .form-success__icon svg { animation: draw 0.8s 0.2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { margin-bottom: var(--sp-3); }
.is-sent > .form, .is-sent > .form-head { display: none; }
.is-sent > .form-success { display: block; animation: fade-up 0.6s var(--ease-out); }
.form-head { margin-bottom: var(--sp-6); display: grid; gap: var(--sp-3); }
.form-head h2, .form-head h3 { font-size: var(--fs-4); line-height: var(--lh-head); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CTA form section */
.cta-form { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .cta-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; } }
.cta-form__aside { position: relative; border-radius: var(--r-xl); overflow: hidden; color: var(--c-white); padding: var(--sp-7) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); min-height: 24rem; isolation: isolate; background: var(--c-forest-900); }
.cta-form__aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-form__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 26, 9, 0.35), rgba(12, 26, 9, 0.9)); }
.cta-form__aside .lead { color: rgba(255, 255, 255, 0.82); }
.cta-form__aside .eyebrow { color: var(--c-wood-400); }
.cta-form__contacts { margin-top: auto; display: grid; gap: var(--sp-3); }
.cta-form__contacts a { display: flex; align-items: center; gap: var(--sp-3); font-weight: 600; }
.cta-form__contacts svg { width: 1.25rem; height: 1.25rem; color: var(--c-wood-400); }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--sp-4); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(12, 26, 9, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s var(--ease-out); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog { position: relative; width: min(100%, 34rem); max-height: calc(100svh - 2rem); overflow-y: auto; background: var(--c-white); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-6) var(--sp-6); opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-expo); }
.modal__dialog--wide { width: min(100%, 52rem); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; top: var(--sp-4); right: var(--sp-4); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-paper); display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--ease-expo); z-index: 2; }
.modal__close:hover { background: var(--c-wood-500); transform: rotate(90deg); }
.modal__close svg { width: 1rem; height: 1rem; }

/* calculator */
.calc { display: grid; gap: var(--sp-5); }
.calc__grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.calc__result { background: var(--c-forest-900); color: var(--c-cream); border-radius: var(--r-l); padding: var(--sp-5); display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); position: relative; overflow: hidden; isolation: isolate; }
.calc__result div span { display: block; font-size: var(--fs--2); text-transform: uppercase; letter-spacing: 0.06em; color: rgba(249, 246, 240, 0.6); font-weight: 600; }
.calc__result div b { display: block; margin-top: var(--sp-1); font-size: var(--fs-3); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__result div b.accent { color: var(--c-wood-400); }
.calc__note { font-size: var(--fs--1); color: var(--c-ink-3); }
.seg { display: inline-flex; padding: 0.25rem; background: var(--c-cream); border-radius: var(--r-pill); gap: 0.25rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 0.5rem 0.875rem; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 600; cursor: pointer; color: var(--c-ink-2); transition: background 0.25s, color 0.25s; }
.seg input:checked + span { background: var(--c-white); color: var(--c-forest-700); box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--c-wood-500); }

/* calculator inline widget */
.calc-widget { background: var(--c-white); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-6); box-shadow: var(--shadow-1); }

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.article-card { display: flex; flex-direction: column; }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: var(--fs--1); color: var(--c-ink-3); }
.article-card__meta b { color: var(--c-wood-600); font-weight: 600; }
.article-card h3 { font-size: var(--fs-2); }
.article-card p { color: var(--c-ink-2); font-size: 0.9375rem; }
.article-card .arrow-link { margin-top: auto; padding-top: var(--sp-3); }

.article { display: grid; gap: var(--sp-8); }
@media (min-width: 1100px) { .article { grid-template-columns: 16rem minmax(0, 46rem); justify-content: space-between; } }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs--1); color: var(--c-ink-2); }
.article__meta b { color: var(--c-ink); font-weight: 600; }
.summary { background: var(--c-forest-900); color: var(--c-cream); border-radius: var(--r-l); padding: var(--sp-6); position: relative; overflow: hidden; isolation: isolate; }
.summary .eyebrow { color: var(--c-wood-400); }
.summary p { margin-top: var(--sp-3); font-size: var(--fs-1); line-height: 1.5; }
.toc { display: grid; gap: var(--sp-1); }
.toc__title { font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: var(--sp-2); }
.toc a { display: block; padding: var(--sp-2) var(--sp-3); border-left: 2px solid var(--c-line); font-size: 0.875rem; color: var(--c-ink-2); transition: border-color 0.25s, color 0.25s, background 0.25s; }
.toc a:hover, .toc a.is-active { border-color: var(--c-wood-500); color: var(--c-ink); background: var(--c-white); }
.author { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5); background: var(--c-white); border-radius: var(--r-l); }
.author__ava { width: 4rem; height: 4rem; border-radius: 50%; overflow: hidden; flex: none; background: var(--c-forest-700); }
.author__ava img { width: 100%; height: 100%; object-fit: cover; }
.author b { display: block; }
.author span { font-size: var(--fs--1); color: var(--c-ink-2); }
.figure { border-radius: var(--r-l); overflow: hidden; }
.figure figcaption { font-size: var(--fs--1); color: var(--c-ink-3); padding-top: var(--sp-2); }
.figure img { border-radius: var(--r-l); width: 100%; }

/* ==========================================================================
   MISC BLOCKS
   ========================================================================== */
.banner { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--c-forest-900); color: var(--c-cream); padding: var(--sp-8) var(--sp-7); display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) { .banner--form { grid-template-columns: 1fr 1fr; align-items: center; } }
.banner .lead { color: rgba(249, 246, 240, 0.75); }
.banner .eyebrow { color: var(--c-wood-400); }
.info-list { display: grid; gap: var(--sp-3); }
.info-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.info-list svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--c-forest-700); margin-top: 0.2rem; }
.section--dark .info-list svg, .panel--dark .info-list svg, .banner .info-list svg { color: var(--c-wood-400); }
.contact-card { display: grid; gap: var(--sp-5); }
.contact-line { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { width: 2.75rem; height: 2.75rem; border-radius: var(--r-m); flex: none; background: var(--c-forest-100); color: var(--c-forest-700); display: grid; place-items: center; }
.contact-line .ico svg { width: 1.25rem; height: 1.25rem; }
.contact-line span { display: block; font-size: var(--fs--1); color: var(--c-ink-3); }
.contact-line b, .contact-line a { font-size: var(--fs-1); font-weight: 600; letter-spacing: -0.01em; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 26rem; background: var(--c-paper); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 2; }
.map__pin span { display: block; width: 3rem; height: 3rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c-forest-700); box-shadow: 0 8px 24px rgba(12, 26, 9, 0.4); }
.map__pin span::after { content: ""; position: absolute; inset: 0.875rem; border-radius: 50%; background: var(--c-wood-400); }
.map__pin::before { content: ""; position: absolute; left: 50%; bottom: -0.75rem; width: 3rem; height: 3rem; margin-left: -1.5rem; border-radius: 50%; background: rgba(35, 79, 23, 0.25); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(0.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.map__card { position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2; max-width: 22rem; background: var(--c-white); border-radius: var(--r-l); padding: var(--sp-5); box-shadow: var(--shadow-2); }
.video { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-forest-950); color: var(--c-white); isolation: isolate; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease-out), opacity 0.4s; opacity: 0.75; }
.video:hover img { transform: scale(1.04); opacity: 0.9; }
.video__play { position: absolute; inset: 0; margin: auto; width: 6rem; height: 6rem; border-radius: 50%; background: var(--c-wood-500); color: var(--c-forest-950); display: grid; place-items: center; transition: transform 0.5s var(--ease-expo); }
.video__play::before { content: ""; position: absolute; inset: -0.75rem; border-radius: 50%; border: 1.5px solid rgba(212, 163, 115, 0.6); animation: ping 2.4s var(--ease-out) infinite; }
.video:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 1.75rem; height: 1.75rem; margin-left: 0.25rem; }
.video__caption { position: absolute; left: var(--sp-5); bottom: var(--sp-5); right: var(--sp-5); display: flex; justify-content: space-between; gap: var(--sp-4); font-weight: 600; }
.video.is-playing .video__play, .video.is-playing .video__caption { display: none; }
.video.is-playing .video__msg { display: grid; }
.video__msg { display: none; position: absolute; inset: 0; place-items: center; text-align: center; padding: var(--sp-6); background: rgba(12, 26, 9, 0.8); }
.team-card { text-align: left; }
.team-card__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-l); background: var(--c-paper); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.team-card:hover .team-card__img img { transform: scale(1.05); }
.team-card b { display: block; margin-top: var(--sp-4); font-size: var(--fs-1); }
.team-card span { display: block; margin-top: var(--sp-1); color: var(--c-ink-2); font-size: 0.9375rem; }
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: var(--sp-4); }
.letter { aspect-ratio: 3 / 4; background: var(--c-white); border-radius: var(--r-m); padding: var(--sp-5) var(--sp-4); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs--2); color: var(--c-ink-3); transition: transform 0.5s var(--ease-out); position: relative; overflow: hidden; }
.letter:hover { transform: rotate(-1.5deg) translateY(-4px); }
.letter b { font-size: var(--fs--1); color: var(--c-ink); }
.letter i { display: block; height: 0.375rem; border-radius: 3px; background: var(--c-paper); }
.letter i:nth-child(odd) { width: 85%; }
.letter__seal { margin-top: auto; align-self: flex-end; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--c-forest-400); opacity: 0.6; }
.requisites { display: grid; gap: 0; }
.requisites div { display: grid; grid-template-columns: minmax(8rem, 0.6fr) 1fr; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; }
.requisites dt { color: var(--c-ink-3); }
.requisites dd { font-weight: 600; }
.legal h2 { font-size: var(--fs-3); margin-top: var(--sp-7); }
.case-card .product-card__media { aspect-ratio: 16 / 10; }
.case-card dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-1) var(--sp-4); font-size: var(--fs--1); }
.case-card dt { color: var(--c-ink-3); }
.case-card dd { font-weight: 600; }
.matrix td:first-child { font-weight: 600; color: var(--c-ink); }
.kpi-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.compare { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.compare__col { padding: var(--sp-6) var(--sp-5); border-radius: var(--r-l); background: var(--c-white); display: grid; gap: var(--sp-3); align-content: start; }
.compare__col h3 { font-size: var(--fs-2); }
.compare__col--accent { background: var(--c-forest-900); color: var(--c-cream); }
.compare__col--accent p, .compare__col--accent li { color: rgba(249, 246, 240, 0.78); }
.notice { display: flex; gap: var(--sp-4); align-items: flex-start; background: var(--c-wood-100); border-radius: var(--r-l); padding: var(--sp-5); color: var(--c-bark); }
.notice svg { width: 1.5rem; height: 1.5rem; flex: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--c-forest-950); color: rgba(249, 246, 240, 0.72); position: relative; overflow: hidden; isolation: isolate; }
.footer__cta { padding-block: var(--sp-9) var(--sp-8); border-bottom: 1px solid rgba(249, 246, 240, 0.12); display: grid; gap: var(--sp-6); align-items: end; }
.footer__cta h2 { color: var(--c-cream); max-width: 14em; }
@media (min-width: 960px) { .footer__cta { grid-template-columns: 1fr auto; } }
.footer__grid { padding-block: var(--sp-8); display: grid; gap: var(--sp-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: var(--sp-5); max-width: 24rem; }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }
.footer__brand img { height: 2.75rem; width: auto; }
.footer__title { font-size: var(--fs--2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-wood-400); margin-bottom: var(--sp-4); }
.footer__links { display: grid; gap: var(--sp-2); font-size: 0.9375rem; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--c-white); }
.footer__phone { font-size: var(--fs-3); font-weight: 700; letter-spacing: -0.02em; color: var(--c-cream); }
.footer__bottom { padding-block: var(--sp-5); border-top: 1px solid rgba(249, 246, 240, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6); font-size: var(--fs--1); color: rgba(249, 246, 240, 0.5); }
.footer__bottom a:hover { color: var(--c-white); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.footer .icon-btn { background: rgba(249, 246, 240, 0.08); color: var(--c-cream); }

/* ==========================================================================
   MOTION
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round var(--r-xl)); transition: clip-path 1.4s var(--ease-expo); }
.js [data-reveal="clip"] > img, .js [data-reveal="clip"] .gl-gallery { transform: scale(1.18); transition: transform 1.8s var(--ease-expo); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js [data-reveal="clip"].is-in > img, .js [data-reveal="clip"].is-in .gl-gallery { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(36px) scale(0.985); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 85ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* split text */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-expo); transition-delay: calc(var(--w, 0) * 55ms); will-change: transform; }
.is-in .split-word, .split-done .split-word { transform: none; }
.split-char { display: inline-block; opacity: 0; transform: translateY(0.4em); filter: blur(6px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-expo), filter 0.7s var(--ease-out); transition-delay: calc(var(--c, 0) * 18ms); }
.is-in .split-char { opacity: 1; transform: none; filter: none; }
[data-scramble] { font-variant-numeric: tabular-nums; }

/* image parallax */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .split-word, .split-char { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- 404 ---------- */
.e404 { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 2rem) var(--gutter) var(--sp-8); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.e404__code { font-size: clamp(7rem, 4rem + 18vw, 16rem); line-height: 0.85; font-weight: 800; letter-spacing: -0.06em; color: var(--c-forest-700); }
.e404__code span { color: var(--c-wood-500); }

/* ---------- utilities ---------- */
.mt-s { margin-top: var(--sp-4); } .mt-m { margin-top: var(--sp-5); } .mt-l { margin-top: var(--sp-7); } .mt-xl { margin-top: var(--sp-8); }
.mb-l { margin-bottom: var(--sp-7); }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.w-full { width: 100%; }
.hide-m { display: none; }
@media (min-width: 960px) { .hide-m { display: initial; } .hide-d { display: none; } }
.ratio-img { border-radius: var(--r-xl); overflow: hidden; position: relative; }
.ratio-img img { width: 100%; height: 100%; object-fit: cover; }
.to-top { position: fixed; right: var(--gutter); bottom: var(--sp-5); z-index: 80; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c-forest-700); color: var(--c-white); display: grid; place-items: center; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s; pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-wood-500); }
.to-top svg { width: 1.125rem; height: 1.125rem; transform: rotate(-90deg); }
