/* ==========================================================================
   SHRINKBAND — Термоусадочные колпачки
   Design system. Industrial premium B2B.

    1. Fonts            8. Header            15. Specs / table
    2. Tokens           9. Hero              16. Stats
    3. Base            10. Media & callouts  17. Gallery / lightbox
    4. Layout          11. Cards             18. FAQ
    5. Typography      12. Showcase          19. CTA & form
    6. Decor           13. Process steps     20. Footer
    7. Buttons         14. Tamper / B-A      21. Motion
   ========================================================================== */

/* 1. FONTS ================================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-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;
}

/* 2. TOKENS =============================================================== */
:root {
  /* Surfaces */
  --c-bg: #ffffff;
  --c-soft: #f5f7f9;
  --c-soft-2: #ebeef2;
  --c-graphite: #14181e;
  --c-graphite-2: #1d222a;
  --c-graphite-3: #2b323c;

  /* Ink */
  --c-ink: #11151b;
  --c-ink-2: #565f6c;
  --c-ink-3: #8a929e;
  --c-on-dark: #f2f4f7;
  --c-on-dark-2: #a2aab6;

  /* Accent — one brand colour, used sparingly */
  --c-accent: #0c5fd0;
  --c-accent-700: #094ba6;
  --c-accent-300: #84aeee;
  --c-accent-soft: #e9f1fd;

  /* Lines */
  --c-line: #e2e6eb;
  --c-line-2: #d1d7df;
  --c-line-dark: rgba(255, 255, 255, .13);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.30rem + 4.2vw, 4.25rem);
  --fs-h1: clamp(2.00rem, 1.35rem + 2.9vw, 3.50rem);
  --fs-h2: clamp(1.60rem, 1.22rem + 1.7vw, 2.50rem);
  --fs-h3: clamp(1.20rem, 1.06rem + 0.6vw, 1.50rem);
  --fs-h4: clamp(1.05rem, 1.01rem + 0.2vw, 1.1875rem);
  --fs-lead: clamp(1.05rem, 0.99rem + 0.3vw, 1.1875rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-micro: .6875rem;

  /* Space */
  --section-y: clamp(3.5rem, 2rem + 5vw, 7rem);
  --section-y-s: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  --gap: clamp(1.25rem, .8rem + 1.4vw, 2rem);

  /* Radii — tight and technical, never pill-shaped */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* Elevation — two levels only, both soft (§66) */
  --sh-1: 0 1px 2px rgba(17, 21, 27, .04), 0 6px 18px rgba(17, 21, 27, .05);
  --sh-2: 0 2px 4px rgba(17, 21, 27, .05), 0 20px 48px rgba(17, 21, 27, .10);

  /* Motion */
  --e-out: cubic-bezier(.22, .68, .28, 1);
  --e-soft: cubic-bezier(.36, .12, .18, 1);
  --t-fast: .18s;
  --t-base: .32s;
  --t-slow: .6s;

  /* Bootstrap bridge */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--c-ink);
  --bs-body-bg: var(--c-bg);
  --bs-link-color-rgb: 12, 95, 208;
  --bs-link-hover-color-rgb: 9, 75, 166;
  --bs-border-color: var(--c-line);
  --bs-emphasis-color: var(--c-ink);
}

/* 3. BASE ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
/* <picture> — только контейнер для <source>; собственного бокса не создаёт,
   поэтому вся геометрия ниже задаётся на самом <img>, как и до webp. */
picture { display: contents; }

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--t-fast) var(--e-out);
}
a:hover { color: var(--c-accent-700); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--c-accent); color: #fff; }

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2000;
  padding: .7rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  background: var(--c-graphite);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transform: translate(-50%, -120%);
  transition: transform var(--t-base) var(--e-out);
}
.skip-link:focus { color: #fff; transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. LAYOUT =============================================================== */
.container {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
}
@media (min-width: 576px) { .container { padding-inline: 28px; } }
@media (min-width: 1200px) { .container { max-width: 1240px; padding-inline: 40px; } }
@media (min-width: 1440px) { .container { max-width: 1320px; } }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-s); }
.section--soft { background: var(--c-soft); }
.section--flush-top { padding-top: 0; }

