/* The overview is a single stage. Project sections live behind object clicks. */
:root{--ticker-height:64px;--stage-height:calc(100dvh - var(--ticker-height));--category-top:10%}
html,body{height:100%;min-height:0;overflow:hidden;overscroll-behavior:none;scroll-behavior:auto;scroll-snap-type:none}
#portfolio,#home{height:var(--stage-height);min-height:0;max-height:var(--stage-height)}
#home{padding:0;box-sizing:border-box;background:none}
#portfolio>.case,#portfolio>.project-placeholder{display:none}
#ring{height:var(--stage-height);inset:0 0 auto}
#hero{top:calc(var(--stage-height) * .485);width:64vw}
#hero .name{font-size:clamp(42px,5.7vw,92px)}
#hero .title{margin-top:17px;font-size:clamp(12px,1.3vw,22px);letter-spacing:.15em}
#hero .tagline{margin-top:16px}
#brand{top:23px}
#headerActions{position:fixed;z-index:42;top:14px;right:3.2%;display:flex;align-items:center;gap:10px}
#headerActions a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:0 15px;color:#fff;font-size:10px;font-weight:600;letter-spacing:.14em;text-decoration:none;box-sizing:border-box;transition:background .2s,color .2s}
#contactLink,#aboutLink{border:1px solid #ffffff40;background:#08080850;backdrop-filter:blur(12px)}
#aboutLink:hover{border-color:#ffffff40}
#headerActions a:focus-visible,#creditsOpen:focus-visible{outline:1px solid #fff;outline-offset:4px}
#contactLink:hover,#aboutLink:hover{background:#fff;color:#080808}
body.ov #hero,body.ov #headerActions,body.ov #collaborators{visibility:hidden;pointer-events:none}
.product-kicker{top:var(--category-top);left:3.8%;width:34%;line-height:20px}
#collectibles-area{position:absolute;left:3.8%;top:calc(var(--category-top) + 30px);width:34%;height:35.5%;pointer-events:none}
.cluster{position:absolute;margin:0;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;overflow:visible;box-sizing:border-box}
.cluster-kicker{min-height:20px;font-size:clamp(8px,.76vw,11px);letter-spacing:.14em;line-height:20px;white-space:nowrap;justify-content:center;text-align:center}
.cluster-kicker:focus-visible,#contactLink:focus-visible{outline:1px solid white;outline-offset:5px}
.cluster-marketing{top:64%;left:3.2%;right:auto;bottom:auto;width:29%;height:33%}
.device-pair{inset:24px 0 0}
.device-pair #phone3d{left:-7%;top:7%;width:48%;height:100%}
.device-pair #tablet3d{right:0;top:-5%;width:77%;height:120%}
.cluster-jewelry{left:auto;right:3.2%;top:var(--category-top);bottom:auto;width:32%;height:38%}
.cluster-jewelry .cluster-kicker{margin-left:0}
.jewelry-pair{inset:25px 0 0}
.jewelry-pair #necklace3d{left:1%;bottom:8%;width:119%;height:110%}
.jewelry-pair #bracelet3d{left:7%;top:3%;width:39%;height:43%}
.jewelry-pair #signet3d{left:43%;top:3%;width:26%;height:36%;z-index:2}
.jewelry-pair #earrings3d{left:40%;top:31%;width:34%;height:32%;z-index:2}
#overlay .jewelry-choice{flex-wrap:wrap}
.cluster-game{left:38%;right:auto;top:64%;bottom:auto;width:26%;height:32%}
#gameConsole3d{width:110%;height:calc(110% - 28px);margin-left:-5%;margin-top:14px}
.cluster-art{right:3.2%;left:auto;top:64%;bottom:auto;width:27%;height:32%}
.art-assembly{inset:30px 0 0;height:auto}
.photo-frame{left:-2%;top:0;width:auto;height:97%;aspect-ratio:3/4;box-sizing:border-box;line-height:0}
.photo-window{width:100%;height:100%;overflow:hidden}
.photo-frame img{display:block}
#camera3d{left:35%;top:0;width:76%;height:95%}

