.product-story[hidden] { display: none !important; }
.product-story {
  --story-ink: #f5f5f7;
  --story-muted: #a1a1a6;
  --story-blue: #2997ff;
  overflow: clip;
  background: #000;
  color: var(--story-ink);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
.product-story * { box-sizing: border-box; }
.story-hero { position: relative; height: 170svh; background: #000; }
.story-hero__stage {
  --story-eyebrow-opacity: 1;
  --story-title-y: 0vh;
  --story-title-scale: 1;
  --story-title-opacity: .86;
  --story-device-x: 0vw;
  --story-device-y: 0vh;
  --story-device-scale: .94;
  --story-intro-opacity: 1;
  --story-intro-y: 0px;
  --story-link-opacity: 0;
  --story-link-y: 14px;
  --story-scroll-opacity: 1;
  position: sticky;
  top: 0;
  display: grid;
  min-height: min(620px, 100svh);
  height: 100svh;
  max-height: 1100px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.story-hero__eyebrow {
  position: absolute;
  z-index: 3;
  top: clamp(48px, 11vh, 118px);
  left: 50%;
  margin: 0;
  color: #dedee2;
  font-size: 14px;
  letter-spacing: .025em;
  opacity: var(--story-eyebrow-opacity);
  transform: translateX(-50%);
}
.story-hero__title {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: 120vw;
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, #f3f2ef 3%, #8b8987 32%, #dedbd4 48%, #575656 73%, #c7c4bf 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(104px, 20vw, 330px);
  font-weight: 650;
  letter-spacing: -.095em;
  line-height: .78;
  white-space: nowrap;
  opacity: var(--story-title-opacity);
  transform: translate3d(-50%, calc(-45% + var(--story-title-y)), 0) scale(var(--story-title-scale));
  user-select: none;
}
.story-hero__device {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 50%;
  width: min(66vw, 930px);
  height: min(68svh, 780px);
  object-fit: contain;
  filter: drop-shadow(0 24px 70px rgb(0 0 0 / 55%));
  transform: translate3d(calc(-50% + var(--story-device-x)), calc(-43% + var(--story-device-y)), 0) scale(var(--story-device-scale));
  transition: opacity .25s ease;
}
.story-hero__intro {
  position: absolute;
  z-index: 3;
  bottom: 20%;
  left: 50%;
  width: min(90%, 360px);
  margin: 0;
  color: #a1a1a6;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.45;
  text-align: center;
  opacity: var(--story-intro-opacity);
  transform: translate3d(-50%, var(--story-intro-y), 0);
}
.story-hero__link {
  position: absolute;
  z-index: 4;
  bottom: 10.5%;
  left: 50%;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  opacity: var(--story-link-opacity);
  transform: translate3d(-50%, var(--story-link-y), 0);
  transition: background-color 180ms ease;
}
.story-hero__link:hover { background: #147ce5; }
.story-hero__scroll {
  position: absolute;
  right: 5vw;
  bottom: 5.5%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #77777c;
  font-size: 10px;
  letter-spacing: .02em;
  opacity: var(--story-scroll-opacity);
}
.story-hero__scroll i { position: relative; width: 1px; height: 28px; overflow: hidden; background: #444448; }
.story-hero__scroll i::after { position: absolute; top: -14px; left: 0; width: 1px; height: 12px; background: #f5f5f7; content: ''; animation: story-scroll-cue 1.5s ease-in-out infinite; }
@keyframes story-scroll-cue { to { transform: translateY(44px); } }

.story-highlights { position: relative; height: 400svh; background: #101012; }
.story-highlights__sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: min(640px, 100svh);
  max-height: 1100px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 4vh, 42px);
  overflow: hidden;
  padding: clamp(42px, 7vh, 78px) 6vw clamp(32px, 5vh, 56px);
  background: #101012;
}
.story-highlights__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.story-highlights__head.is-visible { opacity: 1; transform: translateY(0); }
.story-highlights__head h2 { margin: 0; color: #f5f5f7; font-size: clamp(32px, 5.5vw, 70px); font-weight: 570; letter-spacing: -.06em; line-height: 1; }
.story-highlights__head a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; margin-bottom: 5px; color: var(--story-blue); font-size: 13px; text-decoration: none; }
.story-highlights__head a:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-rail-window { min-width: 0; overflow: visible; }
.story-rail { display: flex; width: max-content; height: 100%; gap: 22px; will-change: transform; }
.story-card {
  position: relative;
  display: flex;
  flex: 0 0 min(76vw, 1040px);
  height: 100%;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  background: #050506;
  opacity: .62;
  transform: scale(.975);
  transition: opacity .75s ease, transform .85s cubic-bezier(.2,.7,.2,1);
}
.story-card.is-visible { opacity: 1; transform: scale(1); }
.story-card__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .74; mix-blend-mode: screen; transform: scale(1.02); transition: transform 5s cubic-bezier(.2,.65,.25,1), opacity .5s ease; }
.story-card.is-visible .story-card__image { transform: scale(1.1); }
.story-card__image--chip { object-position: 70% 50%; opacity: .42; }
.story-card__image--titanium { object-position: 52% 52%; }
.story-card__image--camera { object-fit: cover; object-position: 18% 26%; transform: scale(1.42); }
.story-card.is-visible .story-card__image--camera { transform: scale(1.65); }
.story-card__image--action { object-fit: cover; object-position: 14% 60%; transform: scale(1.4); }
.story-card.is-visible .story-card__image--action { transform: scale(1.62); }
.story-card__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 83%) 0%, rgb(0 0 0 / 35%) 47%, rgb(0 0 0 / 4%) 100%), linear-gradient(0deg, rgb(0 0 0 / 22%), transparent 35%); }
.story-card__copy { width: min(43%, 420px); padding: clamp(26px, 4vw, 54px); opacity: 0; transform: translateY(18px); transition: opacity .7s ease .12s, transform .7s cubic-bezier(.2,.7,.2,1) .12s; }
.story-card.is-visible .story-card__copy { opacity: 1; transform: translateY(0); }
.story-card__number { display: block; margin-bottom: clamp(20px, 3vh, 34px); color: rgb(255 255 255 / 56%); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.story-card__copy h3 { margin: 0 0 10px; color: #f5f5f7; font-size: clamp(24px, 3vw, 42px); font-weight: 560; letter-spacing: -.04em; line-height: 1.08; }
.story-card__copy p { max-width: 300px; margin: 0; color: rgb(245 245 247 / 72%); font-size: clamp(13px, 1.2vw, 16px); line-height: 1.5; }
.story-chip { position: absolute; top: 50%; left: 64%; display: flex; width: clamp(118px, 17vw, 220px); aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 22%); background: linear-gradient(145deg, rgb(223 222 217 / 84%), rgb(102 103 103 / 78%) 42%, rgb(22 23 24 / 92%)); box-shadow: 0 16px 80px rgb(255 255 255 / 14%), inset 0 0 25px rgb(0 0 0 / 30%); color: #111; transform: translate(-50%, -50%) rotateX(8deg) rotateY(-10deg); }
.story-chip::before, .story-chip::after { position: absolute; inset: 8px; border: 1px solid rgb(255 255 255 / 25%); content: ''; }
.story-chip::after { inset: -7px 10px; border: 0; border-inline: 1px solid rgb(255 255 255 / 42%); }
.story-chip span { position: relative; z-index: 1; font-size: clamp(20px, 3vw, 34px); font-weight: 650; letter-spacing: -.065em; }
.story-chip strong { position: relative; z-index: 1; font-size: 12px; font-weight: 550; letter-spacing: .2em; }
.story-pagination { display: flex; justify-content: center; gap: 10px; }
.story-pagination button { display: grid; width: 30px; height: 26px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.story-pagination button span { display: block; width: 7px; height: 7px; border-radius: 99px; background: #66666c; transition: width .28s ease, background-color .28s ease; }
.story-pagination button[aria-pressed="true"] span { width: 26px; background: #f5f5f7; }
.story-pagination button:focus-visible, .story-swatches button:focus-visible { outline: 2px solid var(--story-blue); outline-offset: 4px; }

.story-close-look { min-height: 100svh; display: grid; place-items: center; padding: clamp(80px, 13vh, 150px) 24px; background: #000; }
.story-close-look__inner { width: min(100%, 1180px); text-align: center; opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.story-close-look__inner.is-visible { opacity: 1; transform: translateY(0); }
.story-close-look__eyebrow { margin: 0 0 13px; color: var(--story-muted); font-size: 13px; }
.story-close-look h2 { margin: 0; color: #f5f5f7; font-size: clamp(42px, 7.3vw, 90px); font-weight: 570; letter-spacing: -.07em; line-height: 1; }
.story-close-look__product { display: grid; height: clamp(340px, 62vh, 690px); place-items: center; overflow: hidden; }
.story-close-look__product img { width: min(57vw, 620px); height: 100%; object-fit: contain; filter: drop-shadow(0 15px 55px rgb(255 255 255 / 7%)); transition: opacity .22s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.story-close-look__product img:hover { transform: scale(1.035); }
.story-close-look__controls { display: grid; justify-items: center; gap: 12px; }
.story-close-look__controls p { min-height: 18px; margin: 0; color: #d2d2d7; font-size: 12px; }
.story-swatches { display: flex; align-items: center; justify-content: center; gap: 10px; }
.story-swatches button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1.5px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.story-swatches button[aria-pressed="true"] { border-color: var(--story-blue); }
.story-swatches button span { display: block; width: 24px; height: 24px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: var(--story-swatch); }

@media (max-width: 760px) {
  .story-hero { height: 145svh; }
  .story-hero__stage { min-height: 560px; }
  .story-hero__eyebrow { top: 12vh; font-size: 12px; }
  .story-hero__title { top: 44%; font-size: clamp(86px, 24vw, 170px); }
  .story-hero__device { top: 47%; width: min(92vw, 600px); height: 58svh; transform: translate3d(-50%, -38%, 0) scale(1); }
  .story-hero__intro { bottom: 17%; font-size: 14px; }
  .story-hero__link { bottom: 9%; opacity: 1; transform: translateX(-50%); }
  .story-hero__scroll { right: 20px; bottom: 4%; font-size: 9px; }
  .story-highlights { height: auto; }
  .story-highlights__sticky { position: relative; top: auto; height: auto; min-height: 0; grid-template-rows: auto auto auto; gap: 24px; overflow: visible; padding: 70px 0 42px; }
  .story-highlights__head { align-items: end; padding-inline: 22px; }
  .story-highlights__head h2 { max-width: 65%; font-size: clamp(34px, 9vw, 52px); }
  .story-highlights__head a { max-width: 36%; font-size: 11px; line-height: 1.35; }
  .story-rail-window { overflow: hidden; padding-left: 22px; }
  .story-rail { width: auto; height: auto; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; padding-right: 22px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .story-rail::-webkit-scrollbar { display: none; }
  .story-card { flex-basis: min(86vw, 440px); height: min(63svh, 530px); min-height: 390px; border-radius: 13px; opacity: 1; transform: none; scroll-snap-align: start; }
  .story-card__copy { width: 72%; padding: 25px; opacity: 1; transform: none; }
  .story-card__number { margin-bottom: 20px; }
  .story-card__copy h3 { font-size: 29px; }
  .story-card__copy p { font-size: 13px; }
  .story-chip { top: 59%; left: 61%; width: 125px; }
  .story-pagination { gap: 7px; }
  .story-close-look { min-height: 88svh; padding: 90px 20px 100px; }
  .story-close-look h2 { font-size: clamp(42px, 10vw, 62px); }
  .story-close-look__product { height: 54svh; min-height: 330px; }
  .story-close-look__product img { width: min(86vw, 480px); }
}
@media (max-width: 420px) {
  .story-hero__title { font-size: 23vw; }
  .story-hero__device { width: 108vw; }
  .story-highlights__head { align-items: start; flex-direction: column; gap: 12px; }
  .story-highlights__head h2, .story-highlights__head a { max-width: none; }
  .story-card { flex-basis: 88vw; min-height: 365px; }
  .story-card__copy { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  .story-hero__scroll i::after { animation: none; }
  .story-highlights__head, .story-card, .story-card__image, .story-card__copy, .story-close-look__inner, .story-close-look__product img, .story-pagination button span { transition-duration: .01ms !important; }
  .story-hero__link { opacity: 1; transform: translateX(-50%); }
}
