/* PREMIUM/UI store.
   Tokens below are the design system. Nothing outside this file invents a
   color, radius or duration. */

:root {
  --ink:       #0A0A0B;  /* page */
  --panel:     #101013;  /* cards, media wells */
  --panel-2:   #0E0E10;  /* raised bands */
  --hair:      #17171A;  /* section rules */
  --line:      #1E1E22;  /* component borders */
  --line-2:    #26262C;  /* inputs, ghost buttons */

  --fg:        #F2F2F0;
  --fg-dim:    #8C8C88;
  --fg-faint:  #55555A;
  --art:       #3A3A42;  /* placeholder line art */

  --sig:       #D8FF57;  /* signature accent. Hover, never resting state. */

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Archivo, system-ui, sans-serif;

  --pad: clamp(16px, 4vw, 60px);
  --gutter: clamp(16px, 1.8vw, 26px);
  --r-card: 8px;
  --r-pill: 999px;

  --fast: 160ms;
  --mid: 220ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* z scale: ambient 0, content 1, grain 3, sticky nav 40, skip-link 60 */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
  text-wrap: balance;
}

::selection { background: var(--sig); color: var(--ink); }

/* Keyboard users get a real ring. Mouse users never see it. */
:focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 60;
  background: var(--sig);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: top var(--fast) var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- ambient layer ---------- */

.amb {
  position: fixed;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.amb-a {
  background: radial-gradient(46% 40% at 22% 14%, rgba(238, 244, 222, 0.045), rgba(10, 10, 11, 0) 68%);
  animation: driftA 78s ease-in-out infinite;
}
.amb-b {
  background: radial-gradient(44% 38% at 78% 62%, rgba(196, 214, 236, 0.038), rgba(10, 10, 11, 0) 66%);
  animation: driftB 104s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate3d(-4%, -3%, 0) scale(1.05); }
  50%      { transform: translate3d(5%, 4%, 0) scale(1.16); }
}
@keyframes driftB {
  0%, 100% { transform: translate3d(3%, 5%, 0) scale(1.12); }
  50%      { transform: translate3d(-5%, -4%, 0) scale(1.02); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.038;
  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='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.page { position: relative; z-index: 1; }

/* ---------- bars ---------- */

.ticker {
  border-bottom: 1px solid var(--hair);
  padding: 0 var(--pad);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--fg-faint);
}
.ticker nav { display: flex; gap: 20px; }
.ticker a { padding: 10px 0; }
.ticker a:hover { color: var(--fg); }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
  padding: 0 var(--pad);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mark { font-size: 15px; display: flex; gap: 1px; white-space: nowrap; }
.mark b { font-weight: 400; color: var(--fg-faint); }
.mark i { font-style: normal; color: var(--fg); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 14.5px; }
.nav-links a { color: var(--fg-dim); padding: 20px 0; transition: color var(--fast) var(--ease); }
.nav-links a:hover { color: var(--fg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
}

.btn-fill { background: var(--fg); color: var(--ink); }
.btn-fill:hover { background: var(--sig); }

.btn-ghost { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }

.btn-block { display: flex; width: 100%; padding: 18px 24px; font-size: 15px; }

.btn[aria-disabled="true"] { background: var(--panel); color: var(--fg-faint); pointer-events: none; }

/* ---------- hero ---------- */

.hero {
  padding: clamp(52px, 7.5vw, 108px) var(--pad) clamp(44px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero h1 { font-size: clamp(46px, 6.6vw, 116px); line-height: 0.87; letter-spacing: -0.045em; }
.hero .hl { color: var(--sig); }
.hero p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 44ch;
  margin: clamp(20px, 2.4vw, 30px) 0 0;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(26px, 3vw, 38px); }

/* ---------- media wells ---------- */

.well {
  position: relative;
  background: var(--panel);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--art);
}
.well img, .well video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 520ms var(--ease);
}
.well svg { width: 56%; height: auto; }
.well-4x3 { aspect-ratio: 4/3; }
.well-16x10 { aspect-ratio: 16/10; }

.tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  pointer-events: none;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* ---------- template grid ---------- */

.templates { padding: 0 var(--pad); }

.templates-head {
  border-top: 1px solid var(--hair);
  padding-top: clamp(28px, 3.4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.templates-head h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.035em; }

.field {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--fg);
  font-family: var(--body);
  font-size: 14px;
  min-height: 44px;
  padding: 12px 20px;
  width: min(300px, 100%);
  outline: none;
  transition: border-color var(--fast) var(--ease);
}
.field::placeholder { color: var(--fg-faint); }
.field:hover { border-color: var(--line-2); }
.field:focus { border-color: var(--fg-faint); }

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 24px;
}

.chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.chip {
  min-height: 40px;
  font-family: var(--body);
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-dim);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.chip:hover { border-color: var(--fg-faint); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--ink); }

.sorts { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--fg-faint); }
.sorts .rule { width: 1px; height: 14px; background: var(--line-2); }
.sorts > div { display: flex; align-items: center; gap: 16px; }
.sort {
  background: none;
  border: 0;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--fg-faint);
  cursor: pointer;
  padding: 6px 0;
  transition: color var(--fast) var(--ease);
}
.sort:hover { color: var(--fg); }
.sort[aria-pressed="true"] { color: var(--fg); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

/* Card. Hover moves the image inside its own frame and lifts the label -
   nothing outside the card's box changes, so no layout shift. */
.card { display: block; }
.card .well { will-change: transform; }
.card:hover .well img,
.card:hover .well video { transform: scale(1.04); }

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 2px 0;
}
.card-name { font-size: 16px; letter-spacing: -0.01em; transition: color var(--fast) var(--ease); }
.card:hover .card-name { color: var(--sig); }
.card-price { font-size: 15px; color: var(--fg-dim); font-variant-numeric: tabular-nums; }

.card-more {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 2px 0;
  font-size: 13px;
  color: var(--fg-faint);
  transition: color var(--fast) var(--ease);
}
.card-more i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width var(--mid) var(--ease);
}
.card:hover .card-more { color: var(--fg); }
.card:hover .card-more i { width: 26px; }

.empty { padding: 70px 0; text-align: center; color: var(--fg-faint); font-size: 15px; }
.empty button {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--fg);
  text-decoration: underline; cursor: pointer;
}

/* ---------- bundle ---------- */

.bundle {
  margin-top: clamp(72px, 9vw, 128px);
  background: rgba(14, 14, 16, 0.72);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.bundle-in {
  padding: clamp(44px, 6vw, 88px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.eyebrow { font-size: 13px; letter-spacing: 0.06em; color: var(--sig); }
.bundle h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 0.92; margin: 14px 0 0; }
.bundle p { font-size: 16.5px; line-height: 1.55; color: var(--fg-dim); max-width: 46ch; margin: 16px 0 0; }
.bundle-buy { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.bundle-price { font-size: 15px; color: var(--fg-dim); }
.bundle-price b { color: var(--fg); font-size: 22px; font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */

.faq {
  padding: clamp(56px, 7vw, 104px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.faq h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.035em; }
.faq-list { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color var(--fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sig); }
.faq summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--fg-faint);
  transition: transform var(--mid) var(--ease);
}
.faq details[open] summary::after { content: '\2212'; }
.faq p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--fg-dim);
  margin: 0 0 22px;
  max-width: 62ch;
}

/* ---------- notify ---------- */

.notify-wrap { padding: clamp(56px, 7vw, 100px) var(--pad) 0; }
.notify {
  background: rgba(14, 14, 16, 0.72);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.notify h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; margin: 0; }
.notify p { font-size: 15px; color: var(--fg-dim); margin: 8px 0 0; }
.notify form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.notify .field { background: var(--ink); border-color: var(--line-2); width: min(260px, 100%); }
.notify-msg { flex-basis: 100%; font-size: 13px; color: var(--fg-faint); margin: 4px 0 0; min-height: 18px; }
.notify-msg[data-state="err"] { color: #FF8A6A; }

/* ---------- product page ---------- */

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(22px, 3vw, 38px) 0 0;
  font-size: 13.5px;
  color: var(--fg-faint);
  transition: color var(--fast) var(--ease);
}
.back i { display: block; width: 16px; height: 1px; background: currentColor; transition: width var(--mid) var(--ease); }
.back:hover { color: var(--fg); }
.back:hover i { width: 26px; }

.product-wrap { padding: 0 var(--pad); }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(20px, 2.6vw, 32px);
  align-items: start;
}
.shots { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
.shots-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.shots-row .well { border-radius: 6px; }

.buy { position: sticky; top: 92px; }
.buy .cat { font-size: 13px; color: var(--fg-faint); }
.buy h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 0.9; margin: 12px 0 0; }
.buy .blurb { font-size: 16.5px; line-height: 1.6; color: var(--fg-dim); margin: 16px 0 0; white-space: pre-line; }
.buy .figure { display: flex; align-items: baseline; gap: 12px; margin-top: clamp(24px, 3vw, 34px); }
.buy .figure b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.buy .figure span { font-size: 13.5px; color: var(--fg-faint); }
.buy .btn { margin-top: 18px; }
.buy .fine { font-size: 12.5px; line-height: 1.7; color: var(--fg-faint); margin: 12px 0 0; text-align: center; }