.section--dark { color: var(--c-on-dark); background: var(--c-graphite); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark li { color: var(--c-on-dark-2); }
.section--dark .eyebrow { color: var(--c-accent-300); }
.section--dark .eyebrow::before { background: var(--c-accent-300); }
.section--dark .micro { color: #6d7683; }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); }
.section-head > p { margin-bottom: 0; font-size: var(--fs-lead); color: var(--c-ink-2); }
.section--dark .section-head > p { color: var(--c-on-dark-2); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-head--split {
  display: grid;
  gap: 1.25rem;
  max-width: none;
  align-items: end;
}
@media (min-width: 992px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 3rem;
  }
  .section-head--split > :last-child { padding-bottom: .3rem; }
}

/* Grid and flex children default to min-width:auto, which lets a wide table or
   a long unbreakable word push the whole page sideways. Allow them to shrink —
   the scrolling then happens inside .tablewrap, where it belongs (§28). */
.hero__inner > *,
.showcase > *,
.variants > *,
.tamper > *,
.cta__inner > *,
.footer__top > *,
.section-head--split > *,
.trustbar__inner > *,
.grid > * { min-width: 0; }

.tablewrap { min-width: 0; max-width: 100%; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
@media (min-width: 992px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* 5. TYPOGRAPHY =========================================================== */
h1, h2, h3, h4, h5, .display {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--c-ink);
  text-wrap: balance;
}
.display { font-size: var(--fs-display); letter-spacing: -.035em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -.01em; }

p { max-width: 68ch; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  max-width: 56ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-ink-2);
}
.text-dim { color: var(--c-ink-2); }
.text-sm { font-size: var(--fs-sm); }

/* Overline label */
.eyebrow {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 26px;
  height: 2px;
  background: var(--c-accent);
}

/* Technical micro-caption */
.micro {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

/* Oversized decorative numeral */
.ghost-num {
  font-size: clamp(3.5rem, 1.5rem + 8vw, 7.5rem);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.05em;
  color: var(--c-line);
  user-select: none;
  pointer-events: none;
}
.section--dark .ghost-num { color: rgba(255, 255, 255, .07); }

.list-check { margin: 0; padding: 0; list-style: none; }
.list-check li {
  position: relative;
  margin-bottom: .7rem;
  padding-left: 1.85rem;
  color: var(--c-ink-2);
}
.list-check li:last-child { margin-bottom: 0; }
.list-check li::before {
  content: '';
  position: absolute;
  left: .15rem;
  top: .5em;
  width: 11px;
  height: 6px;
  border: 2px solid var(--c-accent);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
.list-check li strong { font-weight: 600; color: var(--c-ink); }
.section--dark .list-check li strong { color: #fff; }

/* 6. DECOR ================================================================ */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
  vertical-align: -.125em;
}

/* Blueprint grid backdrop */
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--c-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c-line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 40%, #000 15%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 60% at 55% 40%, #000 15%, transparent 76%);
}
.section--dark.grid-bg::before {
  background-image:
    linear-gradient(to right, var(--c-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c-line-dark) 1px, transparent 1px);
}
.grid-bg > * { position: relative; z-index: 1; }

/* Soft accent bloom */
.bloom::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: -18rem;
  right: -14rem;
  width: 46rem;
  height: 46rem;
  max-width: 130vw;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 95, 208, .09), rgba(12, 95, 208, 0) 68%);
}
.bloom > * { position: relative; z-index: 1; }

.rule { height: 1px; margin: 0; border: 0; background: var(--c-line); }
.section--dark .rule { background: var(--c-line-dark); }

/* Ticked measuring scale */
.ticks { display: flex; gap: 5px; align-items: flex-end; height: 14px; opacity: .45; }
.ticks i { display: block; width: 1px; height: 6px; background: var(--c-ink-3); }
.ticks i:nth-child(5n + 1) { height: 14px; }

/* 7. BUTTONS ============================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: transparent;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  padding: .875rem 1.5rem;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out),
    color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out),
    box-shadow var(--t-base) var(--e-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform var(--t-base) var(--e-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--lg { padding: 1.0625rem 1.875rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn--accent {
  --btn-bg: var(--c-accent);
  --btn-fg: #fff;
  --btn-bd: var(--c-accent);
  box-shadow: 0 1px 2px rgba(9, 75, 166, .22);
}
.btn--accent:hover {
  --btn-bg: var(--c-accent-700);
  --btn-bd: var(--c-accent-700);
  --btn-fg: #fff;
  box-shadow: 0 8px 22px rgba(12, 95, 208, .25);
}

.btn--dark { --btn-bg: var(--c-graphite); --btn-fg: #fff; --btn-bd: var(--c-graphite); }
.btn--dark:hover { --btn-bg: var(--c-graphite-3); --btn-bd: var(--c-graphite-3); --btn-fg: #fff; }

.btn--line { --btn-bd: var(--c-line-2); }
.btn--line:hover { --btn-bd: var(--c-ink); --btn-fg: var(--c-ink); }

.btn--line-light { --btn-bd: var(--c-line-dark); --btn-fg: #fff; }
.btn--line-light:hover {
  --btn-bd: rgba(255, 255, 255, .4);
  --btn-fg: #fff;
  --btn-bg: rgba(255, 255, 255, .06);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Long Russian CTA labels must be allowed to wrap on small phones, or a
   nowrap button pushes the page sideways at 320px (§28). */
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding-inline: 1.25rem; }
}

.link-arrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-accent);
}
.link-arrow .icon { transition: transform var(--t-base) var(--e-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* 8. HEADER =============================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base) var(--e-out), background var(--t-base) var(--e-out);
}
.header__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(.75rem, .2rem + 1.2vw, 1.5rem);
  align-items: center;
  height: 76px;
  transition: height var(--t-base) var(--e-out);
}
.header.is-compact { box-shadow: 0 1px 0 var(--c-line), 0 8px 28px rgba(17, 21, 27, .07); }
.header.is-compact .header__inner { height: 62px; }

