/* ============================================================
   Pure Vault Peptides — core stylesheet
   ============================================================ */

:root {
  --ink:        #0a0d14;
  --ink-2:      #11161f;
  --ink-3:      #1a212e;
  --line:       rgba(255, 255, 255, .09);
  --line-dark:  rgba(10, 13, 20, .10);
  --paper:      #ffffff;
  --paper-2:    #f6f7f9;
  --paper-3:    #eceef2;
  --text:       #0a0d14;
  --text-soft:  #5b6472;
  --text-inv:   #f4f6f9;
  --text-inv-s: rgba(244, 246, 249, .62);
  /* Brand blue taken exactly from the supplied logo artwork (#00629f).
     6.47:1 on white. The base blue only reaches 3.01:1 on dark ink, so
     --brand-2 is the sanctioned accent for dark surfaces (7.95:1). */
  --brand:      #00629f;
  --brand-2:    #5aaee2;
  --brand-deep: #004774;
  --gold:       #c9a45c;
  --ok:         #2f9e6f;
  --warn:       #c96a2f;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(10,13,20,.06), 0 8px 30px rgba(10,13,20,.08);
  --shadow-lg:  0 2px 6px rgba(10,13,20,.08), 0 30px 70px rgba(10,13,20,.16);
  --nav-h:      68px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.pv-locked { overflow: hidden; }

img, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.1;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 3px solid var(--focus-ring, var(--brand));
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--focus-halo, #fff);
  border-radius: 4px;
}
.dark,
.hero,
.cine,
.dark-head,
.auth-side,
.footer,
.modal {
  --focus-ring: var(--brand-2);
  --focus-halo: var(--ink);
}
.drawer[hidden],
.drawer-veil[hidden],
.mobile-menu[hidden] { display: none !important; }

.pv-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.pv-skip:focus { left: 0; }

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

/* ---------- Layout primitives ---------- */

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; }
.section { padding: 118px 0; position: relative; }
.section-sm { padding: 76px 0; }
.section.dark { background: var(--ink); color: var(--text-inv); }
.section.tint { background: var(--paper-2); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
}
.dark .eyebrow,
.hero .eyebrow,
.cine .eyebrow,
.dark-head .eyebrow,
.auth-side .eyebrow { color: var(--brand-2); }

.h-xl { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  color: var(--text-soft);
  max-width: 66ch;
}
.dark .lede,
.hero .lede,
.cine .lede,
.dark-head .lede,
.auth-side .lede { color: var(--text-inv-s); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack-6 > * + * { margin-top: 6px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 27px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), background-color .2s, opacity .2s;
  box-shadow: 0 1px 2px rgba(10,13,20,.14), 0 10px 26px -12px color-mix(in srgb, var(--btn-bg) 70%, transparent);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10,13,20,.16), 0 18px 38px -14px color-mix(in srgb, var(--btn-bg) 78%, transparent); }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; box-shadow: none; }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn-ghost:hover { background: rgba(10,13,20,.04); box-shadow: inset 0 0 0 1.5px rgba(10,13,20,.22); }
/* Dark surfaces are not all .dark — the hero, dark page heads and the auth
   panel are their own contexts, so ghost buttons must invert on all of them. */
.dark .btn-ghost,
.hero .btn-ghost,
.cine .btn-ghost,
.dark-head .btn-ghost,
.auth-side .btn-ghost {
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42);
}
.dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.cine .btn-ghost:hover,
.dark-head .btn-ghost:hover,
.auth-side .btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .72);
}

