/* AeroStar. One file, two sites.
   The studio is the blue side: white type on the brand blue, and it moves.
   The shop is the white side: blue on white, quiet, nothing moves unless you touch it.
   The desk (#/admin) is the back office for adding products. */

:root {
  --blue: #1712E8;         /* the brand blue */
  --blue-dk: #100CB4;      /* the big star behind the studio headline */
  --navy: #0B0A33;         /* running copy on white */
  --white: #FFFFFF;
  --mist: #F5F5FB;         /* product tiles */
  --line: #E4E3F2;
  --muted: #63627F;
  --pale: #CFCDFF;         /* secondary copy on blue */
  --danger: #B4142C;

  /* artwork colours */
  --a-blue: #1712E8;
  --a-lav: #EFEEFF;
  --a-dark: #05050C;
  --a-grid: #1E1E33;

  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --text: 'Familjen Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pad: clamp(1.1rem, 4vw, 2.75rem);
  --gap: clamp(1rem, 2.4vw, 2rem);
  --star: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20994.000000%201061.000000%22%20role=%22img%22%20aria-label=%22AeroStar%20star%22%3E%20%3Cg%20transform=%22translate(0.000000,1061.000000)%20scale(0.100000,-0.100000)%22%20fill=%22currentColor%22%20stroke=%22none%22%3E%20%3Cpath%20d=%22M7016%208332%20l-2136%20-2220%20-68%20-6%20c-37%20-4%20-859%20-65%20-1827%20-136%20-968%20-72%20-1766%20-131%20-1772%20-132%20-7%20-2%20421%20-397%20951%20-878%20l965%20-875%20-27%20-35%20c-14%20-19%20-705%20-923%20-1535%20-2009%20-829%20-1085%20-1506%20-1975%20-1504%20-1978%203%20-2%201028%20667%202278%201488%201251%20820%202286%201499%202300%201507%2026%2015%2030%2012%201209%20-882%20650%20-493%201184%20-896%201185%20-894%202%202%20-37%20718%20-86%201593%20-80%201421%20-88%201591%20-74%201601%209%206%20688%20434%201510%20950%201289%20810%201490%20939%201462%20942%20-18%201%20-675%20-24%20-1462%20-57%20-786%20-33%20-1432%20-58%20-1434%20-56%20-2%202%20495%20968%201104%202145%20609%201178%201105%202143%201102%202146%20-2%203%20-966%20-994%20-2141%20-2214z%22/%3E%20%3C/g%3E%20%3C/svg%3E");
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5rem); }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body[data-site="studio"] { background: var(--blue); color: var(--white); }
body[data-site="desk"] { background: var(--mist); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--blue); padding: .7rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
h1[tabindex="-1"]:focus { outline: none; }

/* =====================================================================
   THE DOOR BETWEEN THE TWO SITES
   ===================================================================== */