.brand { display: flex; flex: none; gap: .7rem; align-items: center; margin-right: auto; }
.brand:hover { color: inherit; }
.brand__mark { flex: none; width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-ink);
}
.brand__sub {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.nav { display: none; min-width: 0; }
/* Dropdown menu needs the full desktop width; below 1200 px the burger and
   the drawer take over. */
@media (min-width: 1200px) {
  .nav { display: flex; flex-wrap: nowrap; gap: 0; align-items: center; align-self: stretch; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header__actions .burger { display: inline-flex; }
}
@media (min-width: 1200px) {
  .header__actions .burger { display: none; }
}
.drawer .burger { display: inline-flex; }

/* From 992 px messenger icons move to the top bar. The phone stays in the bar
   only while the burger is shown (992-1199 px); from 1200 px the dropdown menu
   needs the whole bar (the container stops growing at 1320 px), so the number
   lives in the top bar. */
@media (min-width: 992px) {
  .header__actions .msgr--header { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header .header__phone { display: inline-flex; gap: .45rem; align-items: center; }
}
@media (min-width: 1200px) {
  .header .header__phone { display: none; }
}
/* .topbar__link (declared below) sets display, hence the doubled class */
.topbar__link.topbar__phone { display: none; }
@media (min-width: 1200px) {
  .topbar__link.topbar__phone { display: inline-flex; font-weight: 600; color: var(--c-ink); }
}

/* Narrowest phones: the brand caption must leave room for the burger */
@media (max-width: 359.98px) {
  .brand__sub { font-size: .625rem; letter-spacing: .02em; }
}

/* Top bar: address, hours, phone, email, messengers. Sits above the sticky
   header in normal flow and simply scrolls away — collapsing it inside the
   sticky header shifted the page and made the header flicker. */
.topbar { display: none; }
@media (min-width: 992px) {
  .topbar {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-ink-2);
    background: var(--c-soft);
    border-bottom: 1px solid var(--c-line);
  }
}
.topbar__inner { display: flex; gap: 1.5rem; align-items: center; height: 38px; }
.topbar__text, .topbar__link { display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; }
.topbar__text .icon, .topbar__link .icon { color: var(--c-accent); }
.topbar__link { font-weight: 500; color: var(--c-ink-2); }
.topbar__link:hover { color: var(--c-accent); }
.topbar__spacer { flex: 1; }
.msgr--topbar { flex: none; flex-wrap: nowrap; gap: .15rem; }
.msgr--topbar .msgr__link { width: 28px; height: 28px; color: var(--c-ink-2); }
.msgr--topbar .msgr__link .icon { font-size: .95rem; }
.msgr--topbar .msgr__link:hover { color: var(--c-accent); }

/* Dropdown groups */
.nav .nav__link { padding-inline: .6rem; font-size: .875rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__btn {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  padding: .5rem .6rem;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.65;
  white-space: nowrap;
  color: var(--c-ink-2);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--e-out);
}
.nav__btn .icon { font-size: .6rem; transition: transform var(--t-base) var(--e-out); }
.nav__btn:hover, .nav__btn.is-current, .nav__item.is-open > .nav__btn { color: var(--c-ink); }
.nav__btn.is-current { font-weight: 600; }
.nav__item.is-open > .nav__btn .icon { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  padding-top: .35rem;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out), visibility 0s linear var(--t-fast);
}
.nav__item.is-open > .nav__panel {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
@media (hover: hover) {
  .nav__item:hover > .nav__panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .nav__item:hover > .nav__btn { color: var(--c-ink); }
  .nav__item:hover > .nav__btn .icon { transform: rotate(180deg); }
}
.nav__card {
  display: grid;
  gap: 1.25rem 2rem;
  width: max-content;
  max-width: calc(100vw - 48px);
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
}
.nav__card--cols { grid-template-columns: repeat(2, minmax(0, 17rem)); }
.nav__card:not(.nav__card--cols) { min-width: 18rem; }
.nav__group-title { display: block; margin-bottom: .35rem; }
.nav__list { margin: 0; padding: 0; list-style: none; }
.nav__sub {
  display: block;
  margin-inline: -.65rem;
  padding: .45rem .65rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.nav__sub small { display: block; margin-top: .15rem; font-size: var(--fs-xs); font-weight: 400; color: var(--c-ink-3); }
.nav__sub:hover, .nav__sub[aria-current] { color: var(--c-accent); background: var(--c-soft); }

/* Drawer: menu groups as native accordions */
.drawer__summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid var(--c-line);
}
.drawer__summary::-webkit-details-marker { display: none; }
.drawer__summary .icon { font-size: .7rem; color: var(--c-ink-3); transition: transform var(--t-base) var(--e-out); }
.drawer__group[open] > .drawer__summary { border-bottom-color: transparent; }
.drawer__group[open] > .drawer__summary .icon { transform: rotate(180deg); }
.drawer__subs { display: flex; flex-direction: column; padding: 0 0 .75rem .9rem; border-bottom: 1px solid var(--c-line); }
.drawer__subs .micro { margin: .5rem 0 .1rem; }
.drawer__link--sub { padding: .5rem 0; font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink-2); border-bottom: 0; }
.drawer__link[aria-current] { color: var(--c-accent); }
/* Nav priority ladder: secondary links drop out before the bar can overflow.
   Every link stays reachable in the footer and the mobile drawer. */
@media (max-width: 1399.98px) { .nav__link--l3 { display: none; } }
@media (max-width: 1199.98px) { .nav__link--l2 { display: none; } }
.nav__link {
  position: relative;
  white-space: nowrap;
  padding: .5rem .75rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--e-out);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .15rem;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--e-out);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--c-ink); font-weight: 600; }

/* The full link set never fits the 1240 px container with roomy padding, and
   the container stops growing at 1440 px - so desktop nav metrics stay compact
   at every width above 992 px. */
@media (min-width: 992px) {
  .nav__link { padding-inline: .5rem; font-size: var(--fs-xs); }
  .nav__link::after { left: .5rem; right: .5rem; }
}

.header__actions { display: flex; gap: .6rem; align-items: center; }
.header__phone {
  display: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
}
.header__phone:hover { color: var(--c-accent); }
.header__phone { white-space: nowrap; }
@media (min-width: 1200px) { .header__phone { display: inline-flex; gap: .45rem; align-items: center; } }
.header__cta { display: none; }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
  color: var(--c-ink);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--e-out), background var(--t-fast) var(--e-out);
}
.burger:hover { border-color: var(--c-line-2); background: var(--c-soft); }
@media (min-width: 992px) { .burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1080;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 21, 27, .45);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(92vw, 400px);
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--e-soft);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-line);
}
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  padding: .95rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.drawer__link:hover { color: var(--c-accent); }
.drawer__foot { margin-top: auto; padding-top: 1.75rem; }