/* Each repeated set covers the visible window, even on an ultrawide display. */
#collaborators{position:fixed;inset:auto 0 0;height:var(--ticker-height);box-sizing:border-box;z-index:40;display:flex;align-items:center;background:#030303;border-top:1px solid #ffffff13;padding:0 20px 0 3.2%;gap:24px}
.collaborator-label{font-size:8px;font-weight:600;letter-spacing:.19em;color:#8a8a8a;flex:none}
.logo-window{min-width:0;flex:1;overflow:hidden;container-type:inline-size;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.logo-track{display:flex;width:max-content;animation:collaborator-roll 42s linear infinite}
.logo-set{display:flex;align-items:center;justify-content:space-around;gap:38px;list-style:none;margin:0;padding:0 38px 0 0;flex:none;box-sizing:border-box;min-width:calc(100vw - 250px);min-width:100cqw}
.logo-set li{width:120px;height:60px;display:grid;place-items:center;flex:none}
.logo-set img{display:block;width:120px;height:60px;object-fit:contain;opacity:.92}
#collaborators:hover .logo-track,#collaborators:focus-within .logo-track{animation-play-state:paused}
@keyframes collaborator-roll{to{transform:translateX(-50%)}}
#creditsOpen{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#08080850;color:#bbb;font:italic 16px Georgia,serif;cursor:pointer;box-sizing:border-box}
#creditsOpen:hover{color:#080808;background:#fff}
#creditsDialog{width:min(480px,calc(100vw - 50px));box-sizing:border-box;padding:34px 28px;background:#101113;border:1px solid #ffffff35;color:#eee;font:14px/1.5 "Inter Tight",sans-serif}
#creditsDialog::backdrop{background:#000b;backdrop-filter:blur(12px)}
#creditsDialog h2{font-size:25px;letter-spacing:-.04em;margin:0 0 22px;text-transform:uppercase}
#creditsClose{position:absolute;right:8px;top:5px;width:38px;height:38px;border:0;background:none;color:#fff;font-size:27px;cursor:pointer}
#creditsDialog .site-credit{display:flex;flex-direction:column;gap:18px;padding:0;background:none;text-align:left;font-size:12px;line-height:1.6;color:#a0a0a0}

/* The viewers fit the viewport as well; wheel input continues to zoom 3D models. */
#overlay{overflow:hidden}
#overlay .view{height:100dvh;min-height:0;box-sizing:border-box}
#overlay.project-overlay .case{height:100dvh;min-height:0}
#overlay .collab{height:100dvh;min-height:0;padding-block:90px 34px}
#overlay .collab .stage{height:calc(100dvh - 140px);min-height:0;max-height:none}
#overlay .gallery-project.jewelry-project .stage{height:calc(100dvh - 190px);min-height:0;max-height:none}
#overlay .collab .info{gap:clamp(9px,1.7vh,18px)}
#overlay .object-navigation{position:absolute;inset:0;pointer-events:none}
#overlay .object-navigation button{pointer-events:auto}

@media(max-width:1100px) and (min-width:701px){
  #collectibles-area{width:34%;height:33%}
  .cluster-jewelry{width:34.4%}
  .cluster-jewelry .cluster-kicker{margin-left:0}
  #hero .name{font-size:5.7vw}
  .cluster-art{width:28%}
  .cluster-kicker{font-size:8px;letter-spacing:.1em}
}

@media(max-width:900px){
  #overlay .collab{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;padding:66px 6vw 18px;align-items:stretch}
  #overlay .collab .info{display:contents}
  #overlay .collab .eyebrow{top:22px;font-size:8px;line-height:1.4;right:60px}
  #overlay .collab h2,#overlay .gallery-project.jewelry-project h2{order:1;font-size:clamp(28px,5.1vh,46px);line-height:.92}
  #overlay .collab .stage,#overlay .jewelry-project .jewelry-viewer{order:2;align-self:stretch;min-height:0;height:100%;max-height:none;margin:0}
  #overlay .jewelry-project .jewelry-viewer{display:grid;grid-template-rows:auto minmax(0,1fr)}
  #overlay .gallery-project.jewelry-project .stage{height:100%;min-height:0;max-height:none}
  #overlay .gallery-project .media-browser{order:3;margin:0;max-width:100%}
  #overlay .collab .desc{order:4;font-size:11px;line-height:1.4;max-width:none}
  #overlay .collab .specs{order:5;font-size:10px;line-height:1.35;gap:2px 12px;padding-top:7px;max-width:none}
  #overlay .gallery-project .media-tile,#overlay .gallery-project.jewelry-project .media-tile{flex-basis:52px}
  #overlay .media-step{height:46px}
  #overlay .media-caption{font-size:8px;min-height:12px;margin:5px 0 0}
  #overlay .gallery-project .object-nav{width:34px;height:52px;font-size:30px}
  #overlay .collab .hint{font-size:8px;max-width:135px;line-height:1.5}
  #overlay .collab .go{min-height:43px;padding:10px 12px;font-size:9px}
  #overlay .project-image{inset:0 20px 50px}
  #overlay .gallery-project .jewelry-model{inset:4px 22px 50px}
  #overlay .jewelry-choice button{font-size:9px;padding:9px 12px}
}

@media(max-width:700px){
  :root{--ticker-height:50px;--category-top:11%}
  #brand{top:18px;left:5%;font-size:17px}
  #brand span{font-size:7px;letter-spacing:.12em}
  #headerActions{top:10px;right:5%;gap:5px}
  #headerActions a{font-size:8px;letter-spacing:.08em;padding:0 9px;min-height:34px}
  #hero{top:calc(var(--stage-height) * .468);width:94vw}
  #hero .name{font-size:10.7vw;line-height:.94}
  #hero .hero-overline{font-size:6.5px;letter-spacing:.22em;margin-bottom:8px}
  #hero .title{font-size:12px;letter-spacing:.21em;margin-top:11px}
  #hero .tagline{font-size:6.5px;letter-spacing:.12em;margin-top:11px}
  .cluster-kicker{font-size:8px;letter-spacing:.07em;line-height:16px;min-height:20px;white-space:normal}
  .product-kicker{top:var(--category-top);left:4%;width:45%;font-size:8px}
  #collectibles-area{left:4%;top:calc(var(--category-top) + 24px);width:45%;height:26%}
  .cluster-marketing{top:57%;left:5%;right:auto;width:42%;height:21%}
  .device-pair{inset:27px 0 0}
  .device-pair #phone3d{left:-14%;top:13%;width:59%;height:91%}
  .device-pair #tablet3d{right:-8%;top:-3%;width:79%;height:113%}
  .cluster-jewelry{left:auto;right:5%;top:var(--category-top);width:57%;height:calc(35.8% - 64px)}
  .cluster-jewelry .cluster-kicker{margin-left:0}
  .jewelry-pair{inset:24px 0 0}
  .jewelry-pair #necklace3d{left:6%;bottom:0;width:105.6%;height:110%}
  .jewelry-pair #bracelet3d{left:18%;top:0;width:39%;height:43%}
  .jewelry-pair #signet3d{left:53%;top:0;width:28%;height:36%}
  .jewelry-pair #earrings3d{left:44%;top:30%;width:37%;height:32%}
  .cluster-art{right:5%;top:57%;width:42%;height:21%}
  .cluster-art .cluster-kicker{max-width:none;line-height:12px}
  .art-assembly{inset:33px 0 0;height:auto}
  .photo-frame{left:-2%;top:2%;width:49%;height:94%;aspect-ratio:auto;padding:2px;border-width:3px}
  #camera3d{left:42%;top:0;width:73%;height:98%}
  .cluster-game{left:24%;top:80%;width:52%;height:19%}
  .cluster-game .cluster-kicker{justify-content:center}
  #gameConsole3d{width:110%;height:calc(100% - 15px);margin-left:-5%;margin-top:0}
  #collaborators{padding:0 8px 0 15px;gap:10px}
  .collaborator-label{font-size:6px;letter-spacing:.12em}
  .logo-set{gap:16px;padding-right:16px}
  .logo-set li,.logo-set img{width:96px;height:48px}
  #creditsOpen{width:34px;height:34px;font-size:15px}
}

@media(max-height:600px) and (min-width:701px){
  :root{--ticker-height:48px;--category-top:13%}
  #brand{top:16px;font-size:17px}
  #headerActions{top:8px}
  #headerActions a{min-height:30px}
  #creditsOpen{width:30px;height:30px}
  .product-kicker{width:28%}
  #hero .hero-overline{font-size:7px;margin-bottom:8px}
  #hero .name{font-size:5.4vw}
  #hero .title{font-size:14px;margin-top:10px}
  #hero .tagline{font-size:7px;margin-top:10px}
  #collectibles-area{width:28%;height:38%;top:calc(var(--category-top) + 22px)}
  .cluster-marketing,.cluster-game,.cluster-art{top:66%;height:31%}
  .logo-set li,.logo-set img{width:96px;height:48px}
  #overlay .collab{padding-top:65px;padding-bottom:20px}
  #overlay .collab h2,#overlay .gallery-project.jewelry-project h2{font-size:clamp(26px,5vw,48px)}
  #overlay .collab .desc{font-size:11px;line-height:1.35}
  #overlay .collab .specs{font-size:10px;line-height:1.3;padding-top:7px}
  #overlay .collab .stage{height:calc(100dvh - 95px)}
  #overlay .gallery-project.jewelry-project .stage{height:calc(100dvh - 150px)}
  #overlay .gallery-project .media-tile{flex-basis:48px}
  #overlay .collab{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr);gap:24px;padding:65px 7vw 20px}
  #overlay .collab .info{display:flex;align-self:end;gap:8px}
  #overlay .collab h2,#overlay .gallery-project.jewelry-project h2{font-size:clamp(26px,4.5vw,42px)}
  #overlay .collab .stage,#overlay .jewelry-project .jewelry-viewer{height:100%;min-height:0;align-self:stretch}
  #overlay .gallery-project.jewelry-project .stage{height:100%;min-height:0}
  #overlay .gallery-project .media-browser{order:6}
  #overlay .media-caption{font-size:7px;min-height:10px;margin:4px 0 0}
  #overlay .media-step{height:42px;flex-basis:24px}
  #overlay .gallery-project .media-tile,#overlay .gallery-project.jewelry-project .media-tile{flex-basis:44px}
  #overlay .collab .go{min-height:38px;padding:10px 12px;font-size:8px}
  #overlay .collab .hint{font-size:7px;max-width:115px}
}
@media(prefers-reduced-motion:reduce){
  .logo-track{animation:none}
  .logo-window{overflow-x:auto}
  .logo-set[aria-hidden]{display:none}
}

/* The artist uses the same project stage and navigation as the work. */
#overlay.project-overlay .case-about{background:radial-gradient(ellipse at 75% 35%,#25272b,#101114 55%,#050506);overflow:auto}
.about-layout{box-sizing:border-box;min-height:100%;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:7vw;align-items:center;padding:88px 7vw 48px}
.about-heading .case-eyebrow{color:#a5a7a9;margin-bottom:25px}
#overlay .case-about .about-heading h2{font:800 clamp(40px,4.4vw,72px)/.9 "Inter Tight",sans-serif;letter-spacing:-.055em;color:#efefeb;margin:0}
.about-portrait{margin:24px 0 0;width:min(100%,290px)}
.about-portrait img{display:block;width:100%;height:auto;max-height:42vh;object-fit:contain;object-position:left center}
.about-role{margin:18px 0 0;padding-top:14px;border-top:1px solid #ffffff24;font-size:16px;line-height:1.65;color:#eee}
.about-role span{font-size:12px;color:#999}
.about-story{max-width:590px}
.about-story p{font-size:clamp(14px,1.14vw,18px);line-height:1.6;color:#b6b8bb;margin:0 0 1.15em}
.about-story .about-intro{font-size:clamp(23px,2.3vw,36px);line-height:1.2;letter-spacing:-.035em;color:#f0f0ec;margin-bottom:1.1em}
.about-contact{display:inline-flex;margin-top:10px;border-bottom:1px solid #ffffff70;padding-bottom:9px;color:#fff;font-size:10px;font-weight:700;letter-spacing:.14em;text-decoration:none}
.about-contact:hover{color:#ccc;border-color:#fff}
@media(max-width:700px){
  .about-layout{grid-template-columns:1fr;gap:24px;padding:85px 7vw 32px;min-height:100%;align-content:start}
  .about-heading .case-eyebrow{font-size:8px;margin-bottom:14px}
  #overlay .case-about .about-heading h2{font-size:clamp(48px,13vw,75px)}
  .about-portrait{width:100%;max-width:340px;margin-top:24px}
  .about-portrait img{max-height:none}
  .about-role{margin-top:18px;padding-top:12px;font-size:13px;line-height:1.45}
  .about-role span{font-size:10px}
  .about-story p{font-size:13px;line-height:1.55}
  .about-story .about-intro{font-size:23px}
}
@media(max-width:370px){
  #headerActions{gap:3px}
  #headerActions a{padding-inline:6px;font-size:7px}
  #brand span{margin-left:5px;font-size:6px}
}

/* OVO opens the same editorial viewer as the photography project. */
.logo-set .logo-button{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
.logo-set .logo-button img{transition:opacity .2s ease,transform .2s ease}
.logo-set .logo-button:hover img,.logo-set .logo-button:focus-visible img{opacity:1;transform:scale(1.07)}
.logo-set .logo-button:focus-visible{outline:1px solid #fff;outline-offset:2px}
.gallery-masthead .gallery-count{color:#fff;min-width:48px;font-variant-numeric:tabular-nums}
.collab-gallery .gallery-image-stage{background:#f8f8f7}