.btn-dark { --btn-bg: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 19px; font-size: 13.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
}
.dark .link-arrow,
.hero .link-arrow,
.cine .link-arrow,
.dark-head .link-arrow,
.auth-side .link-arrow { color: var(--brand-2); }
.link-arrow svg { transition: transform .34s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Badges & pills ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--paper-3);
  color: var(--text-soft);
}
.badge-ok   { background: rgba(47,158,111,.12); color: #1d7a53; }
.badge-warn { background: rgba(201,106,47,.13); color: #a2521f; }
.badge-brand{ background: rgba(0,98,159,.11); color: var(--brand-deep); }
.badge-gold { background: rgba(201,164,92,.16); color: #8a6c26; }
.dark .badge,
.hero .badge,
.cine .badge,
.dark-head .badge,
.auth-side .badge {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chip:hover { border-color: rgba(10,13,20,.28); color: var(--text); }
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Navigation ---------- */

.nav {
  --nav-ink-strong: #0a0d14;
  --nav-ink-soft: #4a5361;
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 120;
  display: flex;
  align-items: center;
  background: rgba(10, 13, 20, 0);
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-solid {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.on-dark:not(.is-solid) {
  color: #fff;
  --nav-ink-strong: #ffffff;
  --nav-ink-soft: rgba(255, 255, 255, .80);
}
/* Scrolled state while the bar sits over a dark section. Without this the
   solid bar is light with dark ink, which vanishes against dark sections —
   and the home hero is 220vh tall, so that state lasts a long time. */
.nav.is-solid.on-dark {
  color: #fff;
  --nav-ink-strong: #ffffff;
  --nav-ink-soft: rgba(255, 255, 255, .82);
  background: rgba(9, 12, 19, .74);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .10);
}
.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Header uses the script wordmark alone (aspect 2.601, one line), not the full
   two-line lockup. Height-constraining a two-line lockup starves both lines:
   at 46px the script rendered ~36px and "PEPTIDES" became a ~9px band of
   letterspaced caps that read as a smudge, in a mark only 95px wide. One line
   lets the script use the whole height and the mark comes out 114px.
   Height-driven so the intrinsic width/height attributes still reserve the
   right box and avoid layout shift on load. */
/* Scoped to .nav deliberately. WooCommerce ships
     .woocommerce img, .woocommerce-page img { height:auto; max-width:100% }
   in woocommerce-layout.css, which is specificity (0,1,1) and therefore beats a
   bare .brand-logo (0,1,0) no matter which stylesheet loads last. On every page
   carrying the woocommerce body class — shop, product, cart, checkout, account —
   the height collapsed to auto and the wordmark rendered at its intrinsic 900px,
   roughly eight times too wide, which is why it looked broken on only some
   pages. .nav .brand-logo is (0,2,0) and wins without needing !important. */
.nav .brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.brand-logo.on-dark { display: none; }
/* the wordmark follows the bar's ink, in both the transparent and solid
   states, so it never renders white-on-white or black-on-black */
.nav.on-dark .brand-logo.on-light { display: none; }
.nav.on-dark .brand-logo.on-dark { display: block; }

/* The footer keeps the complete two-line lockup, because there is room for it
   here: at 68px the script reads large and "PEPTIDES" gets roughly 14px instead
   of the ~9px it had in the bar. */
/* Scoped for the same reason as .nav .brand-logo above. */
.footer .footer-logo { height: 68px; width: auto; }

@media (max-width: 520px) {
  .nav .brand-logo { height: 36px; }
  .footer .footer-logo { height: 56px; }
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }

/* Solid colour rather than opacity: translucent text over the blurred nav
   backdrop reads soft, so the two inks are switched per surface instead. */
.nav-links a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.005em;
  color: var(--nav-ink-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--nav-ink-strong); background: rgba(127,127,127,.11); }
.nav-links a[aria-current="page"] { color: var(--nav-ink-strong); font-weight: 640; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(127,127,127,.14); }
.cart-count {
  position: absolute;
  top: 2px; right: 1px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: none;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.cart-count.is-on { display: block; }

.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 115;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 26px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mobile-menu a[aria-current="page"] { color: var(--brand); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 100% at 76% 18%, #16233d 0%, #0c111c 46%, #070a11 100%);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(7,10,17,.9));
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 56px) 0 76px;
}
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  line-height: .97;
  letter-spacing: -.038em;
  margin: 0 0 26px;
}
.hero h1 .grad {
  background: linear-gradient(96deg, #ffffff 8%, #a8d4f0 52%, #5aaee2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: rgba(244,246,249,.68);
  max-width: 52ch;
  margin: 0 0 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat b {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stat span {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,246,249,.5);
}

.hero-vial {
  position: relative;
  height: min(76vh, 660px);
  display: grid;
  place-items: center;
}
.hero-vial .hero-product-photo {
  position: relative;
  z-index: 1;
  width: min(94%, 620px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 36px 34px rgba(0,0,0,.42));
}
.hero-vial::before {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,159,.30), transparent 66%);
  filter: blur(50px);
  animation: pv-breathe 7s ease-in-out infinite;
}
@keyframes pv-breathe {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.11); opacity: 1; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244,246,249,.42);
}
.hero-scroll i {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: pv-drop 2.1s var(--ease) infinite;
}
@keyframes pv-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: calc(var(--nav-h) + 34px); }
  .hero-copy { order: 2; }
  .hero-vial { order: 1; height: 44vh; }
  .hero-stats { gap: 24px 32px; }
  .hero-stat b { font-size: 25px; }
  .hero-scroll { display: none; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.955);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-scale.is-in { opacity: 1; transform: none; }

