/* albumscope.com: the brand of dev/brand/BRAND.md. Mostly Lilac, a purple anchor, Ink for words and
   the four windows (Coral, Marigold, Teal, Ink) as small sparks. Fredoka 600 for the name, headlines and
   buttons, Inter for everything you read; both bundled. Light from the top-left: shadows fall to the
   bottom-right. */

@font-face { font-family: 'Albumscope Fredoka'; font-weight: 600; font-display: swap; src: url(fonts/fredoka-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Albumscope Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Albumscope Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Albumscope Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-600-latin.woff2) format('woff2'); }

:root {
  --purple: #7B61FF; --deep: #5B43E6; --ink: #2B2D42; --lilac: #F1EDFF; --paper: #FFFFFF;
  --coral: #FF5A5F; --marigold: #FFB400; --teal: #00A699;

  --bg: var(--lilac); --bg-deep: #E9E4F7; --surface: var(--paper); --text: var(--ink); --muted: #4F4A70;
  --link: var(--deep); --line: #DDD5FA; --focus: var(--deep); --print: #FFFFFF; --print-ink: var(--ink);
  --shade: 43 45 66; --hair: rgb(43 45 66 / .08); --glow: 28%;
  --primary: var(--deep); --on-primary: #FFFFFF;
  --badge-ink: var(--ink);

  --display: 'Albumscope Fredoka', ui-rounded, system-ui, sans-serif;
  --ui: 'Albumscope Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --wide: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: 98px; /* the header's height at the top of the page; it's fixed, so the page starts below it */
  color-scheme: light;
}
/* the picker's dark theme: deep ink-purple, the purples lifted so every text pair stays AA */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17162A; --bg-deep: #121122; --surface: #211F3A; --text: #F1EDFF; --muted: #ABA4D0;
    --link: #B4A7FF; --line: rgb(241 237 255 / .12); --focus: #A797FF; --print: #F6F4FF;
    --shade: 0 0 0; --hair: rgb(43 45 66 / .1); --glow: 45%;
    --badge-ink: #4F4A70; /* Ink would sink into the dark page */
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--ui); font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  position: relative; padding-top: var(--head);
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(123 97 255 / .28); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: 600 15px/1 var(--ui); text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- the name ---------- */
/* the lockup: the mark (the ring on its rounded purple tile) and the wordmark at the picker's
   50 / 39 / 14 proportion, whole pixels */
.lockup { display: inline-flex; align-items: center; gap: var(--gap, 11px); color: var(--text); text-decoration: none; }
.lockup .mark { width: var(--mark, 40px); height: var(--mark, 40px); border-radius: 22%; box-shadow: 0 2px 7px rgb(91 67 230 / .3); flex: none; }
/* the wordmark: the brand's outlined SVG (dev/brand/logo/, never text with the Iris laid over it),
   cropped to its ink, so it centres on the mark as it is; --word is its font size, the ink 0.936 of it */
.word { display: block; flex: none; }
.word img { display: block; width: auto; height: calc(var(--word, 31px) * .936); }
.lockup:focus-visible { outline-offset: 6px; border-radius: 12px; }

/* ---------- header ---------- */
/* fixed, and see-through over the scatter at the top; once the page scrolls it gets a backing and the
   lockup eases from 50 / 39 / 14 down to 36 / 28 / 10 (registered so they animate; whole pixels at rest) */
