/* Tunalo parent site. Same visual language as Tunalo Artist's landing (TunaloArtists/cloud/landing.js):
   Comfortaa headings over Inter. "Darkroom": warm near-black, cream ink, film grain. The hero is the three products' streams of light flowing into one frame (assets/art/hero-*.webp).
   Colour says whose it is: the page and Tunalo itself are neutral (near-black, grey, white); only Artist (violet), Creator (red) and Works (blue) carry colour, inside their own doors, sections and buttons, and as the faint wash behind the products.
   Everything reads --accent*; .t-artist, .t-creator and .t-works re-point it for their part of the page. */
:root {
  color-scheme: dark;
  --ground: #110e0c; --ground-2: #16120f; --panel: #1b1714; --panel-2: #221d19; --line: #2f2823;
  --ink: #f4ede3; --ink-dim: #c2b6a6; --ink-faint: #918676;
  --violet: #a07bf9; --red: #ff5c5c; --blue: #5aa2ff; --beam: 255 224 186;
  /* --accent is text on the ground, --accent-bright the same on the doors, --accent-deep the button */
  --accent: #d9cdbd; --accent-bright: #d9cdbd; --accent-deep: #f4ede3; --accent-hover: #e2d6c5; --accent-soft: #f4ede3; --accent-rgb: 217 205 189; --on-accent: #110e0c;
  --radius: 16px;
}
.t-artist { --accent: var(--violet); --accent-bright: var(--violet); --accent-deep: #6d28d9; --accent-hover: #5b21b6; --accent-soft: #ddd0ff; --accent-rgb: 160 123 249; --on-accent: #fff; }
.t-creator { --accent: var(--red); --accent-bright: var(--red); --accent-deep: #b91c1c; --accent-hover: #991b1b; --accent-soft: #ffd6d2; --accent-rgb: 255 92 92; --on-accent: #fff; }
/* Blue: #5aa2ff is 7.4:1 on the ground and 6.4:1 on --panel-2; white on #1d4ed8 is 6.7:1, on the #1e40af hover 8.7:1. */
.t-works { --accent: var(--blue); --accent-bright: var(--blue); --accent-deep: #1d4ed8; --accent-hover: #1e40af; --accent-soft: #d3e5ff; --accent-rgb: 90 162 255; --on-accent: #fff; }
* { box-sizing: border-box; margin: 0; }
/* Under the top bar (z-index 10): iPhone Safari 26 tints the status bar from the topmost fixed layer at the top edge, and
   this see-through grain over the bar made it show the page behind the clock. */
body::after { content: ""; position: fixed; inset: -120px; z-index: 9; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (hover: hover) and (pointer: fine) { body::after { animation: grain 1s steps(6) infinite; } }
@keyframes grain { 0%, 100% { translate: 0 0; } 17% { translate: -40px 22px; } 33% { translate: 28px -36px; } 50% { translate: -18px -60px; } 67% { translate: 52px 30px; } 83% { translate: -60px 8px; } }
/* Doors, products and the how cards light where the pointer is: site.js sets --mx/--my, :hover raises --spot. */
@property --spot { syntax: "<number>"; inherits: true; initial-value: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--ink); font: 400 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, .word { font-family: "Comfortaa", "Inter", sans-serif; font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--accent-deep); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── lockups: the mark, then "tunalo" or "tunalo | child" ── */
.lockup { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; }
.lockup svg { width: 1.6em; height: 1.6em; flex: none; filter: drop-shadow(0 6px 18px rgb(var(--accent-rgb) / .45)); }
.lockup:not(.child) svg { filter: drop-shadow(0 6px 18px rgb(0 0 0 / .5)); }
.word { display: inline-flex; align-items: center; gap: .35em; line-height: 1; }
.word i { width: 2px; height: .95em; background: var(--accent); border-radius: 1px; opacity: .8; }
.child .word { color: var(--ink); }
.eq { transform-box: fill-box; transform-origin: 50% 50%; animation: var(--eq, none); }
.eq:nth-of-type(3) { animation-delay: -.3s; } .eq:nth-of-type(4) { animation-delay: -.55s; }
.home:hover, .home:focus-visible { --eq: eq .45s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.5); } to { transform: scaleY(1.06); } }

/* ── top bar ── */
/* Opaque on purpose: iPhone Safari 26 colours the status bar from this element's own background-color, and a translucent or
   blurred one reads as glass, so the page scrolls visibly behind the clock. It takes the wash's colour too, status bar included. */
.topbar { position: fixed; inset: 0 0 auto; z-index: 10; background-color: color-mix(in srgb, var(--wash) 12%, #110e0c);
  border-bottom: 1px solid rgba(47, 40, 35, .7); transition: background-color .8s ease, box-shadow .3s; }
.topbar.scrolled { box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .8); }
.topbar .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none; transition: background-color .5s; }
.topbar .wrap { max-width: 1840px; padding-inline: clamp(16px, 3vw, 64px); display: flex; align-items: center; gap: 24px; height: 60px; }
.topbar .home { display: flex; text-decoration: none; border-radius: 8px; }
.topbar .lockup { font-size: 19px; }
.topbar nav.inline { display: flex; gap: 4px; margin-left: auto; }
.topbar nav.inline a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-dim); text-decoration: none; white-space: nowrap;
  position: relative; transition: color .2s, background .2s; }
