.collector-three[aria-labelledby] {
  --studio-ink: #eae8df;
  --studio-secondary: #b7c1cc;
  --studio-edge: #8799a238;
  --studio-focus: #f3cf92;
  --studio-lamp: #46749b60;
  --studio-rim: #b7896e43;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  align-items: center;
  gap: clamp(22px, 4vw, 68px);
  width: min(100% - 32px, 1120px);
  margin: clamp(26px, 5vw, 72px) auto 0;
  padding: clamp(18px, 3.2vw, 38px);
  border: 1px solid var(--studio-edge);
  border-radius: 20px;
  background: #10161e;
  color: var(--studio-ink);
}
#vetrina-3d { scroll-margin-block-start: 114px; }
.home-experiences > .collector-three[aria-labelledby] { width: 100%; }
.collector-three__copy { min-width: 0; grid-column: 2; grid-row: 1; }
.collector-three__visual { margin: 0; min-width: 0; grid-column: 1; grid-row: 1; text-align: center; }
.collector-three__eyebrow {
  display: block;
  margin-bottom: .78rem;
  color: var(--studio-focus);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
}
.collector-three #collector-three-title {
  color: var(--studio-ink);
  font: 700 clamp(2.35rem, 5vw, 4.5rem)/.97 var(--display, system-ui);
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.collector-three__copy p { color: var(--studio-secondary); margin: .62rem 0 0; }
.collector-three__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .28rem 1rem;
  margin-top: 1.02rem;
}
.collector-three__actions .button { min-height: 44px; }
.collector-three__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--studio-ink);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.collector-three__status { font-size: .86rem; }
.collector-three__status:empty { margin: 0; }

.collector-three__stage {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: clamp(320px, 34vw, 396px);
  display: grid;
  place-items: center;
  border: 1px solid #8799a227;
  border-radius: 14px;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 63% 31%, var(--studio-lamp), transparent 63%),
    radial-gradient(ellipse at 32% 82%, var(--studio-rim), transparent 57%),
    linear-gradient(160deg, #121a24, #0b1018 75%);
}
.collector-three[data-collector-theme="maritime"] { --studio-lamp: #3a647a80; --studio-rim: #b88d4852; }
.collector-three[data-collector-light="neutral"] .collector-three__stage {
  background: radial-gradient(ellipse at 50% 30%, #2d3743 0%, #161e28 68%, #0c121b);
}
.collector-three__stage::before,
.collector-three__stage::after {
  content: '';
  position: absolute;
  inline-size: min(74%, 310px);
  aspect-ratio: 1;
  border: 1px solid #ceb88f60;
  border-radius: 50%;
  box-shadow: 0 0 22px -12px #f0b76543;
  transform: rotate(-15deg) scaleX(1.035);
  pointer-events: none;
}
.collector-three__stage::after {
  inline-size: min(64%, 264px);
  border-color: #9dc9ff53;
  transform: rotate(38deg) scaleY(.95);
}
.collector-three__stage > img {
  position: relative;
  z-index: 1;
  width: min(43%, 172px);
  height: auto;
  max-height: 74%;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 13px 22px #020508cc);
}
.collector-three[data-collector-state="active"] .collector-three__stage > img,
.collector-three[data-collector-state="active"] .collector-three__stage::after { opacity: 0; }
.collector-three[data-collector-state="active"] .collector-three__stage::before {
  --studio-floor: #eaa86846;
  --studio-floor-rim: #959fe03a;
  inset: auto 0 3%;
  margin-inline: auto;
  z-index: 0;
  inline-size: min(94%, 520px);
  block-size: 32%;
  aspect-ratio: auto;
  border: 0;
  box-shadow: none;
  background:
    radial-gradient(ellipse at 50% 57%, #010308b8 0 10%, transparent 57%),
    radial-gradient(ellipse at 48% 58%, var(--studio-floor), transparent 66%),
    radial-gradient(ellipse at 71% 64%, var(--studio-floor-rim), transparent 63%);
  transform: none;
}
.collector-three[data-collector-theme="maritime"][data-collector-state="active"] .collector-three__stage::before {
  --studio-floor: #bd8f4344;
  --studio-floor-rim: #49ada047;
}
.collector-three[data-collector-light="neutral"][data-collector-state="active"] .collector-three__stage::before {
  --studio-floor: #d3deb02b;
  --studio-floor-rim: #75899b28;
  opacity: .63;
}
.collector-three__canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  outline-offset: -4px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.collector-three__canvas[data-dragging] { cursor: grabbing; }
.collector-three__canvas > canvas { width: 100%; height: 100%; display: block; pointer-events: none; }

.collector-three__choices:not([hidden]),
.collector-three__controls:not([hidden]),
.collector-three__lighting:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.collector-three__choices:not([hidden]) {
  max-width: 100%;
  margin: 0 0 .94rem;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--studio-edge);
  background: #0c121b;
}
.collector-three__console:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  margin-block-start: .62rem;
}
.collector-three :is(.collector-three__choices, .collector-three__controls, .collector-three__lighting) button {
  min-width: 44px;
  min-height: 44px;
  padding-inline: .66rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--studio-secondary);
  font-size: .875rem;
  white-space: nowrap;
}
.collector-three .collector-three__controls button { border-color: var(--studio-edge); }
.collector-three .collector-three__controls button:not([data-collector-action="reset"]) { font-size: 1.4rem; }
.collector-three :is(.collector-three__choices, .collector-three__lighting) button[aria-pressed="true"] {
  border-color: #dfc39561;
  color: var(--studio-focus);
  background: #252421;
}
.collector-three :is(.collector-three__controls, .collector-three__choices, .collector-three__lighting) button:hover {
  background: #232d38;
  color: var(--studio-ink);
}
.collector-three :is(button, a, [tabindex]):focus-visible { outline: 2px solid var(--studio-focus); outline-offset: 3px; }
.collector-three__canvas:focus-visible { outline-offset: -4px; }
.collector-three__visual figcaption { margin-top: .54rem; font-size: .79rem; color: var(--studio-secondary); }
.collector-three [hidden] { display: none !important; }