@property --mark { syntax: '<length>'; inherits: true; initial-value: 40px; }
@property --word { syntax: '<length>'; inherits: true; initial-value: 31px; }
@property --gap { syntax: '<length>'; inherits: true; initial-value: 11px; }
.top { position: fixed; z-index: 5; top: 0; left: 0; right: 0; transition: background-color .3s ease, box-shadow .3s ease; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; transition: padding .3s var(--ease); }
.top .lockup { --mark: 50px; --word: 39px; --gap: 14px; transition: --mark .3s var(--ease), --word .3s var(--ease), --gap .3s var(--ease); }
.top.stuck { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.stuck .wrap { padding-top: 10px; padding-bottom: 10px; }
.top.stuck .lockup { --mark: 36px; --word: 28px; --gap: 10px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a:not(.btn) { color: var(--text); font: 500 15.5px/1 var(--ui); text-decoration: none; padding: 8px 2px; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--link); }
.nav a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--link); }
/* the scatter, kept sparse, from the very top of the page, behind the header and clear of the words */
.drift {
  position: absolute; z-index: 0; top: 0; right: 0; width: min(62vw, 920px); height: auto; opacity: .5; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(#000 40%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(#000 40%, transparent); mask-composite: intersect;
}
main { position: relative; z-index: 1; }
@media (max-width: 860px) { .nav .hide-s { display: none; } }
@media (max-width: 640px) {
  :root { --head: 72px; }
  .top .wrap { padding-top: 16px; padding-bottom: 16px; }
  .top .lockup { --mark: 40px; --word: 31px; --gap: 11px; }
  .top.stuck .wrap { padding-top: 8px; padding-bottom: 8px; }
  .top.stuck .lockup { --mark: 32px; --word: 25px; --gap: 9px; }
  .drift { display: none; }
}
@media (max-width: 440px) { .top .btn { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 999px; white-space: nowrap;
  background: var(--primary); color: var(--on-primary); font: 600 18px/1 var(--display); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgb(var(--shade) / .14), 0 10px 22px -10px rgb(91 67 230 / .7);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgb(var(--shade) / .14), 0 14px 26px -10px rgb(91 67 230 / .8); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--focus); }
.btn.sm { padding: 11px 18px; font-size: 15.5px; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn.paper { background: var(--paper); color: var(--deep); box-shadow: 0 12px 26px -12px rgb(30 18 110 / .6); }
.btn.paper:focus-visible { box-shadow: 0 0 0 3px var(--purple), 0 0 0 5px var(--paper); }

/* ---------- prints ---------- */
/* every photo we show sits in a white border, deeper at the bottom, never tilted past 15° */
.print {
  position: relative; padding: 2.8% 2.8% 0; border-radius: 6px; background: var(--print); color: var(--print-ink);
  box-shadow: 0 1px 2px rgb(var(--shade) / .12), 0 24px 46px -20px rgb(var(--shade) / .5);
}
.media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 2px; background: var(--tile-bg, #ddd); }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media > video { opacity: 0; transition: opacity .35s ease; }
.media > video.on { opacity: 1; }
.media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--hair); pointer-events: none; }
.cap { display: flex; align-items: center; gap: .5em; padding: .62em .2em .72em; font: 600 1em/1.15 var(--display); letter-spacing: -.01em; }
.cap svg { width: 1.3em; height: 1.3em; flex: none; }
.cap h4 { margin: 0; font: inherit; }

/* a short word from the page (the Add to Chrome links while the listing isn't out) */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 20; width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font: 500 15.5px/1.4 var(--ui);
  box-shadow: 0 16px 40px -12px rgb(var(--shade) / .5); opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .25s ease, transform .35s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-color-scheme: dark) { .toast { background: var(--lilac); color: var(--ink); } }

