/* Art-directed, live covers. Real product screens remain separate from the stage. */
:root { --ease-out: cubic-bezier(.16,1,.3,1); --ease-spring: cubic-bezier(.22,1.35,.48,1); }
.link-card { isolation: isolate; transition: background .45s, box-shadow .55s var(--ease-out), transform .55s var(--ease-out); }
.card-go { overflow: hidden; transition: color .3s, background .3s, transform .5s var(--ease-spring); }
.card-arrow { transition: transform .5s var(--ease-spring); }
.card-mark { transition: transform .5s var(--ease-spring); }
.icon-btn, .btn, .slider-arrow { position: relative; transition: transform .45s var(--ease-spring), background .3s, box-shadow .35s; }
.icon-btn::after { content: attr(aria-label); position: absolute; top: calc(100% + 10px); left: 50%; width: max-content; padding: 6px 10px; border-radius: 7px; background: #171717; color: white; font-size: 11px; font-weight: 500; opacity: 0; transform: translate(-50%,-4px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease-out); z-index: 5; }
.icon-btn:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
.surface-card { transition: background .35s, transform .5s var(--ease-out); }
.slider-nav { justify-content: space-between; padding-inline: .25rem; }
.dot:hover i { background: #777; }
.dot:active i { transform: scale(.85); }
.footer-brand { transition: opacity .2s; }
.footer-brand:hover { opacity: .6; }

.artwork { container-type: inline-size; position: relative; aspect-ratio: 1.25; background: var(--art-bg); color: var(--art-ink,#fff); perspective: 1000px; }
.artwork::before { content: ''; position: absolute; inset: 0; opacity: 1; background: var(--art-wallpaper, none) center / cover no-repeat; pointer-events: none; }
.artwork::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at var(--pointer-x,50%) var(--pointer-y,40%),#ffffff20,transparent 65%); opacity: 0; pointer-events: none; transition: opacity .6s; }
.art-copy { position: absolute; top: 8%; left: 8%; width: 84%; z-index: 3; }
.art-copy > span { display: block; margin-bottom: 2.5cqw; font-size: 2.1cqw; font-weight: 600; letter-spacing: .13em; }
.art-copy > strong { display: block; font-size: 6.8cqw; line-height: .98; letter-spacing: -.06em; font-weight: 600; }
.art-objects { position: absolute; inset: 39% 0 0; overflow: clip; }
.mock-browser { position: absolute; top: 12%; left: 8%; width: 86%; border: 1px solid #ffffff55; border-radius: 1.8cqw; overflow: hidden; box-shadow: 0 2cqw 3cqw #0002,0 9cqw 12cqw -4cqw #0006; transform: rotate(-7deg); transition: transform .85s var(--ease-out), box-shadow .85s var(--ease-out); background: #202020; }
.browser-chrome { height: 4.5cqw; display: flex; align-items: center; gap: .7cqw; padding: 0 1.5cqw; background: #282828; }
.browser-chrome i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #777; }
.browser-chrome i:first-child { background: #fd766a; }
.browser-chrome i:nth-child(2) { background: #e8c464; }
.browser-chrome i:nth-child(3) { background: #75be88; }
.browser-chrome span { width: 30%; height: 1.4cqw; margin: auto; border-radius: 2cqw; background: #ffffff12; }
.artwork .mock-browser > img { width: 100%; height: auto; display: block; object-fit: contain; transition: none; transform: none; }
.mock-phone { position: absolute; width: 23%; top: 7%; right: 7%; border: .7cqw solid #252525; border-radius: 3.5cqw; overflow: hidden; background: #151515; box-shadow: inset 0 0 0 1px #ffffff40,0 5cqw 9cqw #0005; transform: rotate(9deg); transition: transform .85s var(--ease-out); }
.mock-phone::after { content: ''; position: absolute; top: 1.2%; left: 35%; width: 30%; height: 2%; background: #111; border-radius: 2cqw; }
.artwork .mock-phone > img { width: 100%; height: auto; display: block; transform: none; transition: none; }
.art-diby { --art-bg: #d9dfcf; --art-ink: #253628; --art-wallpaper: url("assets/wallpapers/mineral.webp"); }
.art-diby .mock-browser { top: 16%; left: 8%; width: 83%; }
.art-diby .mock-phone { top: 5%; right: 6%; }
.art-synthex { --art-bg: #dcd6f3; --art-ink: #362358; --art-wallpaper: url("assets/wallpapers/prism.webp"); }
.art-synthex .mock-browser { top: 19%; left: 14%; width: 91%; transform: rotate(-9deg); background: #fff; }
.art-synthex .browser-chrome { background: #f4f1fa; }
.art-synthex .browser-chrome span { background: #37285812; }
.art-fnz { --art-bg: #1c354b; --art-wallpaper: linear-gradient(#173754db, #17375499), url("assets/wallpapers/prism.webp"); }
.art-fnz .art-copy strong { font-size: 6.8cqw; }
.system-sheet { position: absolute; top: 11%; left: 30%; width: 60%; padding: 5cqw; border-radius: 2cqw; color: #193851; background: #f8fbff; transform: rotate(10deg); box-shadow: 0 5cqw 9cqw #0004; transition: transform .9s var(--ease-out); }
.system-label { display: block; font-size: 1.7cqw; letter-spacing: .14em; }
.system-sheet > strong { display: block; font-size: 14cqw; letter-spacing: -.06em; line-height: 1.3; }
.system-sheet > strong span { display: block; font-size: 3cqw; font-weight: 500; letter-spacing: -.02em; }
.system-swatches { display: flex; margin: 3cqw 0; }
.system-swatches i { width: 7cqw; height: 7cqw; background: #203e59; border-radius: 50%; margin-right: -1cqw; border: 1px solid #fff; }
.system-swatches i:nth-child(2) { background: #6389ab; }
.system-swatches i:nth-child(3) { background: #a9c4dc; }
.system-swatches i:nth-child(4) { background: #deebf5; }
.system-components { display: flex; gap: 2cqw; align-items: center; font-size: 2cqw; white-space: nowrap; }
.system-components span:first-child { padding: 1.5cqw 2cqw; background: #203e59; color: white; border-radius: 1cqw; }
.system-lines { display: grid; gap: 1.4cqw; margin-top: 3cqw; }
.system-lines i { display: block; height: 1.2cqw; width: 100%; border-radius: 1cqw; background: #dbe5ed; }
.system-lines i:last-child { width: 60%; }
.art-desygner { --art-bg: #efd49a; --art-ink: #58411c; --art-wallpaper: url("assets/wallpapers/ochre.webp"); }
.art-desygner .mock-browser { top: 12%; left: 12%; width: 89%; transform: rotate(7deg); }
.art-mixtapez { --art-bg: #2a151a; --art-ink: #f5c8b6; --art-wallpaper: url("assets/wallpapers/nocturne.webp"); }
.music-sleeve { position: absolute; top: 8%; left: 19%; width: 44%; border: 1px solid #ffffff25; border-radius: 1.5cqw; overflow: hidden; transform: rotate(-9deg); z-index: 2; box-shadow: 0 4cqw 7cqw #0006; transition: transform .9s var(--ease-out); }
.artwork .music-sleeve > img { display: block; width: 100%; height: auto; transform: none; }
.vinyl { position: absolute; top: 12%; left: 48%; width: 47cqw; height: 47cqw; border-radius: 50%; background: repeating-radial-gradient(circle,#19191b 0px,#19191b 2px,#303034 3px,#19191b 4px); box-shadow: 0 3cqw 6cqw #0007; transition: transform 1s var(--ease-out); }
.vinyl::after { content: ''; position: absolute; inset: 36%; border-radius: 50%; border: 5cqw solid #be544c; background: #17171a; }
.art-feature { aspect-ratio: 1.9; }
.art-feature .art-copy { top: 14%; left: 7%; width: 33%; }
.art-feature .art-copy > span { font-size: 1.1cqw; margin-bottom: 2.5cqw; }
.art-feature .art-copy > strong { font-size: 4.4cqw; }
.art-feature .art-objects { inset: 0 0 0 45%; overflow: visible; }
.art-feature.art-diby .mock-browser { width: 110%; top: 23%; left: 7%; transform: rotate(-7deg); }
.art-feature.art-diby .mock-phone { width: 31%; top: 43%; right: 65%; transform: rotate(6deg); }
.art-feature .browser-chrome { height: 2.7cqw; gap: .4cqw; padding-inline: 1cqw; }
.art-feature .browser-chrome i { width: .55cqw; height: .55cqw; }
.art-feature .mock-phone { border-width: .45cqw; border-radius: 2.8cqw; }
.art-mobile { --art-bg: #e6e2da; --art-ink: #403d34; --art-wallpaper: linear-gradient(#eee8db77,#eee8db33), url("assets/wallpapers/ochre.webp"); }
.art-mobile .mock-phone { width: 34%; top: 21%; right: 63%; transform: rotate(-10deg); }
.art-mobile .phone-two { right: 30%; top: 10%; transform: rotate(9deg); z-index: 2; }
.art-mobile .phone-three { right: -3%; top: 25%; transform: rotate(18deg); }

/* The small products have graphic, brand-specific covers, rather than bare icons. */
.app-art { container-type: inline-size; color: #fff; background: #292036; isolation: isolate; }
.app-art-copy { position: absolute; z-index: 2; top: 12%; left: 8%; right: 8%; }
.app-art-copy span { display: block; font-size: 2cqw; font-weight: 600; letter-spacing: .13em; opacity: .7; }
.app-art-copy strong { display: block; margin-top: 3cqw; font-size: 7.5cqw; font-weight: 600; line-height: 1; letter-spacing: -.055em; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .link-card:hover { background: #f1f1ef; box-shadow: 0 10px 25px -16px #0005; transform: translateY(-5px); }
  .link-card:hover .card-go, .link-card:focus-visible .card-go { background: #171717; color: white; transform: scale(1.08); }
  .link-card:hover .card-arrow { transform: translate(2px,-2px); }
  .link-card:hover .card-mark { transform: rotate(-5deg); }
  .link-card:hover .artwork::after { opacity: 1; }
  .link-card:hover .mock-browser { transform: translateY(-2.5cqw) rotate(-3deg); box-shadow: 0 3cqw 4cqw #0002,0 12cqw 13cqw -5cqw #0005; }
  .link-card:hover .mock-phone { transform: translateY(-3cqw) rotate(4deg); }
  .link-card:hover .system-sheet { transform: translateY(-2cqw) rotate(5deg); }
  .link-card:hover .music-sleeve { transform: translate(-2cqw,-1cqw) rotate(-13deg); }
  .link-card:hover .vinyl { transform: translateX(5cqw) rotate(40deg); }
  .link-card:hover .phone-one { transform: translateY(-2cqw) rotate(-14deg); }
  .link-card:hover .phone-two { transform: translateY(-4cqw) rotate(3deg); }
  .link-card:hover .phone-three { transform: translateY(-1cqw) rotate(21deg); }
  .icon-btn:hover { transform: translateY(-4px); box-shadow: 0 7px 14px -6px #0006; background: #363636; }
  .icon-btn:hover::after { opacity: 1; transform: translate(-50%,0); transition-delay: .15s; }
  .btn:hover, .slider-arrow:hover:not(:disabled) { transform: translateY(-3px); }
  .slider-arrow:hover:not(:disabled) { background: #171717; color: white; }
  .surface-card:hover { transform: translateY(-4px); background: #efefed; }
}
.link-card:active { transform: scale(.99); transition-duration: .15s; }
.icon-btn:active, .btn:active, .slider-arrow:active:not(:disabled) { transform: scale(.94); transition-duration: .12s; }
@media (max-width: 639px) {
  .art-feature { aspect-ratio: 1.25; }
  .art-feature .art-copy { top: 8%; left: 8%; width: 84%; }
  .art-feature .art-copy > span { font-size: 2.1cqw; margin-bottom: 2.5cqw; }
  .art-feature .art-copy > strong { font-size: 6.8cqw; }
  .art-feature .art-objects { inset: 39% 0 0; overflow: clip; }
  .art-feature.art-diby .mock-browser { top: 16%; left: 8%; width: 83%; }
  .art-feature.art-diby .mock-phone { top: 5%; right: 6%; width: 23%; }
  .art-mobile .mock-phone { top: 17%; width: 28%; right: 62%; }
  .art-mobile .phone-two { top: 6%; right: 35%; }
  .art-mobile .phone-three { top: 20%; right: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .link-card, .link-card *, .link-card *::after, .icon-btn, .icon-btn::after, .btn, .slider-arrow, .surface-card { transition: none !important; }
  .link-card:hover, .link-card:active, .surface-card:hover, .icon-btn:hover, .btn:hover, .slider-arrow:hover:not(:disabled) { transform: none; }
  .link-card:hover .mock-browser { transform: rotate(-7deg); }
  .link-card:hover .mock-phone { transform: rotate(9deg); }
  .art-objects { transform: none; }
}


.link-card:is(:hover, :focus-visible) .artwork img { transform: none; }



/* A quiet glass capsule takes over once the hero leaves the viewport. */
.floating-nav {
  position: fixed;
  z-index: 40;
  top: max(16px, env(safe-area-inset-top));
  left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 999px;
  background: rgb(249 249 247 / .84);
  -webkit-backdrop-filter: blur(64px) saturate(160%);
  backdrop-filter: blur(64px) saturate(160%);
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / .28), 0 2px 6px rgb(0 0 0 / .08), inset 0 0 0 1px rgb(17 17 17 / .05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(.97);
  transform-origin: top left;
  transition: opacity .3s, transform .5s var(--ease-out), visibility .3s;
  pointer-events: none;
}
.floating-nav.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.floating-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 999px; padding-right: 3px; }
.floating-brand img { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.floating-brand span { white-space: nowrap; font-size: 16px; font-weight: 600; letter-spacing: -.035em; }
.floating-socials { display: flex; gap: 6px; }
.floating-socials .icon-btn { width: 42px; height: 42px; }
.floating-socials .icon-btn svg { width: 18px; height: 18px; }
.floating-nav :focus-visible { outline-offset: 3px; }
.is-work-dialog-open .floating-nav { opacity: 0; visibility: hidden; pointer-events: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .floating-nav { background: rgb(249 249 247 / .96); }
}
@media (max-width: 639px) {
  .floating-nav { left: 16px; gap: 12px; padding: 6px; }
  .floating-brand { gap: 8px; }
  .floating-brand img { width: 38px; height: 38px; }
  .floating-brand span { font-size: 14px; }
  .floating-socials { gap: 5px; }
  .floating-socials .icon-btn { width: 38px; height: 38px; }
  .floating-socials .icon-btn svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-nav { transition: none; transform: none; }
}

.app-art { background-image: var(--app-wallpaper); background-position: center; background-size: cover; }
.app-art-copy { right: 8%; }
.app-art-copy strong { font-size: 6.4cqw; max-width: 84cqw; }

/* Keep the page outside an opacity animation so glass can sample its backdrop. */
body.public-page-motion { animation: none; }

