/* ==========================================================
   COLLECTION UNIVERSES — each page restyles the whole site
   ========================================================== */

/* shared collection page structure */
.uhero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.uhero__media { position: absolute; inset: 0; z-index: -2; }
.uhero__media img { width: 100%; height: 100%; object-fit: cover; }
.uhero__veil { position: absolute; inset: 0; z-index: -1; }
.uhero .wrap { position: relative; padding-top: 110px; padding-bottom: 80px; }
.utitle { font-size: clamp(3rem, 1rem + 9vw, 9.5rem); line-height: .95; }
.ulabel { margin-top: 1.6rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }
.ulogo { max-width: min(420px, 80%); margin-top: 1.8rem; }
.ustory { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); }
.ustory p { margin: 0 0 1.2em; }
.useq { display: grid; gap: clamp(60px, 8vw, 120px); }

/* ---------------- GALACTIC LILATECH ---------------- */
.u-galactic .uhero__veil { background: linear-gradient(90deg, rgba(11,3,34,.92) 0%, rgba(11,3,34,.55) 45%, rgba(11,3,34,.1) 75%), linear-gradient(to top, var(--void), transparent 40%); }
.u-galactic .uhero .sign { position: absolute; right: var(--gutter); top: 140px; }
.u-galactic .sign--2 { --sign: var(--cyan); top: auto !important; bottom: 90px; right: calc(var(--gutter) + 110px) !important; font-size: clamp(1.6rem, 3vw, 2.8rem); }
@media (max-width: 700px) { .u-galactic .uhero .sign { display: none; } }
.u-galactic .scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }

