.limited-hero { background: #f9f7f2; }
.limited-collection { padding-block: clamp(2rem, 5vw, 5rem); background: #f9f7f2; }
.limited-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.25rem) clamp(1rem, 3vw, 2rem);
  list-style: none;
}
.limited-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  text-align: start;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.limited-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1.9;
  padding: clamp(.8rem, 3vw, 2rem);
  border: 1px solid #e4ddd0;
  border-radius: inherit;
  background: #fff;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.limited-card-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.limited-card-name {
  display: block;
  margin-top: .8rem;
  padding-inline: .15rem;
  font-size: clamp(1.12rem, 2.2vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.limited-card:is(a):is(:hover, :focus-visible) .limited-card-media {
  border-color: #bd9f67;
  box-shadow: 0 14px 26px -23px #0d234a80;
}
.limited-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .limited-grid { animation: limited-gallery-in 600ms ease both; }
  @keyframes limited-gallery-in {
    from { opacity: .55; transform: translateY(16px); }
  }
}
/* Cinematic product routes share the site navigation and footer. */
.limited-card:is(a) { text-decoration: none; }

.limited-film[hidden] { display: none; }
.limited-film {
  --ink: #070e16;
  --light: #f9eccc;
  --glow: #ecc279;
  color: var(--light);
  background: var(--ink);
  position: relative;
}
.limited-film[data-film="magic"] { --ink: #080a15; --light: #f0ebff; --glow: #cdbaf9; }
.film-back, .film-motion {
  color: inherit;
  background: #0b101bdb;
  border: 1px solid #ffffff40;
  padding: .65rem 1rem;
  border-radius: 999px;
  font: 600 .9rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.film-back { position: absolute; top: 76px; left: clamp(20px, 5vw, 90px); z-index: 3; }
.film-sequence { position: relative; }
.film-screen {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  animation: film-arrive .95s cubic-bezier(.22,.75,.24,1) both;
}
@keyframes film-arrive { from { clip-path: inset(14% 5% round 22px); } to { clip-path: inset(0); } }
.film-camera, .film-video, .film-shade, .film-particles, .film-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-camera {
  background: var(--poster) center / cover no-repeat;
  transform: scale(calc(1.06 + var(--travel, 0) * .24)) translate(var(--camera-x, 0px), var(--camera-y, 0px));
  transition: transform .12s ease-out;
}
.film-video { object-fit: cover; }
.film-shade {
  background: linear-gradient(0deg,#070b13f7 0%,#070b1355 43%,transparent 70%),
              linear-gradient(90deg,#070b13a8,transparent 80%);
}
.film-opening {
  position: absolute;
  z-index: 2;
  inset: auto clamp(22px, 7vw, 112px) 14%;
  opacity: var(--opening, 1);
  transform: translateY(var(--title-y, 0px));
}
.film-title, .film-copy h2 { font-family: var(--sans); font-weight: 650; letter-spacing: -.055em; text-wrap: balance; line-height: 1; }
.film-title { color: inherit; font-size: clamp(3.35rem, 9vw, 10rem); margin: 0 0 1.5rem; max-width: 9ch; }
.film-advance, .film-products { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .36em; }
.film-advance::after { content: " ↓"; margin-left: .4em; }
.film-motion { position: absolute; z-index: 3; right: clamp(20px, 5vw, 90px); top: 76px; }
.film-particles {
  pointer-events: none;
  background-image: radial-gradient(circle at 12px 34px,var(--glow) 0 1px,transparent 2px),
                    radial-gradient(circle at 75px 98px,var(--glow) 0 1px,transparent 2px);
  background-size: 131px 157px, 211px 189px;
  mask-image: linear-gradient(transparent, #0008, transparent);
  animation: film-drift 15s linear infinite;
  opacity: .62;
}
@keyframes film-drift { to { background-position: 131px -157px,211px -189px; } }
.film-scene { display: grid; place-items: center; perspective: 950px; pointer-events: none; }
.film-artifact {
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  opacity: var(--artifact-opacity, 0);
  transform: translate3d(var(--artifact-x, clamp(82px, 24vw, 430px)),var(--artifact-y, 16vh),var(--artifact-z, -440px))
             rotateX(var(--pitch, -8deg)) rotateY(var(--yaw, -32deg)) rotateZ(-8deg);
  transition: transform .16s ease-out;
}
.film-relic {
  display: grid;
  place-items: center;
  width: min(35vw, 355px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px double #e1b460;
  background: repeating-conic-gradient(from 0deg,#d6aa63 0 1deg,transparent 1deg 15deg),
              radial-gradient(circle,#26424c 59%,#12232d 60%,#6e4f29 74%);
  color: #f6ca79;
  font-size: clamp(3rem, 14vw, 9rem);
  box-shadow: 0 0 40px #d0a45b50, -1px 2px #7e6037, -3px 4px #735731, -5px 6px #634729, -7px 8px #503b23;
  transform-style: preserve-3d;
}
.film-relic span { transform: translateZ(22px); text-shadow: 0 0 20px #f6ca79aa; }
.film-pack { display: none; }
[data-film="magic"] .film-relic { display: none; }
[data-film="magic"] .film-pack {
  position: relative;
  display: block;
  width: min(31vw, 390px);
  transform-style: preserve-3d;
}
.film-pack img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 30px #05030d) drop-shadow(0 0 30px #ab98ff55);
  transform: translateZ(25px);
}
.film-pack-side {
  position: absolute;
  width: 88%;
  height: 90%;
  left: 6%;
  top: 7%;
  border-radius: 54% 54% 42% 42%;
  background: linear-gradient(90deg,#342f62,#111126 50%,#43221d);
  box-shadow: 0 0 2px #e5d7ff;
  transform: translateZ(-2px);
}
.film-reveal {
  position: relative;
  z-index: 2;
  margin-top: -10svh;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 10svh clamp(22px, 7vw, 112px);
  pointer-events: none;
}
.film-copy { max-width: min(52%, 590px); opacity: var(--copy-opacity, 0); pointer-events: auto; }
.film-copy:has(:focus-visible) { opacity: 1; }
.film-copy h2 { color: inherit; font-size: clamp(2.55rem, 6vw, 6.5rem); margin: 0 0 1.2rem; }
.film-copy p { max-width: 36ch; font-size: clamp(1rem, 1.7vw, 1.3rem); margin-bottom: 1.4rem; }
.film-paused .film-particles { animation-play-state: paused; }
.film-paused .film-camera, .film-paused .film-artifact { transition: none; }
@media (max-width: 700px) {
  .film-title { font-size: clamp(3.3rem, 14vw, 6rem); }
  .film-opening { bottom: 15%; }
  .film-artifact { transform: translate3d(0,var(--artifact-y, 0),var(--artifact-z, 0)) rotateX(var(--pitch, 0deg)) rotateY(var(--yaw, 0deg)); }
  [data-film="magic"] .film-pack, .film-relic { width: min(48vw, 245px); }
  .film-reveal { align-items: end; padding-bottom: 11svh; }
  .film-copy { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .film-screen, .film-particles { animation: none; }
  .film-camera, .film-artifact { transition: none; }
}

.film-relic { position: relative; }
.film-relic .film-compass-north, .film-relic .film-compass-south {
  position: absolute;
  font: 500 clamp(.7rem, 2.3vw, 1.65rem) var(--sans);
  text-shadow: 0 1px 6px #060e1b;
}
.film-compass-north { top: 12%; }
.film-compass-south { bottom: 12%; }
.film-relic .film-compass-needle {
  width: 19%;
  height: 62%;
  background: linear-gradient(#ffe1a1 0 50%,#b66a35 50% 100%);
  clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%);
  transform: translateZ(23px) rotate(var(--bearing, 26deg));
  transition: transform .35s ease-out;
}
.film-paused .film-compass-needle { transition: none; }
.film-advance, .film-products { text-decoration-line: underline; }
@media (max-width: 700px) {
  .film-back, .film-motion { font-size: .78rem; padding: .5rem .65rem; }
  .film-reveal { padding-bottom: 17svh; }
}
.limited-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.limited-grid figure { margin: 0; cursor: default; }
.limited-grid figure .limited-card-media {
  background: #eae5db;
  aspect-ratio: 1.28;
  border: 0;
  position: relative;
  overflow: hidden;
}
.limited-grid figure .limited-card-media img {
  position: relative;
  width: 100%;
  height: clamp(9rem, 16vw, 14rem);
  filter: drop-shadow(0 8px 6px #25201532);
}
.limited-grid figure .limited-card-name { font-size: clamp(1.05rem,1.7vw,1.4rem); }
.limited-feature { grid-column: 1 / -1; }
.limited-feature .limited-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff4e6;
  background: #101725;
}
.limited-feature .limited-film-cover {
  border: 0;
  aspect-ratio: auto;
  min-height: clamp(19rem, 42vw, 35rem);
  background: linear-gradient(90deg,#080815e6 0%,#08081555 50%,transparent 75%),
              url('img/limited/magic-cinema.webp') 50% 47% / cover;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: clamp(1.25rem,7vw,7rem);
}
.limited-feature .limited-film-cover img {
  width: clamp(6rem, 22vw, 16rem);
  height: auto;
  object-fit: contain;
  filter: brightness(.93) saturate(.93) drop-shadow(0 12px 16px #05070db3);
}
.limited-film-caption { position: absolute; inset: auto 34% 15% clamp(1.25rem,5vw,5rem); }
.limited-film-caption .limited-card-name {
  font: 650 clamp(2.35rem, 6.3vw, 6rem)/.98 var(--sans);
  letter-spacing: -.045em;
  padding: 0;
}
.limited-film-caption em { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.limited-film-cta { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.3rem; font-size: .94rem; border-bottom: 1px solid #d9b88e; padding-bottom: .35rem; }
.limited-film-cta::before { content: ''; border: .34rem solid transparent; border-left-color: currentColor; border-right-width: 0; }
.film-vault, .film-vault-video { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-film="magic"] .film-vault {
  background: url('img/limited/magic-vault.webp') center / cover;
  opacity: var(--cut,0);
  transform: scale(calc(1.03 + var(--travel,0) * .12));
}
.film-vault-video { object-fit: cover; }
.film-act { color: #f0c994; font-size: .91rem; font-weight: 600; margin: 0 0 1.1rem; }
.film-act:empty { display: none; }
.film-formats { padding-block: clamp(3rem, 8vw, 8rem); }
.film-formats h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin-bottom: 1.3rem; }
.film-formats img { width: 100%; height: auto; border-radius: 12px; }

@media (max-width: 760px) {
  .limited-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .limited-grid figure .limited-card-media img { height: clamp(6rem, 28vw, 11rem); }
}


/* Keep the surrounding controls quiet while the product is in frame. */
[data-film="magic"] {
  --light: #f6f0e7;
  --film-gutter: clamp(24px, 7vw, 112px);
  --vault-position: 50%;
}
[data-film="magic"] .film-particles,
[data-film="magic"] .film-pack-side,
.limited-film-page:has([data-film="magic"]) .help-robot[data-peeking]::before { display: none; }
[data-film="magic"] :is(.film-back, .film-motion) {
  top: 72px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #141414ef;
  border: 1px solid #ffffff29;
  border-radius: 6px;
}
[data-film="magic"] .film-motion[hidden] { display: none; }
[data-film="magic"] .film-back { left: var(--film-gutter); }
[data-film="magic"] .film-motion { right: var(--film-gutter); }
[data-film="magic"] .film-opening { inset-inline: var(--film-gutter); }
[data-film="magic"] .film-act { color: #ded2bc; font: 600 .875rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: 16px; }
[data-film="magic"] .film-copy h2 { font-size: clamp(2.35rem, 5.1vw, 4.75rem); }
[data-film="magic"] .film-copy p { margin-bottom: 20px; }
[data-film="magic"] .film-title:focus:not(:focus-visible),
[data-film="magic"] .film-copy h2:focus:not(:focus-visible) { outline: none; }
[data-film="magic"] .film-pack { width: min(21vw, 300px); }
[data-film="magic"] .film-pack img {
  transform: translateZ(14px);
  filter: brightness(.93) saturate(.94);
}
[data-film="magic"] .film-pack::after {
  content: "";
  position: absolute;
  width: 76%;
  height: 6%;
  left: 12%;
  bottom: -2%;
  background: #12100b;
  border-radius: 50%;
  filter: blur(9px);
  opacity: var(--pack-contact, 0);
}
[data-film="magic"] .film-vault { background-position: var(--vault-position) center; }
[data-film="magic"] .film-vault-video { object-position: var(--vault-position) center; }
@media (max-width: 700px) {
  [data-film="magic"] { --vault-position: 77%; }
  [data-film="magic"] .film-pack { width: min(39vw, 184px); }
  [data-film="magic"] .film-reveal { padding-inline: var(--film-gutter); }
  [data-film="magic"] .film-copy { width: min(100%, 35ch); }
  [data-film="magic"] .film-pack::after { opacity: 0; }
}