/* 9. HERO ================================================================= */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 78% 18%, #fff, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f7f9fb 0%, #eef1f5 100%);
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 992px) {
  .hero__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}

.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__btns { margin-bottom: 2.25rem; }

/* Inline spec strip under the hero copy */
.hero__specs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-2);
}
@media (max-width: 420px) {
  .hero__specs { grid-template-columns: repeat(2, auto); row-gap: 1.25rem; }
  .hero__specs .hero__spec:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
.hero__spec { padding-right: clamp(1.25rem, .5rem + 2vw, 2.25rem); }
.hero__spec + .hero__spec {
  padding-left: clamp(1.25rem, .5rem + 2vw, 2.25rem);
  border-left: 1px solid var(--c-line-2);
}
.hero__spec-val {
  white-space: nowrap;
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-ink);
}
.hero__spec-lbl { margin-top: .3rem; }

/* Hero product stage */
.hero__stage { position: relative; z-index: 1; }
.hero__stage-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-2);
}
.hero__stage-main > img,
.hero__stage-main > picture > img,
.hero__stage-main > svg { width: 100%; height: auto; }

/* Magnified fragment of the cap (§47) */
.hero__detail {
  position: absolute;
  margin: 0;
  left: -2rem;
  bottom: 1.5rem;
  z-index: 3;
  width: clamp(7rem, 6rem + 8vw, 11rem);
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
}
.hero__detail img, .hero__detail svg { border-radius: var(--r-sm); }
.hero__detail .micro { display: block; padding: .45rem .2rem .1rem; white-space: nowrap; }
/* The magnified fragment is a desktop nicety; on phones it crowds the
   product and clips its caption, so it is dropped (§28). */
@media (max-width: 575.98px) {
  .hero__detail { display: none; }
}

.hero__tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  padding: .4rem .7rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  box-shadow: var(--sh-1);
  backdrop-filter: blur(6px);
}
.hero__tag .icon { color: var(--c-accent); font-size: .85rem; }
.hero__tag--1 { top: 1.25rem; right: 1.25rem; }
.hero__tag--2 { top: 4.5rem; right: 2.75rem; }
@media (max-width: 767.98px) {
  .hero__tag--2 { display: none; }
  .hero__tag--1 { top: .75rem; right: .75rem; }
}

/* Trust bar */
.trustbar { padding-block: 1.25rem; border-bottom: 1px solid var(--c-line); }
.trustbar__inner {
  display: grid;
  gap: .85rem 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .trustbar__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trustbar__item {
  display: flex;
  gap: .6rem;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}
.trustbar__item .icon { font-size: 1.05rem; color: var(--c-accent); }
.trustbar__item strong { font-weight: 600; color: var(--c-ink); }

/* 10. MEDIA & CALLOUTS ==================================================== */
/* Every media frame owns its aspect ratio so images never cause CLS (§5) */
.media {
  position: relative;
  overflow: hidden;
  background: var(--c-soft);
  border-radius: var(--r-md);
}
.media > img, .media > svg, .media > video, .media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--light { background: linear-gradient(170deg, #fbfcfd, #eef1f5); }
.media--framed { border: 1px solid var(--c-line); }
.media--shadow { box-shadow: var(--sh-1); }

/* Slow zoom on hover (§66) */
.media--zoom > img, .media--zoom > svg, .media--zoom > picture > img {
  transition: transform var(--t-slow) var(--e-soft);
}
.media--zoom:hover > img,
.media--zoom:hover > svg,
.media--zoom:hover > picture > img { transform: scale(1.045); }

/* Clickable zoom target (§58) */
.media--expand { cursor: zoom-in; }
.media__expand {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: .8rem;
  color: var(--c-ink);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-base) var(--e-out), transform var(--t-base) var(--e-out);
}
.media--expand:hover .media__expand,
.media--expand:focus-within .media__expand { opacity: 1; transform: translateY(0); }

.media__cap {
  display: flex;
  gap: .5rem;
  align-items: baseline;
  margin-top: .7rem;
  font-size: var(--fs-xs);
  color: var(--c-ink-3);
}
.media__cap b {
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-accent);
}

/* Minimal technical callout marker (§59) */
.callout {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 0;
  align-items: center;
  pointer-events: none;
}
.callout__dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--c-accent);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(12, 95, 208, .35);
}
.callout__line {
  flex: none;
  width: clamp(22px, 4vw, 46px);
  height: 1px;
  background: var(--c-accent);
  opacity: .55;
}
.callout__label {
  padding: .25rem .5rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-ink);
  background: rgba(255, 255, 255, .93);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xs);
}
.callout--left { flex-direction: row-reverse; }
@media (max-width: 767.98px) { .callout { display: none; } }

