.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; padding: calc(var(--header-h) + clamp(24px, 4vh, 48px)) var(--gutter) clamp(28px, 4vh, 48px);
  background: var(--bg); color: var(--fg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: center;
}
.hero::after { opacity: .12; z-index: 0; }
/* the silk sits far back: dim, desaturated, faded toward the copy */
.hero__video {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: grayscale(1) contrast(1.1); transition: opacity 1.6s var(--ease-out);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero__video.is-playing { opacity: .55; }
.hero > :not(video) { position: relative; z-index: 1; }

.hero__copy { max-width: 640px; justify-self: end; width: 100%; }
.hero__title {
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.6rem, 1rem + 4.2vw, 5.6rem); line-height: .9; letter-spacing: -.045em;
  margin-bottom: clamp(18px, 3vh, 28px);
}
.hero__row { display: block; }
.hero__line { font-size: var(--fs-2); max-width: 36ch; margin-bottom: 26px; color: var(--muted); }
.hero__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__ig { font-weight: 700; padding: 12px 0; }

/* x-ray: the tee in its own light frame (its photo studio is #f2f2f2), so white tees never melt into anything */
.hero__reveal { display: grid; justify-items: center; gap: 16px; }
.xray {
  --mx: 50%; --my: 45%; --r: 0px;
  position: relative; width: min(100%, 500px, 50svh); aspect-ratio: 500 / 641;
  background: var(--frame); border-radius: var(--radius-img); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
  touch-action: pan-y; outline: none;
}
.xray img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.xray__back {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0 72%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0 72%, transparent 100%);
}
/* the WebGPU glass lens draws both photos itself; the <img>s stay for alt text and as the fallback */
.xray__gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.xray.has-lens img { visibility: hidden; }
.xray.has-lens::after { display: none; }
/* a thin lens ring marks the edge of the spotlight */
.xray::after {
  content: ""; position: absolute; left: var(--mx); top: var(--my); width: calc(var(--r) * 1.6); height: calc(var(--r) * 1.6);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.xray.is-full::after { display: none; }
.xray.is-full .xray__back { -webkit-mask-image: none; mask-image: none; }

/* the cue: a live badge, and the hint until the visitor has tried it */
.xray__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: #000; color: #fff;
  font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.xray__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lit); }
.xray__pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lit);
  animation: xray-pulse 1.8s var(--ease-out) infinite;
}
.xray.is-tried .xray__pulse::after { animation: none; } /* it stops once they've found it */
@keyframes xray-pulse { to { transform: scale(3); opacity: 0; } }
.xray__hint {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); margin: 0; z-index: 2;
  padding: 8px 14px; border-radius: 999px; background: #000; color: #fff;
  font-size: var(--fs-0); font-weight: 600; white-space: nowrap; pointer-events: none;
  transition: opacity var(--t-ui) var(--ease-out);
}
.xray.is-tried .xray__hint, .xray.is-full .xray__hint { opacity: 0; }
.xray__hint-touch { display: none; }
@media (hover: none) { .xray__hint-fine { display: none; } .xray__hint-touch { display: inline; } }

.hero__picker { width: min(100%, 500px); display: grid; gap: 14px; }
.hero__now { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.hero__name { margin: 0 auto 0 0; font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: var(--fs-2); }
.hero__name a { text-decoration: none; }
.hero__name span { font-family: var(--font); font-weight: 600; font-size: var(--fs-1); margin-left: 8px; color: var(--muted); }
.hero__buy { min-height: 44px; padding: 0 18px; }
/* always two lines: name, price and "Show the back" first, then Add to bag + heart, whatever the name's length */
.hero__now::before { content: ""; flex-basis: 100%; height: 0; margin-bottom: -10px; order: 2; }
.hero__name, .hero__now [data-xray-toggle] { order: 1; }
.hero__buy, .hero__heart { order: 3; }
.hero__thumbs { display: flex; gap: 8px; }
.thumb {
  position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 500 / 641; padding: 0;
  border: 0; border-radius: 8px; background: var(--frame); cursor: pointer; overflow: hidden; opacity: .55;
  transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; transform: translateY(-3px); }
.thumb[aria-checked="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--lit); }
.thumb:focus-visible { outline: 3px solid var(--lit); outline-offset: 3px; }

/* entrance states (only when motion runs); a failsafe shows everything if scripts never arrive */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) .hero__copy, .js:not(.no-motion) .hero__reveal { visibility: hidden; animation: hero-failsafe 0s 3s forwards; }
}
@keyframes hero-failsafe { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .xray__pulse::after { animation: none; } .hero__video { display: none; } }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 40px; }
  .hero__copy { justify-self: start; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3.6rem); font-stretch: 100%; }
  .hero__line { font-size: var(--fs-1); }
  .xray { width: min(86vw, 58svh); }
  .hero__video { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
}

/* the one tee's details, folded in from the old "Turn it around" section */
