/* Preserve the approved composition. Let text and controls fit independently of the motion layers. */
:root {
  color-scheme: dark;
}
:focus-visible {
  outline: 2px solid #e4c2f1;
  outline-offset: 4px;
}
.instrument :focus-visible {
  outline-color: #34173c;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: #f4f0eb;
  color: #34173c;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
main:focus,
section[tabindex="-1"]:focus {
  outline: 0;
}
header nav a,
.header-actions a,
.menu-trigger,
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.menu-trigger {
  min-width: 44px;
  justify-content: center;
}
header a:has(.logo) {
  width: max-content;
}
.hero .label {
  z-index: 5;
}
.hero .model,
.hero .edge img,
.hero .edge2 img,
.hero .left,
.hero .hero-sign,
.lens-scene,
.instrument .display .product,
.material .full,
.pack-wrap .emerge {
  will-change: auto;
}
body.motion-ready .hero .model {
  animation: portrait-reveal 0.85s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
@keyframes portrait-reveal {
  from {
    clip-path: polygon(8% 4%, 100% 0, 93% 96%, 0 100%);
  }
}
body.motion-ready .hero .edge2 {
  animation-delay: 0.07s;
}
.hero .hero-sign {
  transition: rotate 0.24s ease-out;
}
/* The next stage rises over the final lens close-up. Both surfaces stay visible during the handoff. */
.lens-sequence {
  height: 205svh;
}
.lens-stage {
  min-height: 0;
}
.lens-scene {
  transform: translate3d(var(--lens-tx, 0px), 0, 0) scale(var(--lens-zoom, 1));
}
.lens-wash {
  background: #4e3354;
}
.instrument {
  margin-top: -28svh;
  z-index: 1;
}
.instrument .stage {
  min-height: 0;
  grid-template-rows: clamp(52px, 8.2svh, 74px) minmax(0, 1fr) clamp(
      65px,
      11svh,
      100px
    );
}
.instrument .display {
  min-width: 0;
  min-height: 0;
}
.instrument .display .product,
.instrument .display .detailphoto {
  grid-area: 1/1;
  display: block;
  width: 98%;
  height: 78%;
  max-height: none;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}
.instrument .display .product {
  height: auto;
  max-height: 78%;
}
.instrument .display:not([data-view]) .product,
.instrument .display[data-view="front"] .product,
.instrument .display[data-view="side"] .side-view,
.instrument .display[data-view="detail"] .detail-view {
  visibility: visible;
  opacity: 1;
}
.instrument .orbit,
.material .split img {
  transition: none;
}
.instrument .progress i {
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--frame-progress, 0.2));
}
.archive .panel {
  padding: 0;
  color: #fff;
  text-align: left;
  border-radius: 0;
  min-width: 0;
}
.archive .strip {
  grid-template-columns: var(--archive-cols, 25fr 46fr 29fr);
  transition: grid-template-columns 0.55s cubic-bezier(0.22, 0.7, 0.24, 1);
}
.archive .strip[data-active="0"] {
  --archive-cols: 32fr 41fr 27fr;
}
.archive .strip[data-active="2"] {
  --archive-cols: 23fr 41fr 36fr;
}
.archive .panel img {
  object-position: 50% 50%;
  transform: scale(1.035) translateY(var(--archive-pan, 0%));
}
.archive .panel:hover img {
  transform: scale(1.06) translateY(var(--archive-pan, 0%));
}
.archive .panel:focus-visible {
  outline-offset: -4px;
  outline-color: #fff;
}
.material .title {
  margin: 0;
}
.material .full,
.material .split {
  min-width: 0;
}
.material .split img {
  height: 100%;
}
.material .hotspot[aria-expanded="true"]:after {
  animation: none;
}
.material .bubble {
  pointer-events: none;
}
.pack-wrap .emerge {
  opacity: var(--pack-opacity, 0);
}
.end .text {
  min-width: 0;
}
dialog.menu-panel {
  border: none;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  overflow: auto;
  box-sizing: border-box;
}
dialog.menu-panel:not([open]) {
  display: none;
}
dialog::backdrop {
  background: #34173c99;
}
.menu-panel nav {
  margin: auto 0;
  flex-shrink: 0;
}
.menu-panel nav a {
  font-size: min(11vw, 14svh, 165px);
}
.footer {
  position: relative;
  background: #161219;
}
@media (min-width: 781px) and (max-width: 1100px) {
  .instrument .rightside {
    padding-left: 10px;
  }
  .archive .strip {
    min-height: 480px;
  }
  .archive .panel:nth-child(2) {
    height: clamp(450px, 50vw, 630px);
  }
  .archive .panel:nth-child(1),
  .archive .panel:nth-child(3) {
    height: clamp(320px, 36vw, 440px);
  }
}
@media (max-width: 780px) {
  .hero {
    min-height: min(730px, 100svh);
  }
  .hero .model {
    height: max(260px, calc(100% - 305px));
  }
  .hero .cross {
    top: 72px;
  }
  .instrument .stage {
    grid-template-rows: 54px 124px minmax(0, 1fr) 80px;
  }
  .instrument .display .product {
    width: 102%;
    max-width: none;
  }
  .instrument .rightside {
    display: flex;
    position: absolute;
    bottom: 96px;
    left: 5vw;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  .instrument .rightside .sample {
    width: 15px;
    height: 15px;
    margin: 0;
  }
  .instrument .rightside p {
    font-size: 11px;
    margin: 0;
  }
  .instrument .rightside p br {
    display: none;
  }
  .instrument .rightside p br:after {
    content: " ";
  }
  .instrument .rightside .mono {
    display: none;
  }
  .views button {
    min-height: 32px;
    padding: 6px 2px;
  }
  .instrument .bottomline {
    gap: 10px;
  }
  .instrument .progress {
    flex: 1;
    max-width: 20%;
  }
  .lens-sequence {
    height: 171svh;
  }
  .instrument {
    margin-top: -15svh;
  }
  .archive .strip {
    --archive-cols: 24fr 52fr 24fr;
  }
  .archive .strip[data-active="0"] {
    --archive-cols: 33fr 45fr 22fr;
  }
  .archive .strip[data-active="2"] {
    --archive-cols: 22fr 45fr 33fr;
  }
  .archive .panel:nth-child(1),
  .archive .panel:nth-child(3) {
    height: clamp(215px, 51vw, 330px);
  }
  .archive .panel:nth-child(2) {
    height: clamp(320px, 76vw, 490px);
  }
  .material .full {
    height: clamp(405px, 105vw, 570px);
  }
  .material .title {
    top: clamp(320px, 84vw, 460px);
  }
  .material .split img {
    height: clamp(165px, 51vw, 280px);
  }
  .end .text h2 {
    font-size: clamp(65px, 19vw, 108px);
  }
  .end .text {
    gap: 36px;
  }
  .menu-panel nav a {
    font-size: clamp(56px, 15vw, 105px);
  }
  .footer {
    padding: 18px 5vw;
    row-gap: 4px;
  }
  .footer nav {
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
  }
}
@media (max-height: 560px) and (min-width: 560px) {
  .hero {
    min-height: 610px;
  }
  .instrument .stage {
    height: max(430px, 100svh);
  }
  .menu-panel {
    padding: 36px 9vw;
  }
  .menu-panel nav {
    padding-top: 12px;
    gap: 0;
  }
  .menu-panel nav a {
    font-size: min(9vw, 12vh);
    padding: 6px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .lens-sequence {
    height: auto;
  }
  .lens-stage {
    height: 60svh;
    min-height: 300px;
  }
  .instrument {
    min-height: 0;
    margin-top: 0;
  }
  .instrument .stage {
    height: clamp(570px, 85svh, 900px);
  }
  .archive .panel img {
    transform: none;
  }
}
/* Layer coordinates are measured on the original 1080 × 1440 Photoshop artboard. */
.pack-wrap {
  container-type: size;
}
.pack-art {
  position: absolute;
  width: max(100cqw, 75cqh);
  aspect-ratio: 3/4;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -40%) scale(var(--pack-scale, 1));
}
.pack-art img {
  position: absolute;
  height: auto;
}
.pack-base {
  inset: 0;
  width: 100%;
}
.pack-upper {
  left: 11.66667%;
  top: 17.63889%;
  width: 41.2037%;
  transform-origin: 70% 85%;
  transform: translateY(var(--emerge-y, 0%)) rotate(var(--emerge-angle, 0deg));
  clip-path: inset(0 0 var(--emerge-mask, 0%) 0);
}
.pack-lower {
  left: 50%;
  top: 69.86111%;
  width: 37.59259%;
  transform: translateY(var(--rest-y, 0%));
}
@media (prefers-reduced-motion: reduce) {
  .pack-art {
    transform: translate(-50%, -40%);
  }
  .pack-upper,
  .pack-lower {
    transform: none;
    clip-path: none;
  }
}
dialog.menu-panel[open],
dialog.menu-panel[open] :is(a, button) {
  visibility: visible;
}
dialog.menu-panel {
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

/* Volume 01 finishing pass */
.hero-sign {
  aspect-ratio: 1;
  pointer-events: none;
}
.chrome-base {
  height: 100%;
  width: 100%;
}
.hero-sign::after {
  content: "";
  position: absolute;
  inset: 0;
  mask: url("../assets/chrome-light.webp") center/contain no-repeat;
  background: linear-gradient(
      115deg,
      transparent 38%,
      #f4f0ebbb 48%,
      transparent 56%
    )
    var(--light-x, 50%) 50% / 270% 100%;
  mix-blend-mode: screen;
}
.first-line {
  display: block;
  font-weight: inherit;
}
.motion-ready .hero h1 {
  animation: none;
}
.motion-ready .hero h1 :is(b, span) {
  animation: headline-in 0.78s cubic-bezier(0.2, 0.72, 0.18, 1) backwards;
}
.motion-ready .hero h1 span {
  animation-delay: 0.11s;
}
@keyframes headline-in {
  from {
    opacity: 0.4;
    translate: 0 0.13em;
    clip-path: inset(0 0 75% 0);
  }
  to {
    clip-path: inset(-20% -30% -20% -10%);
  }
}
.ruler {
  position: relative;
}
.ruler:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(var(--ruler-fill, 0.08));
  opacity: 0.52;
}
.lens-stage {
  background: #34173c;
}
.lens-scene {
  transform-origin: 25.8% 18.4%;
  transform: translate3d(var(--lens-tx, 0px), var(--lens-ty, 0px), 0)
    scale(var(--lens-zoom, 1));
}
.lens-target {
  left: 25.8%;
  top: 18.4%;
}
.lens-scene > img.lens-interior {
  inset: auto;
  left: 5.5%;
  top: -14.05%;
  width: 39%;
  height: auto;
  filter: grayscale(0.12) sepia(0.1) hue-rotate(235deg);
  z-index: 0;
  opacity: var(--enter-glass, 0);
}
.glass .rim-reflection {
  mask-image: radial-gradient(
    ellipse at 52% 46%,
    transparent 46%,
    #000 69%,
    #000 94%
  );
  scale: 1.035;
  filter: contrast(1.1) saturate(1.18);
  opacity: var(--rim-depth, 0);
  border-radius: 45%;
}
.glass:after {
  content: "";
  position: absolute;
  top: 8%;
  left: 6.5%;
  width: 36%;
  height: 81%;
  border-radius: 40% 46% 48% 42%;
  box-shadow:
    inset 1.4px 1px 1.5px #e4c2f1aa,
    inset -1.8px -1px 1.8px #97b3b986;
  opacity: var(--rim-depth, 0);
}
.right-glass:after {
  left: 58%;
}
.instrument:before {
  content: "";
  pointer-events: none;
  position: absolute;
  height: clamp(12px, 3vh, 32px);
  inset: auto 0 100%;
  background: linear-gradient(transparent, #d8d4cd);
}
.instrument .display .detailphoto {
  mix-blend-mode: normal;
  filter: drop-shadow(0 12px 10px #241a222d);
  transform: translateY(7px) scale(0.966);
  transition:
    opacity 0.48s ease,
    transform 0.6s cubic-bezier(0.22, 0.7, 0.25, 1),
    visibility 0.48s;
}
.instrument .display[data-view="side"] .side-view,
.instrument .display[data-view="detail"] .detail-view {
  transform: translateY(0) scale(var(--detail-scale, 1));
}
.instrument .display .product {
  filter: drop-shadow(0 12px 10px #241a222b);
  transition:
    opacity 0.46s ease,
    visibility 0.46s;
}
.instrument .display:before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 23%;
  right: 23%;
  height: 4%;
  top: 68%;
  background: radial-gradient(ellipse, #392c3726, transparent 69%);
  transform: scaleX(var(--product-scale, 1));
}
.instrument .orbit {
  opacity: 0.45;
}
.archive .panel:nth-child(2) img {
  transform: scale(1.045) translateY(var(--archive-counterpan, 0%));
}
.archive .panel.active img {
  scale: 1.023;
}
.archive .panel img {
  transition:
    scale 0.55s ease,
    transform 0.38s ease;
}
.material .full {
  transform: perspective(1500px) translateY(var(--macro-y, 0px))
    rotateY(var(--macro-angle, 0deg)) scale(var(--macro-zoom, 1));
}
.material .bubble {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition:
    opacity 0.23s,
    transform 0.23s,
    visibility 0.23s;
}
.material .bubble.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.material .hotspot {
  transition:
    rotate 0.25s,
    box-shadow 0.25s;
}
.material .hotspot[aria-expanded="true"] {
  rotate: 45deg;
  box-shadow: 0 0 0 5px #e8d4ef28;
}
.end .text h2 {
  transform: translateY(var(--pack-title-y, 0));
}
.final-wordmark {
  position: relative;
  width: 100%;
  max-width: 680px;
  transform-origin: left center;
  transform: scale(var(--mark-size, 1));
  clip-path: inset(0 var(--footer-mask, 0%) 0 0);
}
.end .text .final-wordmark .logo {
  height: auto;
  width: 100%;
  object-fit: contain;
  clip-path: none;
}
.final-wordmark:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  mask: url("../assets/wordmark.png") left center / 100% 100% no-repeat;
  background: linear-gradient(
      108deg,
      transparent 38%,
      #f4f0ebb3 49%,
      transparent 60%
    )
    var(--sweep, -35%) center/280% 100%;
}
.pack-upper {
  filter: drop-shadow(0 2px 2px #26152330);
}
.menu-panel nav a {
  opacity: 0;
  translate: 0 0.15em;
  transition:
    opacity 0.18s,
    translate 0.25s,
    color 0.2s;
}
.menu-panel.open nav a {
  opacity: 1;
  translate: 0 0;
}
.menu-panel.open nav a:nth-child(2) {
  transition-delay: 30ms;
}
.menu-panel.open nav a:nth-child(3) {
  transition-delay: 55ms;
}
.menu-panel.open nav a:nth-child(4) {
  transition-delay: 80ms;
}
header nav a,
footer nav a {
  position: relative;
}
header nav a:after,
footer nav a:after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
:is(header, footer) nav a:is(:hover, :focus-visible):after {
  transform: scaleX(1);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero,
  .lens-stage,
  .material {
    cursor:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23141215' stroke-width='3'%3E%3Ccircle cx='14' cy='14' r='6'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e4c2f1'%3E%3Ccircle cx='14' cy='14' r='6'/%3E%3Cpath d='M14 3v5m0 12v5M3 14h5m12 0h5'/%3E%3C/g%3E%3C/svg%3E")
        14 14,
      crosshair;
  }
  .outline,
  .hero .label a {
    transition:
      color 0.2s,
      background-color 0.2s;
  }
  .outline span,
  .hero .label a span {
    display: inline-block;
    transition: transform 0.18s ease-out;
    transform: translate(var(--cta-x, 0px), var(--cta-y, 0px));
  }
}
@media (max-width: 780px) {
  .final-wordmark {
    width: 94%;
  }
  .views button {
    min-height: 42px;
  }
  .instrument .stage {
    grid-template-rows: 54px 140px minmax(0, 1fr) 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lens-interior,
  .rim-reflection,
  .final-wordmark:after {
    display: none;
  }
  .final-wordmark,
  .end .text h2 {
    transform: none;
    clip-path: none;
  }
  .material .full {
    transform: none;
  }
}
.pack-upper {
  clip-path: none;
  transform: translate(var(--emerge-x, 0%), var(--emerge-y, 0%))
    rotate(var(--emerge-angle, 0deg));
}
.pack-lip {
  left: 20.74074%;
  top: 21.52778%;
  width: 60.18519%;
  opacity: var(--lip-opacity, 0);
}
@media (prefers-reduced-motion: reduce) {
  .pack-upper {
    transform: none;
  }
  .pack-lip {
    display: none;
  }
}
/* Feather the full portrait out into its environment as the iris passes the camera. */
.lens-back:after {
  content: "";
  position: absolute;
  inset: -4%;
  background: url("../assets/campaign-portrait-720.webp") 52% 23% / cover;
  filter: blur(12px) saturate(0.78);
  opacity: var(--enter-glass, 0);
}
.lens-scene > img.lens-interior {
  mask-image: radial-gradient(
    ellipse 56% 77% at 52% 39%,
    #000 42%,
    transparent 94%
  );
}
.lens-scene > img:not(.lens-interior),
.lens-scene .glass {
  opacity: var(--exit-rim, 1);
}
.detailphoto.detail-view {
  mask-image: linear-gradient(to right, black 0 95%, transparent);
}
.lens-scene > img.lens-interior {
  mask-image:
    radial-gradient(ellipse 56% 77% at 52% 39%, #000 42%, transparent 94%),
    linear-gradient(to bottom, transparent, #000 12% 85%, transparent),
    linear-gradient(to right, transparent, #000 10% 90%, transparent);
  mask-composite: intersect;
}
