.experience {
  position: relative;
  isolation: isolate;
  background: #09090c;
}

.experience-world {
  position: sticky;
  z-index: -1;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.world-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 59%, #252327, #141217 43%, #09090c 80%);
}

.world-photo {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100svh * 1.5));
  aspect-ratio: 3/2;
  transform: translate(-50%, -50%) translateY(var(--photo-y, 0px))
    scale(var(--photo-scale, 1));
  opacity: var(--photo-opacity, 1);
  mask-image: radial-gradient(ellipse 69% 64% at 50% 55%, #000 60%, transparent), linear-gradient(#000 70%, transparent);
  mask-composite: intersect;
}

.world-photo img { width: 100%; height: 100%; object-fit: cover; }
.motion-experience .world-photo { display: block; }

.motion-experience {
  scroll-padding-top: 0;
}
[data-beat] { scroll-snap-align: start; scroll-snap-stop: always; }
.site-footer { scroll-snap-align: end; }
@media (hover: none) and (pointer: coarse) {
  .motion-experience { scroll-snap-type: y mandatory; }
}
@media (hover: none) and (pointer: coarse) and (min-height: 650px) {
  .motion-experience .guide-steps li:not(:last-child) {
    min-height: calc(var(--stage-height) * .91);
  }
  .motion-experience .guide-steps li {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: calc(var(--frame-top) - 1px);
    visibility: visible;
    color: transparent;
  }
  .motion-experience .guide-steps li > * { visibility: hidden; }
}
.experience .hero { background: none; }
.motion-experience :is(.hero,.hero-stage) { min-height: 100svh; }
.motion-experience .hero-art {
  translate: none;
  scale: none;
  transform: translate(-50%, -50%) translateY(var(--hero-y, 0px))
    scale(var(--photo-scale, 1));
  transform-origin: center;
}
.motion-experience .hero-back { opacity: 0; }
.motion-experience .hero-front { opacity: var(--front-opacity, 1); }
.motion-experience .hero-type { opacity: var(--title-opacity, 1); }
.motion-experience .hero-vignette {
  background: linear-gradient(0deg,#09090cd4, transparent 24%), linear-gradient(180deg,#09090c75,transparent 18%);
  opacity: var(--vignette-opacity, 1);
}
.motion-experience .hero-footer { opacity: var(--footer-opacity, 1); }
.motion-experience .hero:not(:focus-within) .hero-footer { pointer-events: var(--footer-pointer, auto); }
.motion-experience .hero-footer:focus-within { opacity: 1; }
.hero-footer { align-items: center; }

.experience :is(.chapter,.outcome) { background: none; border: 0; }
.experience :is(.product-intro,.vin,.studio,.review,.outcome) {
  min-height: 100svh;
  display: grid;
  align-content: center;
}
.experience :is(.vin,.frame,.studio,.review,.outcome) { border-top: 1px solid #f7e8e316; }
.experience .product-intro {
  color: var(--paper);
  text-align: center;
  justify-items: center;
  align-content: center;
}
.product-intro h2 { font-size: clamp(37px, 5.7vw, 78px); }
.experience .product-intro p:not(.eyebrow) { color: var(--muted); }
.experience .product-intro .eyebrow { color: #e9d3ce; }
.logo-object {
  --cube-size: clamp(127px, 24vmin, 230px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: calc(var(--cube-size) * 1.68);
  height: calc(var(--cube-size) * 1.37);
  perspective: 900px;
}
.logo-object::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18% 5% -8%;
  background: radial-gradient(ellipse at 51% 78%, #a832222c, transparent 70%);
}
.logo-object::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 75%;
  height: 15%;
  bottom: 3%;
  background: radial-gradient(ellipse, #000b 0%, transparent 70%);
}
.logo-cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform: translateZ(-25px) rotateX(var(--cube-pitch, 15deg)) rotateY(var(--cube-yaw, -28deg));
  transform-style: preserve-3d;
  transition: transform 440ms cubic-bezier(.2,.68,.26,1);
}
.logo-face {
  position: absolute;
  inset: 0;
  border: 1px solid #967c7b7d;
  background: linear-gradient(150deg, #363039, #15131a 65%);
  backface-visibility: hidden;
}
.logo-face-front {
  display: grid;
  place-items: center;
  border-color: #bc969083;
  background: radial-gradient(ellipse at 42% 26%, #44363d, #201b23 74%);
  box-shadow: inset 0 0 0 5px #51434f33;
  transform: translateZ(calc(var(--cube-size) / 2));
}
.logo-face-front img { width: 58%; height: auto; filter: drop-shadow(0 8px 15px #1005079e); }
.logo-face-left { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.logo-face-right {
  background: linear-gradient(110deg, #633029, #25212a 48%, #18131a);
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}
.logo-face-top {
  background: linear-gradient(35deg, #2a2530, #69443f);
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}
.logo-face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.logo-face-back { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.experience .vin { background: linear-gradient(180deg, transparent, #21181a65); }
.experience .studio { background: radial-gradient(ellipse at 50% 36%, #41262b42, #131117d9); }
.experience .review { background: radial-gradient(ellipse at 50% 72%, #31292750, #101014d9); }

.experience .chapter-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 26px; }
.experience .chapter-copy { justify-items: center; text-align: center; }
.experience h2 { text-wrap: balance; }
.vin-visual { width: min(100%, 380px); min-height: unset; padding: 0; perspective: 900px; }
.vin-panel {
  justify-self: center;
  text-align: left;
  background: linear-gradient(155deg, #282127f2, #100e13f7 62%);
  border-color: #8a646580;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 0 -3px #271d22, 0 30px 80px #0009;
  transform: translate3d(0,var(--vin-y,0),0) rotateX(var(--vin-pitch,0deg)) rotateY(var(--vin-yaw,0deg));
}
.vin .chapter-grid { min-height: 62svh; align-content: center; }
.frame-intro { min-height: max(520px, calc(100svh - 2 * clamp(68px,11vh,135px))); align-content: center; }
.shot-list { max-width: 420px; text-align: left; }
.shot-list > p { color: var(--muted); margin-top: 10px; font-size: 12px; }
.capture-tip { border-left: 2px solid #e52b25; padding: 2px 12px; }
.capture-tip strong { color: #f7e2dd; font-weight: 650; }

.experience .frame-stage-inner { grid-template-columns: 1fr; max-width: 680px; row-gap: 10px; }
.experience .guide-display { grid-column: 1; grid-row: 1; text-align: center; margin: 0 auto; width: 100%; }
.experience .guide-display .eyebrow { justify-content: center; }
.experience .guide-display > p:last-child { margin-inline: auto; min-height: 3em; max-width: 45ch; }
.experience .guide-display h3 { font-size: clamp(30px, 4.7vw, 66px); line-height: 1; margin: 8px 0; }
.experience .phone-depth { grid-area: 2 / 1; width: min(100%, 430px); }
.experience .guide-controls { grid-area: 3 / 1; margin-inline: auto; }
.experience .frame-stage { background: none; border: 0; }
.experience .phone { transition: none; }
.studio .chapter-copy { justify-self: center; }
.studio-pair figure { background: #101014; border-color: #51464b; }
.studio .studio-pair {
  grid-template-columns: 1fr;
  margin: 12px auto 0;
  width: min(100%, 760px);
}
.studio .studio-pair figure { position: relative; border-radius: 15px; }
.studio .studio-pair figcaption { position: absolute; left: 12px; bottom: 10px; background: #151215d9; border-radius: 5px; }
.studio-wall { position: relative; container-type: inline-size; }
.studio-sign {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e8cfc4;
  font: italic 700 clamp(15px, 8.6cqw, 68px)/1 "Source Serif 4", Georgia, serif;
  letter-spacing: -.035em;
  text-shadow: 0 .03em .01em #755951, 0 .08em .1em #08080a, 0 0 .36em #f6a58340;
  pointer-events: none;
}
.studio-timeline { display: none; }
@media (min-height: 520px) {
  .motion-experience .studio {
    --studio-step: 100svh;
    grid-template-areas: "comparison";
    align-content: start;
    align-items: start;
    padding-block: 0;
  }
  .motion-experience .studio-inner {
    grid-area: comparison;
    position: sticky;
    top: 0;
    margin-block: 0;
    min-height: 100svh;
    align-content: start;
    gap: clamp(8px, 1.65vh, 16px);
    padding-block: 24px;
  }
  .motion-experience .studio .studio-pair {
    width: min(100%, 710px, max(150px, calc((100svh - 325px) * 1.5)));
    margin-top: 0;
  }
  .motion-experience .studio-pair figure { grid-area: 1 / 1; }
  .motion-experience .studio-pair figure + figure { opacity: var(--studio-mix, 0); }
  .motion-experience .studio-pair[data-photo="studio"] figure:first-child figcaption,
  .motion-experience .studio-pair[data-photo="capture"] figure + figure figcaption { visibility: hidden; }
  .motion-experience .studio-timeline {
    display: block;
    grid-area: comparison;
    min-height: calc(var(--studio-step) + 100svh + 2px);
    padding-top: var(--studio-step);
    pointer-events: none;
  }
  .motion-experience .studio-reveal {
    display: block;
    height: 1px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
.compare-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.compare-controls button {
  border: 1px solid #625155;
  border-radius: 100px;
  padding: 8px 14px;
  color: var(--paper);
  background: #201a20;
  cursor: pointer;
  font-size: 13px;
}
.compare-controls button[aria-pressed="true"] { background: #eee3dd; color: #171318; border-color: #eee3dd; }
.studio-note { text-align: center; }
.experience .review-card { width: min(100%, 490px); text-align: left; }
.experience #preview { background: linear-gradient(180deg, #0a090c00, #101014); }
.information {
  position: relative;
  display: block;
  padding: 0;
  background: #eee9e3;
}
.site-footer { position: relative; }
html:has(.information :target) { scroll-behavior: auto; }
.information article {
  padding: clamp(32px, 6vw, 80px) clamp(20px, 7vw, 112px);
  border: 0;
}
.information article + article {
  min-height: min(46svh, 480px);
  border-top: 1px solid #c9beb9;
  background: #e4dcd6;
}
.information article > div { width: min(100%, 800px); margin-inline: auto; }
.information h2 { font-size: clamp(30px, 5.5vw, 64px); }
.information article > div > p:not(.information-label,.documentation-note) { font-size: clamp(16px, 1.8vw, 20px); }
.information .information-label {
  margin-bottom: 8px;
  color: #783a33;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.documentation-steps {
  margin: 24px 0 20px;
  padding: 0 0 0 1.7em;
  border-block: 1px solid #c9beb9;
}
.documentation-steps li { padding: 13px 4px; }
.documentation-steps li + li { border-top: 1px solid #c9beb9; }
.documentation-steps li::marker { color: #783a33; font-weight: 700; }
.documentation-steps h3 { margin: 0 0 2px; font-size: 16px; }
.information .documentation-steps a { margin: 0; text-decoration-thickness: 1px; }
.documentation-steps p, .information .documentation-note { font-size: 14px; }

@media (max-width: 760px) {
  .motion-experience .hero-stage { min-height: 100svh; background: none; }
  .motion-experience .hero-art, .world-photo { width: min(147vw,790px); top: 51%; }
  .world-photo { mask-image: radial-gradient(ellipse 76% 59% at 50% 55%, #000 58%, transparent), linear-gradient(#000 72%, transparent); }
  .hero-footer { flex-wrap: wrap; row-gap: 9px; }
  .experience .phone-depth { width: min(100%, 312px); }
  .experience .guide-display > p:last-child { min-height: 3em; }
  .experience .guide-display h3 { font-size: clamp(25px, 8.4vw, 43px); }
  .motion-experience .studio .chapter-copy > p:not(.eyebrow,.micro) { font-size: 14px; }
}

@media (max-height: 760px) {
  .experience .phone-depth { width: min(100%, 320px); }
}

@media (prefers-reduced-motion: reduce) {
  .experience-world { position: absolute; inset: 0 0 auto; height: 100%; margin: 0; }
  .logo-cube { transition: none; }
  .hero-art, .vin-panel, .phone { transform: none; }
}