.curtain {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  transform: translateY(101%); transition: transform .46s cubic-bezier(.72, 0, .18, 1);
  background: var(--white); color: var(--blue);
}
.curtain.is-in { transform: translateY(0); }
.curtain.is-out { transform: translateY(-101%); }
.curtain[data-to="studio"] { background: var(--blue); color: var(--white); }
.curtain[data-to="desk"] { background: var(--navy); color: var(--white); }
.curtain__lock { display: flex; align-items: center; gap: .7rem; font: 500 1.5rem/1 var(--text); letter-spacing: -.01em; }
.curtain__lock svg:first-child { height: 3rem; width: auto; }
.curtain__lock svg:nth-child(2) { height: 1.45rem; width: auto; }
.curtain.is-in .curtain__lock { animation: lock-in .5s .12s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lock-in { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }

/* =====================================================================
   STUDIO (the blue side)
   ===================================================================== */
#studio { font-family: var(--display); font-variation-settings: "wdth" 100; }
#studio a { color: inherit; }
#studio :focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.st-wrap { max-width: 84rem; margin-inline: auto; padding-inline: var(--pad); }

.st-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--blue); }
.st-top__in { display: flex; align-items: center; gap: .4rem 1.8rem; min-height: 4.25rem; }
.st-brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; padding-block: .6rem; }
.st-brand svg:first-child { height: 2rem; width: auto; }
.st-brand svg:last-child { height: 1.05rem; width: auto; }
.st-nav { display: flex; align-items: center; gap: 1.7rem; }
.st-nav a { text-decoration: none; font-weight: 500; padding-block: .5rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.st-nav a:hover { background-size: 100% 2px; }
.st-shop {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .45rem 1.05rem;
  background: var(--white); color: var(--blue) !important; border-radius: 99rem; font-weight: 700; text-decoration: none;
}
.st-shop svg { width: .8rem; height: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.st-shop:hover svg { transform: rotate(144deg); }

/* --- hero --- */
.st-hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); min-height: calc(100svh - 4.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.st-hero__star { position: absolute; right: -9vw; top: 46%; width: min(66vw, 58rem); color: var(--blue-dk); transform: translateY(-50%); pointer-events: none; }
.st-hero__star svg { width: 100%; height: auto; transform: rotate(var(--rot, 0deg)) ; will-change: transform; }
.st-hero__words { position: relative; font-weight: 800; font-size: clamp(3.6rem, min(22.5vw, 21svh), 15.5rem); line-height: .9; letter-spacing: -.045em; white-space: nowrap; }
.st-hero__words .ln { display: block; overflow: hidden; }
.st-hero__words .w { display: inline-block; font-variation-settings: "wdth" 62; }
.st-hero__words .s { display: inline-block; width: .42em; margin-left: .14em; vertical-align: .06em; }
.st-hero__words .s svg { width: 100%; height: auto; }
.st-hero__foot { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.st-hero__line { font-weight: 500; font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em; max-width: 24ch; }
.st-hero__what p { max-width: 44ch; color: var(--pale); }
.st-act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.st-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.4rem;
  border-radius: 99rem; border: 2px solid var(--white); background: var(--white); color: var(--blue) !important;
  font-weight: 700; text-decoration: none; white-space: nowrap; transition: font-variation-settings .35s;
}
.st-btn:hover { font-variation-settings: "wdth" 118; }
.st-btn--line { background: transparent; color: var(--white) !important; }

/* the one load sequence: lines rise, the star lands, then the type starts breathing */
.motion .st-hero__words .w { animation: rise .9s cubic-bezier(.16, .84, .24, 1) both, breathe 9s 1.2s ease-in-out infinite; }
.motion .st-hero__words .s { animation: rise .9s .12s cubic-bezier(.16, .84, .24, 1) both; }
.motion .st-hero__words .ln:nth-child(2) .w { animation-delay: .1s, 2.7s; }
.motion .st-hero__words .ln:nth-child(2) .s { animation-delay: .22s; }
.motion .st-hero__words .ln:nth-child(3) .w { animation-delay: .2s, 4.2s; }
.motion .st-hero__words .s svg { animation: spin 16s linear infinite; }
.motion .st-hero__star { animation: land 1.3s .15s cubic-bezier(.16, .84, .24, 1) both; }
.motion .st-hero__foot { animation: lock-in .8s .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes breathe { 0%, 100% { font-variation-settings: "wdth" 62; } 50% { font-variation-settings: "wdth" 125; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes land { from { opacity: 0; transform: translateY(-50%) scale(.3) rotate(-90deg); } to { opacity: 1; transform: translateY(-50%); } }

/* --- ticker --- */
.st-tick { background: var(--white); color: var(--blue); overflow: hidden; padding-block: .85rem; }
.st-tick__run { display: flex; width: max-content; }
.st-tick__run ul { display: flex; align-items: center; flex: none; }
.st-tick__run li { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); font-variation-settings: "wdth" 118; white-space: nowrap; }
.st-tick__run li svg { width: .8em; height: auto; }
.motion .st-tick__run { animation: ticker 36s linear infinite; }
.st-tick:hover .st-tick__run { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --- sections --- */
.st-sec { padding-block: clamp(4rem, 10vw, 8.5rem) 0; }
.st-h { font-weight: 800; font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: .92; letter-spacing: -.04em; font-variation-settings: "wdth" 62; margin-bottom: clamp(1.6rem, 4vw, 3.2rem); transition: font-variation-settings 1.2s cubic-bezier(.16, .84, .24, 1); }
.motion .st-h.is-seen, .no-motion .st-h { font-variation-settings: "wdth" 112; }

/* work: one stage that plays, and the list that drives it */
.reel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: start; }
.reel__stage { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--a-dark); border: clamp(.5rem, 1.1vw, .9rem) solid var(--white); }
.scene { position: absolute; inset: 0; visibility: hidden; }
.scene.was-on { visibility: visible; z-index: 1; }
.scene.is-on { visibility: visible; z-index: 2; }
.motion .scene.is-on { animation: scene-in .7s cubic-bezier(.72, 0, .18, 1) both; }
@keyframes scene-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.reel__bar { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.reel__toggle { flex: none; min-width: 4.6rem; min-height: 2.4rem; padding: .3rem .9rem; border-radius: 99rem; border: 2px solid var(--white); background: transparent; color: var(--white); font-weight: 600; }
.reel__toggle:hover { background: var(--white); color: var(--blue); }
.reel__ticks { display: flex; gap: .35rem; flex: 1; }
.tick { position: relative; flex: 1; height: 2.4rem; padding: 0; border: 0; background: none; }
.tick::before, .tick i { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; }
.tick::before { width: 100%; background: #5551F2; }
.tick i { width: 0; background: var(--white); }
.tick.is-done i, .tick.is-on i { width: 100%; }
.motion .reel.is-playing .tick.is-on i { animation: tick var(--dur, 4.6s) linear both; }
@keyframes tick { from { width: 0; } to { width: 100%; } }
.reel__index { border-top: 2px solid var(--white); }
.reel__index button { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); align-items: baseline; width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid #5551F2; background: none; text-align: left; color: var(--pale); }
.reel__index button svg { width: .9rem; height: auto; opacity: 0; transform: rotate(-72deg); transition: opacity .3s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reel__index b { display: block; font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; font-variation-settings: "wdth" 78; transition: font-variation-settings .5s cubic-bezier(.16, .84, .24, 1); }
.reel__index .t, .reel__index .t span { display: block; }
.reel__index .t span { font-size: .95rem; margin-top: .15rem; }
.reel__index button:hover, .reel__index button.is-on { color: var(--white); }
.reel__index button.is-on b, .reel__index button:hover b { font-variation-settings: "wdth" 122; }
.reel__index button.is-on svg { opacity: 1; transform: none; }
.reel__say { margin-top: 1.4rem; max-width: 46ch; min-height: 6.4em; color: var(--white); }

/* what each scene does when it comes on */
.reel .p1__type { font-size: 16.5cqw; }
.motion .scene.is-on .p1__type { animation: from-left .95s .3s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p1__shape { animation: twirl 1.1s .45s cubic-bezier(.16, .84, .24, 1) both, spin 12s 1.6s linear infinite; }
.motion .scene.is-on .p1__dots { animation: wipe-x .8s .8s ease-out both; }
.motion .scene.is-on .p2__l1 { animation: from-top .8s .3s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p2__l2 { animation: from-right .8s .45s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p2__bar { transform-origin: 0 50%; animation: grow-x .9s .9s cubic-bezier(.72, 0, .18, 1) both; }
.motion .scene.is-on .p2__cap, .motion .scene.is-on .p3__cap { animation: fade .6s 1.3s both; }
.motion .scene.is-on .p3__rings { animation: rings 4.4s .2s ease-in-out infinite alternate both; }
.motion .scene.is-on .p3__star { animation: star-in 1s .4s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p5__a { animation: pop .6s .35s cubic-bezier(.3, 1.5, .5, 1) both; }
.motion .scene.is-on .p5__b { animation: pop .6s .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.motion .scene.is-on .p5__c { animation: pop-d .6s .65s cubic-bezier(.3, 1.5, .5, 1) both; }
.motion .scene.is-on .p5__d { animation: pop .7s .8s cubic-bezier(.3, 1.5, .5, 1) both; }
.motion .scene.is-on .p6__a { animation: deal-a .7s .3s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p6__b { animation: deal-b .7s .48s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on .p6__d { animation: deal-d .7s .66s cubic-bezier(.16, .84, .24, 1) both; }
.reel .p4__big { font-size: 20cqw; }
.reel .p4__curve { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .scene.is-on .p4__curve { animation: draw 1.6s .35s cubic-bezier(.6, 0, .3, 1) both; }
.motion .scene.is-on .p4__nodes rect { transform-box: fill-box; transform-origin: center; animation: pop .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.motion .scene.is-on .p4__nodes rect:nth-child(1) { animation-delay: .35s; }
.motion .scene.is-on .p4__nodes rect:nth-child(2) { animation-delay: 1.2s; }
.motion .scene.is-on .p4__nodes rect:nth-child(3) { animation-delay: 1.85s; }
.motion .scene.is-on .p4__big { animation: from-right .9s .9s cubic-bezier(.16, .84, .24, 1) both; }
.motion .scene.is-on.scene--photo img { animation: drift 6s ease-out both; }
@keyframes from-left { from { transform: translateX(-110%); } to { transform: none; } }
@keyframes from-right { from { transform: translateX(120%); } to { transform: none; } }
@keyframes from-top { from { transform: translateY(-160%); } to { transform: none; } }
@keyframes twirl { from { transform: scale(0) rotate(-200deg); } to { transform: none; } }
@keyframes wipe-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rings { from { transform: translate(-50%, -50%) scale(.7); } to { transform: translate(-50%, -50%) scale(1.15); } }
@keyframes star-in { from { transform: translate(-50%, -50%) scale(0) rotate(-180deg); } to { transform: translate(-50%, -50%); } }
@keyframes pop { from { transform: scale(0); } to { transform: none; } }
@keyframes pop-d { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg); } }
@keyframes deal-a { from { transform: translateY(160%) rotate(14deg); } to { transform: rotate(-7deg); } }
@keyframes deal-b { from { transform: translateY(160%) rotate(-12deg); } to { transform: rotate(5deg); } }
@keyframes deal-d { from { transform: translateY(160%) rotate(12deg); } to { transform: rotate(-3deg); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: scale(1.12); } to { transform: none; } }

/* services */
.st-svc { border-top: 2px solid var(--white); }
.st-svc li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: .4rem clamp(1.5rem, 4.5vw, 4.5rem); align-items: baseline; padding: clamp(1rem, 2.2vw, 1.6rem) 0; border-bottom: 1px solid #5551F2; }
.st-svc h3 { font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "wdth" 66; transition: font-variation-settings .55s cubic-bezier(.16, .84, .24, 1); }
.st-svc li:hover h3 { font-variation-settings: "wdth" 122; }
.st-svc p { max-width: 44ch; color: var(--pale); }

/* studio / about */
.st-about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: start; }
.st-about__big { font-weight: 500; font-size: clamp(1.4rem, 2.7vw, 2.2rem); line-height: 1.18; letter-spacing: -.015em; max-width: 24ch; }
.st-about p + p { margin-top: 1rem; }
.st-about__body p { max-width: 52ch; color: var(--pale); }
.st-steps { margin-top: 2.2rem; counter-reset: step; border-top: 2px solid var(--white); }
.st-steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); padding: .9rem 0; border-bottom: 1px solid #5551F2; }
.st-steps li::before { content: counter(step); font-weight: 800; font-variation-settings: "wdth" 125; }
.st-steps b { font-weight: 700; }
.st-steps span { display: block; color: var(--pale); }

/* the shop, seen from the studio: a white panel cut into the blue */
.st-door { margin-top: clamp(4rem, 10vw, 8.5rem); background: var(--white); color: var(--navy); font-family: var(--text); }
.st-door__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.st-door h2 { font: 800 clamp(2.2rem, 5vw, 4rem)/.95 var(--display); letter-spacing: -.035em; color: var(--blue); font-variation-settings: "wdth" 90; }
.st-door p { margin: 1rem 0 1.5rem; max-width: 30ch; }
#studio .st-door a { color: var(--blue); }
#studio .st-door :focus-visible { outline-color: var(--blue); }
#studio .st-door .btn { color: var(--white); }

/* contact + footer */
.st-contact p { max-width: 40ch; font-size: 1.15rem; color: var(--pale); }
.st-mail { display: inline-block; margin-top: 1.2rem; font-weight: 800; font-size: clamp(1.5rem, 6.1vw, 5.4rem); line-height: 1; letter-spacing: -.04em; text-decoration: none; font-variation-settings: "wdth" 62; transition: font-variation-settings .6s cubic-bezier(.16, .84, .24, 1); overflow-wrap: anywhere; }
.st-mail:hover { font-variation-settings: "wdth" 104; }
.st-foot { margin-top: clamp(4rem, 10vw, 8.5rem); border-top: 2px solid var(--white); padding-block: 2rem 2.5rem; }
.st-foot__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem clamp(1.5rem, 4.5vw, 4.5rem); }
.st-foot__tag { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-variation-settings: "wdth" 118; letter-spacing: -.02em; flex-wrap: wrap; }
.st-foot__tag svg { width: .8em; height: auto; }
.st-foot__list label { display: block; font-weight: 600; margin-bottom: .5rem; }
.st-foot__row { display: flex; gap: .5rem; }
.st-foot input { flex: 1 1 auto; min-width: 0; min-height: 3rem; padding: .5rem 1rem; border-radius: 99rem; border: 2px solid var(--white); background: transparent; color: var(--white); }
.st-foot input::placeholder { color: var(--pale); opacity: 1; }
.st-foot .msg { min-height: 1.4em; margin-top: .6rem; font-size: .95rem; }
.st-foot__end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--pale); font-size: .95rem; }
.st-foot__end ul { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }

/* =====================================================================
   SHOP (the white side)
   ===================================================================== */
#store, #desk { font-family: var(--text); color: var(--navy); }
#store a, #desk a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
#store a:hover, #desk a:hover { text-decoration-thickness: 2px; }
#store :focus-visible, #desk :focus-visible, .st-door :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
#store h1, #store h2, #store h3, #desk h1, #desk h2 { color: var(--navy); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
#store h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
#store h2 { font-size: 1.3rem; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--pad); }

.sh-strip { background: var(--blue); color: var(--white); font-size: .88rem; }
.sh-strip__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.25rem; }
#store .sh-strip a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
#store .sh-strip a:hover { text-decoration: underline; }
#store .sh-strip :focus-visible { outline-color: var(--white); }
.sh-strip svg { width: .7rem; height: auto; }
.sh-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.sh-top__in { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 2rem; min-height: 4rem; }
.sh-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); text-decoration: none !important; padding-block: .6rem; }
.sh-brand svg:first-child { height: 1.7rem; width: auto; }
.sh-brand svg:nth-child(2) { height: .92rem; width: auto; }
.sh-brand span { color: var(--navy); font-size: 1.02rem; padding-left: .55rem; margin-left: .1rem; border-left: 1px solid var(--line); line-height: 1.3; }
.sh-nav { display: flex; align-items: center; gap: 1.6rem; margin-inline: auto; }
.sh-you { display: flex; align-items: center; gap: 1.4rem; }
#store .sh-top a:not(.sh-brand) { text-decoration: none; color: var(--navy); padding-block: .5rem; font-weight: 500; white-space: nowrap; }
#store .sh-top a:not(.sh-brand):hover { color: var(--blue); }
#store .sh-top a[aria-current="page"] { color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
#cart-count { display: inline-block; min-width: 1.5em; padding: 0 .4em; margin-left: .15em; text-align: center; border-radius: 1em; font-size: .8rem; line-height: 1.6; font-variant-numeric: tabular-nums; background: var(--mist); color: var(--navy); }
#cart-count.has { background: var(--blue); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .6rem 1.3rem; border-radius: 4px;
  background: var(--blue); color: var(--white) !important; border: 1.5px solid var(--blue);
  font-weight: 600; text-decoration: none !important; line-height: 1.2; white-space: nowrap;
}
.btn:hover { background: #0F0BC2; border-color: #0F0BC2; }
.btn--line { background: transparent; color: var(--blue) !important; }
.btn--line:hover { background: var(--mist); border-color: var(--blue); }
.btn--danger { background: transparent; color: var(--danger) !important; border-color: var(--danger); }
.btn--danger:hover { background: #FBECEF; border-color: var(--danger); }
.btn--sm { min-height: 2.2rem; padding: .3rem .8rem; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; }
.linkbtn:hover { text-decoration-thickness: 2px; }

#store label, #desk label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: .3rem; }
.field { margin-bottom: 1.1rem; }
.hint { font-size: .86rem; color: var(--muted); margin-top: .3rem; }
#store input[type="text"], #store input[type="email"], #store input[type="password"], #store input[type="number"], #store select, #store textarea,
#desk input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), #desk select, #desk textarea {
  width: 100%; min-height: 2.9rem; padding: .6rem .8rem;
  background: var(--white); color: var(--navy);
  border: 1px solid #B9B8D6; border-radius: 4px;
}
#store input:focus, #store select:focus, #store textarea:focus, #desk input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus, #desk select:focus, #desk textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
textarea { min-height: 6rem; resize: vertical; }
#store input[readonly] { background: var(--mist); border-color: var(--line); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.msg { margin-top: .8rem; font-size: .95rem; }
.msg--bad { color: var(--danger); }
.msg--ok { color: var(--blue); font-weight: 600; }
.note { border-left: 3px solid var(--blue); background: var(--mist); padding: .7rem .9rem; font-size: .92rem; margin-bottom: 1.5rem; max-width: 46rem; }

.page { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(3.5rem, 8vw, 6rem); min-height: 62vh; }
.page__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.6rem); }
.crumb { font-size: .92rem; margin-bottom: 1.4rem; color: var(--muted); }

/* product grid, also used in the studio's shop panel and the desk preview */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) var(--gap); }
.card { display: block; text-decoration: none !important; color: var(--navy) !important; }
.card__art { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--mist); }
.card__art .piece { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__art .piece { transform: scale(1.035); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .8rem; }
.card__name { font-weight: 600; }
.card:hover .card__name { color: var(--blue); }
.card__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__kind { color: var(--muted); font-size: .9rem; }

.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.product__art { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--mist); }
.product__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.product__thumbs button { width: 4.5rem; aspect-ratio: 1; padding: 0; border: 1px solid var(--line); background: var(--mist); overflow: hidden; }
.product__thumbs button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); }
.product__price { font-size: 1.35rem; margin-top: .5rem; font-variant-numeric: tabular-nums; }
.product__desc { margin-top: 1.2rem; max-width: 46ch; white-space: pre-line; }
.product__incl { margin: 1.3rem 0 1.7rem; border-top: 1px solid var(--line); }
.product__incl li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.product__buy { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; align-items: end; }
.product__buy .field { margin: 0; }
.product__opt { margin-bottom: 1rem; }