.topbar nav.inline a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.topbar nav.inline a.on { color: var(--ink); }
.topbar nav.inline a.on::after { transform: scaleX(1); }
.topbar nav.inline a:hover { color: var(--ink); background: rgb(var(--accent-rgb) / .1); }
.topbar .go { width: auto; padding: 9px 16px; font-size: 14px; flex: none; }
/* Phones: one row (brand, Get started, a menu button); the links open in a panel under it. */
.topbar .menu { display: none; }
@media (max-width: 860px) {
  .topbar .wrap { height: 56px; gap: 8px; }
  .topbar nav.inline { display: none; }
  .topbar .go { margin-left: auto; padding: 8px 14px; }
  .topbar .menu { display: block; }
  .topbar .menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 10px;
    color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .topbar .menu summary::-webkit-details-marker { display: none; }
  .topbar .menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .topbar .menu summary svg { width: 24px; height: 24px; }
  .topbar .menu .shut { display: none; }
  .topbar .menu[open] .shut { display: block; }
  .topbar .menu[open] .burger { display: none; }
  .topbar .menu[open] summary { background: rgb(var(--accent-rgb) / .14); }
  .topbar .sheet { position: fixed; top: 56px; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px 12px 16px;
    background: rgba(17, 14, 12, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(47, 40, 35, .7); box-shadow: 0 24px 48px rgba(0, 0, 0, .5); max-height: calc(100svh - 56px); overflow-y: auto; }
  .topbar .sheet a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 10px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
  .topbar .sheet a:active, .topbar .sheet a:hover { background: rgb(var(--accent-rgb) / .12); }
  .topbar .sheet .out { color: var(--accent); font-size: 16px; }
  .topbar .sheet .out svg { width: 18px; height: 18px; }
  .topbar .sheet hr { border: 0; border-top: 1px solid rgba(47, 40, 35, .9); margin: 8px 12px; }
}
@media (max-width: 360px) { .topbar .lockup { font-size: 16px; } .topbar .go { padding: 8px 10px; font-size: 13px; } }
section[id], article[id] { scroll-margin-top: 76px; }

/* ── buttons: the accent's deep shade, solid, as on the Artist landing ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 10px;
  font: 600 15px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate; transition: background .15s, translate .2s, scale .15s, box-shadow .25s; }
.btn::after, .door-go::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; translate: -110% 0;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .24) 50%, transparent 70%); transition: translate .7s cubic-bezier(.22, .61, .36, 1); }
.btn:hover::after, .door:hover .door-go::after { translate: 110% 0; }
.btn:active { scale: .97; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent-deep); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); translate: 0 -1px; box-shadow: 0 12px 28px -12px rgb(var(--accent-rgb) / .8); }
.btn.wide { width: 100%; }
/* The product buttons as glass, like the hero's frame and its three marks: a lit rim on top, a sheen down the face, the
   product's light glowing round it and in its arrow. With no hover (a phone), the sheen's glint crosses it on its own now and then. */
:is(.t-artist, .t-creator, .t-works) .btn-primary, .btn-primary:is(.t-artist, .t-creator, .t-works), .door-go {
  background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / .05) 48%, transparent 52%, rgb(0 0 0 / .16)), var(--accent-deep);
  border: 1px solid rgb(var(--accent-rgb) / .6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -1px 0 rgb(0 0 0 / .3), 0 8px 26px -10px rgb(var(--accent-rgb) / .75); }