/* 11. CARDS =============================================================== */
/* Product card — image first, text second (§66) */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out),
    border-color var(--t-base) var(--e-out);
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-2);
  box-shadow: var(--sh-2);
}
.pcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(170deg, #fbfcfd, #eceff4);
}
.pcard__media > img, .pcard__media > svg, .pcard__media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--e-soft);
}
.pcard:hover .pcard__media > img,
.pcard:hover .pcard__media > svg,
.pcard:hover .pcard__media > picture > img { transform: scale(1.05); }
.pcard__num {
  position: absolute;
  top: .85rem;
  left: 1rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-ink-3);
}
.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.5rem;
}
.pcard__body h3 { margin-bottom: .5rem; }
.pcard__body p {
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}
.pcard__foot { margin-top: auto; }
.pcard__foot .icon { transition: transform var(--t-base) var(--e-out); }
.pcard:hover .pcard__foot .icon { transform: translateX(5px); }
.pcard__link { position: absolute; inset: 0; z-index: 3; }
.pcard__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* Wide product card — used once per grid to break the rhythm (§35) */
@media (min-width: 992px) {
  .pcard--wide { grid-column: 1 / -1; flex-direction: row; }
  .pcard--wide .pcard__media { flex: 0 0 46%; aspect-ratio: auto; }
  .pcard--wide .pcard__body { justify-content: center; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
  .pcard--wide .pcard__body p { max-width: 42ch; }
}

/* Feature card — icon + text, flat, no shadow */
.fcard {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--e-out), transform var(--t-base) var(--e-out);
}
.fcard:hover { transform: translateY(-2px); border-color: var(--c-accent-300); }
.fcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  border-radius: var(--r-sm);
}
.fcard h3 { margin-bottom: .5rem; font-size: var(--fs-h4); }
.fcard p { margin-bottom: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }
.section--dark .fcard {
  background: var(--c-graphite-2);
  border-color: var(--c-line-dark);
}
.section--dark .fcard:hover { border-color: rgba(132, 174, 238, .4); }
.section--dark .fcard__icon { color: var(--c-accent-300); background: rgba(12, 95, 208, .18); }

/* Bare text block, no container at all */
.tblock { padding-top: 1.4rem; border-top: 2px solid var(--c-ink); }
.tblock h3 { margin-bottom: .55rem; font-size: var(--fs-h4); }
.tblock p { margin-bottom: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }

/* 12. SHOWCASE ============================================================ */
.showcase { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 992px) {
  .showcase { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .showcase--flip > .showcase__media { order: 2; }
}
.showcase__media { position: relative; }
.showcase__body h2 { margin-bottom: 1.25rem; }

/* 13. PROCESS STEPS ======================================================= */
.steps { counter-reset: step; display: grid; gap: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); } }

/* Six-stage variant (installation sequence): three columns on tablets, six in
   one row only when there is room for them. */
@media (min-width: 768px) { .steps--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .steps--6 { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .steps--6 > .step:nth-child(n + 4) { margin-top: 2.25rem; }
}

.step { position: relative; padding: 1.5rem 1.25rem 1.5rem 0; }
@media (min-width: 768px) { .step { padding: 0 1.25rem 0 0; } }

/* Connector line between stages */
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-line-dark);
}
.step__dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--c-accent-300);
  border-radius: 50%;
}
.step__num {
  display: block;
  margin: 1.25rem 0 .9rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-accent-300);
}
.step__media {
  margin-bottom: 1.1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-graphite-2);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-sm);
}
.step__media > img,
.step__media > svg,
.step__media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { margin-bottom: .45rem; font-size: 1.0625rem; }
.step p { margin-bottom: 0; font-size: var(--fs-sm); }

/* 14. TAMPER SEQUENCE & BEFORE/AFTER ====================================== */
.tamper {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(1rem, .5rem + 1.5vw, 2rem);
}
@media (min-width: 992px) { .tamper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.tamper__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #fff, #e9edf2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.tamper__stage > svg { width: 100%; height: 100%; }

/* Five stacked states; the active one is selected by [data-state] */
.tamper__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.99);
  transition: opacity var(--t-base) var(--e-out), transform var(--t-base) var(--e-out);
}
.tamper__stage[data-state='1'] .tamper__frame[data-frame='1'],
.tamper__stage[data-state='2'] .tamper__frame[data-frame='2'],
.tamper__stage[data-state='3'] .tamper__frame[data-frame='3'],
.tamper__stage[data-state='4'] .tamper__frame[data-frame='4'],
.tamper__stage[data-state='5'] .tamper__frame[data-frame='5'] {
  opacity: 1;
  transform: scale(1);
}

/* Vertical state list */
.tstates { margin: 0; padding: 0; list-style: none; counter-reset: ts; }
.tstate {
  position: relative;
  padding: 1.1rem 0 1.1rem 3.25rem;
  border-bottom: 1px solid var(--c-line);
  cursor: pointer;
  transition: background var(--t-base) var(--e-out);
}
.tstate:first-child { border-top: 1px solid var(--c-line); }
.tstate::before {
  counter-increment: ts;
  content: '0' counter(ts);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-ink-3);
  transition: color var(--t-base) var(--e-out);
}
.tstate::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--e-out);
}
.tstate h3 { margin-bottom: .25rem; font-size: var(--fs-h4); }
.tstate p { margin-bottom: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }
.tstate.is-active::before { color: var(--c-accent); }
.tstate.is-active::after { transform: scaleY(1); }
.tstate.is-active h3 { color: var(--c-accent-700); }

/* Before / after slider (§57) */
.ba {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  user-select: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer > img,
.ba__layer > svg,
.ba__layer > picture > img { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  z-index: 3;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 21, 27, .18);
  cursor: ew-resize;
}
.ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--c-ink);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--sh-1);
  transform: translate(-50%, -50%);
}
.ba__grip .icon { font-size: .7rem; }
.ba__tag {
  position: absolute;
  top: .75rem;
  z-index: 2;
  padding: .3rem .6rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: rgba(255, 255, 255, .9);
  border-radius: var(--r-xs);
}
.ba__tag--l { left: .75rem; }
.ba__tag--r { right: .75rem; }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
  appearance: none;
}

