/* Caucasus Legion — public site stylesheet.
   Mobile-first (320 → 1920+). Dark military-tech aesthetic: hairlines, restrained amber accent.
   No inline styles anywhere (strict CSP); dynamic values come from data-* attribute rules or CSSOM. */

/* ───────────── tokens ───────────── */
:root {
  --bg: #07090d;
  --bg-2: #0b0e14;
  --surface: #0f131b;
  --surface-2: #151a25;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #eef1f5;
  --text-2: #c3cad4;
  --muted: #9aa4b2;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-deep: #b45309;
  --accent-ink: #140d02;
  --accent-soft: rgba(245, 158, 11, 0.1);
  --accent-line: rgba(245, 158, 11, 0.42);
  --danger: #f87171;
  --danger-text: #fecaca;
  --danger-line: rgba(220, 38, 38, 0.5);
  --danger-bg: rgba(127, 29, 29, 0.22);
  --ok: #6ee7b7;
  --ok-line: rgba(110, 231, 183, 0.35);
  --ok-bg: rgba(16, 185, 129, 0.08);

  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --header-h: 64px;
  --gutter: 16px;
  --container: 1280px;
  --radius: 3px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(64px, 5vw + 40px, 136px);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; --header-h: 76px; }
}
/* The full desktop nav (from 1400px) needs ~1360px, so from there the whole layout uses one wider column:
   header brand/actions and section content share the same left/right edges at every width. */
@media (min-width: 1400px) {
  :root { --container: 1480px; }
}