:is(.t-artist, .t-creator, .t-works) .btn-primary:hover, .btn-primary:is(.t-artist, .t-creator, .t-works):hover, .door:hover .door-go {
  background: linear-gradient(180deg, rgb(255 255 255 / .24), rgb(255 255 255 / .06) 48%, transparent 52%, rgb(0 0 0 / .16)), var(--accent-hover);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1px 0 rgb(0 0 0 / .3), 0 12px 32px -10px rgb(var(--accent-rgb) / .9); }
:is(.t-artist, .t-creator, .t-works) .btn-primary svg, .btn-primary:is(.t-artist, .t-creator, .t-works) svg, .door-go svg {
  filter: drop-shadow(0 0 2px rgb(var(--accent-rgb))) drop-shadow(0 0 7px rgb(var(--accent-rgb) / .8)); }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  :is(.t-artist, .t-creator, .t-works) .btn-primary::after, .btn-primary:is(.t-artist, .t-creator, .t-works)::after, .door-go::after {
    animation: glint 7s cubic-bezier(.22, .61, .36, 1) calc(var(--n, 0) * 1.3s) infinite; }
}
@keyframes glint { 0%, 80% { translate: -110% 0; } 100% { translate: 110% 0; } }

/* ── hero: the line, then the three doors ── */
.hero { position: relative; padding: calc(60px + clamp(48px, 8vh, 96px)) 0 clamp(56px, 8vw, 96px); isolation: isolate; overflow: hidden; }
/* The art sits between the words and the doors, full bleed. Its glass frame spans 53-70% of the picture's height, so the
   negative margins put the frame's top edge just under the words and let the doors overlap the ribbons below it. */
.hero-art { --h: clamp(460px, 56vw, 1000px); position: relative; z-index: -2; pointer-events: none; width: 100vw; height: var(--h);
  margin: calc(24px - .53 * var(--h)) 0 calc(56px - .3 * var(--h)) calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.hero-art .stage { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max(100vw, calc(var(--h) * 2.357)); aspect-ratio: 3840 / 1629;
  container-type: inline-size; animation: drift 28s ease-in-out infinite alternate; }
.hero-art img, .hero-art .flow { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The three marks are light inside the glass frame (its top edge is 53.4% down the picture, its bottom 70%): outlines
   in a pale tint of each product's colour, a glow of the colour itself, added to the picture's light like the streams
   are. site.js sets --flare as each product's light lands, and the mark burns brighter. */
.hero-marks { position: absolute; left: 50%; top: 56%; translate: -50% 0; display: flex; gap: 4cqw; mix-blend-mode: screen; mix-blend-mode: plus-lighter; }
.hero-marks span { display: block; color: var(--accent-soft); opacity: calc(.7 + var(--flare, 0) * .3);
  animation: bob 5s ease-in-out calc(var(--n) * -1.6s) infinite alternate; }
.hero-marks svg { display: block; width: 4.6cqw; height: 4.6cqw; overflow: visible;
  filter: drop-shadow(0 0 .12cqw rgb(var(--accent-rgb))) drop-shadow(0 0 calc(.5cqw + var(--flare, 0) * .9cqw) rgb(var(--accent-rgb) / .9))
    drop-shadow(0 0 calc(1.4cqw + var(--flare, 0) * 1.6cqw) rgb(var(--accent-rgb) / calc(.45 + var(--flare, 0) * .4))); }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -.3cqw; } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.06); } }
/* A darker pool behind the words so the cream text keeps its contrast over the colour. */
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; inset: -40px -15%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(17 14 12 / .72), rgb(17 14 12 / .35) 70%, transparent); }
.hero .dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--ink); background: linear-gradient(rgb(var(--beam) / .5), rgb(var(--beam) / .5)) 0 94% / 100% .06em no-repeat;
  animation: underline 1.1s cubic-bezier(.65, 0, .35, 1) 1.35s both; }
