/* A softer frame for Dorian's interfaces and game worlds. */
.nav{height:88px;gap:20px}
.brand-mark{width:10px;height:10px;border-radius:50%}
.nav-links{gap:6px;background:var(--pale);border-radius:999px;padding:6px}
.nav-links a{padding:9px 20px;border-radius:999px}
.nav-links a[aria-current=page]{background:white}
.nav-links .nav-contact{border:0;background:var(--blue);color:white}
.hero{padding-top:28px;position:relative}
.hero-top{align-items:center;gap:72px;margin-bottom:34px}
.hero-identity{position:relative;flex:1;min-width:0}
.hero-top h1{font-size:clamp(62px,7.2vw,104px);letter-spacing:-.055em;line-height:1.01;max-width:none}
.hero-note{width:310px;padding:0;flex-shrink:0}
.hero-note .intro{font-size:16px;padding:0;line-height:1.6;max-width:none}
.hero-note strong{display:block;font-size:13px;font-weight:500;color:var(--blue);margin:12px 0}
.hero-note .scroll-link{display:inline-block;font-size:13px;padding:10px 18px;border:1px solid var(--line);border-radius:999px}
.hero-stage{position:relative;padding-left:7%}
.hero-trail{position:absolute;width:29%;height:300px;left:0;top:-85px;z-index:1;color:var(--blue);pointer-events:none;overflow:visible}
.project-scene{height:510px;border-radius:120px 32px 110px 32px;min-height:0;margin:0;box-shadow:none}
.project-scene .scene-control{bottom:24px;right:28px;gap:8px}
.project-scene .scene-control button{width:auto;min-height:44px;height:auto;padding:10px 17px;border-radius:999px;font-size:12px}
.scene-project-caption{padding:65px 38px 30px;padding-right:345px}
.scene-project-caption strong{font-size:30px}
.project-scene .sinnoh .world-logo{width:42%;bottom:4%;left:5%}
.hero-bottom{padding-left:7%;font-size:12px}
.selection{padding-top:90px}
.section-head h2,.gallery-title h2{letter-spacing:-.04em}
.feature{gap:70px;margin-bottom:100px}
.feature-image{border-radius:64px 20px 64px 20px;overflow:hidden}
.feature:nth-of-type(even) .feature-image{border-radius:20px 85px 20px 85px}
.feature-copy h3{font-weight:500;letter-spacing:-.035em}
.feature-copy .read{border:0;background:var(--pale);padding:12px 20px;border-radius:999px}
.all-work{border:0;border-radius:999px;background:var(--pale);padding:26px 32px;color:var(--blue)}
.statement{border-radius:100px 0 100px 0;margin-top:12px}
.statement h2{font-weight:400;letter-spacing:-.035em}
.filter-row{gap:8px}
.filter-row button{padding:10px 18px;border:1px solid var(--line);border-radius:999px;min-height:44px;font-size:13px}
.filter-row button[aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue)}
.archive{gap:60px 38px}
.archive-item .art{border-radius:54px 18px 54px 18px}
.archive-item:nth-child(even) .art{border-radius:18px 70px 18px 70px}
.archive-item h2{letter-spacing:-.03em}
.case-head h1{letter-spacing:-.045em}
.case-meta{border-top:0;background:var(--pale);padding:24px 30px;border-radius:28px;margin-top:36px}
.case-stage .art{border-radius:52px 18px 52px 18px}
.case-contents{gap:4px}
.case-contents a{padding:9px 14px;border-radius:999px;max-width:max-content}
.case-contents a:hover{background:var(--pale);color:var(--blue)}
.case-study>div{min-width:0}
.case-study .story-block h2{max-width:22ch}
.case-study .story-block p{max-width:68ch;white-space:normal}
.case-study .story-block p+p{margin-top:16px}
.case-media{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;margin:36px 0}
.case-media figure{margin:0;min-width:0}
.case-media .gallery-zoom{padding:12px;align-items:flex-start}
.case-media img{width:100%;height:auto;display:block;border-radius:12px}
.case-media-mobile img{max-width:280px}
.case-media-mobile-set{grid-template-columns:repeat(3,minmax(0,1fr))}
.case-media-mobile-set:has(figure:only-child){grid-template-columns:minmax(0,320px)}
.case-media-mobile-set:has(figure:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.case-media-mobile-set,.case-media-mobile-set:has(figure:nth-child(2):last-child){grid-template-columns:1fr}}
.case-protagonists{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.case-protagonists .gallery-zoom{background:var(--ink);border-radius:28px;padding:24px;justify-content:center}
.case-protagonists img{height:360px;width:100%;object-fit:contain;border-radius:0}
.case-protagonists figcaption{text-align:center}
@media(max-width:700px){.case-protagonists{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.case-protagonists .gallery-zoom{padding:12px;border-radius:20px}.case-protagonists img{height:240px}}
.case-media figcaption{font-size:13px;line-height:1.6;margin-top:16px;color:var(--muted)}
.case-media:has(img[src*="confluence-"]){grid-template-columns:1fr}
.saga-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:36px 0 0}
.saga-logos li{min-width:0;text-align:center}
.saga-logos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--ink);border-radius:24px}
.saga-logos h3{font-size:16px;margin:16px 0 6px}
.saga-logos p{font-size:13px;color:var(--muted)}
@media(max-width:700px){.saga-logos{grid-template-columns:1fr;gap:28px}.saga-logos img{max-width:360px;margin:auto}}
@media(max-width:700px){.case-media{grid-template-columns:1fr;gap:28px}.case-study .case-contents a{min-height:44px}.case-study .story-block h2{max-width:none}}
.case-decisions article{border:0;padding:20px 0}
.case-decisions article>span{display:none}
.case-decisions article{display:block}
.case-decisions h4{color:var(--blue)}
.gallery{align-items:start;gap:34px}
.gallery figure{background:transparent;padding:0;gap:20px}
.gallery-zoom{padding:20px;border-radius:28px;background:var(--pale);width:100%;display:flex;justify-content:center}
.gallery figure img{border:0;border-radius:8px;max-height:760px}
.gallery figcaption{padding:0 6px;line-height:1.6}
.gallery-terrang{grid-template-columns:1fr 1fr 1fr}
.gallery-vigilant{grid-template-columns:1fr}
.gallery-vigilant .gallery-zoom{padding:12px;background:var(--ink)}
.gallery-vigilant figure img{max-height:none;width:100%}
.gallery.single figure img{max-height:820px}
.related-projects>a{border:0;background:var(--pale);border-radius:30px;padding:28px 32px;margin-bottom:14px}
.next-project{border-radius:90px 90px 0 0}
.portrait-frame{border-radius:140px 35px 100px 35px}
.footer-main a.contact{border:0;background:var(--pale);padding:15px 24px;border-radius:999px}
.footer-bottom{border:0}
.art.terrang-web{background:#e9e7df}
.terrang-web .web-desktop{position:absolute;left:6%;top:8%;width:73%;height:100%;object-fit:cover;object-position:top;border-radius:14px;border:5px solid white}
.terrang-web .web-mobile{position:absolute;right:5%;top:29%;width:23%;height:78%;object-fit:cover;object-position:top;border:5px solid var(--ink);border-radius:25px;box-shadow:0 10px 25px rgba(23,31,43,.12)}
.art.vigilant-ui{background:#101010;padding:16px;display:flex;align-items:center;justify-content:center}
.vigilant-ui img{width:100%;height:100%;object-fit:contain}
.case-stage .vigilant-ui{height:auto;aspect-ratio:16/9}
@media(hover:hover){.nav-links a,.scroll-link,.feature-copy .read,.filter-row button{transition:background-color 160ms ease,color 160ms ease}.nav-links a:hover,.scroll-link:hover,.feature-copy .read:hover{background:var(--blue);color:white}}
@media(max-width:1000px){.hero-top{gap:32px}.hero-note{width:260px}.hero-note .intro{font-size:15px}.hero-top h1{font-size:clamp(58px,7.1vw,82px)}.hero-trail{width:25%;height:240px}.project-scene{height:460px;border-radius:90px 28px 75px 28px}.hero-stage{padding-left:3%}.hero-bottom{padding-left:3%}.feature{gap:38px}.case-title-row{gap:35px}.gallery-terrang{grid-template-columns:1fr 1fr}.case-story{gap:40px;grid-template-columns:150px 1fr}}
@media(max-width:700px){.nav{height:82px;gap:8px}.nav-links{gap:2px;padding:4px}.nav-links a{padding:8px 10px}.hero{padding-top:20px}.hero-top{display:block;margin-bottom:26px}.hero-top h1{font-size:clamp(46px,12vw,78px);letter-spacing:-.05em}.hero-note{width:100%;padding:24px 0 0}.hero-note .intro{font-size:15px;max-width:420px}.hero-note strong{margin:14px 0}.hero-note .scroll-link{padding:8px 15px;min-height:40px}.hero-stage{padding-left:0}.hero-trail{display:none}.project-scene{height:440px;border-radius:65px 20px 65px 20px;margin:0}.project-scene .scene-control{left:20px;right:auto;bottom:18px;gap:6px}.project-scene .scene-control button{padding:9px 12px;font-size:11px}.scene-project-caption{padding:60px 22px 80px}.scene-project-caption strong{font-size:24px}.project-scene .sinnoh .world-logo{width:90%;left:5%;bottom:21%}.project-scene .wander-world .world-logo{top:39%}.hero-bottom{padding:18px 0;display:block;font-size:11px}.hero-bottom span{display:block;margin-bottom:5px}.selection{padding-top:48px}.feature,.feature:nth-of-type(even){gap:22px;margin-bottom:56px}.feature-image,.feature:nth-of-type(even) .feature-image{border-radius:38px 14px 38px 14px}.all-work{border-radius:28px;padding:23px;gap:16px}.all-work small{display:none}.statement{border-radius:50px 0 50px 0;padding:55px 0}.filter-row{gap:7px}.filter-row button{padding:9px 13px;font-size:12px}.archive-item .art,.archive-item:nth-child(even) .art{border-radius:38px 14px 38px 14px}.case-meta{padding:22px;border-radius:24px;gap:20px}.case-stage .art{border-radius:30px 12px 30px 12px}.case-story{display:block}.case-contents{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;margin-bottom:32px}.case-contents a{background:var(--pale);padding:8px 13px}.gallery-terrang{grid-template-columns:1fr}.gallery-zoom{padding:14px;border-radius:22px}.gallery-vigilant .gallery-zoom{padding:7px}.gallery-title h2{font-size:32px}.next-project{border-radius:45px 45px 0 0}.related-projects>a{padding:24px;border-radius:24px}.portrait-frame{border-radius:90px 30px 70px 30px}.footer-main a.contact{font-size:14px;max-width:100%;overflow-wrap:anywhere}.art.vigilant-ui{height:auto;aspect-ratio:16/9;padding:8px}.terrang-web .web-desktop{border-width:3px}.terrang-web .web-mobile{border-width:3px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.nav-links a,.scroll-link,.feature-copy .read,.filter-row button{transition:none}}

/* Terräng: compact previews, full desktop pages remain available on click. */
body[data-page="project:terrang"] .case-media{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
body[data-page="project:terrang"] .case-media .gallery-zoom{padding:12px}
body[data-page="project:terrang"] .case-media img,
body[data-page="project:terrang"] .gallery img{width:100%;height:340px;object-fit:cover;object-position:top;max-height:340px}
body[data-page="project:terrang"] .case-media-mobile-set{grid-template-columns:minmax(0,280px)}
body[data-page="project:terrang"] .case-media-mobile img,
body[data-page="project:terrang"] .gallery img[src*="actuel-mobile"]{height:auto;max-height:520px;width:auto;max-width:100%;object-fit:contain}
@media(max-width:700px){
body[data-page="project:terrang"] .case-media{grid-template-columns:1fr}
body[data-page="project:terrang"] .case-media img,
body[data-page="project:terrang"] .gallery img{height:260px;max-height:260px}
body[data-page="project:terrang"] .case-media-mobile img,
body[data-page="project:terrang"] .gallery img[src*="actuel-mobile"]{height:auto;max-height:460px}
}
body[data-page="project:terrang"] img[src*="actuel-desktop"]{object-fit:contain!important}
body[data-page="project:terrang"] img[src*="actuel-desktop"]{height:auto!important;max-height:340px}

/* Terräng cover: full-width page preview, with no oversized mockup frame. */
.art.terrang-web,.case-stage .art.terrang-web{height:auto!important;min-height:0;aspect-ratio:16/10;padding:0;overflow:hidden;background:#fff}
.terrang-web .web-desktop{position:static!important;display:block;left:auto;top:auto;width:100%!important;height:auto!important;max-height:none!important;object-fit:initial!important;border:0!important;border-radius:0!important;transform:none}
.terrang-web .web-mobile{display:none}

/* Compact complete previews of the Vigilant design iterations. */
body[data-page="project:vigilant"] .case-media,.gallery-vigilant{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
body[data-page="project:vigilant"] .case-media img,.gallery-vigilant figure img{width:100%;height:260px;max-height:260px;object-fit:contain}
body[data-page="project:vigilant"] .case-media .gallery-zoom{background:#101010;padding:8px}
@media(max-width:700px){body[data-page="project:vigilant"] .case-media,.gallery-vigilant{grid-template-columns:1fr}body[data-page="project:vigilant"] .case-media img,.gallery-vigilant figure img{height:auto;max-height:240px;object-fit:contain}}

/* Review: keep full visual previews readable without duplicating tall screens. */
.case-status{font-size:13px;color:var(--blue);margin-top:20px}
.gallery:not(.gallery-terrang):not(.gallery-vigilant) figure img{width:100%;height:420px;max-height:420px;object-fit:contain}
.case-media:not(.case-protagonists) img{max-height:480px;object-fit:contain}
@media(max-width:700px){.gallery:not(.gallery-terrang):not(.gallery-vigilant) figure img{height:auto;max-height:360px}.case-media:not(.case-protagonists) img{max-height:360px}.case-contents a{font-size:13px}.case-status{line-height:1.6}}

.art.vigilant-photo{padding:0;background:var(--ink)}
.vigilant-photo img{object-fit:cover;object-position:50% 55%}