/* ───────────── base ───────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Fixed background texture: fine grid + soft amber glow + noise. */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    radial-gradient(ellipse 80% 50% at 85% -10%, rgba(245, 158, 11, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at -10% 110%, rgba(180, 83, 9, 0.05), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, rgba(0, 0, 0, 0.35) 100%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, rgba(0, 0, 0, 0.35) 100%);
}
body::after {
  opacity: 0.045;
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
[hidden] { display: none !important; }
::selection { background: rgba(245, 158, 11, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
main:focus, .form-success:focus { outline: none; }

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

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

.mono { font-family: var(--font-mono); }
.wrap { overflow-wrap: anywhere; word-break: break-word; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ───────────── icons ───────────── */
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-yt { width: 28px; height: 28px; }
.icon-yt__bg { color: #ff0033; }

/* ───────────── typography helpers ───────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--plain { margin-bottom: 10px; }
.eyebrow__num { color: var(--accent-2); }
.eyebrow__line { width: 32px; height: 1px; background: var(--accent-line); flex: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.05rem + 2.6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 26ch;
}
.sub-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 20px;
}

.prose { color: var(--text-2); }
.prose p + p { margin-top: 1em; }
.prose--lg { font-size: clamp(1.03rem, 0.98rem + 0.35vw, 1.22rem); line-height: 1.75; }
.prose--sm { font-size: 0.93rem; }

/* ───────────── buttons ───────────── */
.btn {
  --chamfer: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  border-radius: 0;
}
.btn--primary:hover { background: var(--accent-2); }
/* clip-path would also clip the focus outline: drop the chamfer while keyboard-focused so the ring shows. */
.btn--primary:focus-visible, .cart-fab:focus-visible { clip-path: none; outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn--primary:hover .icon:last-child { transform: translateX(3px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent-2); background: var(--accent-soft); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0.55em 1em; font-size: 0.875rem; --chamfer: 8px; }
.btn--lg { min-height: 56px; padding: 0.9em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn__spinner { display: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.btn.is-loading .btn__spinner { display: inline-block; animation: spin 0.8s linear infinite; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover { color: var(--accent-2); }
.icon-btn--outline { border-color: var(--line-2); }
.icon-btn--outline:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }
.icon-btn--yt:hover { transform: scale(1.06); }
.icon-btn--yt:hover .icon-yt__bg { color: #ff1a45; }

/* ───────────── badges & chips ───────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.badge .icon { width: 1em; height: 1em; }
.badge--ok, .badge--done { color: var(--ok); border-color: var(--ok-line); background: var(--ok-bg); }
.badge--accent { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.badge--muted { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 4px 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}
.chip .icon { width: 1.05em; height: 1.05em; color: var(--accent-2); }
.chip__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chip--accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-2); flex-wrap: nowrap; align-items: flex-start; border-radius: var(--radius); }
.chip--accent .icon { margin-top: 0.15em; }
.chip--sm { padding: 4px 10px; font-size: 0.8rem; margin-top: 10px; }

/* ───────────── header ───────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open,
body:not([data-page='home']):not([data-page='preview']) .site-header {
  background: rgba(7, 9, 13, 0.84);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.brand__logo { flex: none; display: block; width: 40px; height: 40px; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.74rem, 0.62rem + 0.5vw, 0.98rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  min-width: 0;
}
.brand--footer .brand__logo { width: 56px; height: 56px; }
.brand--footer .brand__name { font-size: 1rem; }

.nav-desktop { display: none; margin-left: auto; }
.nav-desktop__list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.site-header__cta { display: none; }

.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); }
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.lang-switch__item + .lang-switch__item { border-left: 1px solid var(--line-2); }
.lang-switch__item:hover { color: var(--text); }
.lang-switch__item.is-current { color: var(--accent-2); background: var(--accent-soft); }
.lang-switch--header { display: none; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.burger__lines { position: relative; display: block; width: 20px; height: 14px; }
.burger__lines span {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s ease, width 0.3s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6px; width: 70%; }
.burger__lines span:nth-child(3) { top: 12px; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(7, 9, 13, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 28px; min-height: 100%; padding-block: 16px calc(32px + env(safe-area-inset-bottom)); }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 1.4vw, 1.5rem);
  font-weight: 600;
}
.mobile-menu__link:hover { color: var(--accent-2); }
.mobile-menu__num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.mobile-menu__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.yt-link:hover { border-color: rgba(255, 0, 51, 0.6); }

@media (min-width: 768px) {
  .lang-switch--header { display: inline-flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__actions { gap: 10px; }
  .brand__logo { width: 44px; height: 44px; }
}
@media (min-width: 1400px) {
  .site-header__inner { gap: 20px; }
  .nav-desktop { display: block; flex: none; }
  .brand__name { white-space: nowrap; }
  .site-header__actions { margin-left: 8px; }
  .burger, .mobile-menu { display: none !important; }
}

html.is-locked, html.is-locked body { overflow: hidden; }

/* ───────────── hero ───────────── */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(56px, 8vh, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__photo { position: absolute; inset: -8% 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(0.72) contrast(1.06) brightness(0.78); }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.7) 0%, rgba(7, 9, 13, 0.25) 30%, rgba(7, 9, 13, 0.55) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.85) 0%, rgba(7, 9, 13, 0.35) 55%, rgba(7, 9, 13, 0.1) 100%);
}
.hero--brand .hero__veil {
  background:
    radial-gradient(ellipse 70% 60% at 78% 45%, rgba(245, 158, 11, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.2) 0%, transparent 40%, rgba(7, 9, 13, 0.6) 80%, var(--bg) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 80%);
}
.hero__brand {
  --brand-size: min(130vw, 920px);
  position: absolute;
  top: 50%;
  right: -38%;
  width: var(--brand-size);
  height: var(--brand-size);
  margin-top: calc(var(--brand-size) / -2);
}
.hero__brand-logo { position: absolute; inset: 9%; display: block; opacity: 0.07; filter: grayscale(1) contrast(1.2); }
.hero__brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero__brand-chevron { position: absolute; inset: 0; display: block; color: var(--accent); opacity: 0.22; }
.hero__brand-chevron .chevron-mark { width: 100%; height: 100%; max-width: none; }

.hero__inner { position: relative; }
.hero__content { max-width: 54rem; }
.hero__logo { width: clamp(76px, 6vw + 50px, 124px); margin-bottom: clamp(20px, 3vw, 32px); }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.hero__eyebrow { margin-bottom: 16px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1rem + 5vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 38rem;
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.24rem);
  line-height: 1.65;
  color: var(--text-2);
}
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.hero__actions .btn { width: 100%; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__foot-line { display: block; height: 1px; background: linear-gradient(90deg, var(--accent-line), var(--line) 30%, transparent); }

@media (min-width: 480px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero { justify-content: center; }
  .hero__brand { --brand-size: min(78vw, 980px); right: -12%; }
}
@media (min-width: 1800px) {
  /* Keep the emblem anchored to the content column instead of drifting to the screen edge. */
  .hero__brand { --brand-size: min(52vw, 1100px); right: calc((100% - var(--container)) / 2 - 220px); }
}

/* hero entrance (CSS only, plays once) */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise 1s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.08s; }
  .hero__content > :nth-child(3) { animation-delay: 0.16s; }
  .hero__content > :nth-child(4) { animation-delay: 0.26s; }
  .hero__content > :nth-child(5) { animation-delay: 0.36s; }
  .hero__media { animation: fade 1.6s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ───────────── sections ───────────── */
.section {
  position: relative;
  padding-block: var(--section-pad);
}
.section + .section { border-top: 1px solid var(--line); }
.section + .section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  width: 56px;
  height: 1px;
  background: var(--accent);
}
.section--command, .section--support { background: linear-gradient(180deg, rgba(11, 14, 20, 0.7), rgba(7, 9, 13, 0)); }
.section--support::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 45% at 85% 20%, rgba(245, 158, 11, 0.06), transparent 70%);
  pointer-events: none;
}

.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.section-lead { margin-top: 18px; max-width: 46rem; color: var(--text-2); font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem); }
.section-lead p + p { margin-top: 0.8em; }

/* cards */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 26, 37, 0.72), rgba(11, 14, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.45s var(--ease), box-shadow 0.45s ease;
}
.card--accent::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 72px;
  height: 2px;
  background: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .value-card:hover, .direction-card:hover, .team-card:hover, .product-card:hover,
  .vacancy-card:hover, .contact-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -24px rgba(245, 158, 11, 0.22);
  }
  .team-card:hover .media-frame__img, .product-card:hover .media-frame__img, .direction-card:hover .media-frame__img {
    transform: scale(1.04);
    filter: saturate(0.95) contrast(1.05);
  }
}

