/* MARVELOUS.ai — V3 layer: opening gallery gate · AP-style photoreal watch hero · flow fixes */

/* the old exhibition section is replaced by the gate (kept in the markup, not shown) */
#exhibition { display: none !important; }

/* ============================================================ GATE */
#mvGate { position: fixed; inset: 0; z-index: 9990; background: #000; overflow: hidden; color: #fff; }
#mvGate canvas, #mvGate .gt-fb { position: absolute; inset: 0; width: 100%; height: 100%; }
#mvGate canvas { opacity: 0; transition: opacity .6s ease; }
#mvGate.live canvas { opacity: 1; }
#mvGate .gt-fb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
#mvGate .gt-fb img.on { opacity: 1; }
#mvGate .gt-fb img.gt-iris { animation: exIris .82s cubic-bezier(.7,0,.2,1) both; }
#mvGate .gt-fb img.gt-wipe { animation: exWipe .82s cubic-bezier(.7,0,.2,1) both; }
#mvGate .gt-fb img.gt-bars { animation: exBars .82s cubic-bezier(.7,0,.2,1) both; }
#mvGate .gt-fb img.gt-diag { animation: exDiag .82s cubic-bezier(.7,0,.2,1) both; }
#mvGate .gt-fb img.gt-zoom { animation: exZoom .82s cubic-bezier(.2,.7,.2,1) both; }
#mvGate .gt-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 50%, rgba(0,0,0,.30), rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 26%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 20%); }
.gt-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); width: min(94vw, 1100px); text-align: center; pointer-events: none; }
.gt-l1, .gt-l2 { font-family: var(--f-thin); line-height: .9; letter-spacing: -.02em; color: rgba(255,255,255,.80); text-shadow: 0 2px 30px rgba(0,0,0,.35); white-space: nowrap; }
.gt-l1 { font-size: clamp(46px, 8.6vw, 150px); font-weight: 200; }
.gt-l1 b { font-weight: 600; }
.gt-l2 { font-size: clamp(46px, 8.4vw, 146px); font-weight: 300; margin-top: clamp(26px, 5vh, 70px); }
.gt-sub, .gt-sub2 { font-family: var(--f-thin); font-weight: 300; font-size: clamp(11px, .95vw, 15px); letter-spacing: .14em; color: rgba(255,255,255,.72); margin-top: 10px; }
.gt-sub2 { letter-spacing: .1em; }
.gt-fp { position: absolute; left: 50%; top: 50%; width: clamp(130px, 12.5vw, 230px); transform: translate(-50%, -50%); filter: drop-shadow(0 0 24px rgba(243,214,146,.35)) drop-shadow(0 0 60px rgba(124,192,255,.25)); animation: gtFp 3.2s ease-in-out infinite; }
@keyframes gtFp { 50% { filter: drop-shadow(0 0 34px rgba(243,214,146,.6)) drop-shadow(0 0 80px rgba(124,192,255,.4)); } }
.gt-scan { position: absolute; left: 50%; top: 50%; width: clamp(150px, 14vw, 260px); height: 2px; transform: translate(-50%, 0); background: linear-gradient(90deg, transparent, #f3d692, #fff, #f3d692, transparent); box-shadow: 0 0 18px #f3d692; animation: gtScan 2.6s ease-in-out infinite; opacity: .85; }
@keyframes gtScan { 0%, 100% { margin-top: -15vh; opacity: 0; } 10%, 90% { opacity: .85; } 50% { margin-top: 15vh; } }
.gt-l1, .gt-l2, .gt-sub, .gt-sub2, .gt-fp, .gt-scan { opacity: 0; transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
#mvGate.live .gt-l1, #mvGate.live .gt-l2, #mvGate.live .gt-sub, #mvGate.live .gt-sub2, #mvGate.live .gt-fp, #mvGate.live .gt-scan { opacity: 1; }
#mvGate.live .gt-fp { opacity: 1; }
.gt-enter { position: absolute; left: 50%; bottom: 4.5vh; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.75); background: rgba(0,0,0,.35); color: #fff; font: 500 13.5px var(--f-thin); letter-spacing: .04em; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, box-shadow .3s; overflow: hidden; }
#mvGate.ask .gt-enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gt-enter:hover, .gt-enter:focus-visible { background: #fff; color: #000; box-shadow: 0 0 34px rgba(255,255,255,.45); }
.gt-enter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: flShine 3.2s ease-in-out infinite; }
.gt-count { position: absolute; right: 26px; bottom: 5vh; font-family: var(--f-tech); font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.55); }
.gt-brand { position: absolute; left: 26px; top: 22px; font-family: var(--f-tech); font-size: 10px; letter-spacing: .34em; color: rgba(255,255,255,.6); text-transform: uppercase; }
#mvGate.leave { animation: gtLeave .95s cubic-bezier(.7,0,.2,1) forwards; pointer-events: none; }
@keyframes gtLeave { to { opacity: 0; transform: scale(1.12); filter: blur(8px); } }
@media (max-width: 760px) { .gt-l2 { margin-top: 18vh; } .gt-l1 { margin-top: -6vh; } .gt-count { display: none; } }

/* ============================================================ WATCH HERO (photoreal, AP-style) */
#watch.wh { position: relative; height: 100vh; min-height: 640px; max-height: 1100px; padding: 0; overflow: hidden; color: #e8f6fb; isolation: isolate;
  background: radial-gradient(70% 90% at 82% 40%, #3c3f45 0%, #26282c 45%, #121315 100%); }
#watch.wh .wrap { display: none; }
.wh-stage { position: absolute; left: -9vh; top: 50%; width: 128vh; height: 128vh; max-width: 1400px; max-height: 1400px; transform: translateY(-50%); perspective: 1400px; }
.wh-watch { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.wh-watch img, .wh-watch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wh-watch img { filter: contrast(1.06) brightness(1.08); }
.wh-sweep { position: absolute; inset: 0; mix-blend-mode: color-dodge; background: linear-gradient(115deg, transparent 35%, rgba(120,190,255,.0) 40%, rgba(150,210,255,.38) 48%, rgba(255,240,220,.28) 52%, transparent 60%); background-size: 260% 100%; animation: whSweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes whSweep { 0% { background-position: 140% 0; } 55%, 100% { background-position: -60% 0; } }
.wh-watch .lume { filter: drop-shadow(0 0 6px rgba(79,240,255,.9)) drop-shadow(0 0 18px rgba(79,240,255,.55)); }
.wh-watch .w-time, .wh-watch .w-date { display: none; }
.wh-date rect { fill: #07090c; stroke: rgba(255,255,255,.18); }
.wh-date text { font-family: var(--f-thin); font-weight: 500; font-size: 46px; fill: #4ff0ff; filter: drop-shadow(0 0 6px rgba(79,240,255,.8)); }
.wh-top { position: absolute; z-index: 5; left: max(var(--pad), 84px); right: max(var(--pad), 30px); top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .08em; color: #4ff0ff; text-transform: uppercase; }
.wh-top a { color: #4ff0ff; text-decoration: none; margin-left: 18px; }
.wh-top a:hover { text-decoration: underline; }
.wh-copy-r { position: absolute; z-index: 5; right: max(var(--pad), 30px); top: 15%; font-size: clamp(22px, 2vw, 32px); font-weight: 300; color: #4ff0ff; }
.wh-title { position: absolute; z-index: 5; left: max(var(--pad), 84px); bottom: 15%; max-width: 70vw; }
.wh-title .row { position: relative; display: flex; gap: clamp(18px, 3vw, 50px); align-items: flex-end; }
.wh-title h2 { margin: 0; font-family: var(--f-thin); font-weight: 900; font-size: clamp(38px, 4.4vw, 76px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; color: #4ff0ff; text-shadow: 0 0 30px rgba(79,240,255,.35); }
.wh-title h2.ghost { color: transparent; -webkit-text-stroke: 1px rgba(79,240,255,.55); text-shadow: none; animation: whGhost 6s ease-in-out infinite; }
@keyframes whGhost { 50% { transform: translateX(14px); opacity: .6; } }
.wh-title .tag { font-size: 11px; letter-spacing: .14em; color: #4ff0ff; margin: 10px 0 8px; }
.wh-title .big2 { font-family: var(--f-thin); font-weight: 300; font-size: clamp(24px, 2.4vw, 40px); letter-spacing: .32em; color: #4ff0ff; text-transform: uppercase; white-space: nowrap; }
.wh-title .sw { display: inline-block; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
#watch.swap .wh-title .sw { transform: translateY(16px); opacity: 0; }
.wh-ctrl { position: absolute; z-index: 5; left: max(calc(var(--pad) - 30px), 46px); bottom: calc(15% + 20px); display: grid; gap: 8px; justify-items: center; font-size: 11px; color: #4ff0ff; }
.wh-ctrl button { width: 24px; height: 24px; border: 0; border-radius: 4px; background: #4ff0ff; color: #0b1418; cursor: pointer; font-size: 10px; }
.wh-pills { position: absolute; z-index: 5; left: 50%; bottom: 3.6%; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: min(58vw, 760px); }
.wh-pills button { height: 28px; padding: 0 14px; border-radius: 3px; border: 1px dashed rgba(79,240,255,.55); background: transparent; color: #4ff0ff; font-size: 11px; cursor: pointer; transition: background .25s, color .25s; }
.wh-pills button.on, .wh-pills button:hover { background: #4ff0ff; color: #071216; border-style: solid; }
.wh-go { position: absolute; z-index: 5; right: max(var(--pad), 40px); bottom: 20%; width: 108px; text-align: center; color: #4ff0ff; text-decoration: none; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.wh-go span { display: grid; place-items: center; width: 108px; height: 108px; border: 1px dashed rgba(79,240,255,.7); border-radius: 8px; font-size: 28px; margin-bottom: 10px; transition: background .3s, color .3s; }
.wh-go:hover span { background: #4ff0ff; color: #071216; }
.wh-live { position: absolute; z-index: 5; right: max(var(--pad), 40px); top: calc(15% + 52px); text-align: right; font-size: 11px; letter-spacing: .12em; color: rgba(232,246,251,.72); line-height: 1.8; }
.wh-live b { display: block; font-family: var(--f-tech); font-weight: 400; font-size: 26px; letter-spacing: .08em; color: #fff; }
@media (max-width: 860px) {
  #watch.wh { height: auto; min-height: 100vh; max-height: none; padding-bottom: 120px; }
  .wh-stage { position: relative; left: -12vw; top: 0; transform: none; width: 124vw; height: 124vw; margin-top: 40px; }
  .wh-title { position: relative; left: auto; bottom: auto; padding: 0 var(--pad); max-width: none; margin-top: -10vw; }
  .wh-title .big2 { white-space: normal; letter-spacing: .2em; }
  .wh-ctrl, .wh-copy-r, .wh-go { display: none; }
  .wh-live { top: 70px; }
  .wh-pills { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: 26px 0 0; padding: 0 var(--pad); justify-content: flex-start; }
  .wh-top span:nth-child(2), .wh-top span:nth-child(3) { display: none; }
  .wh-live { top: 56px; }
}