/* 15. SPECS / TABLE ======================================================= */
.variants { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 992px) { .variants { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.vtabs { display: flex; flex-direction: column; gap: 0; }
.vtab {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem .25rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  transition: padding-left var(--t-base) var(--e-out);
}
.vtab:first-child { border-top: 1px solid var(--c-line); }
.vtab__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  color: var(--c-ink-3);
  background: var(--c-soft);
  border-radius: var(--r-sm);
  transition: color var(--t-base) var(--e-out), background var(--t-base) var(--e-out);
}
.vtab__txt { flex: 1; min-width: 0; }
.vtab__txt b {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--c-ink);
}
.vtab__txt span { font-size: var(--fs-sm); color: var(--c-ink-2); }
.vtab__go { flex: none; font-size: .8rem; color: var(--c-ink-3); opacity: 0; transition: opacity var(--t-base) var(--e-out); }
.vtab:hover { padding-left: .6rem; }
.vtab:hover .vtab__go { opacity: 1; }
.vtab[aria-selected='true'] .vtab__ico { color: #fff; background: var(--c-accent); }
.vtab[aria-selected='true'] .vtab__txt b { color: var(--c-accent-700); }

.vpanel { display: none; }
.vpanel.is-active { display: block; }

/* Technical table — compact, not full-width dead weight (§13) */
.tablewrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.spectable { width: 100%; min-width: 480px; border-collapse: collapse; font-size: var(--fs-sm); }
.spectable caption {
  caption-side: top;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.spectable th, .spectable td { padding: .85rem 1.25rem; text-align: left; vertical-align: top; }
.spectable thead th {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  background: var(--c-soft);
  border-bottom: 1px solid var(--c-line);
}
.spectable tbody th { width: 34%; font-weight: 600; color: var(--c-ink); }
.spectable tbody td { color: var(--c-ink-2); }
.spectable tbody tr + tr th, .spectable tbody tr + tr td { border-top: 1px solid var(--c-line); }
.spectable tbody tr:hover th, .spectable tbody tr:hover td { background: #fafbfc; }

/* 16. STATS =============================================================== */
.stats { display: grid; gap: 1px; background: var(--c-line-dark); }
@media (min-width: 576px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--c-graphite); }
.stat__val {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
}
.stat__val small { font-size: .5em; font-weight: 600; color: var(--c-accent-300); }
.stat__lbl { margin-top: .75rem; font-size: var(--fs-sm); color: var(--c-on-dark-2); }

/* 17. GALLERY / LIGHTBOX ================================================== */
.gallery { display: grid; gap: var(--gap); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery > :first-child { grid-column: span 2; grid-row: span 2; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
  visibility: hidden;
  background: rgba(10, 13, 17, .92);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out), visibility var(--t-base);
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__stage {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  transform: scale(.97);
  transition: transform var(--t-base) var(--e-out);
}
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__stage img, .lightbox__stage svg {
  max-height: calc(100vh - 8rem);
  width: auto;
  max-width: 100%;
  border-radius: var(--r-sm);
  background: #fff;
}
.lightbox__cap {
  margin-top: .9rem;
  font-size: var(--fs-sm);
  text-align: center;
  color: var(--c-on-dark-2);
}
.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, .1);
  border: 0;
  border-radius: var(--r-sm);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, .1);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav--prev { left: -3.5rem; }
.lightbox__nav--next { right: -3.5rem; }
@media (max-width: 991.98px) {
  .lightbox__nav--prev { left: .25rem; }
  .lightbox__nav--next { right: .25rem; }
  .lightbox__close { top: -3rem; right: .25rem; }
}

/* 18. FAQ ================================================================= */
.faq { max-width: 58rem; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item:first-child { border-top: 1px solid var(--c-line); }
.faq__q {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 1.35rem 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  text-align: left;
  color: var(--c-ink);
  cursor: pointer;
  background: transparent;
  border: 0;
  transition: color var(--t-fast) var(--e-out);
}
.faq__q:hover { color: var(--c-accent); }
.faq__ico {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .25rem;
}
.faq__ico::before, .faq__ico::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-accent);
  transform: translate(-50%, -50%);
  transition: transform var(--t-base) var(--e-out), opacity var(--t-base) var(--e-out);
}
.faq__ico::before { width: 13px; height: 2px; }
.faq__ico::after { width: 2px; height: 13px; }
.faq__q[aria-expanded='true'] .faq__ico::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--e-out);
}
.faq__a > div { overflow: hidden; }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a p {
  max-width: 66ch;
  padding-right: 2.5rem;
  padding-bottom: 1.5rem;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}

/* 19. CTA & FORM ========================================================== */
.cta { position: relative; overflow: hidden; }
.cta__inner { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 992px) { .cta__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }

.form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 576px) { .form__grid { grid-template-columns: repeat(2, 1fr); } }
.form__full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-ink-2);
}
.field > label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--e-out), box-shadow var(--t-fast) var(--e-out);
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { appearance: none; padding-right: 2.25rem; background-image: none; cursor: pointer; }
.field--select { position: relative; }
.field--select .icon {
  position: absolute;
  right: .9rem;
  bottom: 1.05rem;
  font-size: .7rem;
  color: var(--c-ink-3);
  pointer-events: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(12, 95, 208, .12);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c8342b; }
.field__err { display: none; font-size: var(--fs-xs); color: #c8342b; }
.field.is-invalid .field__err { display: block; }

/* File upload — for packaging photos / drawings (§27) */
.filedrop {
  display: flex;
  gap: .85rem;
  align-items: center;
  padding: .9rem 1rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  cursor: pointer;
  background: var(--c-soft);
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--e-out), background var(--t-fast) var(--e-out);
}
.filedrop:hover, .filedrop.is-over { border-color: var(--c-accent); background: var(--c-accent-soft); }
.filedrop .icon { font-size: 1rem; color: var(--c-accent); }
.filedrop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filedrop__name { font-weight: 600; color: var(--c-ink); }