/* unified photo treatment */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.media-frame--portrait, .media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame__img, .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0) 45%, rgba(7, 9, 13, 0.55) 100%), linear-gradient(135deg, rgba(245, 158, 11, 0.06), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid var(--accent-line);
  background: rgba(7, 9, 13, 0.7);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.parallax-wrap { position: absolute; inset: -7% 0; }
.parallax-wrap > img, .parallax-wrap picture > img { height: 100%; }

/* ───────────── about ───────────── */
.about__grid { display: grid; gap: 40px; }
.about__text .prose { max-width: 62ch; }
.about__media { width: 100%; max-width: 520px; }
@media (min-width: 960px) {
  .about__grid--media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: center; }
  .about__media { justify-self: end; }
}
.values { margin-top: clamp(48px, 6vw, 88px); }
.values__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .values__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .values__grid > * { grid-column: span 2; }
  .values__grid > :last-child:nth-child(odd) { grid-column: span 2; }
  .values__grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .values__grid > :last-child:nth-child(3n+2), .values__grid > :nth-last-child(2):nth-child(3n+1) { grid-column: span 3; }
}
.value-card { padding: clamp(22px, 2.5vw, 30px); }
.value-card__num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; }
.value-card__title { margin: 14px 0 8px; font-family: var(--font-display); font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem); hyphens: manual; -webkit-hyphens: manual; font-weight: 600; line-height: 1.3; }
.value-card__text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ───────────── directions ───────────── */
.directions__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .directions__grid--2, .directions__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .directions__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.direction-card { overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 768px) { .direction-card:not(.direction-card--media) { min-height: 260px; } }
.direction-card__body { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(24px, 3vw, 40px); }
.direction-card__meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.direction-card__num { color: var(--accent); }
.direction-card__title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem); font-weight: 700; line-height: 1.15; }
.direction-card__text { color: var(--text-2); max-width: 40ch; }
.direction-card__corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--accent-line);
  border-right: 1px solid var(--accent-line);
  pointer-events: none;
}

/* ───────────── command ───────────── */
.commander { display: grid; gap: 32px; }
.commander__media { width: 100%; max-width: 440px; }
@media (min-width: 900px) {
  .commander { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
}
.commander__name { font-family: var(--font-display); font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.9rem); font-weight: 700; line-height: 1.1; }
.commander__role { margin-top: 8px; color: var(--accent-2); font-weight: 500; font-size: 1.05rem; }
.quote {
  position: relative;
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.32rem);
  line-height: 1.6;
  color: var(--text);
}
.quote p + p { margin-top: 0.7em; }