/* ---------------- NORDIC KABUKI ---------------- */
.u-kabuki {
  --void: #061a20; --night: #0c2a33; --aurora: #1d5560; --lilac: #9fc8d0;
  --magenta: #d8283a; --cyan: #a9d6de; --gold: #c9a24a; --gold-deep: #8a6a24;
  --ink: #f2f6f5; --ink-soft: #b9cdd0;
  --glow-a: #d8283a;
  --f-head: "Shippori Mincho B1", serif; --f-body: "Shippori Mincho B1", serif;
  --measure: 62ch;
}
.u-kabuki body, body.u-kabuki { line-height: 1.75; }
.u-kabuki .aurora { background: radial-gradient(60vmax 40vmax at 30% 20%, #2d6a74 0%, transparent 70%), radial-gradient(50vmax 40vmax at 80% 80%, #0d3a44 0%, transparent 70%), var(--void); }
.u-kabuki .uhero { background: radial-gradient(70% 70% at 40% 45%, #6fa3ad 0%, #2a5d68 45%, #061a20 100%); }
.u-kabuki .uhero__media { left: auto; width: min(52%, 720px); right: 0; }
.u-kabuki .uhero__media img { object-fit: cover; mask-image: linear-gradient(to left, #000 60%, transparent); -webkit-mask-image: linear-gradient(to left, #000 60%, transparent); }
.u-kabuki .kanji { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap; font-family: "Yuji Syuku", serif; font-size: clamp(4.5rem, 10vw, 9.5rem); color: #d8283a; line-height: 1; opacity: .9; z-index: -1; text-shadow: 6px 6px 0 rgba(0,0,0,.25); }
.u-kabuki .uhero .wrap { padding-left: calc(var(--gutter) + clamp(5rem, 12vw, 11rem)); }
.u-kabuki .utitle { font-family: "Yuji Syuku", serif; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.u-kabuki .stroke { position: absolute; left: -5%; right: -5%; bottom: 8%; height: 90px; z-index: -1; background: #d8283a; clip-path: polygon(0 40%, 8% 20%, 30% 35%, 55% 10%, 78% 30%, 100% 15%, 100% 55%, 80% 70%, 58% 50%, 32% 80%, 10% 60%, 0 85%); opacity: .85; }
.u-kabuki .deco { --frame: #c9a24a; }
.u-kabuki .ulabel { color: #f2c6ca; }
@media (max-width: 760px) { .u-kabuki .uhero__media { width: 100%; opacity: .45; } .u-kabuki .uhero .wrap { padding-left: var(--gutter); } }

/* ---------------- SANCTUARY ---------------- */
.u-sanctuary {
  --void: #030c2c; --night: #071a52; --aurora: #1838a8; --lilac: #9fb6ff;
  --magenta: #d4af37; --cyan: #7fe0ff; --gold: #d9b44a; --gold-deep: #9b7a22;
  --ink: #f4f1e8; --ink-soft: #c3cbe6; --glow-a: #3d6bff;
  --f-head: "Cinzel", serif; --f-body: "Cormorant Garamond", serif;
}
body.u-sanctuary { font-size: clamp(1.1rem, 1.05rem + .3vw, 1.25rem); line-height: 1.7; }
.u-sanctuary .aurora { background: radial-gradient(60vmax 40vmax at 50% 0%, #1838a8 0%, transparent 70%), linear-gradient(to bottom, #061a5a, #030c2c 60%); }
.u-sanctuary .uhero { background: linear-gradient(to bottom, #2a5be0 0%, #1838a8 35%, #030c2c 100%); }
.u-sanctuary .caustics { position: absolute; inset: -30%; z-index: -1; opacity: .35; mix-blend-mode: screen; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 30% 20%, transparent 0 22px, rgba(160,220,255,.5) 24px, transparent 28px),
    repeating-radial-gradient(circle at 70% 60%, transparent 0 30px, rgba(160,220,255,.4) 32px, transparent 37px);
  filter: blur(2px); animation: caustic 18s linear infinite alternate; }
@keyframes caustic { to { transform: translate(6%, 4%) rotate(8deg) scale(1.1); } }
.u-sanctuary .utitle { font-family: "Cinzel Decorative", serif; font-weight: 700; letter-spacing: .06em; font-size: clamp(2.2rem, .8rem + 4.6vw, 5.8rem);
  background: linear-gradient(180deg, #fff6d0, #d9b44a 55%, #9b7a22); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 20px rgba(0,0,0,.5)); }
.u-sanctuary .crest { font-family: "Cinzel", serif; letter-spacing: .5em; color: #d9b44a; font-size: 1rem; }
.u-sanctuary .s-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.u-sanctuary .s-grid > div { order: -1; }
.u-sanctuary .arch { margin: 0; border-radius: 999px 999px 0 0; overflow: hidden; border: 2px solid #d9b44a; padding: 10px; background: #030c2c; box-shadow: 0 0 0 6px #030c2c, 0 0 0 8px rgba(217,180,74,.5), 0 40px 90px -20px #000; max-height: 76vh; }
.u-sanctuary .arch img { border-radius: 999px 999px 0 0; width: 100%; height: 100%; max-height: calc(76vh - 20px); object-fit: cover; object-position: top; }
@media (max-width: 760px) { .u-sanctuary .s-grid { grid-template-columns: 1fr; } .u-sanctuary .arch { max-width: 300px; } }

/* ---------------- DEMENTED CIRCUS ---------------- */
.u-circus {
  --void: #0e0909; --night: #1c1212; --aurora: #6b0d16; --lilac: #f3e6e6;
  --magenta: #ff2a3a; --cyan: #ff4fd8; --gold: #f4f0ea; --gold-deep: #9a9a9a;
  --ink: #fff8f3; --ink-soft: #e3d2d2; --glow-a: #ff2a3a;
  --f-head: "Rye", serif; --f-body: "Jost", sans-serif;
}
.u-circus .aurora { background: radial-gradient(50vmax 30vmax at 50% 0%, #4a0a12, transparent 70%), var(--void); }
.u-circus .uhero { background: repeating-conic-gradient(from 0deg at 50% -10%, #f6f1ea 0 7.5deg, #121010 7.5deg 15deg); }
.u-circus .uhero::before, .u-circus .uhero::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, #7d0a14 0 18px, #b3121f 18px 30px, #5c0710 30px 44px); box-shadow: 0 0 60px rgba(0,0,0,.8); }
.u-circus .uhero::before { left: 0; border-bottom-right-radius: 100% 30%; }
.u-circus .uhero::after { right: 0; border-bottom-left-radius: 100% 30%; }
.u-circus .uhero .wrap { z-index: 1; text-align: center; }
.u-circus .ringmaster { display: inline-block; background: #0e0909; padding: clamp(26px, 4vw, 54px) clamp(22px, 5vw, 70px); border: 3px double #f4f0ea; box-shadow: 0 0 0 10px #0e0909, 0 30px 80px rgba(0,0,0,.6); max-width: 760px; }
.u-circus .utitle { font-family: "Rye", serif; font-size: clamp(2.4rem, 1rem + 6vw, 6.6rem);
  background: linear-gradient(110deg, #ff7ae0, #8ef5ff, #fff3a8, #ff5a6a, #c49bff, #8ef5ff); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: cello 6s linear infinite; }
@keyframes cello { to { background-position: 300% 0; } }
.u-circus .ulogo { margin-left: auto; margin-right: auto; filter: invert(1); max-width: 260px; }
.u-circus .h-section { background: linear-gradient(110deg, #ff7ae0, #8ef5ff, #fff3a8, #ff5a6a); -webkit-background-clip: text; background-clip: text; }
.u-circus .deco { --frame: #f4f0ea; }
@media (max-width: 700px) { .u-circus .uhero::before, .u-circus .uhero::after { width: 9%; } }

/* ---------------- ATTENTION! ---------------- */
.u-attention {
  --void: #0b0f2e; --night: #141a4a; --aurora: #1d3fa6; --lilac: #c9d3ff;
  --magenta: #e5202e; --cyan: #4d7bff; --gold: #ff8a3d; --gold-deep: #c4561a;
  --ink: #ffffff; --ink-soft: #d7dcf5; --glow-a: #e5202e;
  --f-head: "Bungee", sans-serif; --f-body: "Jost", sans-serif;
}
.u-attention .uhero { background: linear-gradient(115deg, #c1121f 0 50%, #1d3fa6 50% 100%); }
.u-attention .uhero__media { opacity: .22; mix-blend-mode: luminosity; }
.u-attention .uhero__media img { object-fit: cover; }
.u-attention .utitle { font-family: "Bungee", sans-serif; font-size: clamp(3rem, 1rem + 10vw, 10rem); color: #fff;
  text-shadow: -6px 0 0 #e5202e, 6px 0 0 #1d3fa6, 0 10px 40px rgba(0,0,0,.4); }
.u-attention .teams { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }
.u-attention .teams span { font-family: "Bungee", sans-serif; padding: 8px 18px; font-size: .95rem; }
.u-attention .teams span:first-child { background: #fff; color: #c1121f; }
.u-attention .teams span:last-child { background: #fff; color: #1d3fa6; }
.u-attention .h-section { background: none; color: #fff; text-shadow: -3px 0 0 #e5202e, 3px 0 0 #4d7bff; }
.u-attention .deco { --frame: #ffffff; }

/* ---------------- HOMMES AVEC DÉCORATIFS ---------------- */
.u-hommes {
  --void: #050a33; --night: #0b1660; --aurora: #1b3bd1; --lilac: #c8d2ff;
  --magenta: #f0d27a; --cyan: #f0d27a; --gold: #f0d27a; --gold-deep: #b08d35;
  --ink: #fbf7ea; --ink-soft: #cdd3f0; --glow-a: #3e5cff;
  --f-head: "Poiret One", sans-serif; --f-body: "Jost", sans-serif;
}
.u-hommes .uhero { background: repeating-conic-gradient(from -90deg at 50% 110%, #1b3bd1 0 4deg, #0b1660 4deg 8deg); }
.u-hommes .uhero::before { content: ""; position: absolute; left: 50%; bottom: -40vmin; width: 80vmin; height: 80vmin; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #050a33 0 38%, transparent 38.5%), repeating-radial-gradient(circle, #f0d27a 0 2px, transparent 2px 22px); opacity: .9; }
.u-hommes .uhero .wrap { text-align: center; }
.u-hommes .utitle { font-family: "Limelight", serif; font-size: clamp(2.4rem, 1rem + 6vw, 7rem); color: #fbf7ea; text-shadow: 0 0 30px rgba(240,210,122,.35); }
.u-hommes .fan { font-family: "Poiret One", sans-serif; color: #f0d27a; font-size: 1.3rem; letter-spacing: .3em; }
.u-hommes .ulabel { color: #f0d27a; }
.u-hommes .h-section { font-family: "Limelight", serif; }
.u-hommes .deco { border-width: 2px; }
.u-hommes .ulogo { margin-left: auto; margin-right: auto; }

/* ---------- logos as titles (traced SVG, identical to Lars's originals) ---------- */
.utitle-logo { margin: 0; line-height: 0; }
.utitle-logo img { width: 100%; height: auto; }
.u-galactic .utitle-logo { width: min(760px, 92%); filter: drop-shadow(0 0 22px rgba(255,47,185,.55)) drop-shadow(0 0 8px rgba(232,196,106,.5)); margin-top: 1rem; }
.u-kabuki .utitle-logo { width: min(640px, 100%); background: rgba(236,244,245,.86); padding: 22px 28px; margin-top: 1rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.u-sanctuary .utitle-logo { width: 100%; background: #f7f4ea; padding: clamp(18px, 2.4vw, 30px) clamp(18px, 3vw, 40px); margin: 1.2rem 0 0; box-shadow: 0 0 0 1px #d9b44a, 0 0 0 6px #030c2c, 0 0 0 7px rgba(217,180,74,.6); }
.u-circus .ringmaster { background: #f6f1ea; border-color: #121010; box-shadow: 0 0 0 10px #f6f1ea, 0 0 0 13px #121010, 0 30px 80px rgba(0,0,0,.6); }
.u-circus .ringmaster .meta { color: #b3121f; }
.u-circus .ringmaster .ulabel { color: #2a1f1f; }
.u-circus .utitle-logo { width: min(560px, 100%); margin: 1rem auto 0; }
.u-attention .utitle-logo { width: min(900px, 100%); margin-top: 1rem; position: relative; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3vw, 44px); }
.u-attention .utitle-logo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0b0f2e; transform: skewX(-14deg); box-shadow: 0 0 0 3px #fff, 0 30px 60px -20px rgba(0,0,0,.5); }
.u-attention .utitle-logo { isolation: isolate; }
.u-hommes .utitle-logo { width: min(900px, 100%); margin: 1rem auto 0; filter: drop-shadow(0 6px 24px rgba(0,0,0,.55)); }
.u-circus .ringmaster { background: #b9b0aa; box-shadow: 0 0 0 10px #b9b0aa, 0 0 0 13px #121010, 0 30px 80px rgba(0,0,0,.6); }
.u-circus .ringmaster .meta { color: #7d0a14; }
.p-circus { --p-plate: #b9b0aa; }
@media (max-width: 760px) { .u-kabuki .kanji { display: none; } }

/* v3 tweaks */
.uhero .wrap { padding-top: 130px; }
.u-sanctuary .s-grid .dmd { max-width: 520px; }
.u-sanctuary .s-grid .dmd__lines polygon { stroke: #d9b44a; }
.u-galactic .uhero .sign { top: 150px; }
.uhero__media { will-change: transform; }
/* original logo artwork: keep it true, only a faint lift off the background */
.u-galactic .utitle-logo { filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
/* neon kanji signs (restored) */
.u-galactic .sign { position: absolute; writing-mode: vertical-rl; white-space: nowrap; font-family: var(--f-sign); font-size: clamp(1.8rem, 3.2vw, 3.2rem); color: #fff; letter-spacing: .1em;
  padding: 16px 10px; border: 3px solid var(--sign, #ff2fb9); border-radius: 10px; background: rgba(13,8,50,.55);
  text-shadow: 0 0 6px #fff, 0 0 18px var(--sign, #ff2fb9), 0 0 40px var(--sign, #ff2fb9);
  box-shadow: 0 0 22px var(--sign, #ff2fb9), inset 0 0 22px color-mix(in srgb, var(--sign, #ff2fb9) 55%, transparent);
  animation: signFlicker 7s steps(1) infinite; }
.u-galactic .sign--2 { --sign: #2fe4ff; animation-delay: -3s; }
@keyframes signFlicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .35; } 49% { opacity: 1; } 51% { opacity: .5; } 52% { opacity: 1; } }
/* darker veil behind the logo so the magenta LILATECH reads */
.u-galactic .uhero__veil { background: radial-gradient(60% 70% at 22% 48%, rgba(8,4,28,.9) 0%, rgba(8,4,28,.6) 45%, transparent 75%), linear-gradient(90deg, rgba(11,3,34,.85) 0%, rgba(11,3,34,.35) 55%, rgba(11,3,34,.05) 80%), linear-gradient(to top, var(--void), transparent 40%); }

/* ---- Galactic Lilatech: the whole page lives in one code-drawn sky (assets/lilatech.js) ---- */
canvas.ltsky { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -2; display: block; pointer-events: none; }
.u-galactic.lt-on .aurora { display: none; }
/* the campaign poster melts into the sky instead of ending on a dark band */
.u-galactic.lt-on .uhero__media { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); }
.u-galactic.lt-on .uhero__veil { background: radial-gradient(60% 70% at 22% 48%, rgba(8,4,28,.88) 0%, rgba(8,4,28,.55) 45%, transparent 75%), linear-gradient(90deg, rgba(11,3,34,.8) 0%, rgba(11,3,34,.3) 55%, rgba(11,3,34,0) 80%); }
.u-galactic.lt-on main::before { display: none; }
/* the neon sky glows through the poster's shadows, so rain, signs and lights move across the hero too */

/* =================== Galactic Lilatech hero: poster 1, lanterns, neon & gold =================== */
.u-galactic .gl-hero, .u-galactic.lt-on .gl-hero { display: block; min-height: 0; height: 170svh; overflow: hidden; isolation: isolate; }
.gl-bg { position: absolute; inset: -6% 0 0; z-index: -3; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); }
.gl-bg picture { display: block; height: 100%; }
.gl-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; filter: contrast(1.12) saturate(1.22); }
/* crisp shading: dark at top for the menu, falling into the night sky at the bottom */
.gl-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6,2,20,.6) 0%, rgba(6,2,20,.15) 16%, rgba(6,2,20,0) 30%); }
.gl-layer { position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none; }
.gl-layer--front { z-index: 4; }
.gl-lanterns { display: block; width: 100%; height: auto; overflow: visible; }
.gl-lanterns--back { height: min(46vh, 30vw); }
.gl-lanterns--front { height: min(64vh, 40vw); }
.gl-lanterns .lt { animation: ltSway 6s ease-in-out infinite alternate; }
.gl-lanterns .lt__glow { }
.gl-lanterns .lt__ch { font-family: var(--f-sign); fill: #4a0020; fill-opacity: .82; }
@keyframes ltSway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }

/* the stage: first screen of the hero, the logo engulfed by neon and gold */
.gl-stage { position: absolute; left: 0; right: 0; top: 0; height: 100svh; display: grid; place-items: center; z-index: 2; }
.gl-deco { position: absolute; left: 50%; top: 52%; width: min(1500px, 125vw); height: auto; translate: -50% -50%; overflow: visible; pointer-events: none; }
.gl-deco .rays line { stroke: #e8c46a; stroke-width: 1; stroke-opacity: .32; }
.gl-deco .rays { animation: raySpin 120s linear infinite; transform-origin: 600px 400px; }
.gl-deco .tun { fill: none; stroke: url(#tunG); stroke-width: 2.2; transform-origin: 600px 400px; animation: tunnel 6s linear infinite; filter: drop-shadow(0 0 4px #ff2fb9); }
.gl-deco .ring { fill: none; stroke-dasharray: 520 120 40 120; animation: ringRun 14s linear infinite; transform-origin: 600px 400px; }
.gl-deco .ring--glow { stroke: #ff2fb9; stroke-width: 7; filter: drop-shadow(0 0 10px #ff2fb9) drop-shadow(0 0 26px #ff2fb9); }
.gl-deco .ring--core { stroke: #fff; stroke-width: 2; }
.gl-deco .ring2 { fill: none; stroke: #2fe4ff; stroke-width: 2; stroke-dasharray: 2 14; filter: drop-shadow(0 0 5px #2fe4ff); animation: ringRun 30s linear infinite reverse; transform-origin: 600px 400px; }
.gl-deco .dia { fill: none; stroke: #e8c46a; }
.gl-deco .dia--o { stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(232,196,106,.8)); }
.gl-deco .dia--i { stroke-width: 1; stroke-opacity: .8; }
.gl-deco .studs path { fill: #fff3c9; filter: drop-shadow(0 0 6px #e8c46a); }
@keyframes raySpin { to { transform: rotate(360deg); } }
@keyframes ringRun { to { transform: rotate(360deg); } }
@keyframes tunnel { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* the plate behind the logo: sharp chamfered glass with a double gold line */
.gl-plate { position: relative; width: min(820px, 88vw); padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 60px) clamp(26px, 3.4vw, 44px); text-align: center;
  background: linear-gradient(160deg, rgba(20,6,52,.9), rgba(8,2,26,.9)); 
  clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 34px, 100% calc(100% - 34px), calc(100% - 34px) 100%, 34px 100%, 0 calc(100% - 34px), 0 34px); }
.gl-plate::before, .gl-plate::after { content: ""; position: absolute; pointer-events: none; border: 1.5px solid #e8c46a;
  clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px), 0 30px); }
.gl-plate::before { inset: 10px; }
.gl-plate::after { inset: 16px; border-width: 1px; border-color: rgba(232,196,106,.45); }
.gl-plate .meta { color: #ff6fd0; text-shadow: 0 0 10px rgba(255,47,185,.7); }
.gl-plate .utitle-logo { width: 100%; margin: 1rem auto 0; filter: drop-shadow(0 0 1px rgba(255,255,255,.4)); }
.gl-lede { margin: 1.4rem auto 0; max-width: 46ch; color: #f1e8ff; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); }

/* neon tubes running from the plate out to the edges of the screen */
.gl-tube { position: absolute; top: 52svh; height: 3px; z-index: 1; background: #fff; border-radius: 3px;
  box-shadow: 0 0 4px #fff, 0 0 10px var(--c), 0 0 26px var(--c), 0 0 60px var(--c); animation: tubeFlick 9s steps(1) infinite; }
.gl-tube--l { --c: #ff2fb9; left: 0; width: 22vw; }
.gl-tube--r { --c: #2fe4ff; right: 0; width: 22vw; top: calc(52svh + 18px); animation-delay: -4s; }
@keyframes tubeFlick { 0%, 100% { opacity: 1; } 61% { opacity: 1; } 62% { opacity: .2; } 63% { opacity: 1; } 65% { opacity: .5; } 66% { opacity: 1; } }

/* razor-sharp vertical neon signs */
.gl-sign { position: absolute; z-index: 3; writing-mode: vertical-rl; font-family: var(--f-sign); color: #fff; letter-spacing: .08em; line-height: 1;
  font-size: clamp(1.8rem, 3vw, 3rem); padding: 18px 12px; border: 3px solid var(--c); border-radius: 8px; background: rgba(8,2,26,.82);
  text-shadow: 0 0 2px #fff, 0 0 8px var(--c), 0 0 22px var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 0 12px var(--c), 0 0 34px var(--c), inset 0 0 14px var(--c);
  animation: tubeFlick 7s steps(1) infinite; }
.gl-sign--a { --c: #ff2fb9; left: calc(var(--gutter) + 10px); top: 34svh; }
.gl-sign--b { --c: #2fe4ff; right: calc(var(--gutter) + 10px); top: 30svh; animation-delay: -3s; }
.gl-sign--c { --c: #ffd447; right: calc(var(--gutter) + 90px); top: 60svh; font-size: clamp(1.2rem, 2vw, 2rem); animation-delay: -5s; }

.gl-scroll { position: absolute; left: 50%; top: calc(100svh - 70px); translate: -50% 0; z-index: 3; display: grid; justify-items: center; gap: 8px; margin: 0;
  font: 600 .6rem var(--f-head); letter-spacing: .34em; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px #ff2fb9; }
.gl-scroll i { width: 10px; height: 10px; border-right: 2px solid #e8c46a; border-bottom: 2px solid #e8c46a; rotate: 45deg; animation: glBob 1.6s ease-in-out infinite alternate; }
@keyframes glBob { from { translate: 0 -3px; } to { translate: 0 5px; } }

@media (max-width: 700px) {
  .u-galactic .gl-hero { height: 150svh; }
  .gl-sign--c, .gl-tube { display: none; }
  .gl-sign { font-size: 1.3rem; padding: 12px 8px; }
  .gl-sign--a { top: 20svh; left: 10px; } .gl-sign--b { top: 70svh; right: 10px; }
  .gl-deco { width: 170vw; }
}
@media (prefers-reduced-motion: reduce) { .gl-lanterns .lt, .gl-deco *, .gl-tube, .gl-sign { animation: none !important; } }

/* ---- the alley walls: crisp vector buildings, signs and lanterns at both sides, all the way down ---- */
.gl-wall { position: fixed; top: 0; bottom: 0; width: clamp(110px, 21vw, 340px); z-index: -1; pointer-events: none; overflow: hidden; }
.gl-wall--l { left: 0; } .gl-wall--r { right: 0; }
.gl-wall__track { will-change: transform; transform: translateZ(0); }
.gl-wall__strip { display: block; width: 100%; height: auto; }
.gl-wall .nl { stroke: #fff; filter: drop-shadow(0 0 3px var(--c)) drop-shadow(0 0 10px var(--c)); }
.gl-wall .glowbox { filter: drop-shadow(0 0 12px var(--c)); }
.gl-wall .kj { font-family: var(--f-sign); }
.gl-wall .kj.led { filter: drop-shadow(0 0 6px var(--c)); }
.gl-wall .lt { animation: ltSway 6s ease-in-out infinite alternate; }
.gl-wall .lt__glow { filter: none; }
.gl-wall .lt__ch { font-family: var(--f-sign); fill: #4a0020; fill-opacity: .82; }
@media (max-width: 700px) { .gl-wall { width: 54px; opacity: .55; } }
/* lantern strings between the looks, and neon signs at the sides of each look */
.gl-band { position: relative; height: clamp(110px, 14vw, 200px); margin-bottom: calc(-1 * clamp(40px, 6vw, 90px)); pointer-events: none; overflow: hidden; }
.gl-band .gl-lanterns { height: 100%; }
.gl-look { position: relative; }
.gl-sign--side { top: clamp(120px, 14vw, 200px); z-index: 1; }
.gl-sign--sl { left: calc(var(--gutter) * .5); }
.gl-sign--sr { right: calc(var(--gutter) * .5); top: clamp(220px, 22vw, 320px); }
@media (max-width: 900px) { .gl-sign--side { display: none; } }
/* lantern characters switch on and off like old neon lettering; the lantern itself stays lit */
.u-galactic .lt__ch { animation: chFlick 6s steps(1) infinite; }
@keyframes chFlick {
  0%, 100% { fill: #fff6d6; fill-opacity: 1; }
  38% { fill: #4a0020; fill-opacity: .85; }
  40% { fill: #fff6d6; fill-opacity: 1; }
  42% { fill: #4a0020; fill-opacity: .85; }
  70% { fill: #fff6d6; fill-opacity: 1; }
}
.gl-wall__strip, .gl-lanterns { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .u-galactic .lt__ch { animation: none; } }

/* ---- Lars's Galactic Lilatech print, in neon, as the living background behind the page ---- */
.gl-print { position: fixed; inset: 0; z-index: -3; pointer-events: none; --mx: 50vw; --my: 40vh; --py: 0px; background: #07021a; }
/* calm lane down the middle for the text, the print shining at both sides */
.gl-print__veil { background: linear-gradient(90deg, rgba(7,2,26,.1), rgba(7,2,26,.72) 30%, rgba(7,2,26,.8) 50%, rgba(7,2,26,.72) 70%, rgba(7,2,26,.1)) !important; }
@media (max-width: 700px) { .gl-print__veil { background: rgba(7,2,26,.6) !important; } }
.u-galactic canvas.ltsky { z-index: -2; mix-blend-mode: screen; }

.gl-print__svg { position: absolute; inset: 0; display: block; }
.gl-print__veil { position: absolute; inset: 0; display: block; }


/* =================== Galactic Lilatech: the process, in the look of the process book =================== */
.pb { --pb-navy: #120a3a; --pb-ink: #1d1846; --pb-mag: #e6007e; --pb-paper: linear-gradient(118deg, #f6f6f8 0%, #e2e2e7 38%, #cbcbd2 58%, #ededf1 100%);
  padding-bottom: clamp(60px, 8vw, 120px); overflow-x: clip; }
.pb [data-bg] { --bg: none; }
.gp-books { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(70px, 9vw, 120px); }

/* ---- chapter opener: floral, navy band, gold stripe, big gold number ---- */
.pb-chap { position: relative; width: 100%; height: clamp(340px, 46vw, 640px); margin: clamp(70px, 9vw, 130px) 0 0; overflow: hidden; background: #07031a; isolation: isolate; }
.pb-chap__fl { position: absolute; inset: -12% 0; background: var(--bg) 0 50% / auto 100% repeat-x; transform: translate3d(0, calc(var(--py, 0) * 9%), 0);
  animation: pbDrift 90s linear infinite; will-change: background-position; }
@keyframes pbDrift { to { background-position: -1392px 50%; } }
.pb-chap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(7,3,26,.55)); pointer-events: none; }
.pb-chap { --gh: clamp(40px, 5.6vw, 82px); --nh: clamp(160px, 24vw, 330px); }
.pb-chap__band { position: absolute; left: 50%; top: 56%; width: 260%; height: 0; rotate: -32deg; translate: -50% 0; }
.pb-chap__band i { position: absolute; left: 0; right: 0; display: block; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.7,0,.2,1); }
.pb-navy { top: 0; height: var(--nh); background: var(--pb-navy); box-shadow: 0 0 60px rgba(7,3,26,.6); transition-delay: .1s !important; }
.pb-gold { top: calc(-1 * var(--gh)); height: var(--gh);
  background: linear-gradient(90deg, #8a6420, #e8c46a 20%, #fff3c9 30%, #c99a3a 42%, #f3d27f 60%, #fff3c9 66%, #b8892e 80%, #e8c46a) 0 0 / 50% 100%;
  animation: pbSheen 7s linear infinite; transition-delay: .35s !important; }
@keyframes pbSheen { to { background-position: 100% 0; } }
.pb-thin { height: clamp(8px, 1vw, 14px); background: var(--pb-navy); }
.pb-thin--1 { top: calc(-1 * var(--gh) - clamp(22px, 2.6vw, 36px)); transition-delay: .5s !important; }
.pb-thin--2 { top: calc(-1 * var(--gh) - clamp(48px, 5.6vw, 76px)); transition-delay: .62s !important; }
.pb-chap.in .pb-chap__band i { transform: scaleX(1); }
.pb-hair { position: absolute; display: block; width: 1px; height: 170%; top: -35%; background: linear-gradient(transparent, #e8c46a 30%, #fff3c9 50%, #e8c46a 70%, transparent);
  rotate: 32deg; opacity: 0; transition: opacity 1.6s .9s; }
.pb-hair--1 { left: 8%; } .pb-hair--2 { right: 22%; rotate: -58deg; }
.pb-chap.in .pb-hair { opacity: .85; }
.pb-chap__num { position: absolute; left: clamp(20px, 9vw, 150px); top: clamp(26px, 6vw, 80px); font: 800 clamp(3.4rem, 2rem + 6vw, 8rem)/1 var(--f-head); letter-spacing: .02em;
  background: linear-gradient(115deg, #b8892e, #f3d27f 35%, #fff8e1 50%, #e8c46a 65%, #9c7425) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.6)); opacity: 0; translate: 0 30px; transition: opacity 1s .7s, translate 1.2s .7s cubic-bezier(.2,.8,.2,1); animation: pbNum 6s ease-in-out infinite alternate; }
@keyframes pbNum { to { background-position: 100% 0; } }
.pb-chap.in .pb-chap__num { opacity: 1; translate: 0 0; }
.pb-chap__word { position: absolute; left: 50%; top: calc(-1 * var(--gh)); height: var(--gh); margin: 0;
  display: flex; align-items: flex-end; font: 900 calc(var(--gh) * 1.02)/.74 var(--f-head); translate: -78% 0; text-transform: uppercase; color: var(--pb-navy); letter-spacing: .03em; white-space: nowrap; }
.pb-chap__word span { display: block; padding-bottom: calc(var(--gh) * .02); clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.1s 1s cubic-bezier(.7,0,.2,1); }
.pb-chap__word small { position: absolute; left: .1em; bottom: calc(100% + clamp(30px, 3.4vw, 50px)); font: 500 clamp(.6rem, .4rem + .5vw, .95rem)/1 var(--f-head); letter-spacing: .5em; color: #fff; opacity: 0; transition: opacity .8s 1.6s; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.pb-chap.in .pb-chap__word span { clip-path: inset(-10% 0 -10% 0); }
.pb-chap.in .pb-chap__word small { opacity: 1; }

/* ---- spread: silver paper, magenta corners, gold diamond hairline, white notched card ---- */
.pb-spread { position: relative; padding: clamp(70px, 9vw, 130px) 0; color: var(--ink); isolation: isolate; overflow: hidden; }
.pb-spread + .pb-spread, .pb-prints + .pb-spread { margin-top: 6px; }
.pb-paper { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pb-tri { position: absolute; display: block; background: linear-gradient(135deg, rgba(230,0,126,.0), rgba(230,0,126,.55)); filter: drop-shadow(0 0 30px rgba(230,0,126,.5)); }
.pb-tri--a { left: 0; bottom: 0; width: clamp(90px, 14vw, 220px); aspect-ratio: 1; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.pb-tri--b { right: 0; top: 0; width: clamp(60px, 9vw, 140px); aspect-ratio: 1; clip-path: polygon(0 0, 100% 0, 100% 100%); background: linear-gradient(315deg, rgba(230,0,126,0), rgba(230,0,126,.55)); }
.pb-dia { position: absolute; left: 50%; top: 50%; width: min(78vw, 980px); aspect-ratio: 1; translate: -50% -50%; rotate: 45deg; border: 1px solid rgba(232,196,106,.45);
  box-shadow: 0 0 0 10px transparent, 0 0 0 11px rgba(232,196,106,.2), 0 0 40px rgba(179,107,255,.15); }
.pb-spread__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pb-card { position: relative; container-type: inline-size; background: linear-gradient(160deg, rgba(30,14,78,.88), rgba(12,5,40,.92)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: clamp(46px, 5vw, 70px) clamp(24px, 3vw, 46px) clamp(30px, 3.4vw, 50px); text-align: center;
  box-shadow: inset 0 0 0 1px rgba(232,196,106,.55), inset 0 0 0 6px rgba(12,5,40,.9), inset 0 0 0 7px rgba(232,196,106,.25), 0 30px 70px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(230,0,126,.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.pb-card__notch { position: absolute; left: 50%; top: 0; width: clamp(70px, 8vw, 110px); aspect-ratio: 2 / 1; translate: -50% -1px; background: var(--pb-mag);
  clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pb-card__notch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #b8892e, #fff3c9, #b8892e); clip-path: polygon(0 0, 6% 0, 50% 88%, 94% 0, 100% 0, 50% 100%); }
.pb-eyebrow { margin: 0 0 .5rem; font: 500 .66rem/1.2 var(--f-head); letter-spacing: .42em; text-transform: uppercase; color: #e8c46a; }
.pb-title { margin: 0; font: 800 min(3rem, calc(100cqi / (var(--len, 8) * .82)))/1.02 var(--f-head); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-text { margin-top: 1.2rem; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); text-align: left; }
.pb-text p { margin: 0; } .pb-text strong { color: #fff; } .pb-text em { color: #ff6fd0; font-style: normal; }
.pb-spread .rv, .pb-card { transition: opacity .9s, translate .9s cubic-bezier(.2,.8,.2,1); }

/* mood boards: a chooser, the title filled with the board itself, slanted colour bars like the book */
.pb-mb { display: contents; }
.pb-title--fill { font-size: min(4.4rem, calc(100cqi / (var(--len, 8) * .84))); font-weight: 900; letter-spacing: .03em; line-height: 1; padding: .04em 0;
  background: var(--img) 0 50% / 260% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pbFill 26s ease-in-out infinite alternate; }
/* full board name like the book: first word in wide spaced caps over the big filled word; the block never changes height */
.pb-mb__title { margin: 0; height: calc(min(1.7rem, 100cqi / (12 * .98)) * 1.5 + min(4.4rem, 100cqi / (6 * .84)) * 1.05); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pb-mb__eb { display: block; font: 500 min(1.7rem, calc(100cqi / (var(--len1) * .98)))/1.2 var(--f-head); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: #fff; white-space: nowrap; margin-bottom: .2em; }
.pb-mb__eb:empty { display: none; }
.pb-mb__title .pb-mb__t { display: block; }
@keyframes pbFill { to { background-position: 100% 50%; } }
.pb-mb__d { margin-top: .9rem; text-align: center; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); height: 3.2em; }
.pb-bars { display: grid; gap: 8px; margin: 1.4rem auto 0; width: 86%; height: calc(7 * 11px + 6 * 8px); align-content: start; }
.pb-bars i { display: block; height: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); background: var(--c); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transform-origin: 0 50%; animation: pbBar .9s calc(var(--i) * 90ms) cubic-bezier(.2,.8,.2,1) both; }
@keyframes pbBar { from { transform: scaleX(0); } }
.pb-mb__intro { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(201,154,58,.5); font-size: .88rem; }
.pb-mb__stage { min-width: 0; }
.pb-mb__frame { position: relative; aspect-ratio: 1500 / 669; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%); background: #07031a; filter: drop-shadow(0 0 30px rgba(230,0,126,.4)); }
.pb-mb__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.pb-mb__slide img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.06; transition: scale 6s linear; }
.pb-mb__slide.is-on { opacity: 1; z-index: 1; } .pb-mb__slide.is-on img { scale: 1; }
.pb-mb__btns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1vw, 14px); margin-top: clamp(16px, 2vw, 26px); }
.pb-mb__btn { all: unset; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; justify-items: center; gap: .5rem; text-align: center; position: relative; min-width: 0; }
.pb-mb__thumb { display: block; width: 74%; aspect-ratio: 1; rotate: 45deg; background: var(--img) 50% / cover; outline: 1px solid rgba(201,154,58,.8); outline-offset: 3px;
  filter: grayscale(.6) brightness(.9); transition: filter .4s, scale .4s cubic-bezier(.2,.8,.2,1), outline-color .4s; margin: 12% 0 26%; }
.pb-mb__btn:hover .pb-mb__thumb, .pb-mb__btn:focus-visible .pb-mb__thumb { filter: none; scale: 1.08; }
.pb-mb__btn.is-on .pb-mb__thumb { filter: none; outline: 2px solid var(--pb-mag); scale: 1.12; }
.pb-mb__name { font: 700 clamp(.44rem, .3rem + .32vw, .62rem)/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; white-space: nowrap; min-height: 2.4em; }
.pb-mb__btn em { position: absolute; top: -4px; right: 2px; font: 700 .5rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; font-style: normal;
  color: #fff; background: var(--pb-mag); padding: 3px 5px; }

/* roots: four tall chamfered panels; the open one grows */
.pb-spread--roots .pb-spread__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.pb-roots { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; height: clamp(340px, 40vw, 520px); }
.pb-root { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #120a3a var(--bg) 50% / cover; box-shadow: inset 0 0 0 1px rgba(232,196,106,.5); transition: flex-grow .8s cubic-bezier(.2,.8,.2,1);
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); outline: none; }
.pb-root.is-on { flex-grow: 4.2; }
.pb-root::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(18,10,58,.88)); pointer-events: none; }
.pb-root:not(.is-on)::after { background: rgba(18,10,58,.55); }
.pb-root__img { position: absolute; inset: 0; z-index: 1; }
.pb-root__lbl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; color: #fff; pointer-events: none; }
.pb-root__lbl small { display: block; font: 500 .56rem var(--f-head); letter-spacing: .38em; text-transform: uppercase; color: #e8c46a; }
.pb-root__lbl b { display: block; margin-top: .3rem; font: 800 clamp(.95rem, .7rem + .9vw, 1.6rem)/1.05 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.pb-root__lbl em { display: block; margin-top: .3rem; font-style: normal; font-size: .82rem; opacity: 0; transition: opacity .5s; }
.pb-root.is-on .pb-root__lbl em { opacity: .85; transition-delay: .4s; }
.pb-root:not(.is-on) .pb-root__lbl { writing-mode: vertical-rl; rotate: 180deg; top: 0; padding: 16px 10px; }
.pb-root:not(.is-on) .pb-root__lbl em { display: none; }

/* colours: tall neon bars rising out of the board, barcode underneath */
.pb-col { position: relative; padding: clamp(18px, 2.4vw, 30px); background: #0a0424; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
.pb-col::before { content: ""; position: absolute; inset: 0; background: var(--bg) 50% / cover; opacity: .55; filter: saturate(1.3); }
.pb-col__bars { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); height: clamp(300px, 34vw, 440px); align-items: end; }
.pb-col__bars li { position: relative; height: 100%; background: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 70%, transparent);
  transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.1s calc(var(--i) * 120ms) cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 6px; }
.pb-col.in .pb-col__bars li, .pb-col__bars li.in { transform: scaleY(1); }
.pb-col__bars li:nth-child(odd) { height: 88%; }
.pb-col__bars b { font: 800 clamp(.62rem, .45rem + .5vw, .9rem) var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #120a3a; writing-mode: vertical-rl; rotate: 180deg; margin: 0 auto auto; }
.pb-col__bars small { font: 600 .55rem/1.3 var(--f-head); color: rgba(18,10,58,.85); text-align: center; }
.pb-col__bars li:nth-child(4) b, .pb-col__bars li:nth-child(4) small, .pb-col__bars li:nth-child(5) b, .pb-col__bars li:nth-child(5) small { color: #fff; }
.pb-col__code { position: relative; display: flex; height: clamp(46px, 6vw, 80px); gap: 3px; margin-top: 14px; }
.pb-col__code i { flex: var(--w) 1 0; background: var(--c); animation: gpBar 3.2s ease-in-out var(--d) infinite alternate; }
@keyframes gpBar { from { transform: scaleY(.55); opacity: .75; } to { transform: scaleY(1); opacity: 1; } }

/* collage & drawing: paper sheets fanned on the card, the whole range walking past */
.pb-spread--sketch { padding-bottom: 0; }
.pb-spread--sketch .pb-spread__in { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.pb-spread--sketch .pb-card { width: min(760px, 100%); }
.pb-sheets { position: relative; height: clamp(150px, 20vw, 230px); margin-top: 1.6rem; }
.pb-sheet { position: absolute; left: 50%; top: 0; width: 46%; translate: calc(-50% + (var(--i) - 2) * 62%) 0; rotate: calc((var(--i) - 2) * 6deg); box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); transition: rotate .5s, scale .5s, z-index 0s; background: #fff; }
.pb-sheet img { display: block; width: 100%; }
.pb-sheet:hover { rotate: 0deg; scale: 1.25; z-index: 2; }
.pb-runway { position: relative; margin-top: clamp(40px, 5vw, 70px); height: clamp(260px, 30vw, 420px); overflow: hidden; border-top: 1px solid rgba(232,196,106,.6); border-bottom: 1px solid rgba(232,196,106,.6);
  background: radial-gradient(60% 120% at 50% 100%, rgba(230,0,126,.22), transparent 70%); }
.pb-runway__track img { filter: drop-shadow(0 0 10px rgba(255,47,185,.35)); }
.pb-runway__track { display: flex; height: 100%; width: max-content; animation: pbRun 80s linear infinite; }
.pb-runway__track img { height: 100%; width: auto; display: block; padding-right: 40px; }
.pb-runway:hover .pb-runway__track { animation-play-state: paused; }
@keyframes pbRun { to { transform: translateX(-50%); } }

/* prints: each one slides over the last, like turning the book's print spreads */
.pb-prints { position: relative; margin-top: 6px; }
.pb-print { position: sticky; top: 0; height: min(100svh, 860px); min-height: 520px; overflow: hidden; background: #07031a; isolation: isolate; box-shadow: 0 -30px 60px -20px rgba(0,0,0,.7); }
.pb-print__bg { position: absolute; inset: -6%; background: var(--bg) 50% / cover; animation: pbKen 40s ease-in-out infinite alternate; }
@keyframes pbKen { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-3%, 2%); } }
.pb-print--crane .pb-print__bg { background-size: contain; background-repeat: no-repeat; background-position: 85% 50%; filter: drop-shadow(0 0 12px rgba(0,234,255,.75)); animation: pbNeon 5s steps(1) infinite, pbKen 40s ease-in-out infinite alternate; }
@keyframes pbNeon { 0%, 100% { opacity: 1; } 61% { opacity: .55; } 62% { opacity: 1; } 64% { opacity: .7; } 65% { opacity: 1; } }
.pb-print--crane { background: radial-gradient(70% 90% at 75% 50%, #2a0b4e, #07031a 70%); }
.pb-print--artdeco .pb-print__bg { background-size: 300px 300px; background-repeat: repeat; animation: pbPan 60s linear infinite; inset: 0; }
@keyframes pbPan { to { background-position: 1200px 600px; } }
.pb-print__med { position: absolute; right: 8%; top: 50%; width: min(42vw, 520px); translate: 0 -50%; filter: drop-shadow(0 0 40px rgba(230,0,126,.6)); animation: pbMed 8s ease-in-out infinite alternate; }
@keyframes pbMed { to { scale: 1.05; filter: drop-shadow(0 0 70px rgba(230,0,126,.9)); } }
.pb-print__tri { position: absolute; left: 0; top: 0; bottom: 0; width: min(62%, 760px); container-type: inline-size; background: linear-gradient(135deg, rgba(18,10,58,.97) 30%, rgba(40,12,80,.94) 100%);
  clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%); display: flex; flex-direction: column; justify-content: center; padding: 0 0 12% clamp(24px, 7vw, 110px); color: #fff; }
.pb-print__tri::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left top, transparent calc(50% - 1px), #e8c46a 50%, transparent calc(50% + 1px)) right / 70% 100% no-repeat; clip-path: inherit; pointer-events: none; opacity: .9; }
.pb-print__tri .pb-hair { position: absolute; left: auto; right: 34%; top: -10%; height: 130%; width: 2px; rotate: 34deg; opacity: 1; transition: none; }
.pb-print__tri .pb-title { font-size: min(5.4rem, calc(56cqi / (var(--len, 6) * .82))); font-weight: 900; }
.pb-print__tri .pb-eyebrow { font-size: clamp(.7rem, .5rem + .5vw, 1.05rem); letter-spacing: .3em; }
.pb-print__txt { max-width: 26ch; margin: 1rem 0 0; font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }
.pb-print__zoom { margin-top: 1.4rem; align-self: flex-start; font: 700 .64rem var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: #ff6fd0; border-bottom: 1px solid currentColor; padding-bottom: 3px; position: relative; z-index: 1; }

/* print lab polaroids */
.pb-polas { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 30px); padding: 10px; }
.pb-pola, .pb-pin { display: block; aspect-ratio: 3 / 4; background: #fff var(--bg) var(--ax) var(--ay) / 800% 600% no-repeat; border: clamp(6px, .8vw, 10px) solid #fff; border-bottom-width: clamp(22px, 3vw, 38px);
  box-shadow: 0 18px 30px -16px rgba(0,0,0,.8), 0 0 24px -6px rgba(255,47,185,.5); rotate: var(--r); transition: rotate .5s, scale .5s; }
.pb-pola { position: relative; }
.pb-pola::before { content: ""; position: absolute; left: 50%; top: -14px; width: 46%; height: 22px; translate: -50% 0; rotate: calc(var(--r) * -1.4); background: linear-gradient(90deg, rgba(232,196,106,.85), rgba(255,243,201,.9), rgba(232,196,106,.85)); }
.pb-pola:hover { rotate: 0deg; scale: 1.06; }

/* colourways: one figure, every colour */
.pb-cws { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); }
.pb-cw { position: relative; background: linear-gradient(160deg, #e6007e, #7a0a6a); box-shadow: 0 0 50px -10px rgba(230,0,126,.6); padding: clamp(18px, 2.4vw, 30px) clamp(10px, 1.6vw, 20px) clamp(14px, 2vw, 22px); text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.pb-cw__fig { width: 100%; aspect-ratio: 3 / 5; filter: drop-shadow(0 14px 18px rgba(40,0,40,.45)); background: var(--bg) 0 0 / calc(var(--n) * 100%) 100% no-repeat; background-position-x: calc(var(--k, 0) / (var(--n) - 1) * 100%);
}
.pb-cw__name { margin: .9rem 0 .6rem; min-height: 2.4em; font: 700 .68rem/1.2 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.pb-cw__dots { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.pb-cw__dot { all: unset; cursor: pointer; width: 16px; height: 16px; rotate: 45deg; background: var(--c); outline: 1px solid rgba(255,255,255,.7); transition: scale .3s; }
.pb-cw__dot:hover, .pb-cw__dot:focus-visible { scale: 1.3; }
.pb-cw__dot.is-on { outline: 2px solid #fff; outline-offset: 2px; scale: 1.25; }

/* making: three rows of atelier photos pinned and drifting */
.pb-spread--make { padding-bottom: clamp(40px, 5vw, 70px); }
.pb-spread--make .pb-spread__in { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.pb-spread--make .pb-card { width: min(760px, 100%); }
.pb-pins { position: relative; display: grid; gap: clamp(14px, 2vw, 24px); padding: clamp(30px, 4vw, 50px) 0; overflow: hidden; background: linear-gradient(100deg, rgba(230,0,126,.55), rgba(54,51,133,.55) 50%, rgba(230,0,126,.45));
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px)); margin-top: -2px; }
.pb-pins__row { overflow: hidden; }
.pb-pins__track { display: flex; gap: clamp(14px, 2vw, 26px); width: max-content; padding: 8px 0 14px; animation: pbRun var(--dur) linear infinite; }
.pb-pins__row:nth-child(even) .pb-pins__track { animation-direction: reverse; }
.pb-pins:hover .pb-pins__track { animation-play-state: paused; }
.pb-pin { width: clamp(120px, 14vw, 190px); flex: none; }
.pb-pin:hover { rotate: 0deg; scale: 1.12; z-index: 1; position: relative; }

/* shoot: three images on the diagonal */
.pb-shoot { position: relative; height: clamp(360px, 42vw, 560px); }
.pb-shoot a { position: absolute; display: block; box-shadow: 0 24px 40px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(232,196,106,.6); transition: scale .5s; }
.pb-shoot a:hover { scale: 1.04; z-index: 2; }
.pb-shoot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-shoot__a { left: 0; top: 8%; width: 30%; aspect-ratio: 564 / 813; }
.pb-shoot__b { left: 26%; top: 0; width: 48%; aspect-ratio: 1; z-index: 1; outline: 1px solid #e8c46a; outline-offset: 8px; }
.pb-shoot__c { right: 0; top: 20%; width: 30%; aspect-ratio: 558 / 787; }

/* line-up: the looks on a neon stage, the ready-to-wear flats as a turning constellation */
.pb-lineup { margin-top: clamp(50px, 6vw, 90px); }
.pb-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 3vw, 50px); align-items: end; width: min(1400px, 100%); margin: clamp(20px, 3vw, 40px) auto 0; padding: 0 var(--gutter) clamp(60px, 8vw, 110px); isolation: isolate; }
.pb-stage__grp { position: relative; display: block; transition: translate 1.4s cubic-bezier(.2,.8,.2,1), opacity 1.4s; }
.pb-stage__grp img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(255,47,185,.35)) drop-shadow(0 20px 30px rgba(0,0,0,.6));
  -webkit-box-reflect: below -4px linear-gradient(transparent 78%, rgba(255,255,255,.22)); }
.pb-stage__grp--b { transition-delay: .25s; }
.js .pb-stage:not(.in) .pb-stage__grp { opacity: 0; translate: 0 60px; }
.pb-stage__floor { position: absolute; left: 4%; right: 4%; bottom: clamp(58px, 7.8vw, 108px); height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, #e6007e 20%, #fff3c9 50%, #2fe4ff 80%, transparent); box-shadow: 0 0 18px #ff2fb9, 0 0 50px rgba(255,47,185,.6); }
.pb-stage__floor::after { content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: clamp(40px, 6vw, 90px); background: radial-gradient(50% 100% at 50% 0, rgba(255,47,185,.35), transparent); }
.pb-stage__beam { position: absolute; top: -10%; bottom: clamp(58px, 7.8vw, 108px); width: 26%; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(rgba(255,255,255,0), rgba(179,107,255,.22) 70%, rgba(255,47,185,.32)); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; animation: pbBeam 9s ease-in-out infinite alternate; }
.pb-stage__beam--1 { left: 12%; } .pb-stage__beam--2 { right: 12%; animation-delay: -4.5s; }
@keyframes pbBeam { from { rotate: -14deg; } to { rotate: 14deg; } }
.pb-sub { margin: 0 0 clamp(24px, 3vw, 40px); text-align: center; font: 600 .62rem var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); }
.pb-flats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.pb-flat { position: relative; text-align: center; padding: 14px 8px 16px; outline: none; cursor: pointer;
  background: linear-gradient(170deg, rgba(30,14,78,.75), rgba(12,5,40,.85)); box-shadow: inset 0 0 0 1px rgba(232,196,106,.4);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); transition: box-shadow .4s, translate .4s; }
.pb-flat:hover, .pb-flat:focus-visible, .pb-flat.is-back { box-shadow: inset 0 0 0 1px #e8c46a, inset 0 -60px 60px -40px rgba(230,0,126,.45); translate: 0 -4px; }
.pb-flat__fig { display: block; aspect-ratio: 360 / 640; background: var(--bg) var(--fx) 0 / 1200% 100% no-repeat; transition: transform .7s cubic-bezier(.6,0,.2,1); }
.pb-flat:hover .pb-flat__fig, .pb-flat:focus-visible .pb-flat__fig, .pb-flat.is-back .pb-flat__fig { animation: pbTurn .7s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes pbTurn { 0% { transform: scaleX(1); background-position-x: var(--fx); } 49.9% { transform: scaleX(0); background-position-x: var(--fx); } 50% { transform: scaleX(0); background-position-x: var(--bx); } 100% { transform: scaleX(1); background-position-x: var(--bx); } }
.pb-flat__name { display: block; margin-top: 10px; font: 800 clamp(.62rem, .45rem + .45vw, .9rem) var(--f-head); letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-flat small { display: block; margin-top: 3px; font-size: .68rem; line-height: 1.35; color: var(--ink-soft); }
.pb-flat__chips { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.pb-flat__chips i { width: 10px; height: 10px; rotate: 45deg; background: var(--c); outline: 1px solid rgba(255,255,255,.5); }
@media (max-width: 860px) { .pb-stage { grid-template-columns: 1fr; } .pb-flats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pb-stage__beam { animation: none; } }
.pb-card--dark { width: min(760px, 100%); margin: 0 auto clamp(30px, 4vw, 50px); }

@media (max-width: 860px) {
  .pb-chap { height: 440px; }
  .pb-spread__in, .pb-spread--roots .pb-spread__in { grid-template-columns: minmax(0, 1fr); }
  .pb-chap__word { translate: -60% 0; }
  .pb-roots { height: auto; flex-direction: column; }
  .pb-root { flex: none; height: 74px; } .pb-root.is-on { height: 300px; }
  .pb-root:not(.is-on) .pb-root__lbl { writing-mode: horizontal-tb; rotate: 0deg; top: auto; padding: 14px 18px; }
  .pb-mb__btns { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .pb-print__tri { width: 100%; clip-path: polygon(0 0, 100% 0, 0 78%); padding: 14% 30% 0 24px; justify-content: flex-start; }
  .pb-print__med { width: 62vw; right: 6%; top: 66%; }
  .pb-print--crane .pb-print__bg { background-position: 50% 95%; background-size: 110% auto; }
  .pb-print__txt { font-size: .85rem; }
  .pb-shoot { height: 92vw; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-chap__fl, .pb-gold, .pb-chap__num, .pb-title--fill, .pb-print__bg, .pb-print__med, .pb-runway__track, .pb-pins__track, .pb-col__code i { animation: none !important; }
  .pb-print { position: relative; }
}