.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-vial::before, .hero-scroll i, .marquee-track { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dark .card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border-color: var(--line);
}
.dark .card:hover { border-color: rgba(255,255,255,.2); box-shadow: 0 30px 70px rgba(0,0,0,.5); }

.card-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -8px rgba(0,98,159,.7);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15.5px; line-height: 1.62; }
.dark .card p { color: var(--text-inv-s); }

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 68px;
}
.split.flip .split-media { order: -1; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.split-media img, .split-media canvas {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.split-media .product-photo {
  object-fit: cover;
  padding: 0;
  filter: none;
}
.split-media:hover img { transform: scale(1.045); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.flip .split-media { order: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 58px;
  width: max-content;
  animation: pv-marquee 34s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(244,246,249,.44);
  white-space: nowrap;
}
@keyframes pv-marquee { to { transform: translateX(-50%); } }

/* ---------- Product grid ---------- */

.catalog {
  display: grid;
  grid-template-columns: 254px 1fr;
  gap: 44px;
  align-items: start;
}
.filters {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.filter-group h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 13px;
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
/* The static build filters in place, so its controls are buttons. The
   WordPress catalog filters by navigating to a term archive, so its controls
   must be links — same appearance, different element and selected-state
   attribute (aria-current is the correct one for a link). */
.filter-list button,
.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-soft);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filter-list button:hover,
.filter-list a:hover { background: var(--paper-2); color: var(--text); }
.filter-list button[aria-pressed="true"],
.filter-list a[aria-current="page"] { background: var(--ink); color: #fff; }
.filter-list em {
  font-style: normal;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: .6;
}

.search-field { position: relative; }
.search-field svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}
.input, .search-field input, textarea.input, select.input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line-dark);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search-field input { padding-left: 42px; }
.input:focus, .search-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,98,159,.14);
}
.input::placeholder { color: #9aa3b0; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 26px; }
  .filters { position: static; }
}
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(168deg, #f7f9fc, #e8ecf3);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.p-card-media .product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: filter .45s var(--ease-out), transform .55s var(--ease-out);
}
.p-card-media:hover .product-photo,
.p-card:focus-visible .product-photo {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}
.p-card-cat {
  position: absolute;
  top: 13px; left: 13px;
  z-index: 2;
}
.p-card-body { padding: 20px 21px 22px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.p-card-body h3 { font-size: 18.5px; letter-spacing: -.02em; }
.p-card-tag { font-size: 12.5px; font-weight: 600; color: var(--brand); letter-spacing: -.005em; }
.p-card-body p { font-size: 14px; line-height: 1.55; color: var(--text-soft); margin: 0; }
.p-card-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.p-card-price { font-size: 12px; color: var(--text-soft); }
.p-card-price b { display: block; font-size: 20px; color: var(--text); letter-spacing: -.025em; }
.p-card-doc {
  max-width: 145px;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
  color: var(--text-soft);
}

/* ---------- Product detail ---------- */

.pdp { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: start; }
.pdp-visual {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #e8edf2;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pdp-visual .product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}
.pdp h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 10px; }
.pdp-tag { font-size: 16px; color: var(--brand); font-weight: 600; margin-bottom: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 6px; }
.pdp-price b { font-size: 34px; letter-spacing: -.03em; }
.pdp-price span { font-size: 14px; color: var(--text-soft); }

.opt-row { margin: 26px 0; }
.opt-row > h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 11px;
}
.opt-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  padding: 12px 20px;
  border: 1.5px solid var(--line-dark);
  border-radius: 11px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.opt:hover { border-color: rgba(10,13,20,.3); }