.team { margin-top: clamp(56px, 7vw, 104px); }
.team__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.team__head .sub-title { margin-bottom: 0; }
.team__controls { display: flex; gap: 8px; }
.team__track {
  margin-top: 20px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 6px var(--gutter) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.team__track:focus-visible { outline-offset: -2px; }
.team__list { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 76%, 300px); gap: 16px; }
@media (min-width: 640px) { .team__list { grid-auto-columns: calc((100% - 16px) / 2.2); } }
@media (min-width: 1024px) { .team__list { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; } }
.team-card { scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; }
.team-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; }
.team-card__name { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; line-height: 1.25; }
.team-card__role { margin-top: 4px; color: var(--accent-2); font-size: 0.92rem; }
.team-card__body > .chip { align-self: flex-start; }
.team-card__exp { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.team-card__exp-title { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 0.94rem; line-height: 1.55; overflow-wrap: anywhere; }
.ticks li + li { margin-top: 6px; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

/* ───────────── recruitment ───────────── */
.vacancy-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .vacancy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vacancy-card > article { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: clamp(22px, 3vw, 34px); }
.vacancy-card.is-closed { opacity: 0.85; }
.vacancy-card__title { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.vacancy-card__title a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.vacancy-card__title a:hover { background-size: 100% 1px; }
.vacancy-card__summary { color: var(--text-2); }
.vacancy-card__closed { color: var(--muted); font-size: 0.92rem; }
.vacancy-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
@media (max-width: 479px) { .vacancy-card__actions .btn { width: 100%; } }

.disclosure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.disclosure__summary::-webkit-details-marker { display: none; }
.disclosure__summary .icon { color: var(--accent); transition: transform 0.35s var(--ease); }
.disclosure[open] > .disclosure__summary .icon { transform: rotate(180deg); }
.disclosure__summary:hover { color: var(--accent-2); }
.disclosure__body { display: grid; gap: 18px; padding: 4px 0 20px; overflow: hidden; }
.vlist__title { margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.general-apply { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; padding: clamp(22px, 3vw, 36px); }
.general-apply__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.general-apply__text p { color: var(--text-2); }
@media (min-width: 768px) {
  .general-apply { flex-direction: row; align-items: center; justify-content: space-between; }
  .general-apply .btn { flex: none; }
}

.closed-panel { display: grid; gap: 32px; padding: clamp(24px, 4vw, 52px); }
.closed-panel__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.closed-panel__contacts { border-top: 1px solid var(--line); padding-top: 28px; }
@media (min-width: 900px) {
  .closed-panel:not(.closed-panel--single) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .closed-panel__contacts { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 44px; }
}

.contact-mini__list { display: grid; gap: 10px; }
.contact-mini__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.contact-mini__link:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.contact-mini__link > .icon { color: var(--accent); width: 22px; height: 22px; }
.contact-mini__link > span { min-width: 0; }
.contact-mini__label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-mini__value { display: block; font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }

/* ───────────── merch ───────────── */
.cart-btn { position: relative; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product-card > article { display: flex; flex-direction: column; height: 100%; }
.product-card .media-frame { border-bottom: 1px solid var(--line); }
.product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(7, 9, 13, 0.8); }
.product-card.is-soldout .media-frame__img { filter: grayscale(1) brightness(0.7); }
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.product-card__cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.product-card__price { font-weight: 700; font-size: 1.1rem; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.product-card__open { margin-top: auto; }
.product-card__open::after { content: ''; position: absolute; inset: 0; }
.product-card:focus-within { border-color: var(--accent-line); }
.product-card__body > .btn { margin-top: 12px; }

.notice-card { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 48px); }
@media (min-width: 600px) { .notice-card { flex-direction: row; align-items: flex-start; } }
.notice-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.notice-card__icon .icon { width: 26px; height: 26px; }
.notice-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }

.cart-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.cart-fab:hover { background: var(--accent-2); transform: translateY(-2px); }
.cart-fab .icon { width: 26px; height: 26px; }
.cart-fab .cart-count { position: absolute; top: 6px; right: 6px; background: var(--accent-ink); color: var(--accent-2); min-width: 20px; height: 20px; font-size: 0.7rem; }
body[data-preview] .cart-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* product dialog */
.pd { display: grid; gap: 24px; }
@media (min-width: 768px) { .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; } }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs { display: flex; gap: 8px; margin: 4px -6px 0; overflow-x: auto; padding: 6px 6px 8px; }
.pd__thumb {
  flex: none;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb[aria-current='true'], .pd__thumb:hover { opacity: 1; border-color: var(--accent); }
.pd__info { display: flex; flex-direction: column; gap: 14px; }
.pd__cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pd__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.pd__stock:empty { display: none; }
.pd__msg { min-height: 1.5em; color: var(--ok); font-size: 0.9rem; }
.pd__msg.is-error { color: var(--danger-text); }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); width: max-content; }
.qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; min-height: 46px; padding: 0; border: 0; background: transparent; color: var(--text); }
.qty__btn:hover { color: var(--accent-2); background: var(--accent-soft); }
.qty__btn[disabled] { opacity: 0.35; cursor: default; background: transparent; }
.qty__input {
  width: 60px;
  border: 0;
  border-inline: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 44px; min-height: 44px; }
.qty--sm .qty__input { width: 48px; }