.spec { border-top: 1px solid var(--line); margin-top: 28px; }
.spec div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.spec div span:first-child { color: var(--fg-faint); }

.more { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--hair); padding-top: clamp(26px, 3vw, 40px); }
.more h2 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; margin: 0 0 clamp(20px, 2.4vw, 30px); }

/* ---------- footer ---------- */

.foot { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--hair); }
.foot-in {
  padding: clamp(40px, 5vw, 64px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.foot-in p { font-size: 14.5px; line-height: 1.6; color: var(--fg-faint); margin: 12px 0 0; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.foot-col h4 { font: inherit; font-size: 12.5px; letter-spacing: 0.06em; color: var(--fg-faint); margin: 0; font-weight: 400; }
.foot-col a { color: var(--fg-dim); transition: color var(--fast) var(--ease); }
.foot-col a:hover { color: var(--fg); }

.foot-base {
  border-top: 1px solid var(--hair);
  padding: 20px var(--pad) 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--fg-faint);
}

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translate3d(0, 16px, 0); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero, .bundle-in, .faq, .product { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: clamp(36px, 6vw, 60px); }
  .hero .well { order: -1; } /* image leads on mobile */
  .buy { position: static; }
  .ticker { font-size: 12px; }
  .notify { flex-direction: column; align-items: stretch; }
  .notify form { width: 100%; }
  .notify .field { flex: 1 1 200px; width: auto; }
}

@media (max-width: 600px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .ticker nav { gap: 14px; }
  .controls { align-items: flex-start; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .amb { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover .well img,
  .card:hover .well video { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   POLISH LAYER

   Product surfaces take their cue from the hero's ghost button: dark face,
   machined gradient edge, no silver face. The silver face lives ONLY on the
   notify panel. The light pass is geometry-fixed so the glint is visible for
   ~90% of its travel - no dead lead-in, no blitz.
   ============================================================ */

:root {
  --sweep: cubic-bezier(0.30, 0.10, 0.25, 1);
  --sweep-time: 1200ms;

  --metal-edge: linear-gradient(160deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.10) 22%,
      rgba(140, 145, 155, 0.30) 46%,
      rgba(255, 255, 255, 0.04) 68%,
      rgba(220, 225, 235, 0.26) 100%);
}

/* ---- machined edges, dark faces ---- */

.card .well,
.hero .well,
.bundle-in > .well,
.set-card .well {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--metal-edge) border-box;
}

.btn-ghost {
  border-color: transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--metal-edge) border-box;
}
.btn-ghost:hover {
  background:
    linear-gradient(#121215, #121215) padding-box,
    linear-gradient(160deg, rgba(255,255,255,0.60), rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.50)) border-box;
}

.chip {
  border-color: transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--metal-edge) border-box;
}
.chip:hover {
  color: var(--fg);
  background:
    linear-gradient(#121215, #121215) padding-box,
    linear-gradient(160deg, rgba(255,255,255,0.55), rgba(255,255,255,0.16) 40%, rgba(255,255,255,0.45)) border-box;
}
.chip[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--ink);
}

/* ---- the notify panel keeps the silver ---- */

.notify {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(14, 14, 16, 0.86), rgba(14, 14, 16, 0.86)) padding-box,
    var(--metal-edge) border-box;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  position: relative;
  overflow: hidden;
}
.notify::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  background: linear-gradient(118deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(190, 198, 212, 0.06) 52%,
    rgba(255, 255, 255, 0.01) 74%,
    rgba(255, 255, 255, 0.08) 100%);
}
.notify > * { position: relative; z-index: 1; }