.opt[aria-pressed="true"] { border-color: var(--brand); background: rgba(0,98,159,.06); box-shadow: 0 0 0 3px rgba(0,98,159,.13); }
.opt small { display: block; font-size: 12px; font-weight: 550; color: var(--text-soft); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-dark); border-radius: 11px; overflow: hidden; }
.qty button {
  width: 44px; height: 46px;
  border: 0; background: #fff;
  font-size: 19px; cursor: pointer;
  transition: background-color .2s;
}
.qty button:hover { background: var(--paper-2); }
.qty input {
  width: 54px; height: 46px;
  border: 0; border-inline: 1.5px solid var(--line-dark);
  text-align: center;
  font: inherit; font-weight: 650;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 0; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; color: var(--text-soft); }
.spec-table td { font-family: var(--mono); font-size: 13.5px; word-break: break-word; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-dark); margin-bottom: 30px; overflow-x: auto; }
.tabs button {
  position: relative;
  padding: 14px 18px;
  border: 0; background: transparent;
  font-size: 15px; font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 12px -1px 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.tab-panel[hidden] { display: none; }

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 13px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--text-soft);
}
.note svg { flex-shrink: 0; color: var(--warn); margin-top: 2px; }
.note strong { color: var(--text); }
.note-warn { background: rgba(201,106,47,.07); border-color: rgba(201,106,47,.24); }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .pdp-visual { position: static; aspect-ratio: 3 / 4; }
}

/* ---------- COA library ---------- */

.coa-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.coa-row:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.coa-row b { display: block; font-size: 16px; letter-spacing: -.015em; }
.coa-row small { font-size: 12.5px; color: var(--text-soft); }
.coa-meta { font-family: var(--mono); font-size: 13px; color: var(--text-soft); }

@media (max-width: 780px) {
  .coa-row { grid-template-columns: 1fr auto; gap: 10px; }
  .coa-meta:nth-of-type(2) { display: none; }
}

/* ---------- Modals ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 9, 15, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 88svh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: translateY(18px) scale(.975);
  transition: transform .48s var(--ease-out);
}
.modal.is-open .modal-card { transform: none; }
.modal-card h2 { font-size: 25px; margin-bottom: 12px; }
.modal-lock { max-width: 620px; }

.gate-mark {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 26px -10px rgba(0,98,159,.75);
}
.gate-terms {
  max-height: 178px;
  overflow-y: auto;
  padding: 18px 20px;
  margin: 20px 0;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--paper-2);
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--text-soft);
}
.gate-terms strong { color: var(--text); }
.gate-terms ul { margin: 10px 0 0; padding-left: 20px; }
.gate-terms li { margin-bottom: 7px; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1.5px solid var(--line-dark);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.check:hover { border-color: rgba(10,13,20,.24); }
.check:has(input:checked) { border-color: var(--brand); background: rgba(0,98,159,.05); }
.check input {
  flex-shrink: 0;
  width: 19px; height: 19px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.check + .check { margin-top: 10px; }

.gate-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.gate-exit {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- Cart drawer ---------- */

.drawer-veil {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(6,9,15,.5);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.drawer-veil.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 160;
  width: min(420px, 100vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .52s var(--ease-out);
  box-shadow: -20px 0 60px rgba(0,0,0,.22);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
}
.drawer-head h2 { font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-dark); background: var(--paper-2); }