/* cart */
.cart__empty { padding: 28px 0; text-align: center; color: var(--muted); }
.cart__subtitle { margin: 4px 0 14px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cart__subtitle:not(:first-child) { margin-top: 28px; }
.cart__list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-item__img { width: 64px; height: 64px; object-fit: cover; background: var(--surface); }
.cart-item__title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cart-item__variant { color: var(--muted); font-size: 0.85rem; }
.cart-item__price { font-variant-numeric: tabular-nums; color: var(--accent-2); font-weight: 600; font-size: 0.95rem; }
.cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; grid-column: 1 / -1; }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.1rem; }
.cart__total strong { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.cart__note { margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 480px) {
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
  .cart-item__controls { grid-column: auto; margin-top: 0; justify-content: flex-end; }
}

/* ───────────── support ───────────── */
.support__lead {
  max-width: 30ch;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 0.95rem + 1.9vw, 2.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.support__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .support__grid--two { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: start; } }

.campaign { overflow: hidden; }
.campaign__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 38px); }
.campaign__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.campaign__badges .eyebrow { margin: 0 auto 0 0; }
.campaign__title { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem); font-weight: 700; line-height: 1.2; }
.campaign__goal { display: flex; flex-direction: column; gap: 4px; font-size: 1.05rem; color: var(--text); }
.campaign__goal-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.campaign__period { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 0.92rem; color: var(--text-2); }
.campaign__period .progress__label { width: 100%; }
.campaign__note { padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 0.85rem; color: var(--muted); }
.campaign .btn { align-self: flex-start; }
@media (max-width: 479px) { .campaign .btn { align-self: stretch; } }