.hero-collector-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(12px, 2.3vw, 22px);
  margin-block-start: 3px;
}

.home-studio-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e8c989;
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: .26em;
}
.home-studio-jump:focus-visible { outline: 2px solid #ffe1a0; outline-offset: 3px; }

/* The renderer-independent look uses a real render from Blender plus CSS perspective. */
.collector-three__light-scene {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  perspective: 700px;
  pointer-events: none;
  --collector-x: 0rad;
  --collector-y: 0rad;
  --collector-shine: 0%;
}
.collector-three__light-base {
  position: absolute;
  width: min(95%, 370px);
  height: 99%;
  object-fit: contain;
  transform: rotateX(calc(var(--collector-x) * .54)) rotateY(calc(var(--collector-y) * .62));
}
.collector-three__light-card {
  position: relative;
  width: min(45%, 160px);
  aspect-ratio: 600 / 825;
  border-radius: 6px;
  outline: 1px solid #e8c48d;
  overflow: hidden;
  transform: rotateX(var(--collector-x)) rotateY(var(--collector-y)) translateZ(24px);
  box-shadow: 0 0 0 2px #8f6444, 0 12px 24px #020508ad;
}
.collector-three[data-collector-theme="maritime"] .collector-three__light-card { aspect-ratio: 384 / 536; }
.collector-three__light-card > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.collector-three__light-shine {
  position: absolute;
  inset: 0 -45%;
  background: linear-gradient(132deg, transparent 31%, #86ccff29 43%, #fff4bf72 50%, #f597c229 57%, transparent 68%);
  transform: translateX(var(--collector-shine));
}
.collector-three[data-collector-light="neutral"] .collector-three__light-shine { opacity: 0; }
.collector-three[data-collector-theme="maritime"] .collector-three__light-scene::before {
  content: '';
  position: absolute;
  inline-size: min(83%, 315px);
  aspect-ratio: 1;
  background:
    conic-gradient(from 25deg, transparent 0 34%, #ffdc9538 43%, transparent 56% 85%, #f6dfb447 92%, transparent),
    radial-gradient(ellipse at center, #e8ad6226, transparent 67%);
  border-radius: 50%;
  mask-image: radial-gradient(ellipse, transparent 39%, #000 61%, transparent 75%);
  opacity: .46;
}
.collector-three[data-collector-light="neutral"] .collector-three__light-scene::before { animation: none !important; opacity: .14; }
@keyframes zii-studio-floor-on {
  from { opacity: .25; transform: scaleX(.86); }
  to { transform: none; }
}
@keyframes zii-compass-light {
  from { transform: rotate(-42deg) scale(.91); opacity: .12; }
  62% { opacity: .82; }
  to { transform: rotate(0) scale(1); opacity: .46; }
}
@keyframes zii-collector-studio-glint {
  0% { opacity: .12; translate: -12% 0; }
  45% { opacity: 1; }
  100% { opacity: .84; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion)
  .collector-three[data-collector-state="active"] .collector-three__stage::before {
    animation: zii-studio-floor-on 330ms cubic-bezier(.16, 1, .3, 1) backwards;
  }
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion) .collector-three__light-scene:not([data-instant])
  :is(.collector-three__light-base, .collector-three__light-card, .collector-three__light-shine) {
    transition: transform 230ms cubic-bezier(.16, 1, .3, 1);
  }
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion)
  .collector-three[data-collector-theme="maritime"][data-collector-state="active"] .collector-three__light-scene::before {
    animation: zii-compass-light 1050ms cubic-bezier(.16, 1, .3, 1) both;
  }
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion)
  .collector-three[data-collector-light="foil"] .collector-three__light-shine {
    animation: zii-collector-studio-glint 480ms cubic-bezier(.16, 1, .3, 1) both;
  }
}
@media (max-width: 720px), (max-width: 820px) and (pointer: coarse) {
  .collector-three[aria-labelledby] {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    padding: clamp(12px, 4vw, 26px);
    text-align: center;
  }
  .collector-three__copy, .collector-three__visual { grid-column: 1; grid-row: auto; }
  .collector-three__actions, .collector-three__console:not([hidden]) { justify-content: center; }
  .collector-three__stage { height: clamp(258px, 76vw, 320px); }
  .collector-three__light-card { width: min(47%, 148px); }
}
@media (forced-colors: active) {
  .collector-three[aria-labelledby], .collector-three__stage, .collector-three__controls button { border-color: CanvasText; }
  .collector-three__stage::before, .collector-three__stage::after, .collector-three__light-shine { display: none; }
}

/* The foil aperture is fixed on the illustrated area; only the light moves.
   Hard clipping preserves legibility even without CSS masking. */
.collector-three__foil-window {
  position: absolute;
  inset: 13.5% 2.5% 39.5%;
  overflow: clip;
  pointer-events: none;
  opacity: var(--collector-energy, .34);
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 78%, transparent);
}
.collector-three__foil-window .collector-three__light-shine {
  inset: 0 -19%;
  background: linear-gradient(113deg,
    transparent 34%, #b4dbff10 42%, #d2eaff32 48%,
    #fff0cb57 51%, #efd5ca2c 54%, #a9ccff12 60%, transparent 68%);
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  /* No independent sweep on this card: the highlight follows the angle. */
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion)
  .collector-three[data-collector-light="foil"] .collector-three__foil-window .collector-three__light-shine { animation: none; }
  html:not([data-motion-paused]) body:not(.motion-off, .reduce-motion)
  .collector-three__light-scene:not([data-instant]) .collector-three__foil-window {
    transition: opacity 230ms cubic-bezier(.16, 1, .3, 1);
  }
}

/* Match the Card Lab pack lighting while keeping the studio's neutral mode. */
body[data-page="lab"] .collector-three[aria-labelledby] {
  --studio-ink: var(--shop-text, #f2efe7);
  --studio-secondary: var(--shop-muted, #aeb9ca);
  --studio-edge: var(--shop-line, #2a384b);
  --studio-focus: var(--shop-focus, var(--shop-gold, #ecc77d));
  --studio-stage-edge: color-mix(in srgb, var(--shop-control-line, #6b83a5) 52%, transparent);
  --studio-lamp: color-mix(in srgb, var(--shop-blue-ambient, #285fc7) 69%, transparent);
  --studio-rim: color-mix(in srgb, var(--shop-red-ambient, #ad294d) 57%, transparent);
  --studio-gold-rim: color-mix(in srgb, var(--shop-gold, #ecc77d) 46%, transparent);
  --studio-cool-rim: color-mix(in srgb, var(--shop-blue-ambient, #285fc7) 66%, var(--shop-text, #f2efe7));
  background: var(--shop-panel, #111b2a);
  border-radius: 16px;
}
body[data-page="lab"] .collector-three[data-collector-theme="maritime"] {
  --studio-lamp: color-mix(in srgb, var(--shop-blue-ambient, #285fc7) 75%, transparent);
  --studio-rim: color-mix(in srgb, var(--shop-gold, #ecc77d) 31%, transparent);
}
body[data-page="lab"] .collector-three:not([data-collector-light="neutral"]) .collector-three__stage {
  background:
    radial-gradient(ellipse at 70% 32%, var(--studio-lamp), transparent 62%),
    radial-gradient(ellipse at 22% 64%, var(--studio-rim), transparent 58%),
    linear-gradient(160deg, var(--shop-panel-raised, #17263d), var(--shop-canvas, #0b111c) 74%);
}
body[data-page="lab"] .collector-three__stage { border-color: var(--studio-stage-edge); }
body[data-page="lab"] .collector-three:not([data-collector-light="neutral"]) .collector-three__stage::before {
  border-color: var(--studio-gold-rim);
}
body[data-page="lab"] .collector-three:not([data-collector-light="neutral"]) .collector-three__stage::after {
  border-color: color-mix(in srgb, var(--studio-cool-rim) 44%, transparent);
}
body[data-page="lab"] .collector-three[data-collector-state="active"]:not([data-collector-light="neutral"]) .collector-three__stage::before {
  --studio-floor: color-mix(in srgb, var(--shop-gold, #ecc77d) 33%, transparent);
  --studio-floor-rim: color-mix(in srgb, var(--studio-cool-rim) 40%, transparent);
}
body[data-page="lab"] .collector-three__choices:not([hidden]) { background: var(--shop-canvas, #0b111c); }
body[data-page="lab"] .collector-three .collector-three__controls button { border-color: var(--shop-control-line, #6b83a5); }
body[data-page="lab"] .collector-three :is(.collector-three__choices, .collector-three__lighting) button[aria-pressed="true"] {
  border-color: var(--studio-gold-rim);
  color: var(--studio-focus);
  background: color-mix(in srgb, var(--shop-gold, #ecc77d) 15%, var(--shop-canvas, #0b111c));
}
@media (forced-colors: active) {
  body[data-page="lab"] .collector-three :is(.collector-three__stage, .collector-three__controls button) { border-color: CanvasText; }
}