/* the email field glows */
.notify .field {
  border-color: rgba(216, 255, 87, 0.28);
  box-shadow:
    0 0 0 1px rgba(216, 255, 87, 0.10),
    0 0 22px rgba(216, 255, 87, 0.10);
  transition: border-color var(--fast) var(--ease), box-shadow 300ms var(--ease);
}
.notify .field:hover,
.notify .field:focus {
  border-color: rgba(216, 255, 87, 0.55);
  box-shadow:
    0 0 0 1px rgba(216, 255, 87, 0.22),
    0 0 34px rgba(216, 255, 87, 0.20);
}

/* ---- the light pass, geometry fixed ----
   The glint element is exactly one container wide, parked at -85%. The band
   spans its middle half, so it becomes visible about 6% into the travel and
   leaves at about 94% - the eye gets the whole duration, not the last fifth. */

.card .well, .hero .well, .bundle-in > .well, .set-card .well,
.btn { position: relative; overflow: hidden; }

.card .well::after,
.hero .well::after,
.bundle-in > .well::after,
.set-card .well::after,
.btn::after {
  content: '';
  position: absolute;
  top: -30%; bottom: -30%;
  left: -85%; width: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  will-change: transform;
  background: linear-gradient(104deg,
    transparent 25%,
    rgba(255, 255, 255, 0.05) 38%,
    rgba(255, 255, 255, 0.17) 50%,
    rgba(255, 255, 255, 0.05) 62%,
    transparent 75%);
  transform: translateX(0);
}

.card:hover .well::after,
.hero .well:hover::after,
.bundle-in > .well:hover::after,
.set-card.pos-c:hover .well::after,
.btn:hover::after {
  transform: translateX(170%);
  transition: transform var(--sweep-time) var(--sweep);
}
/* no reverse transition: the glint never visibly snaps back */

.btn-fill::after {
  mix-blend-mode: normal;
  background: linear-gradient(104deg,
    transparent 25%,
    rgba(10, 10, 11, 0.05) 38%,
    rgba(10, 10, 11, 0.13) 50%,
    rgba(10, 10, 11, 0.05) 62%,
    transparent 75%);
}

/* ---- card lift ---- */

.card { transition: transform 260ms var(--sweep); }
.card:hover { transform: translateY(-5px); }
.card .well { transition: box-shadow 260ms var(--ease); }
.card:hover .well { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }

/* ---- glass on quiet surfaces ---- */

.buy .spec, .field {
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}

.well svg { position: relative; z-index: 0; }

/* ---- press ---- */

.btn:active { transform: scale(0.97); }
.card:active { transform: translateY(-2px); }
.chip:active { transform: scale(0.96); }

.btn, .chip { transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform 120ms var(--sweep); }

/* ============================================================
   FEATURED SETS carousel
   ============================================================ */

.sets { padding: clamp(48px, 6vw, 84px) var(--pad) 0; }

.sets-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.sets-head h2 { font-size: clamp(30px, 3.8vw, 54px); letter-spacing: -0.04em; }

.caro { position: relative; }

.caro-stage {
  position: relative;
  height: clamp(300px, 33vw, 470px);
  overflow: hidden;
}

.set-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(640px, 76%);
  transform: translateX(-50%);
  transition: transform 560ms var(--sweep), opacity 560ms var(--ease), filter 560ms var(--ease);
  display: block;
}

.set-card .well { aspect-ratio: 16/9; }

