/* ==========================================================================
   SealPlus Product Docs — shared stylesheet
   Mobile-first. Shared by every product page under /<product-slug>/.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors sampled from the SealPlus North America catalog */
  --sp-green: #65c430;          /* catalog headline green (decorative / large accents) */
  --sp-green-600: #347a14;      /* accessible green for text & buttons on white (5.3:1) */
  --sp-green-700: #2a6410;      /* hover / pressed */
  --sp-green-50: #f0f9ea;       /* tinted backgrounds */
  --sp-green-100: #def2d1;
  --sp-gray-logo: #737178;      /* "Seal" wordmark gray */
  --sp-blue-logo: #89b8e6;      /* "plus" wordmark blue */
  --sp-navy: #151643;           /* catalog body text color */

  --c-text: #26282e;
  --c-text-muted: #5b5f68;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f6f4;
  --c-border: #e3e5e1;

  /* Typography (system stack: zero font downloads, fast on show-floor networks) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem);

  /* Spacing / shape */
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 30, 0.06), 0 2px 8px rgba(20, 24, 30, 0.05);
  --shadow: 0 10px 30px -12px rgba(20, 24, 30, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(20, 40, 10, 0.35);
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; color: #17191d; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--sp-green-600); text-underline-offset: 3px; }
a:hover { color: var(--sp-green-700); }
:focus-visible { outline: 3px solid var(--sp-green); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sp-green-600); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85em 1.5em;
  font: 600 var(--fs-base)/1.2 var(--font-sans);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { background: var(--sp-green-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(52, 122, 20, 0.6); }
.btn--primary:hover { background: var(--sp-green-700); color: #fff; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: #fff; color: var(--sp-green-700); border-color: var(--sp-green-100); }
.btn--ghost:hover { border-color: var(--sp-green-600); color: var(--sp-green-700); }
.btn--light { background: #fff; color: var(--sp-green-700); }
.btn--light:hover { background: var(--sp-green-50); color: var(--sp-green-700); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0.55em 1.05em; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 4px 18px -12px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.brand__logo { width: 112px; height: auto; }
.brand__by {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-text-muted); padding-left: 10px; border-left: 1px solid var(--c-border); white-space: nowrap;
}
.header-cta .label-long { display: none; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sp-green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--sp-green); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--sp-green-50); border: 1px solid var(--sp-green-100);
  color: var(--sp-green-700); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.chip__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sp-green); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 20px 0 var(--space-section); overflow: hidden; }
.hero::before {
  /* soft green sweep echoing the catalog's light streak */
  content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%; z-index: -1;
  background: radial-gradient(60% 60% at 70% 60%, rgba(101,196,48,.16), transparent 70%);
}
.hero__grid { display: grid; gap: 28px; }
.hero__text { display: grid; gap: 16px; align-content: start; justify-items: start; }
.hero__text > * { max-width: 100%; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; }
.hero__title .accent { color: var(--sp-green-600); display: block; }
.hero__subtitle { font-size: var(--fs-lg); font-weight: 600; color: var(--c-text); line-height: 1.4; }
.hero__lead { color: var(--c-text-muted); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__meta { font-size: var(--fs-xs); color: var(--c-text-muted); }

.hero__media { position: relative; margin-bottom: 34px; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 754 / 422; background: #e9ecef; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__roll {
  position: absolute; left: -4%; bottom: -34px; width: 58%;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.28));
  transform: rotate(-2deg);
}
.hero__badge {
  position: absolute; right: 12px; top: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm);
  font-size: 0.75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--sp-green-700); line-height: 1.15;
}
.hero__badge img { width: 34px; height: auto; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--alt { background: var(--c-bg-alt); }
.section__head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section__title { font-size: var(--fs-h2); font-weight: 800; }
.section__intro { color: var(--c-text-muted); font-size: var(--fs-lg); }

/* ---------- Benefit cards ---------- */
.benefits { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.benefit {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sp-green-100); }
.benefit__icon {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; background: var(--sp-green-50); color: var(--sp-green-600);
}
.benefit__icon svg { width: 28px; height: 28px; }
.benefit h3 { font-size: var(--fs-h3); font-weight: 700; align-self: end; }
.benefit p { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ---------- Split (overview) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { position: relative; }
.split__media figure { margin: 0; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1071 / 597; object-fit: cover; }
.split__media figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--c-text-muted); }
.split__body { display: grid; gap: 18px; }
.prose p + p { margin-top: 14px; }
.prose { color: var(--c-text-muted); }
.prose strong { color: var(--c-text); }