.form__note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--c-ink-3); }
.form__note a { text-decoration: underline; }
.form__ok {
  display: none;
  gap: .6rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
  color: #1a6b3c;
  background: #e8f6ee;
  border-radius: var(--r-sm);
}
.form__ok.is-shown { display: flex; }
.form__ok .icon { margin-top: .2rem; color: #1a6b3c; }

/* Contact rows next to the form */
.crow {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--c-line-dark);
}
.crow:first-of-type { border-top: 1px solid var(--c-line-dark); }
.crow__ico { flex: none; font-size: 1.05rem; color: var(--c-accent-300); }
.crow__k { font-size: var(--fs-xs); color: var(--c-on-dark-2); }
.crow__v { font-size: 1.0625rem; font-weight: 600; color: #fff; }
.crow__v a { color: #fff; }
.crow__v a:hover { color: var(--c-accent-300); }

/* 20. FOOTER ============================================================== */
.footer { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.75rem; color: var(--c-on-dark-2); background: var(--c-graphite); }
.footer a { color: var(--c-on-dark-2); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 1200px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #6d7683; }
.footer__about { max-width: 34ch; margin-top: 1.1rem; font-size: var(--fs-sm); }
.footer__h {
  margin-bottom: 1.1rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li { margin-bottom: .6rem; font-size: var(--fs-sm); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line-dark);
  font-size: var(--fs-xs);
  color: #6d7683;
}

/* Breadcrumb */
.crumbs { padding-block: 1rem; font-size: var(--fs-xs); border-bottom: 1px solid var(--c-line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; gap: .5rem; align-items: center; color: var(--c-ink-3); }
.crumbs li + li::before { content: '/'; color: var(--c-line-2); }
.crumbs a { color: var(--c-ink-2); }

/* 22. MESSENGERS ========================================================== */
.msgr { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.msgr__link {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out),
    background var(--t-fast) var(--e-out);
}
.msgr__link .icon { font-size: 1.05rem; }

/* Header: square icon buttons. Hidden on the narrowest phones, where the
   brand and the burger already fill the bar - the drawer lists them there. */
.msgr--header { display: none; flex-wrap: nowrap; gap: .35rem; }
@media (min-width: 576px) { .msgr--header { display: flex; } }
.msgr--header .msgr__link {
  width: 36px;
  height: 36px;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
}
.msgr--header .msgr__link:hover {
  color: var(--c-accent);
  border-color: var(--c-accent-300);
  background: var(--c-accent-soft);
}

/* Light surfaces: drawer, contacts page */
.msgr--drawer { margin-top: 1rem; }
.msgr--light { margin-top: .4rem; }
.msgr--drawer .msgr__link,
.msgr--light .msgr__link {
  padding: .5rem .8rem;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.msgr--drawer .msgr__link .icon,
.msgr--light .msgr__link .icon { color: var(--c-accent); }
.msgr--drawer .msgr__link:hover,
.msgr--light .msgr__link:hover { border-color: var(--c-accent-300); background: var(--c-accent-soft); }

/* Dark surfaces: footer, form section */
.msgr--footer { margin-top: 1.25rem; }
.msgr--dark { margin-top: .45rem; }
.footer .msgr__link,
.msgr--dark .msgr__link {
  padding: .45rem .8rem;
  color: var(--c-on-dark);
  border: 1px solid var(--c-line-dark);
}
.footer .msgr__link .icon,
.msgr--dark .msgr__link .icon { color: var(--c-accent-300); }
.footer .msgr__link:hover,
.msgr--dark .msgr__link:hover { color: #fff; border-color: rgba(132, 174, 238, .5); }

/* Form: error state and the bot trap */
.form__ok.is-error { color: #a8261e; background: #fdecea; }
.form__ok.is-error .icon { color: #a8261e; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 23. PRICES & TERMS ====================================================== */
.pricetable tbody th { width: 28%; }
.pricetable tbody th small { display: block; margin-top: .15rem; font-size: var(--fs-xs); font-weight: 400; color: var(--c-ink-3); }
.pricetable td { white-space: nowrap; font-weight: 600; color: var(--c-ink); }
.pricetable td.is-request { font-weight: 500; color: var(--c-ink-3); }

.note {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  max-width: 72ch;
  padding: 1rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  background: var(--c-accent-soft);
  border-radius: var(--r-md);
}
.note .icon { margin-top: .2rem; font-size: 1rem; color: var(--c-accent); }
.note p { margin: 0; }

/* 24. BLOG ================================================================ */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-ink-3);
}
.post-meta span { display: inline-flex; gap: .4rem; align-items: center; }
.post-meta .icon { font-size: .8rem; }
.pcard__body .post-meta { margin-bottom: .7rem; }
.pcard__body h2 { margin-bottom: .5rem; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.015em; }

.article { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--section-y); }
.article__inner { max-width: 780px; margin-inline: auto; }
.article__head h1 { margin-bottom: 1rem; }
.article__head .lead { margin-bottom: 1.25rem; }
.article__cover {
  margin: 2rem 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(170deg, #fbfcfd, #eceff4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.article__cover img { width: 100%; height: 100%; object-fit: contain; }

.toc { margin: 2rem 0 0; padding: 1.25rem 1.5rem; background: var(--c-soft); border-radius: var(--r-md); }
.toc .micro { display: block; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .3rem; font-size: var(--fs-sm); }
.toc li::marker { color: var(--c-ink-3); }

.prose { margin-top: 2.5rem; font-size: 1.0625rem; }
.prose p { max-width: none; }
.prose h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem);
  scroll-margin-top: 92px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .7rem; font-size: var(--fs-h4); }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--c-accent); }
.prose strong { font-weight: 600; }
.prose .tablewrap, .prose .note, .prose .formula { margin-block: 1.75rem; }
.prose .spectable { font-size: var(--fs-sm); }
.formula {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .95rem;
  line-height: 1.7;
  background: var(--c-soft);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.article__foot { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--c-line); }

.article__cover--photo img { object-fit: cover; }
.article__cover picture { display: block; width: 100%; height: 100%; }

/* Blog layout: content + sidebar */
.blog-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.blog-layout > * { min-width: 0; }
@media (min-width: 1200px) { .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.blog-aside { display: grid; gap: 1.25rem; }
@media (min-width: 1200px) { .blog-aside { position: sticky; top: 92px; } }

.widget { padding: 1.35rem 1.4rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.widget .micro { display: block; margin-bottom: .6rem; }
.widget__list { margin: 0; padding: 0; list-style: none; }
.widget__list li + li { border-top: 1px solid var(--c-line); }
.widget__list a {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--c-ink);
}
.widget__list a:hover, .widget__list a[aria-current] { color: var(--c-accent); }
.widget__list a span { flex: none; color: var(--c-ink-3); }
.widget--cta { color: var(--c-on-dark-2); background: var(--c-graphite); border-color: var(--c-graphite); }
.widget__title { margin-bottom: .5rem; font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; color: #fff; }
.widget--cta p { margin-bottom: 1rem; font-size: var(--fs-sm); }
.widget--cta .msgr { margin-top: 1rem; }

.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 .8rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
}
.pager a:hover { color: var(--c-accent); border-color: var(--c-accent-300); }
.pager [aria-current] { color: #fff; background: var(--c-accent); border-color: var(--c-accent); }

.blog-empty { padding: 2rem; color: var(--c-ink-2); background: var(--c-soft); border-radius: var(--r-md); }

/* Article HTML from the database: images, figures, notes with a title */
.prose img { height: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { margin-top: .6rem; font-size: var(--fs-xs); color: var(--c-ink-3); }
.note:not(:has(> svg)) { display: block; }
.note-title { display: block; margin-bottom: .25rem; font-weight: 700; color: var(--c-ink); }

/* Commercial block at the end of an article */
.prose .post-cta {
  margin-top: 2.75rem;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  color: var(--c-on-dark-2);
  background: var(--c-graphite);
  border-radius: var(--r-lg);
}
.prose .post-cta h3 { margin: 0 0 .6rem; font-size: var(--fs-h3); color: #fff; }
.prose .post-cta p { margin-bottom: 0; }
.prose .post-cta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prose .post-cta a:hover { color: var(--c-accent-300); }

/* Legal text (privacy policy) */
.legal { max-width: 860px; margin-top: 2.5rem; font-size: var(--fs-sm); color: var(--c-ink-2); }
.legal p { max-width: none; }
.legal h3 { margin: 2rem 0 .75rem; font-size: var(--fs-h4); }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }

/* 21. MOTION ============================================================== */
/* Sequential reveal: heading → media → specs → CTA (§60, §61) */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--t-slow) var(--e-soft),
    transform var(--t-slow) var(--e-soft),
    clip-path var(--t-slow) var(--e-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Media reveal — fade + barely-there scale (§60) */
[data-reveal='media'] { transform: scale(.965); opacity: 0; }
[data-reveal='media'].is-in { transform: scale(1); opacity: 1; }

/* Mask reveal for large product frames (§60) */
/* The clip region is kept wide on the sides: the reveal runs bottom-up, and a
   0 % side inset would keep clipping elements that overhang the frame - such as
   the magnified detail card in the hero. */
[data-reveal='mask'] {
  clip-path: inset(0 -20% 14% -20%);
  opacity: 0;
  transform: none;
}
[data-reveal='mask'].is-in { clip-path: inset(0 -20% 0 -20%); opacity: 1; }

[data-reveal='left'] { transform: translateX(-22px); }
[data-reveal='left'].is-in { transform: none; }
[data-reveal='right'] { transform: translateX(22px); }
[data-reveal='right'].is-in { transform: none; }

/* Very restrained parallax, desktop only (§62) */
@media (min-width: 992px) {
  [data-parallax] { will-change: transform; }
}

/* Shrink animation of the SVG cap — CSS only, no library (§64) */
.shrink-film {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  transition: transform 1.1s var(--e-soft), opacity .5s linear;
}
.is-shrunk .shrink-film { transform: scaleX(.865) scaleY(1.02); }

.heat-wave { opacity: 0; transition: opacity .4s linear; }
.is-heating .heat-wave { opacity: 1; animation: heat 1.8s var(--e-soft) infinite; }
@keyframes heat {
  0% { transform: translateY(6px); opacity: 0; }
  40% { opacity: .9; }
  100% { transform: translateY(-14px); opacity: 0; }
}

/* Reduced motion — everything simplifies or stops (§7) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal='media'], [data-reveal='mask'],
  [data-reveal='left'], [data-reveal='right'] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .media--zoom:hover > img,
  .media--zoom:hover > svg,
  .media--zoom:hover > picture > img { transform: none; }
  .btn:hover, .pcard:hover, .fcard:hover { transform: none; }
  [data-parallax] { transform: none !important; }
}