@keyframes underline { from { background-size: 0% .06em; } }
/* The line lights up word by word, the way Artist times lyrics to a vocal. The words are spans in the HTML, so there is no flash before a script runs. */
.hero h1 .w { display: inline-block; animation: lyric .9s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(.2s + var(--i) * 75ms); }
@keyframes lyric { from { opacity: .12; filter: blur(8px); translate: 0 .28em; } }
.hero .eyebrow { animation: rise .8s cubic-bezier(.22, .61, .36, 1) both; }
.hero .lead { animation: rise .9s cubic-bezier(.22, .61, .36, 1) .9s both; }
.doors .door { animation: rise 1s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(1.05s + var(--n, 0) * 130ms); }
@keyframes rise { from { opacity: 0; translate: 0 26px; filter: blur(6px); } }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-dim); max-width: 36em; margin: 0 auto; }

.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Tablets: two side by side, Works across the full width under them. */
@media (min-width: 761px) and (max-width: 1040px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors .t-works { grid-column: 1 / -1; min-height: clamp(260px, 32vw, 340px); }
}
@media (max-width: 760px) { .doors { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.door { position: relative; display: flex; align-items: flex-end; min-height: clamp(300px, 34vw, 420px); border-radius: 20px; overflow: hidden; text-decoration: none;
  border: 1px solid rgb(var(--accent-rgb) / .22); background: var(--panel); isolation: isolate;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: border-color .3s, transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s, --spot .4s; }

.door-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--accent-rgb) / calc(.3 * var(--spot))), transparent 65%), linear-gradient(180deg, rgba(10, 10, 11, .05) 20%, rgba(10, 10, 11, .7) 58%, rgba(10, 10, 11, .96) 100%); }
.door { --ink: #f2f2f3; --ink-dim: #b9b9bf; --panel: #151517; --accent: var(--accent-bright); color: var(--ink); }
.door-body { display: grid; gap: 6px; padding: clamp(20px, 2.4vw, 32px); width: 100%; }
.door .lockup { font-size: 22px; margin-bottom: 6px; }
.door-for { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.door-line { font-family: "Comfortaa", "Inter", sans-serif; font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.door-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 15px; color: #fff;
  padding: 11px 16px; border-radius: 10px; background: var(--accent-deep); justify-self: start; transition: background .15s;
  position: relative; overflow: hidden; isolation: isolate; }
.door-go svg { width: 18px; height: 18px; transition: transform .2s; }
.door:hover { --spot: 1; --lift: -4px; border-color: rgb(var(--accent-rgb) / .6);
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .9), 0 24px 70px -28px rgb(var(--accent-rgb) / .55); }
.door:hover .door-art { transform: scale(1.04); }
.door:hover .door-go svg { transform: translateX(3px); }
.door:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* Creator's sign-in is invite only; its section says so. */
.tag { align-self: flex-start; margin-top: -8px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: rgb(var(--accent-rgb) / .12); border: 1px solid rgb(var(--accent-rgb) / .35); }
/* Phones: the picture on top, the words under it, so the text never sits on a face. */
@media (max-width: 760px) {
  .door { flex-direction: column; align-items: stretch; min-height: 0; }
  .door-art { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; z-index: auto; }
  .door::after { display: none; }
  .door-body { position: relative; margin-top: -40px; padding: 0 18px 20px; background: linear-gradient(180deg, transparent, var(--panel) 40px); }
}
/* ── sections ── */
section.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.alt { background: linear-gradient(180deg, var(--ground), var(--ground-2) 30%, var(--ground-2) 70%, var(--ground)); }
.band.products { padding-top: clamp(24px, 4vw, 48px); position: relative; isolation: isolate; }
/* The hero's violet, red, blue run left to right; down the products they run top to bottom, a faint wash of each
   product's colour behind its part, blending into the next and back to the ground at both ends. */
.band.products::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgb(160 123 249 / .14) 18%, rgb(255 92 92 / .11) 45%, rgb(90 162 255 / .14) 75%, transparent); }
.head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin-bottom: 14px; }
.head p { color: var(--ink-dim); font-size: 17px; }