.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; padding-left: 52px; min-height: 38px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sp-green-600); color: #fff; font-weight: 800; font-size: var(--fs-sm);
}
.steps strong { display: block; color: var(--c-text); }
.steps span { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ---------- Covering system ---------- */
.system { display: grid; gap: 32px; align-items: center; }
.stack { display: grid; gap: 10px; }
.layer {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff;
}
.layer__swatch { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.layer__tag { font-size: 0.6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); }
.layer h3 { font-size: var(--fs-h3); font-weight: 700; margin: 2px 0 4px; }
.layer p { font-size: var(--fs-sm); color: var(--c-text-muted); }
.layer--protect .layer__swatch { background: repeating-linear-gradient(135deg, #2f8f3a 0 6px, #3aa848 6px 12px); }
.layer--underlay { border-color: var(--sp-green); box-shadow: 0 0 0 3px var(--sp-green-50), var(--shadow-sm); }
.layer--underlay .layer__swatch { background: linear-gradient(135deg, #f4ead7, #e1d2b2); border: 1px solid #d9c9a5; }
.layer--silage .layer__swatch { background: radial-gradient(circle at 30% 30%, #b5a24a, #7d6d2a); }
.layer--silage { background: transparent; border-style: dashed; }
.stack__plus { justify-self: center; color: var(--sp-green-600); font-weight: 800; font-size: 1.25rem; line-height: 1; }

.system__media figure { margin: 0; }
.system__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 754 / 422; object-fit: cover; }
.system__media figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--c-text-muted); }
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px;
  border-radius: var(--radius); background: var(--sp-green-50); color: var(--sp-green-700); font-weight: 600;
}
.callout svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }

/* ---------- Specs ---------- */
.specs-wrap { display: grid; gap: 28px; align-items: start; }
.specs-wrap > *, .split > *, .hiw__grid > *, .hero__grid > * { min-width: 0; }
.specs dd { overflow-wrap: anywhere; }
.specs { margin: 0; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); overflow: hidden; box-shadow: var(--shadow-sm); }
.specs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 16px 20px; }
.specs__row + .specs__row { border-top: 1px solid var(--c-border); }
.specs dt { color: var(--c-text-muted); font-size: var(--fs-sm); font-weight: 500; }
.specs dd { margin: 0; font-weight: 700; color: var(--c-text); }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.badge-item { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 18px 8px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.badge-item img { width: 58px; height: 58px; object-fit: contain; }
.badge-item span { overflow-wrap: anywhere; hyphens: auto; font-size: 0.6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-muted); line-height: 1.3; }
.note { margin-top: 14px; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ---------- Download ---------- */
.download {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2a6410 0%, #347a14 45%, #4fa324 100%);
  color: #fff; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.download::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events: none;
}
.download h2 { color: #fff; font-size: var(--fs-h2); font-weight: 800; }
.download p { color: rgba(255,255,255,.88); margin-top: 12px; max-width: 34em; }
.download__file { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.download__file svg { width: 22px; height: 22px; flex: none; }
.download__preview {
  justify-self: center; width: min(220px, 60%); transform: rotate(3deg);
  border-radius: 8px; overflow: hidden; box-shadow: 0 24px 40px -14px rgba(0,0,0,.5); background: #fff;
  transition: transform .35s var(--ease);
}
.download__preview:hover { transform: rotate(0deg) scale(1.02); }
.download__actions { display: grid; gap: 10px; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-border); background: #fff; }
.site-footer__inner { display: grid; gap: 18px; justify-items: start; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand img { width: 104px; }
.site-footer small { color: var(--c-text-muted); font-size: var(--fs-xs); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Entry (root) page ---------- */
.entry { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.entry__main { display: grid; align-content: center; gap: 28px; padding-block: 48px; }
.product-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.product-group { display: grid; gap: 12px; }
.product-group__title { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); }
@media (min-width: 900px) { .product-group .product-list { grid-template-columns: 1fr 1fr; } }
.product-card {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sp-green-100); color: inherit; }
.product-card img { width: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.product-card strong { line-height: 1.25; margin-bottom: 4px; }
@media (min-width: 480px) { .product-card { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; } .product-card img { width: 112px; aspect-ratio: 4/3; } }
.product-card strong { display: block; font-size: var(--fs-base); }
@media (min-width: 480px) { .product-card strong { font-size: var(--fs-lg); } }
.product-card span { color: var(--c-text-muted); font-size: var(--fs-sm); }
.product-card svg { width: 22px; height: 22px; color: var(--sp-green-600); }

/* ==========================================================================
   How it works — animated SVG explainer (.hiw)
   State classes on [data-hiw] (set by protection-animation.js):
     .is-armed    JS is running: start from the "empty" state
     .is-s1       scene 1: film unrolls (JS) …
     .is-settled  … then settles onto the silage (adhesion)
     .is-s2       scene 2: O₂ particles are blocked by the EVOH barrier
     .is-s3       scene 3: protected silage
   Without .is-armed (no JS / reduced motion) the final state is shown.
   ========================================================================== */
.hiw__grid { display: grid; gap: 24px; }
.hiw__intro { display: grid; gap: 12px; max-width: 46rem; }

.hiw__stage {
  margin: 0; padding: 12px 12px 6px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbfcfd 0%, #fff 60%);
  border: 1px solid var(--c-border); box-shadow: var(--shadow);
}
.hiw-svg { width: 100%; height: auto; overflow: visible; font-family: var(--font-sans); }
.hiw__caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 2px 6px 0; font-size: var(--fs-xs); color: var(--c-text-muted);
}
.hiw__replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--sp-green-100); border-radius: 999px; background: #fff;
  font: 600 var(--fs-xs)/1 var(--font-sans); color: var(--sp-green-700); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.hiw__replay:hover { border-color: var(--sp-green-600); background: var(--sp-green-50); }
.hiw__replay svg { width: 16px; height: 16px; }
.hiw__replay[hidden] { display: none; }

/* Steps */
.hiw__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hiw-step {
  width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-align: left;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff;
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.hiw-step:hover { border-color: var(--sp-green-100); }
.hiw-step__num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-bg-alt); color: var(--c-text-muted); font-weight: 800; font-size: var(--fs-sm);
  transition: background-color .3s, color .3s;
}
.hiw-step__body { display: grid; gap: 2px; }
.hiw-step strong { color: var(--c-text); font-size: var(--fs-base); }
.hiw-step__body > span { color: var(--c-text-muted); font-size: var(--fs-sm); line-height: 1.5; }
.hiw-step[aria-current="step"] { border-color: var(--sp-green); box-shadow: 0 0 0 3px var(--sp-green-50); }
.hiw-step[aria-current="step"] .hiw-step__num,
.hiw-step.is-done .hiw-step__num { background: var(--sp-green-600); color: #fff; }

/* --- SVG parts: final (static) state by default --- */
.hiw-callout rect { fill: #fff; stroke: var(--c-border); stroke-width: 1; filter: drop-shadow(0 3px 6px rgba(20,24,30,.10)); }
.hiw-callout text { font-size: 21px; font-weight: 650; fill: var(--c-text); }
.hiw-callout--accent rect { stroke: var(--sp-green); }
.hiw-callout--accent text { fill: var(--sp-green-700); }
.hiw-callout--solid rect { fill: var(--sp-green-600); stroke: none; }
.hiw-callout--solid text { fill: #fff; }
.hiw-callout--air text { fill: #3c6c9e; }
.hiw-dot { fill: #7aa7d6; }

.hiw-o2 circle { fill: #fff; stroke: #7aa7d6; stroke-width: 1.6; }
.hiw-o2 text { font-size: 11px; font-weight: 700; fill: #3c6c9e; text-anchor: middle; }
.hiw-hit { fill: none; stroke: var(--sp-green); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hiw-roll { opacity: 0; transition: opacity .3s; }
.is-rolling .hiw-roll { opacity: 1; }

/* --- Generic reveal: [data-show="N" | "Nd"] appears at scene N (or when N's drawing is done) --- */
[data-show] { transition: opacity .6s var(--ease) var(--delay, 0s), transform .6s var(--ease) var(--delay, 0s); }
.is-armed [data-show] { opacity: 0; transform: translateY(var(--from, 6px)); }
.is-armed.is-s1 [data-show="1"], .is-armed.is-s1-done [data-show="1d"],
.is-armed.is-s2 [data-show="2"], .is-armed.is-s2-done [data-show="2d"],
.is-armed.is-s3 [data-show="3"], .is-armed.is-s3-done [data-show="3d"] { opacity: 1; transform: none; }

/* Film that hovers, then settles onto the surface when scene 1's drawing ends (adhesion) */
.hiw-settle { transition: transform .8s var(--ease); }
.is-armed .hiw-settle { transform: translateY(-12px); }
.is-armed.is-s1-done .hiw-settle { transform: none; }

/* Pressing arrows (adhesion), only during scene 1; dimmed afterwards */
.is-armed.is-s1-done:not(.is-s2) .hiw-press path { animation: hiw-press 1.4s var(--ease) infinite; }
.is-armed.is-s2 .hiw-press { opacity: .35; }

/* Oxygen particles: fall → hit the barrier → bounce back and fade (from scene 2, looping gently) */
.is-armed.is-s2 .hiw-o2 { animation: hiw-fall 3s var(--d, 0s) infinite both; }
.is-armed.is-s2 .hiw-hit { animation: hiw-hit 3s var(--d, 0s) infinite both; }

/* Barrier glow when the result is shown */
.is-armed.is-s3 .hiw-glow { animation: hiw-glow 2.4s ease-in-out 1 both; }

/* Sun rays (UV) pulse */
.is-armed.is-s3 .hiw-rays { animation: hiw-rays 2.6s ease-in-out infinite; }

/* Stretch-film demo (non-barrier): band stretches and recovers, arrows follow */
.hiw-stretch__band { transform-box: fill-box; transform-origin: center; }
.is-armed.is-s1 .hiw-stretch__band { animation: hiw-stretch 3.3s var(--ease) 1; }
.is-armed.is-s1 .hiw-stretch__l { animation: hiw-pull-l 3.3s var(--ease) 1; }
.is-armed.is-s1 .hiw-stretch__r { animation: hiw-pull-r 3.3s var(--ease) 1; }

.is-paused [data-hiw] *, [data-hiw].is-paused * { animation-play-state: paused !important; }

@keyframes hiw-fall {
  0%   { transform: translateY(0); opacity: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  12%  { opacity: 1; }
  55%  { transform: translateY(var(--fall)); opacity: 1; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  85%  { transform: translateY(calc(var(--fall) - 26px)); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes hiw-hit {
  0%, 52% { opacity: 0; transform: scale(.6); }
  57%     { opacity: .9; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.7); }
}
@keyframes hiw-press { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes hiw-glow { 0%, 100% { stroke-width: 2; } 40% { stroke-width: 4.5; } }
@keyframes hiw-rays { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes hiw-stretch { 0%, 100% { transform: scale(1, 1); } 45%, 60% { transform: scale(1.32, .82); } }
@keyframes hiw-pull-l { 0%, 100% { transform: translateX(0); } 45%, 60% { transform: translateX(-34px); } }
@keyframes hiw-pull-r { 0%, 100% { transform: translateX(0); } 45%, 60% { transform: translateX(34px); } }

@media (min-width: 900px) {
  .hiw__grid { grid-template-columns: 1.35fr 1fr; grid-template-areas: "intro intro" "stage steps"; column-gap: 48px; row-gap: 32px; align-items: center; }
  .hiw__intro { grid-area: intro; }
  .hiw__stage { grid-area: stage; padding: 20px 20px 8px; }
  .hiw__steps { grid-area: steps; gap: 12px; }
  .hiw-callout text { font-size: 15px; }
  .hiw-step { padding: 18px 20px; }
}

.hero__roll--tall { width: 30%; left: -2%; bottom: -30px; }
.callout span a { color: inherit; font-weight: 700; }
.callout--info { background: var(--sp-green-50); }
.site-footer nav { color: var(--c-text-muted); }

/* ---------- Product accent themes ---------- */
/* ECO7 (Stretch WHITE): light-blue accent from the catalog page, AA-contrast variants */
.theme-eco7 {
  --sp-green: #6ec8f1;
  --sp-green-600: #1d6a94;
  --sp-green-700: #185a7e;
  --sp-green-50: #eef8fd;
  --sp-green-100: #d3eefb;
}
.theme-eco7 .download { background: linear-gradient(135deg, #185a7e 0%, #1d6a94 45%, #3d9bc9 100%); }
.theme-eco7 .btn--primary { box-shadow: 0 8px 20px -8px rgba(29, 106, 148, 0.55); }
.hero__sublogo { height: 44px; width: auto; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 480px) {
  .brand__logo { width: 124px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .benefit__icon { grid-row: auto; }
  .badges { gap: 16px; }
}

@media (min-width: 640px) {
  .header-cta .label-short { display: none; }
  .header-cta .label-long { display: inline; }
  .download__actions { display: flex; flex-wrap: wrap; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .brand__logo { width: 140px; }
  .hero { padding-top: 48px; }
  .hero__grid { grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
  .hero__media { margin-bottom: 0; }
  .hero__roll { left: -12%; bottom: -40px; width: 52%; }
  .hero__roll--tall { left: -8%; bottom: -36px; width: 27%; }
  .benefits { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .system { grid-template-columns: 1fr 1fr; gap: 64px; }
  .specs-wrap { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .badges { grid-template-columns: 1fr; }
  .badge-item { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; padding: 14px 18px; gap: 16px; align-items: center; }
  .badge-item span { font-size: var(--fs-xs); }
  .download { grid-template-columns: 1.5fr 1fr; }
  .download__preview { width: 230px; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1200px) {
  .hero__roll { left: -16%; }
  .hero__roll--tall { left: -10%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* Explainer: static final state, gentle fade-in only */
  .hiw__stage * { animation: none !important; }
  .js .hiw__stage.reveal { opacity: 0; transition: opacity .6s ease !important; }
  .js .hiw__stage.reveal.is-visible { opacity: 1; }
}

@media print {
  .site-header, .download, .hero__actions { display: none; }
}