.set-card.pos-c { z-index: 3; }
.set-card.pos-l {
  transform: translateX(-50%) translateX(-36%) scale(0.84);
  z-index: 1; opacity: 0.45; filter: brightness(0.55);
  pointer-events: none;
}
.set-card.pos-r {
  transform: translateX(-50%) translateX(36%) scale(0.84);
  z-index: 1; opacity: 0.45; filter: brightness(0.55);
  pointer-events: none;
}
.set-card.pos-h { opacity: 0; z-index: 0; pointer-events: none; transform: translateX(-50%) scale(0.7); }
.set-card.no-t { transition: none !important; }
.set-card.ghost { opacity: 0 !important; }
/* wrap-around exit: keeps sliding in the travel direction while fading to 0 */
.set-card.pos-out-l {
  transform: translateX(-50%) translateX(-60%) scale(0.76);
  opacity: 0; z-index: 0; pointer-events: none; filter: brightness(0.5);
}
.set-card.pos-out-r {
  transform: translateX(-50%) translateX(60%) scale(0.76);
  opacity: 0; z-index: 0; pointer-events: none; filter: brightness(0.5);
}

.set-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.92), transparent);
}
.set-name { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.03em; }
.set-count { font-size: 13.5px; color: var(--fg-dim); margin-top: 5px; }
.set-price { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.caro-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.85)) padding-box,
    var(--metal-edge) border-box;
  color: var(--fg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--fast) var(--ease), transform 120ms var(--sweep);
}
.caro-btn:hover {
  background:
    linear-gradient(#15151a, #15151a) padding-box,
    linear-gradient(160deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2) 40%, rgba(255,255,255,0.5)) border-box;
}
.caro-btn:active { transform: translateY(-50%) scale(0.94); }
.caro-prev { left: max(8px, calc(50% - min(320px, 38%) - 76px)); }
.caro-next { right: max(8px, calc(50% - min(320px, 38%) - 76px)); }

@media (max-width: 700px) {
  .set-card { width: 86%; }
  .set-card.pos-l, .set-card.pos-r { opacity: 0.25; }
  .caro-stage { height: 62vw; }
}

/* ---- reduced motion / touch ---- */

@media (prefers-reduced-motion: reduce) {
  .card .well::after, .hero .well::after, .bundle-in > .well::after,
  .set-card .well::after, .btn::after { display: none; }
  .card:hover { transform: none; }
  .btn:active, .card:active, .chip:active { transform: none; }
  .set-card { transition: none; }
}

@media (hover: none) {
  .card .well::after, .hero .well::after, .bundle-in > .well::after,
  .set-card .well::after, .btn::after { display: none; }
}


/* ---- FAQ ease-open (Chromium 131+; elsewhere it opens instantly) ---- */
html { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 380ms var(--ease), content-visibility 380ms;
  transition-behavior: allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }


/* ---- product shots: bouncy zoom + click-to-expand ---- */

.shots-row .well:has(img) {
  cursor: zoom-in;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shots-row .well:has(img):hover { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80; /* above sticky nav (40) and skip link (60) */
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 70vw;
  max-height: 78vh;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  transform: scale(0.96);
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-x {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.85)) padding-box,
    var(--metal-edge) border-box;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms var(--sweep);
}
.lightbox-x:hover { color: var(--sig); }
.lightbox-x:active { transform: scale(0.94); }

@media (max-width: 700px) {
  .lightbox img { max-width: 92vw; }
}
@media (prefers-reduced-motion: reduce) {
  .shots-row .well:has(img):hover { transform: none; }
  .lightbox img { transform: none; }
}


/* ---- product shots on phones: video, one 3-up row, +N on the third ---- */

.more-badge { display: none; }

@media (max-width: 860px) {
  .shots-row .well-extra { display: none; }
  .more-badge {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 6, 0.58);
    color: var(--fg);
    font-family: var(--display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.02em;
  }
}

/* ---- lightbox navigation ---- */

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.85)) padding-box,
    var(--metal-edge) border-box;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--fast) var(--ease), transform 120ms var(--sweep);
}
.lightbox-nav:hover { color: var(--sig); }
.lightbox-nav:active { transform: translateY(-50%) scale(0.94); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-count {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}