.line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.line:last-child { border-bottom: 0; }
.line-thumb {
  width: 62px; height: 62px;
  border-radius: 11px;
  background: linear-gradient(168deg, #f7f9fc, #e5e9f1);
  display: grid; place-items: center;
  overflow: hidden;
}
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line b { font-size: 14.5px; letter-spacing: -.01em; }
.line small { display: block; font-size: 12.5px; color: var(--text-soft); }
.line-rm {
  border: 0; background: transparent;
  font-size: 12px; color: var(--text-soft);
  cursor: pointer; padding: 3px 0; text-decoration: underline;
}
.line-rm:hover { color: var(--warn); }

.total-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; color: var(--text-soft); }
.total-row.grand { font-size: 19px; font-weight: 700; color: var(--text); margin: 14px 0 18px; }

.empty { text-align: center; padding: 54px 10px; color: var(--text-soft); }
.empty svg { margin: 0 auto 16px; color: var(--paper-3); }

/* ---------- Auth ---------- */

.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.auth-side {
  position: relative;
  background: radial-gradient(120% 100% at 68% 22%, #16233d, #080c14);
  color: var(--text-inv);
  padding: calc(var(--nav-h) + 64px) 58px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.auth-side .auth-product-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.78) contrast(1.12);
  mix-blend-mode: screen;
}
.auth-side-inner { position: relative; z-index: 1; max-width: 460px; }
.auth-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 17px; }
.auth-points li { display: flex; gap: 13px; font-size: 15px; color: rgba(244,246,249,.74); }
.auth-points svg { flex-shrink: 0; color: var(--brand-2); margin-top: 3px; }

.auth-main {
  padding: calc(var(--nav-h) + 56px) 44px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}
.auth-card { width: 100%; max-width: 428px; }
.auth-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper-2);
  margin-bottom: 30px;
}
.auth-switch button {
  flex: 1;
  padding: 11px;
  border: 0; border-radius: 9px;
  background: transparent;
  font-size: 14.5px; font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.auth-switch button[aria-selected="true"] {
  background: #fff; color: var(--text);
  box-shadow: 0 1px 3px rgba(10,13,20,.12);
}

.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 7px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
}
.err.is-on { display: block; }
.form-alert {
  display: none;
  padding: 13px 16px;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.form-alert.is-on { display: block; }
.form-alert.bad { background: rgba(192,57,43,.09); color: #a32c1f; }
.form-alert.good { background: rgba(47,158,111,.11); color: #1d7a53; }

.auth-fine { margin-top: 22px; font-size: 12.8px; line-height: 1.55; color: var(--text-soft); text-align: center; }
.auth-fine a { color: var(--brand); font-weight: 600; }

@media (max-width: 940px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { padding: calc(var(--nav-h) + 44px) 28px 44px; }
  .auth-main { padding: 44px 24px 60px; }
}

/* ---------- Account dashboard ---------- */

.acct { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.acct-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--nav-h) + 26px); }
.acct-nav button {
  padding: 12px 15px;
  border: 0; border-radius: 10px;
  background: transparent;
  font-size: 14.5px; font-weight: 600;
  color: var(--text-soft);
  text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.acct-nav button:hover { background: var(--paper-2); color: var(--text); }
.acct-nav button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 820px) {
  .acct { grid-template-columns: 1fr; gap: 24px; }
  .acct-nav { position: static; flex-direction: row; overflow-x: auto; }
}

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--text-inv); padding: 78px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer p { font-size: 14.5px; line-height: 1.62; color: var(--text-inv-s); }
.footer h4 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul li { font-size: 14.5px; color: var(--text-inv-s); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; color: var(--brand-2); margin-top: 3px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }

.footer-mid {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: center; justify-content: space-between;
  margin: 52px 0 26px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-inv-s);
}
.footer-mid nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-mid a:hover { color: #fff; }

.legal {
  font-size: 11.6px;
  line-height: 1.72;
  color: rgba(244,246,249,.42);
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.legal strong { color: rgba(255,255,255,.72); }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Misc utilities ---------- */

.ribbon {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 9px 20px;
}
.hr { height: 1px; background: var(--line-dark); border: 0; margin: 0; }
.dark .hr { background: var(--line); }
.page-head { padding: calc(var(--nav-h) + 76px) 0 54px; background: var(--paper-2); border-bottom: 1px solid var(--line-dark); }

/* The bar is position:fixed, so a template that does not open with a .page-head
   has to clear it itself — otherwise its first element renders underneath the
   header. Every page here opens with .page-head or the full-height hero except
   the WooCommerce single-product layout, which goes straight into the breadcrumb
   and .pdp grid. product.html carried this as an inline style; it lives here so
   the value is defined once for both builds. */
.main-below-nav { padding-top: calc(var(--nav-h) + 46px); }
.page-head.dark-head {
  background: radial-gradient(110% 130% at 80% 0%, #16233d, #0a0e17);
  color: var(--text-inv);
  border-bottom: 0;
}
.crumbs { display: flex; gap: 9px; font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.dark-head .crumbs { color: rgba(244,246,249,.5); }

.prose { font-size: 16.5px; line-height: 1.72; color: #333b47; }
.prose h2 { font-size: 26px; margin: 46px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.prose > :first-child { margin-top: 0; }

.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  border: 0; background: transparent;
  font-size: 17.5px; font-weight: 600; letter-spacing: -.015em;
  text-align: left; cursor: pointer;
}
.faq-q svg { flex-shrink: 0; transition: transform .34s var(--ease); color: var(--text-soft); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--brand); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a p { padding-bottom: 24px; color: var(--text-soft); font-size: 15.5px; line-height: 1.66; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 22px);
  z-index: 250;
  display: flex; align-items: center; gap: 11px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px; font-weight: 600;
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  opacity: 0; visibility: hidden;
  transition: opacity .34s var(--ease), transform .34s var(--ease-out), visibility .34s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { color: #67e0a3; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .modal-card { padding: 28px 24px; }
}
@media (max-width: 980px) and (min-width: 701px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- WebGL fallback vial ---------- */

/* ============================================================
   Cinematic scroll-scrub hero (v2)
   ============================================================ */

.cine {
  position: relative;
  height: 220vh;                 /* scroll track length for the scrub */
  background: var(--ink);
}
.cine-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.cine-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cine-media video,
.cine-media img,
.cine-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  display: block;
}
/* the poster carries first paint, the canvas takes over once frame 1 decodes */
.cine-poster { z-index: 0; transition: opacity .5s var(--ease); }
.cine-poster.is-hidden { opacity: 0; }
#cineCanvas { z-index: 1; opacity: 0; transition: opacity .5s var(--ease); }
#cineCanvas.is-ready { opacity: 1; }
/* legibility scrim: dark on the left where the copy sits, feathered right */
.cine-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,10,17,.92) 0%, rgba(7,10,17,.72) 34%, rgba(7,10,17,.28) 60%, rgba(7,10,17,.05) 100%),
    linear-gradient(to bottom, rgba(7,10,17,.55), rgba(7,10,17,0) 26%, rgba(7,10,17,0) 62%, rgba(7,10,17,.72));
  pointer-events: none;
}
.cine-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.cine-copy { max-width: 620px; }
.cine-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  color: #cfe0ee;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 26px;
}
.cine-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(90,174,226,.22); }
.cine h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 0 0 24px;
}
.cine h1 .grad {
  background: linear-gradient(96deg, #ffffff 6%, #a8d4f0 52%, #5aaee2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cine-sub {
  color: rgba(233,240,247,.82);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 34px;
}
.cine-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cine-scroll {
  position: absolute;
  left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(233,240,247,.6);
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.cine-scroll span { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; position: relative; }
.cine-scroll span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px;
  border-radius: 3px; background: rgba(255,255,255,.75); transform: translateX(-50%);
  animation: cine-wheel 1.9s var(--ease) infinite;
}
@keyframes cine-wheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

/* progress rail on the far right of the pinned stage */
.cine-rail {
  position: absolute;
  right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 3px; height: 168px;
  border-radius: 3px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
}
.cine-rail i { position: absolute; inset: 0 0 auto 0; height: 0%; background: var(--brand-2); border-radius: 3px; }

@media (max-width: 900px) {
  .cine { height: 180vh; }
  .cine-media video, .cine-media img { object-position: 68% 50%; }
  .cine-scroll, .cine-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cine { height: auto; }
  .cine-stage { position: relative; height: 92svh; }
}

/* ---------- home showcase band ---------- */
.showband {
  position: relative;
  padding: 118px 0;
  background:
    radial-gradient(120% 90% at 82% 12%, #16233d 0%, #0b111c 52%, #070a11 100%);
  color: var(--text-inv);
  overflow: hidden;
}
.showband .split-media { box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.show-metrics { display: flex; flex-wrap: wrap; gap: 30px 56px; margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.show-metric b { display:block; font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.show-metric span { font-size: 11.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: rgba(233,240,247,.55); }

/* ---------- COA table ---------- */

.coa-table { display: flex; flex-direction: column; gap: 10px; }

.coa-head {
  display: grid;
  grid-template-columns: 2.1fr 1.2fr .8fr auto;
  gap: 20px;
  padding: 0 24px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* The row keeps its own grid so the table reads as columns on desktop and
   collapses to stacked key/value pairs on narrow screens. */
.coa-table .coa-row {
  display: grid;
  grid-template-columns: 2.1fr 1.2fr .8fr auto;
  gap: 20px;
  align-items: center;
}
.coa-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.coa-product b { display: block; font-size: 16px; letter-spacing: -.015em; }
.coa-product small { display: block; font-size: 12.5px; color: var(--text-soft); }
.coa-dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3.5px rgba(47, 158, 111, .16);
}
/* column labels are only needed once the grid collapses */
.coa-k { display: none; }

@media (max-width: 820px) {
  .coa-head { display: none; }
  .coa-table .coa-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 22px;
  }
  .coa-cell { justify-content: space-between; }
  .coa-product { justify-content: flex-start; }
  .coa-k {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
  .coa-table .coa-row .btn { width: 100%; }
}

/* ---------- COA flag on the product page ---------- */

.coa-flag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 4px;
  padding: 15px 18px;
  border: 1.5px solid rgba(47, 158, 111, .34);
  border-radius: 14px;
  background: rgba(47, 158, 111, .07);
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .28s var(--ease-out);
}
.coa-flag:hover {
  border-color: rgba(47, 158, 111, .6);
  background: rgba(47, 158, 111, .11);
  transform: translateY(-1px);
}
.coa-flag b { display: block; font-size: 15px; letter-spacing: -.012em; color: var(--text); }
.coa-flag small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-soft); line-height: 1.45; }
.coa-flag-mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--ok);
  color: #fff;
}
.coa-flag-mark svg { width: 21px; height: 21px; }
.coa-flag-go { margin-left: auto; flex-shrink: 0; color: var(--ok); }
.coa-flag:hover .coa-flag-go { transform: translateX(3px); transition: transform .3s var(--ease-out); }

.coa-flag.is-pending {
  border-color: rgba(201, 106, 47, .34);
  background: rgba(201, 106, 47, .07);
}
.coa-flag.is-pending:hover {
  border-color: rgba(201, 106, 47, .6);
  background: rgba(201, 106, 47, .11);
}
.coa-flag.is-pending .coa-flag-mark { background: var(--warn); }
.coa-flag.is-pending .coa-flag-go { color: var(--warn); }

@media (max-width: 560px) {
  .coa-flag { padding: 13px 14px; gap: 11px; }
  .coa-flag-go { display: none; }
}

/* ---------- COA chips (home) ---------- */

.coa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.coa-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-dark);
  border-radius: 999px;
  background: #fff;
  transition: border-color .2s var(--ease), transform .26s var(--ease-out), box-shadow .26s var(--ease-out);
}
.coa-chip:hover {
  border-color: rgba(47, 158, 111, .55);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.coa-chip b { font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.coa-chip span:last-child {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}
.coa-chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(47, 158, 111, .16);
  flex-shrink: 0;
}