.progress { padding: clamp(16px, 2vw, 22px); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.28); }
.progress__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
.progress__num { min-width: 0; }
.progress__num--end { text-align: right; margin-left: auto; }
.progress__label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.progress__value { font-family: var(--font-display); font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.6rem); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.progress__value--accent { color: var(--accent-2); }
.progress__bar {
  position: relative;
  height: 10px;
  margin: 16px 0 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.progress__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(7, 9, 13, 0.7) calc(10% - 1px) 10%);
  pointer-events: none;
}
.progress__fill {
  display: block;
  height: 100%;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, var(--accent-2));
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
  transition: width 1.8s var(--ease) 0.15s;
}
.progress__pct { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.progress__pct-num { color: var(--text); font-weight: 600; }

.bank { padding: clamp(22px, 3vw, 34px); }
.bank__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.bank__list { margin: 14px 0 20px; }
@media (min-width: 900px) {
  .support__grid:not(.support__grid--two) .bank__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
.bank__row { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bank__value-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.bank__value { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; word-break: break-word; line-height: 1.45; }
.bank__value.mono { letter-spacing: 0.02em; font-size: 0.95rem; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.copy-btn .icon { width: 18px; height: 18px; }
.copy-btn:hover { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.copy-btn.is-copied { color: var(--ok); border-color: var(--ok-line); background: var(--ok-bg); }
.copy-btn__text { display: none; }
@media (min-width: 420px) { .copy-btn__text { display: inline; } }

.crypto { margin-top: clamp(40px, 5vw, 72px); }
.crypto > .notice { margin-bottom: 16px; }
.tabs { display: flex; gap: 8px; margin: -6px -6px 10px; overflow-x: auto; padding: 6px 6px 8px; scrollbar-width: thin; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
  min-height: 52px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-2);
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tab__name { font-weight: 600; }
.tab__net { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.tab[aria-selected='true'] { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.tab:hover { border-color: var(--accent-line); }
.crypto__panels { display: grid; gap: 16px; }
.crypto-card { display: grid; gap: 24px; padding: clamp(20px, 3vw, 34px); }
@media (min-width: 768px) { .crypto-card { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; } }
.crypto-card__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.crypto-card__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.crypto-card__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.crypto-card__meta-item { padding: 10px 14px; border: 1px solid var(--line); min-width: 0; }
.crypto-card__meta-item dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.crypto-card__meta-item dd { font-weight: 600; overflow-wrap: anywhere; }
.crypto-card__meta-item--network { border-color: var(--accent-line); background: var(--accent-soft); }
.crypto-card__meta-item--network dd { color: var(--accent-2); font-size: 1.1rem; font-weight: 700; }
.crypto-card__only { display: flex; align-items: flex-start; gap: 8px; color: var(--danger-text); font-size: 0.9rem; font-weight: 600; }
.crypto-card__only .icon { color: var(--danger); margin-top: 2px; }
.crypto-card__address-row { display: flex; align-items: stretch; gap: 10px; }
.crypto-card__address-row code {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.crypto-card__instr-title { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.crypto-card__qr { justify-self: center; width: min(100%, 220px); padding: 12px; background: #fff; }
.crypto-card__qr img { width: 100%; height: auto; }
@media (min-width: 768px) { .crypto-card__qr { justify-self: end; } }

/* ───────────── notices ───────────── */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.notice > .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.notice p + p { margin-top: 0.5em; }
.notice--warn { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger-text); }
.notice--warn > .icon { color: var(--danger); }
.notice__title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }

/* ───────────── partners & contacts ───────────── */
.partners { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 4vw, 52px); }
@media (min-width: 768px) { .partners { flex-direction: row; align-items: flex-start; gap: 36px; } }
.partners__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px; border: 1px solid var(--accent-line); color: var(--accent); }
.partners__icon .icon { width: 28px; height: 28px; }
.partners .prose { max-width: 60ch; }
/* Partner logos: fixed-size cards, a slow loop for 5+ partners, a static grid otherwise / with reduced motion. */
.partners__marquee { position: relative; margin-top: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partners__track { display: flex; width: max-content; animation: partners-loop 48s linear infinite; }
.partners__marquee:hover .partners__track,
.partners__marquee:focus-within .partners__track { animation-play-state: paused; }
@keyframes partners-loop { to { transform: translateX(-50%); } }
.partners__set { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.partners__set--static { flex-wrap: wrap; justify-content: center; margin-top: 16px; padding: 0; }
.partner { flex: none; width: 196px; padding: 0; }
.partner__link { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 20px 14px 18px; color: var(--text); text-align: center; text-decoration: none; }
.partner__logo { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 4px; }
.partner__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.partner__short { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.partner__name { display: -webkit-box; overflow: hidden; min-height: calc(3 * 1.4em); color: var(--muted); font-size: 0.8rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
@media (min-width: 768px) { .partner { width: 216px; } .partner__logo { width: 96px; height: 96px; } }
a.partner__link { transition: background-color 0.2s ease; }
a.partner__link:hover { background: var(--surface-2); }
a.partner__link:hover .partner__short { color: var(--accent); }
a.partner__link:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  a.partner__link { transition: none; }
  .partners__marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .partners__track { width: auto; animation: none; }
  .partners__set { flex-wrap: wrap; justify-content: center; padding: 0; }
  .partners__set[aria-hidden="true"] { display: none; }
}

.contacts__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.contact-card__link { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 128px; padding: clamp(20px, 2.5vw, 28px); color: var(--text); text-decoration: none; }
.contact-card__icon { margin-bottom: 6px; }
.contact-card__icon { color: var(--accent); }
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card--youtube .contact-card__icon { color: #ff0033; }
.contact-card--youtube .icon-yt { width: 32px; height: 32px; }
.contact-card__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-family: var(--font-display); font-size: clamp(0.88rem, 0.84rem + 0.25vw, 1rem); font-weight: 600; overflow-wrap: break-word; line-height: 1.4; }

/* ───────────── footer ───────────── */
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding-top: clamp(48px, 6vw, 88px); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer__slogan { margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--accent-2); }
.site-footer__text { margin-top: 10px; color: var(--muted); font-size: 0.9rem; max-width: 42ch; }
.site-footer__nav ul { display: grid; gap: 2px; }
.site-footer__nav a, .social-link, .site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.site-footer__nav a:hover, .social-link:hover, .site-footer__email:hover { color: var(--accent-2); }
.social-list { display: grid; gap: 2px; }
.social-link .icon { width: 22px; height: 22px; }
.social-link--youtube .icon-yt { width: 24px; height: 24px; }
.site-footer__email { overflow-wrap: anywhere; }
.site-footer__email span { min-width: 0; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 18px 0 calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.back-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text-2); text-decoration: none; }
.back-top:hover { color: var(--accent-2); }
body[data-preview] .site-footer { padding-bottom: 72px; }

/* ───────────── preview bar ───────────── */
.preview-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: repeating-linear-gradient(-45deg, #f59e0b 0 14px, #e08e06 14px 28px);
  color: #111;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.preview-bar .icon { width: 18px; height: 18px; }
.preview-bar__link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; background: #111; color: var(--accent-2); text-decoration: none; }

/* ───────────── toast ───────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.92rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.toast:empty { visibility: hidden; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { border-color: var(--danger-line); }
body[data-preview] .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ───────────── modal dialogs ───────────── */
.modal {
  width: min(100% - 24px, 640px);
  max-width: none;
  max-height: min(92vh, 920px);
  max-height: min(92dvh, 920px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.modal--lg { width: min(100% - 24px, 1000px); }
.modal::backdrop { background: rgba(3, 4, 6, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { display: flex; }
.modal__panel { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 22px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.modal__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.modal__body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
@media (max-width: 599px) {
  .modal, .modal--lg {
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
  }
  .modal__body { padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in 0.4s var(--ease); }
  .modal[open]::backdrop { animation: fade 0.3s ease; }
}
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ───────────── forms ───────────── */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.field__req { margin-left: 4px; color: var(--accent); }
.field__opt { margin-left: 4px; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.input::placeholder { color: var(--muted); }
.input:hover { border-color: rgba(255, 255, 255, 0.25); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22); background: rgba(0, 0, 0, 0.5); }
.input[aria-invalid='true'] { border-color: var(--danger); }
.input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.22); }
.input--area { min-height: 120px; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select > .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--accent); }
.select option { background: var(--bg-2); color: var(--text); }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.field__error { font-size: 0.85rem; font-weight: 500; color: var(--danger-text); }
.field__counter { justify-self: end; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.field__counter.is-near { color: var(--accent-2); }
.field--check { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.field--check label { font-size: 0.9rem; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.field--check .field__error { grid-column: 1 / -1; }
.check { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.field--captcha { min-height: 65px; }
.captcha { min-height: 65px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 12px 14px; border: 1px solid var(--danger-line); border-radius: var(--radius); background: var(--danger-bg); color: var(--danger-text); font-size: 0.92rem; }
.form__status.is-info { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--text-2); }
.form__submit { margin-top: 4px; }

.form-success { display: grid; justify-items: center; gap: 12px; padding: 16px 0; text-align: center; }
.form-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border: 1px solid var(--ok-line); border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.form-success__icon .icon { width: 28px; height: 28px; }
.form-success__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.form-success__text { color: var(--text-2); max-width: 46ch; }
.form-success__ref { display: grid; gap: 2px; }
.form-success__ref span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form-success__ref strong { font-size: 1.3rem; color: var(--accent-2); overflow-wrap: anywhere; }
.form-success__hint { font-size: 0.85rem; color: var(--muted); }
.form-success .btn { margin-top: 8px; }

/* ───────────── vacancy page ───────────── */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 88px));
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(245, 158, 11, 0.1), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 12px; color: var(--text-2); text-decoration: none; font-size: 0.92rem; }
.back-link:hover { color: var(--accent-2); }
.page-hero__title { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(1.8rem, 1.1rem + 3.3vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; max-width: 24ch; }
.page-hero__lead { margin-top: 18px; max-width: 46rem; color: var(--text-2); font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); }
.page-hero__cta { margin-top: 28px; }
.vacancy-layout { display: grid; gap: 28px; }
.vacancy-layout__content { display: grid; gap: 16px; align-content: start; }
.vacancy-layout__content .vlist { padding: clamp(20px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 19, 27, 0.6); }
.vacancy-layout__form { padding: clamp(22px, 3vw, 34px); }
.vacancy-layout__form-title { margin-bottom: 20px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.vacancy-layout__form .notice + .contact-mini { margin-top: 20px; }
@media (min-width: 1024px) {
  .vacancy-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 40px; align-items: start; }
  .vacancy-layout--single { grid-template-columns: minmax(0, 640px); justify-content: center; }
}

/* ───────────── error page ───────────── */
.error-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 64px;
  text-align: center;
}
.error-page__bg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; color: var(--accent); opacity: 0.12; }
.error-page__bg .chevron-mark { width: min(140vw, 900px); height: auto; max-width: none; }
.error-page__code { font-family: var(--font-display); font-size: clamp(4.5rem, 2.5rem + 10vw, 10rem); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; }
.error-page__title { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.45rem, 1.15rem + 1.5vw, 2.3rem); font-weight: 700; }
.error-page__text { margin: 14px auto 0; max-width: 44ch; color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ───────────── scroll reveal (JS adds .reveal-pending only to off-screen elements) ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-pending { opacity: 0; transform: translateY(26px); }
  .js .reveal-pending.is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.35s ease, box-shadow 0.45s ease;
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms;
  }
  .js .section-head.reveal-pending { transform: none; opacity: 1; }
  .js .section-head.reveal-pending > * { opacity: 0; transform: translateY(18px); }
  .js .section-head.reveal-pending .section-title { clip-path: inset(0 0 100% 0); transform: translateY(0.35em); }
  .js .section-head.reveal-pending.is-revealed > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), clip-path 1.1s var(--ease);
  }
  .js .section-head.reveal-pending.is-revealed .section-title { clip-path: inset(-20% -5% -20% -5%); transition-delay: 0.1s; }
  .js .section-head.reveal-pending.is-revealed .section-lead { transition-delay: 0.2s; }
  .js [data-parallax] { will-change: transform; }
}

/* ───────────── reduced motion ───────────── */
@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;
  }
  .btn.is-loading .btn__spinner { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
}

/* ───────────── print ───────────── */
@media print {
  body::before, body::after, .site-header, .cart-fab, .toast, .preview-bar, .hero__media { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; padding: 24px 0; }
}

/* ───────────── progress widths without JS (CSP-safe: no inline styles) ───────────── */
.progress__fill[data-p="0"]{width:0%}.progress__fill[data-p="1"]{width:1%}.progress__fill[data-p="2"]{width:2%}.progress__fill[data-p="3"]{width:3%}.progress__fill[data-p="4"]{width:4%}
.progress__fill[data-p="5"]{width:5%}.progress__fill[data-p="6"]{width:6%}.progress__fill[data-p="7"]{width:7%}.progress__fill[data-p="8"]{width:8%}.progress__fill[data-p="9"]{width:9%}
.progress__fill[data-p="10"]{width:10%}.progress__fill[data-p="11"]{width:11%}.progress__fill[data-p="12"]{width:12%}.progress__fill[data-p="13"]{width:13%}.progress__fill[data-p="14"]{width:14%}
.progress__fill[data-p="15"]{width:15%}.progress__fill[data-p="16"]{width:16%}.progress__fill[data-p="17"]{width:17%}.progress__fill[data-p="18"]{width:18%}.progress__fill[data-p="19"]{width:19%}
.progress__fill[data-p="20"]{width:20%}.progress__fill[data-p="21"]{width:21%}.progress__fill[data-p="22"]{width:22%}.progress__fill[data-p="23"]{width:23%}.progress__fill[data-p="24"]{width:24%}
.progress__fill[data-p="25"]{width:25%}.progress__fill[data-p="26"]{width:26%}.progress__fill[data-p="27"]{width:27%}.progress__fill[data-p="28"]{width:28%}.progress__fill[data-p="29"]{width:29%}
.progress__fill[data-p="30"]{width:30%}.progress__fill[data-p="31"]{width:31%}.progress__fill[data-p="32"]{width:32%}.progress__fill[data-p="33"]{width:33%}.progress__fill[data-p="34"]{width:34%}
.progress__fill[data-p="35"]{width:35%}.progress__fill[data-p="36"]{width:36%}.progress__fill[data-p="37"]{width:37%}.progress__fill[data-p="38"]{width:38%}.progress__fill[data-p="39"]{width:39%}
.progress__fill[data-p="40"]{width:40%}.progress__fill[data-p="41"]{width:41%}.progress__fill[data-p="42"]{width:42%}.progress__fill[data-p="43"]{width:43%}.progress__fill[data-p="44"]{width:44%}
.progress__fill[data-p="45"]{width:45%}.progress__fill[data-p="46"]{width:46%}.progress__fill[data-p="47"]{width:47%}.progress__fill[data-p="48"]{width:48%}.progress__fill[data-p="49"]{width:49%}
.progress__fill[data-p="50"]{width:50%}.progress__fill[data-p="51"]{width:51%}.progress__fill[data-p="52"]{width:52%}.progress__fill[data-p="53"]{width:53%}.progress__fill[data-p="54"]{width:54%}
.progress__fill[data-p="55"]{width:55%}.progress__fill[data-p="56"]{width:56%}.progress__fill[data-p="57"]{width:57%}.progress__fill[data-p="58"]{width:58%}.progress__fill[data-p="59"]{width:59%}
.progress__fill[data-p="60"]{width:60%}.progress__fill[data-p="61"]{width:61%}.progress__fill[data-p="62"]{width:62%}.progress__fill[data-p="63"]{width:63%}.progress__fill[data-p="64"]{width:64%}
.progress__fill[data-p="65"]{width:65%}.progress__fill[data-p="66"]{width:66%}.progress__fill[data-p="67"]{width:67%}.progress__fill[data-p="68"]{width:68%}.progress__fill[data-p="69"]{width:69%}
.progress__fill[data-p="70"]{width:70%}.progress__fill[data-p="71"]{width:71%}.progress__fill[data-p="72"]{width:72%}.progress__fill[data-p="73"]{width:73%}.progress__fill[data-p="74"]{width:74%}
.progress__fill[data-p="75"]{width:75%}.progress__fill[data-p="76"]{width:76%}.progress__fill[data-p="77"]{width:77%}.progress__fill[data-p="78"]{width:78%}.progress__fill[data-p="79"]{width:79%}
.progress__fill[data-p="80"]{width:80%}.progress__fill[data-p="81"]{width:81%}.progress__fill[data-p="82"]{width:82%}.progress__fill[data-p="83"]{width:83%}.progress__fill[data-p="84"]{width:84%}
.progress__fill[data-p="85"]{width:85%}.progress__fill[data-p="86"]{width:86%}.progress__fill[data-p="87"]{width:87%}.progress__fill[data-p="88"]{width:88%}.progress__fill[data-p="89"]{width:89%}
.progress__fill[data-p="90"]{width:90%}.progress__fill[data-p="91"]{width:91%}.progress__fill[data-p="92"]{width:92%}.progress__fill[data-p="93"]{width:93%}.progress__fill[data-p="94"]{width:94%}
.progress__fill[data-p="95"]{width:95%}.progress__fill[data-p="96"]{width:96%}.progress__fill[data-p="97"]{width:97%}.progress__fill[data-p="98"]{width:98%}.progress__fill[data-p="99"]{width:99%}
.progress__fill[data-p="100"]{width:100%}