/* ── the products: Artist and Creator side by side, Works across both ── */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.product { display: flex; flex-direction: column; gap: 20px; background: radial-gradient(120% 50% at 50% 0%, rgb(var(--accent-rgb) / .12), transparent 70%), var(--panel); border: 1px solid rgb(var(--accent-rgb) / .28); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
/* Phone and tablet, where the doors and products stack: the page behind them takes the colour of the one on screen (site.js sets
   html[data-part]), and the cards let it through so the whole screen changes, not just the gutters. Off, --wash is the ground itself. */
@property --wash { syntax: "<color>"; inherits: true; initial-value: #110e0c; }
html[data-part="artist"] { --wash: var(--violet); }
html[data-part="creator"] { --wash: var(--red); }
html[data-part="works"] { --wash: var(--blue); }
@media (max-width: 960px) {
  body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: --wash .8s ease;
    background: radial-gradient(140% 55% at 50% 0%, color-mix(in srgb, var(--wash) 30%, transparent), transparent 75%),
      radial-gradient(140% 55% at 50% 100%, color-mix(in srgb, var(--wash) 20%, transparent), transparent 75%),
      color-mix(in srgb, var(--wash) 8%, transparent); }
  .product { background: radial-gradient(120% 50% at 50% 0%, rgb(var(--accent-rgb) / .16), transparent 70%), rgb(27 23 20 / .7); }
}
/* Phone and tablet: the card you're reading stays full size with its name magnified, and the ones above and below it
   step back (site.js sets .is-on and .is-off with html[data-part]). */
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .doors .door, .products .product { transition: border-color .3s, transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s, --spot .4s,
    scale .6s cubic-bezier(.22, .61, .36, 1), opacity .6s; }
  .door .lockup, .product .lockup { transform-origin: 0 50%; transition: scale .6s cubic-bezier(.22, .61, .36, 1); }
  .is-off { scale: .92; opacity: .5; }
  .is-on .lockup { scale: 1.15; }
}
@media (max-width: 760px) {
  .door { background: transparent; }
  .door-body { background: linear-gradient(180deg, transparent, var(--panel) 40px, rgb(21 21 23 / .7) 110px); }
}
.product, .how article { position: relative; isolation: isolate; transition: --spot .4s, transform .35s cubic-bezier(.22, .61, .36, 1), border-color .3s; }
.product::before, .how article::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: var(--spot);
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--accent-rgb) / .11), transparent 60%); }
.product:hover, .how article:hover { --spot: 1; }
.product .lockup.big { font-size: 24px; }
.product h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; }
.product .who { color: var(--ink-dim); font-size: 16.5px; margin-top: -8px; }
.io { display: grid; gap: 12px; }
.io div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
@media (max-width: 420px) { .io div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.io dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-top: 2px; }
.io dd { color: var(--ink); font-size: 15px; }
.sample { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.sample video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .8s cubic-bezier(.22, .61, .36, 1); }
.sample:hover video { scale: 1.035; }
.sample figcaption { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); }
.sample figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--accent); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .7); } 70%, 100% { box-shadow: 0 0 0 6px rgb(var(--accent-rgb) / 0); } }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stills img, .stills video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line);
  transition: translate .4s cubic-bezier(.22, .61, .36, 1), border-color .3s, box-shadow .4s; }
.stills img:hover, .stills video:hover { translate: 0 -4px; border-color: rgb(var(--accent-rgb) / .5); box-shadow: 0 18px 40px -18px rgb(var(--accent-rgb) / .55); }
.product .btn { margin-top: auto; }
/* Works: the words on the left, the frames on the right; one column once it narrows. */
.product.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px clamp(24px, 3.5vw, 48px); align-items: start; }
.product.wide .copy, .product.wide .media { display: flex; flex-direction: column; gap: 20px; }
.product.wide .media { gap: 12px; position: sticky; top: 84px; align-self: start; }
.product.wide .copy { height: 100%; }
@media (max-width: 960px) { .product.wide { grid-template-columns: minmax(0, 1fr); } .product.wide .media { position: static; } }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps .num { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgb(var(--accent-rgb) / .16); color: var(--accent); font: 700 15px/1 "Comfortaa", sans-serif; }
.steps h3 { font-size: 16.5px; line-height: 1.3; margin: 5px 0 4px; }
.steps p { color: var(--ink-dim); font-size: 15px; }

