/* Interaction polish; generated skin artwork remains the visual foundation. */
html{scrollbar-gutter:stable}
.hero-pause{position:absolute;right:12px;top:12px;z-index:4;width:36px;height:36px;border-radius:50%;background:#080d1470;border:1px solid #ffffff26;color:#fff;font-size:16px;backdrop-filter:blur(8px)}
.hero-pause:hover{background:#080d14bd}
.shelf-heading button{min-height:36px}
.menu-icon{min-width:40px;min-height:44px}
.rail{overscroll-behavior-x:contain;scroll-padding-inline:12px}
.rail.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
.rail:focus-visible{outline:1px solid var(--accent);outline-offset:-2px}
.desktop-links a,.bottom-nav a{transition:color .18s ease,opacity .18s ease}
.desktop-links a.active,.bottom-nav a.active{color:var(--accent)}
.gallery{gap:20px 14px}
html[data-skin] .gallery-item{border-radius:8px;overflow:hidden;line-height:1.35}
html[data-skin] .gallery-item img{width:100%;background:#ffffff04;border-radius:6px;transition:background .2s ease}
.gallery-item>span{display:block;padding:9px 2px;font-size:14px;color:#d9dde3}
.gallery-item[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:4px}
html[data-skin] dialog.art-viewer{padding-bottom:78px}
html[data-skin] dialog.art-viewer .art-canvas>img{max-height:calc(100dvh - 182px)}
.viewer-nav{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:18px}
.viewer-nav button,.viewer-back{background:#ffffff0c;border:1px solid #ffffff26;color:#fff;min-width:44px;min-height:44px;border-radius:50%;font-size:20px}
.viewer-back{position:absolute;top:max(12px,env(safe-area-inset-top));left:16px;border-radius:24px;font-size:14px;padding:0 16px}
.viewer-nav button:hover,.viewer-back:hover{background:#ffffff20}
.art-canvas.is-loading{opacity:.5}
.art-canvas{transition:opacity .2s ease}
.contact-panel{padding:20px 8px 4px}
.contact-eyebrow{font-size:10px;letter-spacing:.16em;color:var(--accent)}
.contact-panel h2{font-size:clamp(28px,5vw,40px);line-height:1.12;margin:16px 0 26px}
.contact-email{display:block;font-size:clamp(18px,4vw,24px);padding:16px 0;overflow-wrap:anywhere;border-bottom:1px solid #ffffff20}
.copy-email{margin-top:20px;padding:12px 18px;background:var(--accent);color:#08131b;border-radius:6px;font-weight:700}
.copy-status{font-size:13px;min-height:18px;color:#bbc6d0}
@media(hover:hover){.gallery-item:hover img{background:#ffffff0c}.skin-card,.art-card,.small-banner,.recent{transition:filter .2s ease,translate .2s ease}.art-card:hover,.small-banner:hover,.recent:hover{translate:0 -2px;filter:brightness(1.08)}}
@media(max-width:699px){.shelf-heading{margin-top:4px;margin-bottom:9px}.card-meta{line-height:1.35;margin-bottom:5px}.bottom-nav{padding-bottom:env(safe-area-inset-bottom)}.mobile-site{padding-bottom:calc(76px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* See all: an open exhibition space, without a framed popup. */
html[data-skin] dialog.collection-viewer{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 60%),#090d12f5;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
html[data-skin] dialog.collection-viewer::backdrop{background:#05080dda;backdrop-filter:blur(16px)}
.collection-viewer #dialog-body{max-width:1240px;margin:0 auto;padding:64px 48px 72px}
html[data-skin] .collection-viewer .close{position:fixed;z-index:3;top:max(16px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff26;border-radius:50%;background:#10151ddd;backdrop-filter:blur(12px);font:22px/1 Arial,sans-serif;color:#fff}
.collection-heading{margin-bottom:36px;padding-bottom:24px;border-bottom:1px solid #ffffff12}
.collection-eyebrow{display:block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
html[data-skin] .collection-heading h2{color:#f1f3f5;margin:0;font-size:clamp(28px,3.5vw,46px);line-height:1.08;letter-spacing:-.025em;font-weight:500;max-width:90%}
html[data-skin] .collection-viewer .gallery{display:block;columns:3;column-gap:24px}
html[data-skin] .collection-viewer .gallery-item{display:inline-block;vertical-align:top;break-inside:avoid;width:100%;margin:0 0 26px;padding:0;border:0;border-radius:0;background:none;overflow:visible;text-align:left}
html[data-skin] .collection-viewer .gallery-item img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;margin:0;border-radius:5px;background:#ffffff03;box-shadow:0 12px 32px #0003;transition:filter .2s ease,translate .2s ease}
html[data-skin] .collection-viewer .gallery-item>span{display:block;padding:12px 1px 0;font-size:14px;line-height:1.35;font-weight:400;color:#b7bec8}
html[data-skin] .collection-viewer[data-collection=banners] .gallery{columns:2}
html[data-skin] .collection-viewer[data-collection=skins] .gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
html[data-skin] .collection-viewer[data-collection=skins] .gallery-item img{height:auto;aspect-ratio:2/3;object-fit:cover;object-position:50% 25%}
html[data-skin] .collection-viewer .gallery-item[aria-pressed=true]{outline:none}
html[data-skin] .collection-viewer .gallery-item[aria-pressed=true]>span{color:var(--accent)}
html[data-skin] .collection-viewer .gallery-item[aria-pressed=true]>span::after{content:' ✓';margin-left:5px}
html[data-skin] .collection-viewer .gallery-item:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:4px}
@media(hover:hover){html[data-skin] .collection-viewer .gallery-item:hover img{filter:brightness(1.08);translate:0 -3px}html[data-skin] .collection-viewer .gallery-item:hover>span{color:#fff}}
@media(max-width:899px){.collection-viewer #dialog-body{padding:72px 24px 48px}html[data-skin] .collection-viewer .gallery{columns:2;column-gap:18px}html[data-skin] .collection-viewer[data-collection=skins] .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}}
@media(max-width:499px){.collection-viewer #dialog-body{padding:76px 18px 36px}.collection-heading{margin-bottom:24px;padding-bottom:20px}html[data-skin] .collection-viewer .gallery{column-gap:14px}html[data-skin] .collection-viewer[data-collection=banners] .gallery{columns:1}html[data-skin] .collection-viewer .gallery-item{margin-bottom:22px}html[data-skin] .collection-viewer .gallery-item>span{font-size:13px;padding-top:9px}html[data-skin] .collection-viewer .close{right:14px;top:14px}}

/* Real HTML competencies: concise, readable and shared across skins. */
.expertise-kicker{font-size:10px;line-height:1.5;letter-spacing:.13em;color:var(--accent)}
.project-with-expertise h1{font-size:clamp(30px,3.4vw,44px);line-height:1.08;letter-spacing:-.025em;color:#f3f4f6;margin:14px 0 18px;font-weight:600}
.project-with-expertise .project-copy p{font-size:16px;line-height:1.55;color:#b9c3ce;max-width:440px;margin:0}
.expertise-list{margin:26px 0 0;display:grid;gap:0}
.expertise-list>div{padding:17px 0;border-top:1px solid #ffffff12}
.expertise-list>div:last-child{padding-bottom:0}
.expertise-list dt{font-size:18px;font-weight:600;line-height:1.25;color:#f0f2f4}
.expertise-list dt strong{color:var(--accent);font-size:27px;vertical-align:baseline;margin-right:3px}
.expertise-list dd{margin:6px 0 0;color:#aebbc8;font-size:14px;line-height:1.45;max-width:450px}
html[data-skin] .project-promo .promo-bottom a{width:100%;min-height:44px;padding:11px 16px;display:flex;align-items:center;justify-content:space-between;background:var(--accent);color:#08131b;border-radius:3px;font-size:15px;font-weight:700;letter-spacing:.04em}
html[data-skin] .project-promo .promo-bottom a span{font-size:21px;color:inherit}

/* Competencies live inside the original skin panel, with its artwork and frame. */
html[data-skin="egypt"]{--project-tone:#092a32;--project-ink:#e7d8ae}
html[data-skin="olympus"]{--project-tone:#302043;--project-ink:#fff0cc}
html[data-skin="racing"]{--project-tone:#182c3c;--project-ink:#f1f5fa}
html[data-skin="raccoon"]{--project-tone:#194b50;--project-ink:#ffebc2}
html[data-skin] .project-promo .project-with-expertise{position:relative;isolation:isolate;height:auto;min-height:0;padding:24px 20px;background-image:linear-gradient(color-mix(in srgb,var(--project-tone) 90%,transparent),color-mix(in srgb,var(--project-tone) 94%,transparent)),var(--bg-catalog);background-size:auto,280px auto;background-position:center;background-repeat:repeat}
.project-with-expertise::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto;height:290px;background-image:linear-gradient(90deg,var(--project-tone) 5%,color-mix(in srgb,var(--project-tone) 75%,transparent) 38%,transparent 90%),var(--asset-image);background-size:auto,auto 125%;background-position:center,right 20%;background-repeat:no-repeat;mask-image:linear-gradient(#000 60%,transparent)}
html[data-skin] .project-with-expertise .project-copy{max-width:68%;min-height:245px;text-shadow:0 2px 8px var(--project-tone)}
html[data-skin] .project-with-expertise h1{font-size:29px;font-weight:700;color:var(--project-ink);margin:14px 0;line-height:1.08}
html[data-skin] .project-with-expertise .project-copy p{font-size:14px;line-height:1.5;color:#e3e8e8;margin:0}
html[data-skin] .project-with-expertise .expertise-list{position:relative;margin:18px 0 24px}
html[data-skin] .project-with-expertise .expertise-list dt{color:var(--project-ink)}
html[data-skin] .project-with-expertise .expertise-list dd{color:#d0dada}
html[data-skin] .project-with-expertise .promo-bottom{position:relative;inset:auto;width:100%;padding:0;margin:0;background:none}
@media(min-width:700px){html[data-skin] .project-promo .project-with-expertise{padding:30px}.project-with-expertise::before{height:310px;background-size:auto,auto 140%}html[data-skin] .project-with-expertise .project-copy{max-width:55%;min-height:235px}html[data-skin] .project-with-expertise h1{font-size:38px}html[data-skin] .project-with-expertise .project-copy p{font-size:16px;max-width:450px}html[data-skin] .project-with-expertise .expertise-list{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;margin-top:14px}html[data-skin] .project-with-expertise .promo-bottom{max-width:300px}}

/* Desktop composition: copy and capabilities left, a full-height artwork right. */
@media(min-width:1000px){
 html[data-skin] .project-promo .project-with-expertise{padding:38px 40px 36px;min-height:560px}
 html[data-skin] .project-with-expertise::before{inset:0 0 0 auto;width:44%;height:100%;background-image:linear-gradient(90deg,var(--project-tone),transparent 38%),var(--asset-image);background-size:auto,auto 110%;background-position:center,60% 22%;mask-image:linear-gradient(0deg,transparent,#000 12%,#000 94%,transparent)}
 html[data-skin] .project-with-expertise .project-copy{width:61%;max-width:none;min-height:0}
 html[data-skin] .project-with-expertise .expertise-kicker{font-size:11px;letter-spacing:.14em}
 html[data-skin] .project-with-expertise h1{font-size:42px;line-height:1.06;margin:14px 0 18px}
 html[data-skin] .project-with-expertise .project-copy p{max-width:500px;line-height:1.55;font-size:16px}
 html[data-skin] .project-with-expertise .expertise-list{width:61%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 28px;margin:26px 0 26px}
 html[data-skin] .project-with-expertise .expertise-list>div{padding:16px 0}
 html[data-skin] .project-with-expertise .expertise-list>div:last-child{grid-column:1/-1;padding-bottom:0}
 html[data-skin] .project-with-expertise .expertise-list dt{font-size:18px;min-height:34px;display:flex;align-items:baseline;gap:4px}
 html[data-skin] .project-with-expertise .expertise-list dd{font-size:14px;line-height:1.45;margin-top:3px;max-width:430px}
 html[data-skin] .project-with-expertise .promo-bottom{width:260px;max-width:61%}
 html[data-skin] .project-with-expertise .promo-bottom a{min-height:48px}
}
/* Tabs indicate the active section with colour, without an underline. */
html[data-skin] .main-tabs a,html[data-skin] .main-tabs a.active{border-bottom-color:transparent;text-decoration:none}
/* Alpha props need space around their silhouettes, not portrait crops. */
html[data-skin] .art-card.transparent-prop img{padding:9px;object-fit:contain;object-position:center}

/* Landscape art boards keep full symbol sets visible. */
html[data-skin] #slots .art-item,html[data-skin] #slots .art-card{width:240px}
html[data-skin] #slots .art-card{height:180px}
html[data-skin] #slots .art-card img{object-fit:contain;background:#081b21}
#slots .card-meta{display:block;white-space:normal;line-height:1.3}
@media(min-width:700px){html[data-skin] #slots .art-item,html[data-skin] #slots .art-card{width:288px}html[data-skin] #slots .art-card{height:216px}}
