.stage [hidden], .guest-section [hidden] { display: none !important; }
.stage, .guest-console { border: 1px solid #c9d5e3; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 20px 55px -32px #2c467b66; }
.stage { min-width: 0; scroll-margin-top: 12px; }
.studio-head, .stage-tools, .stage-transport { display: flex; align-items: center; gap: 10px; }
.studio-head { justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.studio-name { font-weight: 720; letter-spacing: -.035em; }
.studio-meta, .studio-note { color: var(--secondary); font-size: .79rem; }
.studio-meta::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #345bcb; }
.stage button, .print-looks button { background: #fff; color: #273854; border: 1px solid #ccd7e4; border-radius: 7px; font: inherit; font-size: .82rem; font-weight: 620; padding: 6px 11px; min-height: 34px; }
.stage button:hover, .print-looks button:hover { background: #eef3fc; }
.stage button[aria-pressed=true], .print-looks button[aria-pressed=true] { background: #213e82; border-color: #213e82; color: white; }
.rig-switch { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; padding: 4px; margin: 12px 16px; background: #edf2f8; border-radius: 10px; }
.rig-switch button { border-color: transparent; background: transparent; }
.rig-switch button[aria-pressed=true] { background: white; border-color: #cfd9e7; color: #1b336c; box-shadow: 0 1px 4px #162f4617; }
.stage-screen { position: relative; aspect-ratio: 1.68; background: #e1e2e6; isolation: isolate; overflow: hidden; }
.stage-screen canvas, .stage-screen img { width: 100%; height: 100%; inset: 0; display: block; object-fit: cover; position: absolute; }
.stage-screen canvas { touch-action: pan-y; cursor: grab; }
.stage-screen canvas:active { cursor: grabbing; }
.stage[data-view=lens] canvas { cursor: auto; }
.stage[data-view=lens] .stage-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 43%, transparent 45%, rgb(24 20 33 / 14%) 100%); }
.stage-controls { padding: 12px 16px 0; }
.stage-transport input { flex: 1; min-width: 35px; accent-color: #3159c3; cursor: pointer; }
.stage-transport [data-play] { min-width: 64px; }
.stage-tools { justify-content: space-between; flex-wrap: wrap; margin-top: 9px; }
.stage-tools [role=group], .print-looks { display: flex; gap: 5px; flex-wrap: wrap; }
.studio-note { padding: 10px 17px 13px; line-height: 1.45; }
.stage-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.stage-footer a { white-space: nowrap; }
.guest-section { background: #fafbfd; }
.guest-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; }
.guest-heading h2 { margin-top: 8px; }
.guest-heading > p { max-width: 43ch; color: var(--secondary); }
.guest-console { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(0,1.2fr); }
.guest-menu { align-self: center; padding: clamp(16px,3vw,40px); }
.guest-steps { display: grid; gap: 5px; }
.guest-steps button { display: flex; text-align: start; gap: 14px; align-items: center; padding: 11px 13px; width: 100%; border: 1px solid transparent; background: transparent; border-radius: 10px; color: var(--ink); line-height: 1.35; }
.guest-steps button[aria-pressed=true] { background: #edf3ff; border-color: #c0cfee; }
.guest-steps button:not([aria-pressed=true]):hover { background: #f4f6fa; }
.step-marker { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #465973; background: #eff2f7; font: .77rem var(--site-font); }
.guest-steps button[aria-pressed=true] .step-marker { background: #254ca8; color: #fff; }
.guest-steps small { display: block; margin-top: 3px; color: var(--secondary); font-size: .85rem; }
.guest-output { position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; background: radial-gradient(ellipse at 65% 20%,#fcfcff 0%,transparent 48%),linear-gradient(140deg,#dae1f1,#eaedf5 55%,#c4d2e6); }
.guest-output::before { content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 2; pointer-events: none; }
.guest-pane { display: grid; align-content: center; justify-items: center; gap: 12px; width: 100%; }
.guest-output > .guest-pane { grid-area: 1 / 1; }
.guest-photo { display: block; position: absolute; inset: 0; height: 100%; }
.guest-photo picture, .guest-photo img, .guest-comparison { display: block; width: 100%; height: 100%; }
.guest-photo img { object-fit: cover; object-position: center 18%; }
.orbit-preview { display: block; position: absolute; inset: 0; height: 100%; }
.orbit-preview video { display: block; width: 100%; height: 100%; object-fit: cover; }
.guest-tool { min-width: 0; }
.guest-tool > .stage, .guest-tool > .showcase { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.guest-comparison { aspect-ratio: auto; border-radius: 0; }
.guest-comparison .compare-tag { background: transparent; color: #fff; text-shadow: 0 1px 4px #111; }
.guest-comparison:focus-within { outline-offset: -3px; }
.qr-pane { padding: 18px; }
.print-paper, .qr-card { background: #fff; box-shadow: 0 10px 25px #374a6a29,0 2px 4px #354c6a19; }
.guest-gallery img, .print-exposures img { display: block; width: 100%; height: auto; }
.print-paper { width: min(36%,116px); min-width: 88px; padding: 7px 7px 10px; text-align: center; transform: rotate(3deg); }
.print-paper strong { font-size: .7rem; display: block; margin-top: 5px; }
.print-exposures { display: grid; gap: 4px; }
.print-exposures img { aspect-ratio: 1.12; object-fit: cover; object-position: center 38%; }
.print-pane[data-layout=card] .print-paper { width: min(64%,230px); }
.print-pane[data-layout=card] .print-exposures img:not(:nth-child(2)) { display: none; }
.print-pane[data-layout=card] .print-exposures img { aspect-ratio: .8; }
.print-looks { justify-content: center; }
.qr-card { display: grid; justify-items: center; max-width: 100%; gap: 10.5px; border-radius: 18px; padding: 24px; font-size: 1.5em; }
.qr-card img { display: block; width: min(247.5px,60vw); max-width: 100%; height: auto; image-rendering: pixelated; }
.guest-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 24px; }
.guest-gallery img { border-radius: 10px; }
.guest-gallery figcaption { margin-top: 7px; font-weight: 650; }
.study-pair { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px,6vw,90px); align-items: center; }
.study-pair .intro { margin-top: 18px; }
@media (min-width: 900px) {
  .product-cover .wrap:has(.stage) { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(24px,3vw,58px); }
}
@media (max-width: 780px) {
  .guest-heading { display: grid; gap: 12px; }
  .study-pair { grid-template-columns: minmax(0,1fr); }
  .guest-console { grid-template-columns: minmax(0,1fr); }
  .guest-menu { padding: 12px; }
  .guest-steps { grid-template-columns: repeat(auto-fit,minmax(min(100%,6rem),1fr)); gap: 4px; }
  .guest-steps button { flex-direction: column; text-align: center; gap: 4px; padding: 5px 1px; font-size: clamp(.8rem,2.2vw,.9rem); overflow-wrap: normal; }
  .guest-steps small { display: none; }
  .stage-screen { aspect-ratio: 1.5; }
}
@media (max-width: 470px) {
  .stage-controls { padding-inline: 9px; }
  .stage button, .print-looks button { padding-inline: 7px; min-height: 36px; }
  .stage-tools, .stage-transport { gap: 5px; }
  .guest-gallery { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion:no-preference) {
  @keyframes studio-enter { from { transform: translateY(9px); opacity: .72; } to { transform: none; opacity: 1; } }
  .guest-pane:not([hidden], .orbit-preview), .studio-arrived { animation: studio-enter .4s ease-out both; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.booth-prints {
  --portrait-width: clamp(132px, 13.8vw, 208px);
  padding-block: clamp(24px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
}
.booth-prints > .wrap > .kind { margin-bottom: 12px; }
.booth-prints-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background: #201c26;
  color: white;
}
.booth-prints-background, .booth-prints-scene::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.booth-prints-background { object-fit: cover; object-position: 72% 48%; opacity: .25; }
.booth-prints-scene::after {
  content: "";
  background: linear-gradient(90deg,rgba(21,15,27,.93),rgba(27,18,31,.7) 30%,rgba(26,19,27,.13) 59%,transparent 76%);
}
.booth-prints-content { padding: clamp(26px, 4vw, 62px); }
.booth-description {
  max-width: 36ch;
  margin: 0 clamp(26px, 4vw, 62px) clamp(26px, 4vw, 62px);
  color: #fff;
  font-size: clamp(1.125rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
  text-shadow: 0 1px 4px #13132080;
}
.booth-prints-content h2 { color: white; font-size: clamp(2rem, 3.5vw, 3.55rem); }
.booth-prints-tray { display: flex; gap: clamp(20px, 2.3vw, 38px); align-items: end; margin-top: 24px; }
.booth-print { display: grid; justify-items: center; gap: 14px; color: white; font-weight: 650; font-size: .94rem; }
.booth-print img { align-self: end; object-fit: contain; box-shadow: 0 9px 23px #100a174a; }
.booth-print-classic img, .booth-print-filters img { width: var(--portrait-width); aspect-ratio: 3/4; border: 6px solid white; background: white; }
.booth-print-classic img { transform: rotate(-3deg); }
.booth-print-filters img { transform: rotate(5deg); }
.booth-print-strip img { width: clamp(84px, 7.5vw, 113px); aspect-ratio: 400/1110; transform: rotate(3deg); }
.booth-prints a:focus-visible { outline-color: white; }
.gif-booth .booth-prints-scene::after { content: none; }
.gif-booth .booth-prints-background { object-position: left center; }
.gif-booth-preview { width: min(50%, 27rem); }
.gif-booth-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.8vw, 28px);
  margin-top: 25px;
}
.gif-booth-frames figure { margin: 0; min-width: 0; }
.gif-booth-frames figure + figure { margin-top: 14px; }
.gif-booth-frames picture { display: block; transform: rotate(-3deg); }
.gif-booth-frames figure + figure picture { transform: rotate(3deg); }
.gif-booth-frames img { display: block; width: 100%; height: auto; border: 4px solid white; border-radius: 2px; box-shadow: 0 9px 23px #100a174a; }
.gif-booth-frames figcaption { margin-top: 14px; text-align: center; font-size: .94rem; font-weight: 650; }
@media (min-width: 621px) {
  .gif-booth .booth-prints-content { display: grid; align-items: center; min-height: clamp(350px, 36vw, 535px); }
  .gif-booth .booth-prints-background { inset-inline: auto 0; width: 68%; mask-image: linear-gradient(to right, transparent, black 13%); }
}
.motion-panel .booth-prints-scene { background: #151724; }
.motion-panel .booth-prints-scene::after { content: none; }
.online-gallery .booth-prints-scene {
  min-height: clamp(20rem, 38vw, 35rem);
  background: #101828;
}
.online-gallery .booth-prints-scene::after { content: none; }
/* Frame the portrait grid below the heading already printed on the artwork. */
.online-gallery .booth-prints-background {
  inset: auto 0 0;
  height: 114%;
  object-fit: cover;
  object-position: center bottom;
}
.motion-360-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, clamp(180px, 16vw, 230px)));
  gap: clamp(16px, 2vw, 32px);
  margin-top: 24px;
}
.motion-360-player {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(6px) rotate(-2deg);
  border: 4px solid white;
  border-radius: 4px;
  background: #151724;
  box-shadow: 0 9px 23px #100a174a;
}
.motion-360-player:nth-child(2) { transform: translateY(-6px) rotate(3deg); }
@media (min-width: 621px) {
  .motion-glambot .booth-prints-scene { aspect-ratio: 2.25 / 1; }
  .motion-panel .booth-prints-background {
    inset-inline: auto 0;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent, black 14%);
  }
}
.ai-booth .booth-prints-scene { background: #151724; }
.ai-booth-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--portrait-width)));
  align-items: start;
  gap: clamp(10px, 1vw, 16px);
  margin-top: clamp(18px, 2vw, 30px);
}
.ai-booth-examples figure:first-child { margin-top: 10px; }
.ai-booth-examples figure:nth-child(2) { margin-top: clamp(24px, 3.3vw, 46px); }
.ai-booth-photo { aspect-ratio: 3/4; border: 5px solid white; border-radius: 2px; box-shadow: 0 9px 23px #100a174a; }
.ai-booth-examples figure:first-child .ai-booth-photo { transform: rotate(-3deg); }
.ai-booth-examples figure:nth-child(2) .ai-booth-photo { transform: rotate(2deg); }
.ai-booth-examples figure:nth-child(3) .ai-booth-photo { transform: rotate(-1.5deg); }
.ai-booth-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Match the wider coastal shot to the original studio portrait. */
.ai-booth-photo .coastal-portrait { transform: scale(1.25); transform-origin: center bottom; }
.ai-booth-photo .compare-tag { background: transparent; padding: 0; }
.ai-booth-examples figcaption { margin-top: 15px; font-size: 1rem; line-height: 1.25; font-weight: 650; text-align: center; }
@media (min-width: 900px) {
  .booth-prints-scene { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; }
  .booth-description { margin: 0 clamp(26px, 4vw, 62px) 0 0; }
  .gif-booth-preview { width: min(100%, 27rem); }
  .motion-glambot .booth-prints-content,
  .online-gallery .booth-prints-content { align-self: start; }
}
@media (min-width: 621px) {
  .ai-booth .booth-prints-background {
    inset-inline: auto 0;
    width: 57%;
    object-position: 24% center;
    mask-image: linear-gradient(to right, transparent, black 15%);
  }
  .ai-booth .booth-prints-scene::after { content: none; }
  .ai-booth .booth-prints-content { padding-inline: clamp(22px, 2.6vw, 40px); }
}
@media (min-width: 621px) and (max-width: 850px) {
  .ai-booth-examples { grid-template-columns: repeat(2, var(--portrait-width)); }
  .ai-booth-examples figure:nth-child(2) { grid-area: 1 / 2 / 3 / 3; align-self: center; margin-top: 0; }
}
@media (max-width: 620px) {
  .booth-prints-background { height: auto; aspect-ratio: 16/9; object-position: center; }
  .booth-prints-scene::after { background: linear-gradient(180deg, transparent 0%, #201c26 100%); height: min(52vw, 325px); }
  .booth-prints-content { padding: clamp(110px, 31vw, 180px) clamp(16px, 5vw, 30px) 20px; }
  .booth-description { margin: 0 clamp(16px, 5vw, 30px) 24px; }
  .gif-booth .booth-prints-content { padding-top: clamp(140px, 48vw, 285px); }
  .gif-booth-preview { width: min(94%, 24rem); }
  .booth-prints-tray { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .57fr) minmax(0, 1fr); max-width: 450px; gap: clamp(10px, 3vw, 20px); margin-top: 18px; }
  .booth-print { min-width: 0; text-align: center; }
  .booth-prints-tray img { width: 100%; }
  .ai-booth-photo { border-width: 3px; }
  .ai-booth .booth-prints-content { padding-top: clamp(152px, 46vw, 270px); }
  .motion-panel .booth-prints-content,
  .online-gallery .booth-prints-content { padding-top: clamp(152px, 52vw, 310px); }
  .ai-booth-examples { --portrait-width: calc((min(100%, 450px) - 2 * clamp(10px, 3vw, 20px)) / 2.57); }
  .ai-booth-photo .compare-tag { top: 5px; font-size: .75rem; }
  .ai-booth-photo .original-tag { left: 4px; }
  .ai-booth-photo .result-tag { right: 4px; }
  .ai-booth-photo .comparison-grip { width: 30px; height: 30px; }
  .ai-booth-examples figcaption { font-size: .9rem; }
}
@media (max-width: 540px) {
  .ai-booth-examples { grid-template-columns: repeat(2, minmax(0, var(--portrait-width))); }
  .ai-booth-examples figure:first-child { margin-top: 0; }
}