/* ---------- home: hero ---------- */
.hero { position: relative; padding: clamp(12px, 3vw, 40px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.eyebrow { color: var(--link); font: 600 13px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--link); }
.lede { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.cta .more { color: var(--text); font: 500 16px/1 var(--ui); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.cta .more:hover { color: var(--link); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font: 500 14.5px/1.3 var(--ui); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--teal)); transform: rotate(-12deg); }

/* a hand of prints: three experiences, tilted the way a hand leaves them */
.hand { position: relative; aspect-ratio: 1 / .86; font-size: clamp(13px, 1.25vw, 18px); }
.hand .print { position: absolute; width: 62%; padding-bottom: 8%; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hand .p1 { left: 0; top: 4%; transform: rotate(-8deg); }
.hand .p2 { right: 0; top: 0; transform: rotate(6deg); }
.hand .p3 { left: 17%; top: 38%; width: 70%; transform: rotate(-1.5deg); z-index: 1; box-shadow: 0 2px 4px rgb(var(--shade) / .14), 0 40px 70px -26px rgb(var(--shade) / .6); }
/* pointed at, a print plays where it lies: it eases a little straighter but never comes to the front */
.hand .p1:hover { transform: rotate(-6.5deg); }
.hand .p2:hover { transform: rotate(4.5deg); }

/* each drawing moves only while it plays (pointed at, or .live while in view); paused, it rests on a
   frame that reads as a still */
.media > svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hand .print:hover, .live { --run: running; }
.art .f { animation: dp-snow 3.8s linear var(--d) infinite var(--run, paused); }
@keyframes dp-snow { from { transform: translate(0, -2px); } to { transform: translate(-3px, 36px); } }
.art .b { opacity: 0; animation: dp-slide 7s step-end infinite var(--run, paused); }
@keyframes dp-slide { 0% { opacity: 0; } 46% { opacity: 1; } 96% { opacity: 0; } }
.art .sh { opacity: 0; animation: dp-shutter 3.5s ease-in-out infinite var(--run, paused); }
@keyframes dp-shutter { 0%, 84% { opacity: 0; } 92% { opacity: .96; } 100% { opacity: 0; } }
.art .beam { animation: dp-beam 3.5s ease-in-out infinite var(--run, paused); }
@keyframes dp-beam { 0%, 84% { opacity: 1; } 92% { opacity: .15; } 100% { opacity: 1; } }
.art .tray { transform-box: fill-box; transform-origin: center; animation: dp-tray 3.5s ease-in-out infinite var(--run, paused); }
@keyframes dp-tray { 0%, 86% { transform: rotate(0); } 94%, 100% { transform: rotate(22.5deg); } }
.art .sun { animation: dr-sun 6s ease-in-out infinite alternate var(--run, paused); }
@keyframes dr-sun { to { transform: translateY(6px); } }
.art .cl { animation: dr-cloud 7s ease-in-out infinite alternate var(--run, paused); }
.art .c2 { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes dr-cloud { to { transform: translateX(9px); } }
.art .bd { animation: dr-birds 5s ease-in-out infinite alternate var(--run, paused); }
@keyframes dr-birds { 50% { transform: translate(8px, -3px); } to { transform: translate(16px, 1px); } }
.art .tw { animation: dr-twinkle 1.6s ease-in-out var(--d) infinite alternate var(--run, paused); }
@keyframes dr-twinkle { from { opacity: .2; } to { opacity: 1; } }
.art .gl { animation: dr-glint 1.3s ease-in-out infinite alternate var(--run, paused); }
@keyframes dr-glint { from { opacity: .8; transform: translateX(-1px); } to { opacity: 1; transform: translateX(1px); } }
.art .boat { animation: dr-boat 16s linear -5.6s infinite var(--run, paused); }
@keyframes dr-boat { from { transform: translateX(-30px); } to { transform: translateX(170px); } }
.art .drop { transform-box: fill-box; transform-origin: center; animation: dt-drop1 12s -5.5s infinite var(--run, paused); }
.art .sd { animation: dt-sd1 12s -5.5s infinite var(--run, paused); }
@keyframes dt-drop1 { 0%, 1% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 2% { opacity: 1; } 8% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 10% { transform: scale(.97); } 12%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd1 { 0%, 1% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 8%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d1 { animation-name: dt-drop1; } .art .d1 .sd { animation-name: dt-sd1; }
@keyframes dt-drop2 { 0%, 13% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 14% { opacity: 1; } 20% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 22% { transform: scale(.97); } 24%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd2 { 0%, 13% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 20%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d2 { animation-name: dt-drop2; } .art .d2 .sd { animation-name: dt-sd2; }
@keyframes dt-drop3 { 0%, 25% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 26% { opacity: 1; } 32% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 34% { transform: scale(.97); } 36%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd3 { 0%, 25% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 32%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d3 { animation-name: dt-drop3; } .art .d3 .sd { animation-name: dt-sd3; }
@keyframes dt-drop4 { 0%, 37% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 38% { opacity: 1; } 44% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 46% { transform: scale(.97); } 48%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd4 { 0%, 37% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 44%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d4 { animation-name: dt-drop4; } .art .d4 .sd { animation-name: dt-sd4; }
@keyframes dt-drop5 { 0%, 49% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 50% { opacity: 1; } 56% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 58% { transform: scale(.97); } 60%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd5 { 0%, 49% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 56%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d5 { animation-name: dt-drop5; } .art .d5 .sd { animation-name: dt-sd5; }
@keyframes dt-drop6 { 0%, 61% { opacity: 0; transform: translate(-6px, -8px) scale(1.4); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 62% { opacity: 1; } 68% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; } 70% { transform: scale(.97); } 72%, 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dt-sd6 { 0%, 61% { opacity: .05; transform: translate(9px, 12px); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 68%, 100% { opacity: .16; transform: translate(1.6px, 2.2px); } }
.art .d6 { animation-name: dt-drop6; } .art .d6 .sd { animation-name: dt-sd6; }
.art .up { animation: dr-up 10s linear var(--d) infinite var(--run, paused); }
@keyframes dr-up { from { transform: translateY(104px); } to { transform: translateY(-32px); } }
.art .hl { animation: dp-hl 7s step-end infinite var(--run, paused); }
@keyframes dp-hl { 0% { transform: translateX(0); } 46% { transform: translateX(8px); } 96% { transform: translateX(0); } }
.art .st { animation: dt-steam 2.4s ease-in-out infinite alternate var(--run, paused); }
@keyframes dt-steam { from { opacity: .15; transform: translateY(1px); } to { opacity: .65; transform: translateY(-2px); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 46em; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); margin-top: 14px; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); }

/* what it does: an album's grid becomes the ring (morph in index.html), on a 12 s loop while in view.
   Laid out in the box's own width (cqw), each photo between its place in the grid (--gx, --gy) and
   in the ring (--rx, --ry, --ra: the mark's geometry, scaled to 80%) */
.turn { background: var(--surface); }
.turn .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.morph { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; --io: cubic-bezier(.65, 0, .3, 1); }
.morph > *, .morph .card > *, .morph .spin > * { position: absolute; }
.morph .mtile { left: 10cqw; top: 10cqw; width: 80cqw; height: 80cqw; border-radius: 22%; background: var(--purple); opacity: 0;
  box-shadow: 0 2cqw 6cqw -2cqw rgb(91 67 230 / .6); animation: m-mark 12s var(--io) infinite var(--run, paused); }
.morph .card { left: 4cqw; top: 8cqw; width: 92cqw; height: 84cqw; border-radius: 3cqw; background: #fff;
  box-shadow: 0 1px 2px rgb(var(--shade) / .1), 0 4cqw 9cqw -4cqw rgb(var(--shade) / .4); animation: m-card 12s var(--io) infinite var(--run, paused); }
.morph .back { left: 3.4cqw; top: 2.6cqw; width: 5cqw; height: 5cqw; }
.morph .t1 { left: 29cqw; top: 4.4cqw; width: 34cqw; height: 3.4cqw; border-radius: 2cqw; background: #DDD5FA; }
.morph .t2 { left: 36cqw; top: 9.4cqw; width: 20cqw; height: 2.2cqw; border-radius: 2cqw; background: #ECE9F2; }
.morph .launch { left: 4.5cqw; top: 8.6cqw; width: 7.5cqw; height: 9cqw; overflow: visible; filter: drop-shadow(.2cqw .4cqw .5cqw rgb(43 45 66 / .25));
  animation: m-launch 12s ease infinite var(--run, paused); }
.morph .spin { inset: 0; animation: m-spin 12s var(--io) infinite var(--run, paused); }
.morph .ph { left: 0; top: 0; width: 18cqw; height: 18cqw; border-radius: 5%; background: #fff; box-shadow: 0 .3cqw .8cqw rgb(43 45 66 / .16);
  transform: translate(calc(var(--gx) * 1cqw - 50%), calc(var(--gy) * 1cqw - 50%));
  animation: m-fly 12s var(--io) calc(var(--k) * 45ms) infinite var(--run, paused); }
.morph .ph i { position: absolute; inset: 0; border-radius: inherit; background: center / cover no-repeat; clip-path: inset(0 round 4%);
  animation: m-window 12s var(--io) calc(var(--k) * 45ms) infinite var(--run, paused); }
.morph .cursor { left: 0; top: 0; width: 5cqw; opacity: 0; transform-origin: 0 0; filter: drop-shadow(0 .3cqw .4cqw rgb(43 45 66 / .3));
  animation: m-cursor 12s ease-in-out infinite var(--run, paused); }
@keyframes m-fly {
  0%, 18%, 90%, 100% { transform: translate(calc(var(--gx) * 1cqw - 50%), calc(var(--gy) * 1cqw - 50%)) rotate(0deg) scale(1); border-radius: 5%; }
  34%, 74% { transform: translate(calc(var(--rx) * 1cqw - 50%), calc(var(--ry) * 1cqw - 50%)) rotate(var(--ra)) scale(.8); border-radius: 16.7%; }
}
@keyframes m-window { 0%, 20%, 88%, 100% { clip-path: inset(0 round 4%); } 34%, 74% { clip-path: inset(13.9% 13.9% 27.8% 13.9% round 1cqw); } }
@keyframes m-card { 0%, 18%, 90%, 100% { opacity: 1; transform: scale(1); } 27%, 78% { opacity: 0; transform: scale(.94); } }
/* the launcher's drawing is tilted -7°: pointed at, it straightens (as on an album), then it's clicked */
@keyframes m-launch { 0%, 10% { transform: none; } 13% { transform: rotate(7deg) translateY(-.4cqw) scale(1.06); } 14.5% { transform: rotate(7deg) scale(.9); } 16%, 100% { transform: rotate(7deg) translateY(-.4cqw) scale(1.06); } }
@keyframes m-cursor {
  0% { opacity: 0; transform: translate(46cqw, 96cqw); } 3% { opacity: 1; }
  12% { transform: translate(12cqw, 21cqw); } 14% { transform: translate(12cqw, 21cqw) scale(.85); } 16% { opacity: 1; transform: translate(12cqw, 21cqw); }
  22%, 100% { opacity: 0; transform: translate(20cqw, 34cqw); }
}
@keyframes m-mark { 0%, 24%, 84%, 100% { opacity: 0; transform: scale(.7); } 36%, 72% { opacity: 1; transform: scale(1); } }
@keyframes m-spin { 0%, 36% { transform: rotate(0); } 70%, 100% { transform: rotate(360deg); } }
.points { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.points b { display: block; font: 600 20px/1.2 var(--display); letter-spacing: -.005em; }
.points span { display: block; margin-top: 4px; color: var(--muted); }
/* a tiny print as the bullet, its window one of the stand-in photos */
.pip { width: 26px; height: 30px; margin-top: 1px; padding: 3px 3px 9px; border-radius: 3px; background: var(--paper); transform: rotate(var(--r, -8deg)); box-shadow: 0 1px 2px rgb(var(--shade) / .18), 0 4px 10px -4px rgb(var(--shade) / .4); }
.pip::before { content: ''; display: block; height: 100%; border-radius: 1px; background: center / cover no-repeat; }
.pip.s0::before { background-image: url(scene-0.svg); }
.pip.s3::before { background-image: url(scene-3.svg); }
.pip.s4::before { background-image: url(scene-4.svg); }
.pip.s5::before { background-image: url(scene-5.svg); }
@media (prefers-color-scheme: dark) { .pip { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 4px 10px -4px rgb(0 0 0 / .6); } }

/* ---------- the experiences ---------- */
/* a few of them, two by two, each print with its badge (the ring's open centre, enlarged) stuck on
   a corner, the experience's icon in it in white; below them, the rest as a row of prints */
#experiences .section-head { margin: 0 auto; text-align: center; }
.teasers { max-width: 940px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 5vw, 64px) clamp(28px, 4vw, 56px); }
.tile .print { padding: 2.4% 2.4% 6%; transform: rotate(var(--r, 0deg)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover .print, .tile.playing .print { transform: rotate(0) translateY(-4px); box-shadow: 0 2px 4px rgb(var(--shade) / .12), 0 36px 60px -22px rgb(var(--shade) / .55), 0 0 90px -20px color-mix(in srgb, var(--accent) var(--glow), transparent); }
.tile h3, .more h3 { margin-top: 20px; font-size: clamp(22px, 2vw, 26px); }
.tile p, .more p { margin-top: 8px; max-width: 32em; color: var(--muted); font-size: 16.5px; }
.badge {
  position: absolute; z-index: 2; left: -20px; top: -24px; width: clamp(60px, 5.4vw, 78px); aspect-ratio: 1; transform: rotate(-8deg);
  filter: drop-shadow(2px 4px 5px rgb(var(--shade) / .28)); transition: transform .35s var(--ease);
}
.badge > span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--badge); color: var(--badge);
  -webkit-mask: url(badge.svg) center / 100% 100% no-repeat; mask: url(badge.svg) center / 100% 100% no-repeat; }
.badge svg { width: 50%; height: 50%; }
.tile:hover .badge, .tile.playing .badge { transform: rotate(4deg) scale(1.06); }
/* the rest, below them: a row of prints running off to the right, fading out (there are more than
   show); pointed at, they lift one after another */
.more { grid-column: 1 / -1; }
.deck { display: flex; align-items: flex-start; padding: 24px 0 64px 12px; margin: -12px 0 -64px -12px; /* room for the shadows inside the mask */
  -webkit-mask-image: linear-gradient(to left, transparent, #000 30%); mask-image: linear-gradient(to left, transparent, #000 30%); }
.deck .print, .deck .media { display: block; }
.deck .print { width: 23%; padding: 8px 8px 20px; flex: none; transform: translateY(calc(var(--i) * var(--fan, 0px))) rotate(var(--r)); transition: transform .45s var(--ease); }
.deck .print + .print { margin-left: -10%; }
.deck .print:nth-child(odd) { margin-top: 12px; }
.more:hover .deck { --fan: -2px; }

/* ---------- how it works ---------- */
.how { background: var(--bg-deep); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 26px 24px 28px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgb(var(--shade) / .06); }
.step .num { display: grid; place-items: center; width: 44px; height: 52px; padding: 4px 4px 12px; border-radius: 4px; background: var(--paper); transform: rotate(var(--r)); box-shadow: 0 1px 2px rgb(var(--shade) / .2), 0 8px 16px -8px rgb(var(--shade) / .5); }
.step .num span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 2px; background: var(--c); color: var(--ink); font: 600 19px/1 var(--display); }
.step .num.ink span { color: #fff; }
.step h3 { margin-top: 22px; font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.step .art { margin-top: auto; padding-top: 22px; }
.step code { font: 500 .92em var(--ui); padding: 1px 6px; border-radius: 6px; background: var(--bg); }
/* the launcher as it sits on an album: one print, tilted; pointed at, it straightens and lifts */
.launcher-demo { position: relative; height: 96px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.launcher-demo .back { position: absolute; left: 12px; top: 9px; width: 18px; height: 18px; }
.launcher-demo .bar { position: absolute; left: 32%; right: 32%; top: 13px; height: 10px; border-radius: 5px; background: #ECE9F2; }
.launcher-demo .grid-mock { position: absolute; left: 62px; right: 14px; top: 34px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 4px; }
.launcher-demo .grid-mock i { height: 22px; border-radius: 2px; background: #E4DEFA; }
.launcher-demo .grid-mock i:nth-child(3n+2) { background: #D6CDF7; }
.launcher-demo .snap { position: absolute; left: 14px; top: 34px; width: 34px; height: 41px; overflow: visible; transition: transform .35s cubic-bezier(.3, .7, .3, 1);
  filter: drop-shadow(1px 2px 2px rgba(43, 45, 66, .22)) drop-shadow(2px 5px 8px rgba(43, 45, 66, .16)); }
.step:hover .snap { transform: rotate(7deg) translateY(-2px) scale(1.06); }
.mini-tiles { display: flex; gap: 8px; }
.mini-tiles span { flex: 1; padding: 4px 4px 10px; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgb(var(--shade) / .14), 0 8px 14px -8px rgb(var(--shade) / .4); }
.mini-tiles img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 1px; }
.store-mock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.store-mock img { width: 40px; height: 40px; border-radius: 22%; }
.store-mock div { min-width: 0; }
.store-mock b { display: block; font: 600 15px/1.2 var(--display); }
.store-mock small { display: block; color: var(--muted); font-size: 12.5px; }
.store-mock .pill { margin-left: auto; padding: 7px 12px; border-radius: 999px; background: var(--primary); color: #fff; font: 600 12.5px/1 var(--display); white-space: nowrap; }
.album-mock { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); color: #1F1F1F; }
.album-mock b { display: block; font: 500 15px/1.2 var(--ui); }
.album-mock small { display: block; color: #5F6368; font-size: 11.5px; margin-top: 2px; }
.album-mock .row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 3px; margin-top: 9px; }
.album-mock .row i { height: 26px; border-radius: 1px; background: linear-gradient(#C9BEFF 60%, #9D8BFF 60%); }
.album-mock .row i:nth-child(2) { background: linear-gradient(#FFB4A2 55%, #FF5A5F 55%); }
.album-mock .row i:nth-child(3) { background: linear-gradient(#4CC9F0 65%, #00A699 65%); }

/* ---------- privacy, in one line ---------- */
.promise { padding: clamp(48px, 6vw, 76px) 0; background: var(--surface); }
.promise .wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.promise .lock { flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22%; background: var(--bg); box-shadow: 0 1px 2px rgb(var(--shade) / .08), 0 14px 30px -16px rgb(var(--shade) / .45); }
.promise .lock svg { width: 38px; height: 38px; }
.promise h2 { font-size: clamp(26px, 3vw, 36px); }
.promise p { margin-top: 8px; color: var(--muted); }

/* ---------- the last call: the ring as a frame, the brand's stand-in photos in its centre ---------- */
.again { background: var(--purple); color: #fff; }
.again .wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); }
.again h2 { flex: 1; font-size: clamp(30px, 3.6vw, 46px); }
.again .frame { position: relative; flex: none; width: clamp(88px, 9vw, 120px); aspect-ratio: 1; filter: drop-shadow(0 12px 18px rgb(30 18 110 / .45)); }
.again .frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.again .frame .next { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .again .frame .next { animation: develop 9s ease-in-out infinite; } }
@keyframes develop { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- footer ---------- */
.foot { padding: 56px 0 44px; background: var(--bg-deep); color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .6fr)); gap: 32px 48px; }
.foot .lockup { --mark: 34px; --word: 26px; --gap: 10px; }
.foot .about { margin-top: 16px; max-width: 30em; }
.foot h2 { color: var(--text); font: 600 13px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.foot ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--link); text-decoration: underline; }
.foot .lockup:hover { color: var(--text); text-decoration: none; }
.foot .legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- documents: privacy, terms, FAQ ---------- */
.doc-head { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.doc-head h1 { margin-top: 14px; font-size: clamp(40px, 4.6vw, 56px); }
.doc-head .lede { margin-top: 16px; }
.doc { padding-bottom: clamp(64px, 8vw, 110px); }
.doc .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 52px; font-size: clamp(26px, 2.6vw, 32px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; font-size: 21px; }
.prose p, .prose ul, .prose ol, .prose table { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--purple); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font: 600 13px/1.3 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose td code, .prose p code, .prose li code { font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border-radius: 6px; background: var(--bg); }
.short { margin-top: 0; padding: 26px 28px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgb(var(--shade) / .06); }
.short h2 { margin-top: 0; font-size: 24px; }
.short ul { list-style: none; padding: 0; }
.short li { position: relative; padding-left: 34px; }
.short li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 2px; background: var(--c, var(--teal)); transform: rotate(-12deg); }
.short li:nth-child(4n+2) { --c: var(--coral); }
.short li:nth-child(4n+3) { --c: var(--marigold); }
.short li:nth-child(4n+4) { --c: var(--purple); }
.note { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--marigold); border-radius: 4px 14px 14px 4px; background: var(--surface); }
.note p:first-child { margin-top: 0; }
.updated { margin-top: 16px; color: var(--muted); font-size: 15px; }
.toc { position: sticky; top: 84px; padding: 22px 22px 24px; border-radius: 18px; background: var(--surface); font-size: 15px; }
.toc h2 { font: 600 13px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--link); }
.toc .contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }

/* the FAQ: the heading beside, questions as details that open in place */
.faqs .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faqs .section-head { position: sticky; top: 96px; }
.faq details + details { margin-top: 12px; }
.faq details { border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgb(var(--shade) / .06); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--display); border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%237B61FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p + p, .faq .answer ul { margin-top: 12px; }
.faq .answer ul { padding-left: 1.2em; }
.faq .answer code { font: 500 .92em var(--ui); padding: 1px 6px; border-radius: 6px; background: var(--bg); }
.faq .answer strong { color: var(--text); font-weight: 600; }

/* ---------- 404 ---------- */
.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 40px 0 90px; }
.lost .stack { position: relative; width: 220px; height: 190px; margin: 0 auto 30px; }
.lost .stack span { position: absolute; left: 50%; top: 50%; width: 120px; padding: 8px 8px 30px; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgb(var(--shade) / .14), 0 20px 36px -18px rgb(var(--shade) / .55); }
.lost .stack i { display: block; aspect-ratio: 1; border-radius: 2px; }
.lost .stack span:nth-child(1) { transform: translate(-80%, -56%) rotate(-12deg); }
.lost .stack span:nth-child(2) { transform: translate(-22%, -46%) rotate(9deg); }
.lost .stack span:nth-child(3) { transform: translate(-50%, -38%) rotate(-2deg); }
.lost .stack span:nth-child(3) i { background: var(--bg-deep); box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; color: var(--purple); font: 600 34px/1 var(--display); }
.lost h1 { font-size: clamp(36px, 4.4vw, 52px); }
.lost p { margin: 14px auto 0; max-width: 30em; color: var(--muted); }
.lost .btn { margin-top: 30px; }

/* ---------- narrow screens ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc .wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 880px) {
  .hero .wrap, .turn .wrap, .faqs .wrap { grid-template-columns: minmax(0, 1fr); }
  .faqs .section-head { position: static; }
  .drift { width: 120vw; opacity: .4; }
  .hand { max-width: 560px; width: 100%; margin: 8px auto 0; }
  .morph { width: min(80vw, 380px); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot .brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .promise .wrap { flex-direction: column; align-items: flex-start; }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .badge { left: -10px; top: -22px; }
  .deck .print { width: 46%; }
  .deck .print + .print { margin-left: -33%; }
  .again .wrap { flex-wrap: wrap; }
  .again h2 { flex: 1 1 0; min-width: 0; }
  .again .btn { flex: 1 1 100%; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 15px 24px; }
  .cta .btn { flex: 1 1 100%; }
  .faq summary { padding: 18px 18px; }
  .faq .answer { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