/* ── what both share ── */
.how { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .how { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.how article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how article:hover { transform: translateY(-4px); border-color: rgb(var(--beam) / .2); }
.how article.in .num { animation: pop .7s cubic-bezier(.34, 1.56, .64, 1) .25s both; }
@keyframes pop { from { scale: .4; opacity: 0; } }
.how .num { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgb(var(--accent-rgb) / .16); color: var(--accent); font: 700 17px/1 "Comfortaa", sans-serif; }
.how h3 { font-size: 18px; margin-bottom: 6px; }
.how p { color: var(--ink-dim); font-size: 15px; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: 17px; border-radius: 6px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; color: var(--ink-faint); transition: rotate .35s cubic-bezier(.22, .61, .36, 1), color .2s;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq summary:hover::after, .faq details[open] summary::after { color: var(--ink); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-dim); margin-top: 8px; }
.faq details[open] p { animation: rise .45s cubic-bezier(.22, .61, .36, 1) both; }
/* Browsers with ::details-content and interpolate-size slide the answer open; the rest open it at once. */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s cubic-bezier(.22, .61, .36, 1), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ── closing ── */
.band.closing { padding-top: 0; }
/* The one place all three colours meet, since all three doors are here. */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(40px, 7vw, 72px) 24px; text-align: center; border: 1px solid transparent;
  background: radial-gradient(70% 120% at 50% 0%, rgb(var(--beam) / .09), transparent 70%) padding-box, linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from var(--angle), rgb(var(--beam) / .12), rgb(160 123 249 / .75) 10%, rgb(var(--beam) / .12) 24%, rgb(255 92 92 / .75) 43%, rgb(var(--beam) / .12) 58%, rgb(90 162 255 / .75) 76%, rgb(var(--beam) / .12) 92%) border-box;
  animation: cta-ring 12s linear infinite; }
@keyframes cta-ring { to { --angle: 1turn; } }
.cta::before { content: ""; position: absolute; inset: -60%; z-index: -1; pointer-events: none; animation: aurora 30s linear infinite;
  background: radial-gradient(22% 26% at 36% 44%, rgb(160 123 249 / .2), transparent 70%), radial-gradient(22% 26% at 64% 40%, rgb(255 92 92 / .16), transparent 70%),
    radial-gradient(24% 26% at 50% 62%, rgb(90 162 255 / .17), transparent 70%); }
@keyframes aurora { to { rotate: 1turn; } }
.cta h2 { font-size: clamp(26px, 4.2vw, 44px); line-height: 1.12; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-row .btn { padding: 15px 24px; }
.cta-row .btn .m { width: 24px; height: 24px; }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }

/* ── footer ── */
footer { padding: 36px 0 48px; color: var(--ink-faint); font-size: 14px; border-top: 1px solid rgba(47, 40, 35, .6); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
footer .lockup.small { font-size: 15px; color: var(--ink); }
footer .links { display: flex; gap: 20px; }
footer .links a { color: var(--ink-dim); text-decoration: none; } footer .links a:hover { color: var(--ink); text-decoration: underline; }
footer .by a { color: var(--ink-dim); text-decoration: none; } footer .by a:hover { color: var(--ink); text-decoration: underline; }
footer .operator { flex-basis: 100%; font-size: 13px; }

/* ── the reel: a tilted film strip of real frames, running past ── */
.reel { overflow: hidden; padding: clamp(28px, 4vw, 48px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-strip { rotate: -2deg; margin: 0 -60px; background: #0a0807; border-block: 1px solid #2a231e; box-shadow: 0 30px 60px -30px #000; }
.reel-track { display: flex; width: max-content; animation: reel 90s linear infinite;
  background: linear-gradient(90deg, #3a312a 12px, transparent 0) 0 8px / 28px 8px repeat-x, linear-gradient(90deg, #3a312a 12px, transparent 0) 0 calc(100% - 8px) / 28px 8px repeat-x; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-set { display: flex; gap: 10px; padding: 26px 5px; }
.reel img { height: clamp(92px, 12vw, 160px); width: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px;
  filter: saturate(.75) brightness(.78); transition: filter .35s, scale .35s cubic-bezier(.22, .61, .36, 1); }
.reel img:hover { filter: none; scale: 1.05; }
@keyframes reel { to { translate: -50% 0; } }

/* ── scroll reveal: the hidden start exists only once site.js ran (html.js-reveal). An animation, not a transition,
   so the stagger (--rd) never delays a card's hover transitions. ── */
html.js-reveal [data-reveal]:not(.in) { opacity: 0; }
/* backwards, not both: held after it ends, the animation would own opacity and the magnifier's fade (.is-off) would snap. */
html.js-reveal [data-reveal].in { animation: reveal .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0ms) backwards; }
@keyframes reveal { from { opacity: 0; translate: 0 26px; filter: blur(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero .dust { display: none; }
  .reel { overflow-x: auto; }
}