.narrow { max-width: 28rem; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.lines { border-top: 1px solid var(--navy); }
.line { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) 5rem 6rem; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.line__art { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--mist); }
#store .line__name { font-weight: 600; color: var(--navy); text-decoration: none; }
#store .line__name:hover { color: var(--blue); }
.line__sum { text-align: right; font-variant-numeric: tabular-nums; }
.line input[type="number"] { padding-inline: .5rem; text-align: center; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.box { border: 1px solid var(--line); padding: clamp(1.2rem, 2.5vw, 1.75rem); }
.box h2 { margin-bottom: .8rem; }
.sum li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-variant-numeric: tabular-nums; }

.modes { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.modes button { background: none; border: 0; padding: .6rem 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; }
.modes button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.gbtn { width: 100%; background: var(--white); color: var(--navy) !important; border-color: #B9B8D6; }
.gbtn:hover { background: var(--mist); border-color: var(--navy); }
.gbtn svg { width: 1.15rem; height: 1.15rem; }
.or { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0; color: var(--muted); font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.acct { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.acct h2 { margin-bottom: 1rem; }
.acct__who dt { color: var(--muted); font-size: .9rem; }
.acct__who dd { margin-bottom: .9rem; overflow-wrap: anywhere; }
.order { border-top: 1px solid var(--line); }
.order:last-child { border-bottom: 1px solid var(--line); }
.order summary { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: .4rem 1rem; align-items: baseline; padding: .95rem 0; cursor: pointer; list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order__no { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; }
.order__sum { text-align: right; font-variant-numeric: tabular-nums; }
.order__body { padding: 0 0 1.1rem; font-size: .95rem; }
.order__body li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; font-variant-numeric: tabular-nums; }
.order__body p { margin-top: .6rem; color: var(--muted); }
.pill { display: inline-block; padding: .05rem .65rem; border: 1px solid var(--blue); border-radius: 2rem; font-size: .82rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.pill--done { background: var(--blue); color: var(--white); }
.pill--off { border-color: #B9B8D6; color: var(--muted); }
.owned li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.owned li:last-child { border-bottom: 1px solid var(--line); }
.acct section + section { margin-top: 2.5rem; }
.empty { padding: 1.5rem 0; }
.empty p { margin-bottom: 1rem; }

.sh-list { border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 3.75rem); }
.sh-list__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: center; }
.sh-list p { margin-top: .4rem; max-width: 40ch; color: var(--muted); }
.sh-list form { display: flex; gap: .6rem; }
.sh-list form input { flex: 1 1 auto; min-width: 0; }
.sh-list .msg { min-height: 1.4em; }
.sh-foot { border-top: 1px solid var(--line); padding-block: 1.5rem 2rem; font-size: .92rem; color: var(--muted); }
.sh-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; }
.sh-foot ul { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }

/* =====================================================================
   DESK (back office)
   ===================================================================== */
.dk-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); color: var(--white); }
.dk-top__in { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 2rem; min-height: 3.5rem; max-width: 76rem; margin-inline: auto; padding-inline: var(--pad); }
#desk .dk-top a { color: var(--white); text-decoration: none; padding-block: .5rem; font-weight: 500; white-space: nowrap; }
#desk .dk-top :focus-visible { outline-color: var(--white); }
.dk-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600 !important; }
.dk-brand svg { height: 1.4rem; width: auto; }
.dk-tabs { display: flex; gap: 1.5rem; margin-right: auto; }
#desk .dk-tabs a { color: #BDBCE0; }
#desk .dk-tabs a:hover, #desk .dk-tabs a[aria-current="page"] { color: var(--white); }
#desk .dk-tabs a[aria-current="page"] { box-shadow: 0 2px 0 var(--white); }
.dk-main { max-width: 76rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.75rem) var(--pad) 5rem; min-height: 80vh; }
.dk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 1.5rem; }
#desk h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
#desk h2 { font-size: 1.1rem; margin-bottom: .9rem; }
.dk-panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1rem, 2.5vw, 1.6rem); }
.dk-panel + .dk-panel { margin-top: 1.25rem; }
.dk-rows { background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.dk-row { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.dk-row:last-child { border-bottom: 0; }
.dk-row__art { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--mist); }
.dk-row__name { font-weight: 600; }
.dk-row__acts { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; justify-content: flex-end; }
.dk-move { display: inline-flex; }
.dk-move button { width: 2.2rem; height: 2.2rem; border: 1px solid #B9B8D6; background: var(--white); color: var(--navy); border-radius: 4px; display: grid; place-items: center; }
.dk-move button + button { margin-left: -1px; }
.dk-move button:hover:not([disabled]) { border-color: var(--blue); color: var(--blue); position: relative; }
.dk-move button[disabled] { opacity: .35; cursor: default; }
.dk-move svg { width: .8rem; height: .8rem; }

.dk-edit { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.dk-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
.dk-drop { display: grid; place-items: center; text-align: center; gap: .2rem; min-height: 9rem; padding: 1.25rem; border: 1.5px dashed #9D9BD0; border-radius: 6px; background: var(--mist); cursor: pointer; }
.dk-drop:hover, .dk-drop.is-over { border-color: var(--blue); background: #EEEEFE; }
.dk-drop b { color: var(--blue); font-weight: 600; }
#p-files:focus-visible + .dk-drop { outline: 2px solid var(--blue); outline-offset: 3px; }
.dk-status { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; }
#desk .dk-status label { margin: 0; }
#desk .dk-drop { display: grid; margin-bottom: 0; font-weight: 400; }
.dk-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .8rem; margin-top: .9rem; }
.dk-pic { font-size: .86rem; }
.dk-pic__img { position: relative; aspect-ratio: 1; background: var(--mist); overflow: hidden; border: 1px solid var(--line); }
.dk-pic__img img { width: 100%; height: 100%; object-fit: cover; }
.dk-pic__tag { position: absolute; left: .35rem; top: .35rem; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 2rem; }
.dk-pic__acts { display: flex; justify-content: space-between; gap: .4rem; margin-top: .3rem; }
.dk-money { position: relative; }
.dk-money span { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
#desk .dk-money input { padding-left: 1.7rem; }
.dk-check { display: flex !important; align-items: center; gap: .6rem; font-weight: 500 !important; cursor: pointer; }
.dk-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); }
.dk-save { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.25rem; }
.dk-save .msg { margin: 0; }
.dk-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5rem); }
.dk-side .card { pointer-events: none; }
.dk-orders .order summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .8fr) auto; }
.dk-orders select { width: auto !important; min-height: 2.3rem !important; padding: .25rem .6rem !important; }
.dk-tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.dk-tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .86rem; }
.dk-tbl th, .dk-tbl td { padding: .55rem .6rem .55rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.dk-scroll { overflow-x: auto; }

/* ---------- artwork pieces (placeholders until real images are dropped in) ---------- */
.piece { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; font-family: var(--font); }
.piece > * { position: absolute; }
.piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mono { font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.piece--01 { background: var(--a-blue); }
.p1__type { left: -1cqw; bottom: -3cqw; font-size: 20cqw; font-weight: 700; letter-spacing: -.05em; color: #fff; white-space: nowrap; line-height: 1; }
.p1__shape { top: 9cqw; right: 13cqw; width: 30cqw; height: 30cqw; background: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.p1__shape::after { content: ""; position: absolute; inset: 26%; background: var(--a-blue); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.p1__dots { top: 7cqw; left: 6cqw; width: 26cqw; height: 7cqw; background-image: radial-gradient(circle, #fff 34%, transparent 35%); background-size: 3.2cqw 3.2cqw; opacity: .8; }

.piece--02 { background: var(--a-lav); }
.p2__l1, .p2__l2 { font-size: 34cqw; font-weight: 700; letter-spacing: -.06em; line-height: .8; }
.p2__l1 { top: 12cqw; left: 5cqw; color: var(--a-dark); }
.p2__l2 { top: 40cqw; left: 26cqw; color: var(--a-blue); }
.p2__bar { left: 5cqw; bottom: 17cqw; width: 62cqw; height: 1.6cqw; background: var(--a-blue); }
.p2__cap { left: 5cqw; bottom: 8cqw; color: #55556E; font-size: 3cqw; }

.piece--03 { background: var(--a-lav); }
.p3__rings { top: 50%; left: 50%; width: 150cqw; height: 150cqw; transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle at 50% 50%, var(--a-blue) 0 1px, transparent 1px 8.5cqw); opacity: .45;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 34%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 50%, #000 34%, transparent 68%); }
.p3__star { top: 50%; left: 50%; width: 14cqw; height: 14.94cqw; transform: translate(-50%, -50%); background: var(--a-blue);
  -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.p3__cap { left: 6cqw; bottom: 6cqw; color: var(--a-blue); font-size: 3cqw; }

.piece--04 { background: #FAFAFE; box-shadow: inset 0 0 0 1px #E2E1F5; }
.p4__draw { inset: 0; width: 100%; height: 100%; }
.p4__big { right: 3cqw; bottom: 1cqw; font-size: 11cqw; font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--a-blue); line-height: 1; }
.card__art .p4__big, .product__art .p4__big, .line__art .p4__big { font-size: 20cqw; }

.piece--05 { background: var(--a-dark); }
.p5__g { inset: 0; background-image: linear-gradient(var(--a-grid) 1px, transparent 1px), linear-gradient(90deg, var(--a-grid) 1px, transparent 1px); background-size: 12.5cqw 12.5cqw; }
.p5__a { top: -6cqw; left: 7cqw; width: 24cqw; height: 25.62cqw; background: #fff; -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.p5__b { top: 16cqw; right: 9cqw; width: 21cqw; height: 21cqw; border: 1.6cqw solid #4B46FF; border-radius: 50%; }
.p5__c { bottom: 14cqw; left: 32cqw; width: 12cqw; height: 12cqw; background: #fff; transform: rotate(45deg); }
.p5__d { bottom: -14cqw; right: -8cqw; width: 42cqw; height: 44.83cqw; background: var(--a-blue); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }

.piece--06 { background: var(--a-blue); }
.p6__c { background: #fff; color: var(--a-dark); display: grid; place-items: center; }
.p6__c b { font-size: 9cqw; font-weight: 700; line-height: .86; letter-spacing: -.04em; text-align: center; }
.p6__a { top: 8cqw; left: 6cqw; width: 44cqw; height: 34cqw; transform: rotate(-7deg); }
.p6__b { top: 36cqw; left: 30cqw; width: 46cqw; height: 36cqw; transform: rotate(5deg); }
.p6__d { bottom: 6cqw; left: -6cqw; width: 40cqw; height: 30cqw; transform: rotate(-3deg); background: var(--a-dark); color: #fff; }

.piece--tee { background: var(--a-lav); }
.piece--tee > svg { inset: 0; width: 100%; height: 100%; }


/* =====================================================================
   SMALL SCREENS, REDUCED MOTION, PRINT
   ===================================================================== */
@media (max-width: 900px) {
  html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 7.5rem); }
  .st-top__in { flex-wrap: wrap; padding-block: .2rem; }
  .st-nav { order: 3; flex: 1 1 100%; overflow-x: auto; gap: 1.4rem; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); border-top: 1px solid #5551F2; }
  .st-nav a { white-space: nowrap; }
  .st-hero { min-height: 0; }
  .st-hero__star { width: 92vw; right: -34vw; top: 30%; }
  .st-hero__foot, .reel, .st-about, .st-door__in, .st-foot__in, .st-svc li { grid-template-columns: 1fr; }
  .reel__say { min-height: 0; }
  .sh-nav { order: 3; flex: 1 1 100%; overflow-x: auto; gap: 1.4rem; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); border-top: 1px solid var(--line); }
  .sh-you { margin-left: auto; gap: 1.1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product, .split, .acct, .sh-list__in, .dk-edit { grid-template-columns: 1fr; }
  .product__info, .dk-side { position: static; }
  .order summary, .dk-orders .order summary { grid-template-columns: 1fr auto; }
  .order__sum { text-align: left; }
  .dk-tabs { order: 3; flex: 1 1 100%; overflow-x: auto; }
  .dk-row { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .dk-row__acts { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .st-door .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-door .grid .card:nth-child(3) { display: none; }
  .line { grid-template-columns: 3.75rem minmax(0, 1fr) 4.2rem; }
  .line__sum { grid-column: 2 / 4; text-align: left; }
  .sh-list form, .st-foot__row { flex-direction: column; }
  .st-act .st-btn { flex: 1 1 100%; }
  .dk-two { grid-template-columns: 1fr; }
  .sh-strip__in span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain { transition: none; }
  * { scroll-behavior: auto !important; }
}
@media print { .st-top, .sh-strip, .sh-top, .sh-list, .sh-foot, .st-foot, .dk-top, .curtain { display: none; } }

/* a product with no photo and no drawn artwork */
.piece--blank { background: var(--mist); }
.piece--blank span { top: 50%; left: 50%; width: 22cqw; height: 23.5cqw; transform: translate(-50%, -50%); background: #D5D4EE;
  -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }

/* =====================================================================
   MOTION LANGUAGE
   One set of curves and durations for the whole site. Everything below
   only runs under .motion (the boot script swaps it for .no-motion when
   the visitor asks for reduced motion).
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(.16, .84, .24, 1);    /* arrivals: fast start, long settle */
  --ease-io: cubic-bezier(.72, 0, .18, 1);       /* the door and other big moves */
  --t-quick: .18s;
  --t-base: .42s;
  --t-slow: .9s;
}

/* hero: the headline already rises line by line (above); the copy under it follows a beat later */
.motion .st-hero__foot > * { animation: fade-up .8s .55s var(--ease-out) both; }
.motion .st-hero__foot > *:nth-child(2) { animation-delay: .68s; }
.motion .st-hero__words { translate: 0 calc(var(--lift, 0px) * .45); }
@keyframes fade-up { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

/* studio sections: services and steps arrive as they scroll in, a beat apart */
.motion .st-svc li, .motion .st-steps li, .motion .st-about__big { opacity: 0; transform: translateY(1.4rem); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.motion .st-svc li.is-seen, .motion .st-steps li.is-seen, .motion .st-about__big.is-seen { opacity: 1; transform: none; }
.motion .st-svc li:nth-child(even).is-seen, .motion .st-steps li:nth-child(even).is-seen { transition-delay: .08s; }

/* product tiles: the picture unmasks from the bottom, the text follows */
.motion .card .card__art { clip-path: inset(100% 0 0 0); transition: clip-path .85s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .card .card__row, .motion .card .card__kind { opacity: 0; transform: translateY(.5rem); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + .25s); }
.motion .card.is-in .card__art { clip-path: inset(0 0 0 0); }
.motion .card.is-in .card__row, .motion .card.is-in .card__kind { opacity: 1; transform: none; }
.card__tag { position: absolute; left: .6rem; top: .6rem; background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 2rem; }
.card--ghost { aspect-ratio: 1; background: var(--mist); }
.motion .card--ghost { animation: ghost 1.4s ease-in-out infinite alternate; }
@keyframes ghost { from { opacity: .55; } to { opacity: 1; } }

/* page changes inside a site: content settles in, headline first */
.motion .page.is-entering > *, .motion .dk-view.is-entering > * { animation: fade-up .55s var(--ease-out) both; }
.motion .page.is-entering > *:nth-child(2), .motion .dk-view.is-entering > *:nth-child(2) { animation-delay: .05s; }
.motion .page.is-entering > *:nth-child(3), .motion .dk-view.is-entering > *:nth-child(3) { animation-delay: .1s; }
.motion .page.is-entering > *:nth-child(n+4), .motion .dk-view.is-entering > *:nth-child(n+4) { animation-delay: .15s; }

/* product gallery: the new photo wipes in over the old */
.motion .product__art.is-swap .piece { animation: wipe .5s var(--ease-out) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* buttons press down; a busy button shows a slow sweep instead of a spinner */
.btn, .st-btn, .linkbtn, .dk-chips button { transition: background-color var(--t-quick), border-color var(--t-quick), color var(--t-quick), transform var(--t-quick) var(--ease-out), font-variation-settings .35s; }
.btn:active:not([disabled]), .st-btn:active { transform: translateY(1px) scale(.985); }
.btn.is-busy { position: relative; overflow: hidden; }
.motion .btn.is-busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.motion .msg.is-pop { animation: fade-up .35s var(--ease-out) both; }
.motion .note[role="status"] { animation: fade-up .4s var(--ease-out) both; }
.spin { display: inline-block; width: .8rem; height: .8rem; margin-right: .55rem; border: 2px solid var(--blue); border-right-color: transparent; border-radius: 50%; vertical-align: -.05rem; }
.motion .spin { animation: turn .8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* the door is a beat slower than before and its wordmark arrives after it lands */
.curtain { transition-duration: .52s; transition-timing-function: var(--ease-io); }

/* =====================================================================
   SHOP ADDITIONS
   ===================================================================== */
.btn--block { width: 100%; }
.box .btn--block { margin-block: 1rem .9rem; }
.box .small + .btn--block { margin-top: 1rem; }
.gap { height: 1.6rem; }
.narrow h1 { margin-bottom: 1.4rem; }
.product__sold { display: inline-block; margin: 1.2rem 0; padding: .55rem 1rem; border: 1.5px solid var(--line); color: var(--muted); font-weight: 600; }
.noscript { padding: 1rem; }
.acct__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.order-page { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.2rem; margin-bottom: 1.2rem; }
.order__items li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.order__items li:last-child { border-bottom: 0; }
.order__item-end { display: inline-flex; align-items: center; gap: 1rem; }
.order__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 2rem; margin-top: 1.2rem; }
.order__facts p { margin-top: .2rem; }
.order__body .order__facts p { color: var(--navy); }

/* =====================================================================
   DESK AND PARTNER PORTAL ADDITIONS
   Same type and blue as the shop, tuned for speed of reading: tight
   tables, clear states, nothing decorative.
   ===================================================================== */
.dk-you { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.dk-who { color: #8F8DC0; font-size: .86rem; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-out { background: none; border: 1px solid #3A3870; color: var(--white); border-radius: 4px; padding: .3rem .7rem; font: inherit; font-size: .88rem; cursor: pointer; }
.dk-out:hover { border-color: var(--white); }
.dk-head--sub { margin-bottom: 1rem; }
.dk-head--sub h2 { display: flex; align-items: center; gap: .6rem; margin: 0; }
.dk-pills { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.pill--warn { border-color: var(--danger); color: var(--danger); }
.pill--new { border-color: var(--blue); background: #EEEEFE; }
.motion .dk-view .pill { animation: fade-up .4s var(--ease-out) both; }
.dk-loading { padding-block: 2rem; }
.dk-panel--flush { padding: 0; overflow: hidden; }
.dk-panel h2 { font-size: 1.1rem; margin-bottom: .9rem; }
.dk-panel h3 { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 1.1rem 0 .3rem; }
.dk-tbl th, .dk-tbl td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dk-tbl tbody tr:last-child td { border-bottom: 0; }
.dk-tbl tbody tr { transition: background-color var(--t-quick); }
.dk-tbl tbody tr:hover { background: #FAFAFE; }
.dk-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.dk-scroll { overflow-x: auto; }

.dk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 1.25rem; }
.dk-stat { display: flex; flex-direction: column; gap: .15rem; background: var(--white); padding: 1.1rem 1.25rem; text-decoration: none !important; color: var(--navy) !important; }
a.dk-stat:hover { background: #FAFAFE; }
a.dk-stat:hover .dk-stat__value { color: var(--blue); }
.dk-stat__label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.dk-stat__value { font-family: var(--display); font-weight: 750; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.03em; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; transition: color var(--t-quick); }
.dk-stat__sub { font-size: .84rem; color: var(--muted); }
.motion .dk-view.is-entering .dk-stat { animation: fade-up .6s var(--ease-out) both; }
.motion .dk-view.is-entering .dk-stat:nth-child(2) { animation-delay: .04s; }
.motion .dk-view.is-entering .dk-stat:nth-child(3) { animation-delay: .08s; }
.motion .dk-view.is-entering .dk-stat:nth-child(4) { animation-delay: .12s; }
.motion .dk-view.is-entering .dk-stat:nth-child(5) { animation-delay: .16s; }
.motion .dk-view.is-entering .dk-stat:nth-child(6) { animation-delay: .2s; }
.dk-setup { border-left: 3px solid var(--blue); }
.dk-setup ul, .dk-plain { list-style: none; }
.dk-setup li + li { margin-top: .4rem; }
.dk-plain li { padding: .35rem 0; }
.dk-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; margin-top: 1.25rem; }
.dk-split > .dk-panel + .dk-panel { margin-top: 0; }
.dk-feed { list-style: none; }
.dk-feed li { display: flex; flex-direction: column; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.dk-feed li:last-child { border-bottom: 0; }

.dk-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1rem; }
.dk-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.dk-chips button { border: 1px solid #C9C8E6; background: var(--white); color: var(--navy); border-radius: 99rem; padding: .3rem .85rem; font: inherit; font-size: .9rem; cursor: pointer; }
.dk-chips button:hover { border-color: var(--blue); color: var(--blue); }
.dk-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dk-search { display: flex; gap: .4rem; }
#desk .dk-search input { min-width: 15rem; min-height: 2.2rem; }

.dk-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.dk-checks { border: 0; margin-bottom: 1rem; }
.dk-checks legend, .dk-radios legend { font-weight: 600; margin-bottom: .4rem; }
.dk-checks .dk-check + .dk-check { margin-top: .35rem; }
.dk-radios { border: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.dk-radio { display: inline-flex !important; align-items: center; gap: .5rem; border: 1px solid #C9C8E6; border-radius: 4px; padding: .5rem .85rem; cursor: pointer; font-weight: 500 !important; margin: 0 !important; transition: border-color var(--t-quick), background-color var(--t-quick); }
.dk-radio:has(input:checked) { border-color: var(--blue); background: #EEEEFE; }
.dk-radio input { accent-color: var(--blue); }
.dk-del { margin-top: 1.25rem; }
.dk-danger { color: var(--danger) !important; }
.dk-file { margin-bottom: .8rem; }
.dk-progress { height: .5rem; background: var(--mist); border: 1px solid var(--line); border-radius: 99rem; overflow: hidden; margin-bottom: .5rem; }
.dk-progress i { display: block; height: 100%; background: var(--blue); transition: width .4s var(--ease-out); }

.dk-items li { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.dk-items li:last-child { border-bottom: 0; }
.dk-qty { margin-left: auto; font-family: var(--display); font-weight: 750; font-size: 1.3rem; font-variation-settings: "wdth" 80; }
.dk-pre { white-space: pre-wrap; }
.dk-spec { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.dk-spec:last-child { border-bottom: 0; }
.dk-spec img { width: 4rem; height: 4rem; object-fit: cover; background: var(--mist); }
.dk-spec:not(:has(img)) { grid-template-columns: 1fr; }
.dk-address { font-size: 1.05rem; line-height: 1.5; }
.dk-timeline { list-style: none; border-left: 2px solid var(--line); margin: 0 0 1.25rem .35rem; padding-left: 1.1rem; }
.dk-timeline li { position: relative; display: flex; flex-direction: column; gap: .1rem; padding-bottom: 1rem; }
.dk-timeline li::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid #9D9BD0; }
.dk-timeline li.is-studio::before { border-color: var(--blue); background: var(--blue); }
.dk-timeline p { margin-top: .15rem; white-space: pre-wrap; }
.dk-files { list-style: none; margin-bottom: 1rem; }
.dk-files li { padding: .5rem 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.dk-file-acts { display: inline-flex; gap: .8rem; margin-left: auto; }
.dk-upload { border-top: 1px solid var(--line); padding-top: 1rem; }
#desk input[type="file"] { padding: .45rem; }

.dk-jobs { display: flex; flex-direction: column; }
.dk-job { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto 7rem; gap: .4rem 1rem; align-items: center; padding: .85rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--navy) !important; transition: background-color var(--t-quick), padding var(--t-base) var(--ease-out); }
.dk-job:last-child { border-bottom: 0; }
.dk-job:hover { background: #FAFAFE; padding-left: .6rem; }
.dk-job__no { font-weight: 700; color: var(--blue); }
.dk-job__what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-job__due { text-align: right; font-size: .9rem; color: var(--muted); }
.dk-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.dk-temp { border: 2px solid var(--blue); }
.dk-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1.2rem; margin: 1rem 0; }
.dk-dl dt { color: var(--muted); }
.dk-dl code { font-size: 1.1rem; background: var(--mist); padding: .1rem .4rem; user-select: all; }
.dk-users { list-style: none; margin-bottom: .8rem; }
.dk-users li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.dk-inline { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
#desk .dk-inline input { flex: 1 1 12rem; width: auto; min-height: 2.3rem; }
.dk-inline .msg { flex-basis: 100%; margin: 0; }

@media (max-width: 860px) {
  .dk-stats, .dk-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dk-split, .dk-three { grid-template-columns: minmax(0, 1fr); }
  .dk-you { order: 2; }
  .dk-who { display: none; }
  .dk-job { grid-template-columns: minmax(0, 1fr) auto; }
  .dk-job__what { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .dk-job__due { grid-column: 2; grid-row: 1; display: none; }
  #desk .dk-search input { min-width: 0; flex: 1; }
  .dk-search { flex: 1 1 100%; }
}
@media (max-width: 520px) {
  .dk-stats, .dk-stats--3 { grid-template-columns: 1fr; }
  .order__items li { flex-wrap: wrap; }
}

/* desk header: seven sections plus the account must sit on one row on a laptop */
.dk-top__in { gap: .2rem 1.6rem; }
.dk-tabs { gap: 1.15rem; }
#desk .dk-tabs a { font-size: .95rem; }
@media (max-width: 1360px) { .dk-who { display: none; } }
.dk-tbl td:first-child a { white-space: nowrap; }
.dk-tbl .num { white-space: nowrap; }
@media (max-width: 520px) {
  .dk-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dk-stats--3 .dk-stat { padding: .8rem .7rem; }
  .dk-stats--3 .dk-stat__sub { display: none; }
}

/* site content editor */
.dk-lede { margin: -.6rem 0 1.25rem; }
.dk-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.dk-item--flat { grid-template-columns: minmax(0, 1fr); }
.dk-item:last-of-type { margin-bottom: 1rem; }
.dk-item__pic { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.dk-item__pic img { width: 9rem; height: 9rem; object-fit: cover; background: var(--mist); border: 1px solid var(--line); }
.dk-item__pic > span { display: grid; place-items: center; width: 9rem; height: 9rem; background: var(--mist); border: 1px dashed #C9C8E6; text-align: center; padding: .5rem; }
.dk-item__acts { display: flex; align-items: center; gap: 1rem; }
.dk-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: .9rem 0 calc(.9rem + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--mist) 30%); }
.dk-savebar .msg { margin: 0; }
@media (max-width: 520px) { .dk-item { grid-template-columns: 1fr; } }

/* ---------- desk: Emails editor ---------- */
.dk-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.25rem; align-items: start; }
.dk-mailprev { position: sticky; top: calc(var(--desk-top, 4.5rem) + .75rem); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.dk-mailbar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.dk-mailbar p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.dk-mailframe { background: var(--mist); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; justify-content: center; }
.dk-mailframe iframe { display: block; width: 100%; height: min(70vh, 46rem); border: 0; background: var(--white); transition: max-width .35s var(--ease-out, ease); }
.dk-mailframe.is-phone iframe { max-width: 390px; border-inline: 1px solid var(--line); }
.dk-mailprev .dk-save { margin: 0; }
.dk-mailhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .4rem; }
.dk-mailhead h2 { margin: 0; }
.dk-mailhead .btn[aria-pressed="true"] { background: var(--mist); border-color: var(--blue); }
.dk-tags code { background: var(--mist); border: 1px solid var(--line); border-radius: 3px; padding: 0 .3rem; font-size: .9em; }
.dk-logo img { object-fit: contain !important; background: repeating-conic-gradient(#eeeef6 0 25%, #fff 0 50%) 0 0 / 16px 16px !important; padding: .5rem; }
.dk-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 0 1rem; }
.dk-color > span { display: flex; gap: .4rem; align-items: stretch; }
#desk .dk-colors .dk-color > span > input[type="color"] { width: 2.9rem; min-width: 2.9rem; flex: none; padding: .2rem; cursor: pointer; }
#desk .dk-colors .dk-color > span > input[data-hex] { flex: 1 1 auto; width: auto; min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }
@media (max-width: 1100px) {
  .dk-mail { grid-template-columns: minmax(0, 1fr); }
  .dk-mailprev { position: static; order: -1; }
  .dk-mailframe iframe { height: 34rem; }
}
.no-motion .dk-mailframe iframe { transition: none; }
