/* Gurliat · In my eyes, dreams arise.
   One design system for both worlds. Rêve and Cauchemar change the light, never the structure. */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.ttf") format("truetype"); font-weight: 500 700; font-display: swap; }

:root {
  /* colour */
  --abyss: #05060d;        /* cosmic black, the ground of every scene */
  --night: #0c0e1d;        /* a raised surface in the dark */
  --star: #ece9f6;         /* starlight: text */
  --veil: #a8a4bf;         /* secondary text */
  --dim: #6f6b8a;          /* decorative only */
  --dusk: #343755;         /* the brand violet */
  --lumen: #b394ff;        /* Rêve glow */
  --lumen-deep: #5a63e6;
  --ember: #ff5a3c;        /* Cauchemar glow */
  --ember-deep: #8f1d10;
  --line: rgba(236, 233, 246, .14);
  --line-strong: rgba(236, 233, 246, .32);
  --accent: var(--lumen);

  /* type */
  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: .75rem;
  --fs-s: .875rem;
  --fs-m: 1rem;
  --fs-l: 1.25rem;
  --fs-xl: 1.5625rem;
  --fs-2xl: clamp(1.9rem, 3.4vw, 2.6rem);
  --fs-3xl: clamp(2.6rem, 6vw, 4.6rem);
  --fs-display: clamp(3.1rem, 9.5vw, 8.4rem);

  /* space */
  --gutter: clamp(16px, 4.4vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

html[data-world="cauchemar"], html[data-world="fire"] { --accent: var(--ember); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; min-height: 100vh; background: var(--abyss); color: var(--star);
  font: 400 var(--fs-m)/1.6 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main { position: relative; z-index: 1; display: block; }
main:focus { outline: none; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: .7rem 1rem; background: var(--star); color: var(--abyss); border-radius: 999px; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ the sky behind everything */
.cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
html.no-webgl body {
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(90, 99, 230, .18), transparent 60%),
    radial-gradient(80% 60% at 20% 0%, rgba(167, 123, 255, .14), transparent 60%), var(--abyss);
  background-attachment: fixed;
}
html.no-webgl[data-world="cauchemar"] body, html.no-webgl[data-world="fire"] body {
  background: radial-gradient(100% 70% at 50% 110%, rgba(255, 90, 60, .18), transparent 60%), var(--abyss);
}

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter);
  transition: background .5s var(--ease), transform .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(5, 6, 13, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--star); text-decoration: none; flex: none; }
.brand__fly { width: 30px; height: auto; fill: currentColor; filter: drop-shadow(0 0 8px rgba(179, 148, 255, .55)); }
.brand__word { width: 84px; height: auto; fill: currentColor; }
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link, .tool {
  font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--veil); padding: .55rem 0; transition: color .25s;
}
.nav__link:hover, .nav__link[aria-current="page"], .tool:hover { color: var(--star); }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .7em; }
.nav__sub-toggle { width: 22px; height: 22px; display: grid; place-items: center; margin-left: .15rem; color: var(--veil); }
.nav__sub-toggle svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -1.2rem; min-width: 230px; padding: .8rem 0;
  background: rgba(10, 11, 24, .96); border: 1px solid var(--line); border-radius: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.nav__sub.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
.nav__sub a { display: block; padding: .55rem 1.2rem; font-size: var(--fs-s); color: var(--veil); text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--star); background: rgba(179, 148, 255, .08); }
.tools { display: flex; align-items: center; gap: 1.4rem; flex: none; }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .site-header { gap: 1rem; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 4vh) var(--gutter) 3rem;
    background: rgba(5, 6, 13, .97); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { font: 400 clamp(2rem, 8vw, 3rem)/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--star); padding: .9rem 0; flex: 1; }
  .nav__link[aria-current="page"] { text-underline-offset: .2em; }
  .nav__sub-toggle { width: 44px; height: 44px; }
  .nav__sub-toggle svg { width: 14px; }
  .nav__sub { position: static; width: 100%; min-width: 0; border: 0; background: none; padding: 0 0 1rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__sub.is-open { display: block; }
  .nav__sub a { padding: .5rem 0; font-size: var(--fs-m); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .brand__word { display: none; }
  .tools { gap: 1rem; }
}

/* ------------------------------------------------------------ shared type */
.display { font: 400 var(--fs-display)/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.display--sm { font-size: var(--fs-3xl); }
.page-title { font: 400 clamp(3.2rem, 11vw, 9.5rem)/.88 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.section-title { font: 400 var(--fs-3xl)/1 var(--display); margin-bottom: 2rem; text-wrap: balance; }
.page-lead { font: 300 clamp(1.15rem, 1.8vw, 1.45rem)/1.5 var(--text); color: var(--veil); max-width: 36em; margin-top: 1.6rem; text-wrap: pretty; }
.myth { font: 400 1.1875rem/1.65 var(--text); max-width: 34em; text-wrap: pretty; }
.myth + .myth { margin-top: .9em; }
.myth--lg { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.45; font-weight: 300; max-width: 30em; }
.text-link { font: 500 var(--fs-s)/1.4 var(--sans); color: var(--star); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.text-link:hover { color: var(--accent); }
.text-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.6rem; }
.text-links a { font: 500 var(--fs-s)/1.4 var(--sans); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.text-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .95rem 1.7rem;
  border-radius: 999px; border: 1px solid var(--line-strong); font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--star); transition: background .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn--light { background: var(--star); color: var(--abyss); border-color: var(--star); }
.btn--light:hover { background: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 42px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn--ghost:hover { border-color: var(--star); background: rgba(236, 233, 246, .06); }
.btn--wide { width: 100%; text-align: center; line-height: 1.35; }
@media (max-width: 420px) { .btn--wide { letter-spacing: .1em; padding-inline: 1.1rem; } }
.ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ------------------------------------------------------------ cards and rails */
.pieces { position: relative; padding: clamp(5rem, 12vh, 9rem) 0 clamp(4rem, 10vh, 7rem); }
.pieces__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 var(--gutter); margin-bottom: 2rem; }
.pieces__head h2 { font: 400 var(--fs-3xl)/1 var(--display); }
.pieces__head p { color: var(--veil); font-size: var(--fs-s); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 320px); gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; padding: 0 var(--gutter) 1.2rem; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--dusk) transparent; }
.rail > li { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2vw, 28px) clamp(12px, 1.6vw, 24px); padding: 0 var(--gutter); }
.card__link { display: block; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--night); }
.card__media img, .card__media .poster { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__link:hover .card__media img, .card__link:hover .card__media .poster { transform: scale(1.04); }
.card__body { padding: .9rem .1rem 0; display: grid; gap: .15rem; }
.card__name { font: 400 1.5rem/1.1 var(--display); }
.card__line { font-size: var(--fs-xs); color: var(--veil); letter-spacing: .06em; }
.card__price { font-size: var(--fs-s); margin-top: .35rem; }
.card__note { font-size: var(--fs-xs); color: var(--veil); }

/* ------------------------------------------------------------ page heads */
.page-head { position: relative; padding: calc(var(--header-h) + clamp(4rem, 16vh, 11rem)) var(--gutter) clamp(3rem, 8vh, 6rem); }
.page-head .unwritten { margin-top: 2rem; }
.page-switch { margin-top: 1.6rem; }

/* ============================================================ HOME */
.hero { position: relative; height: 230vh; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: 1fr auto auto auto 1.15fr; grid-template-columns: 100%; justify-items: center;
  padding: var(--header-h) var(--gutter) 0; text-align: center;
}
.hero__title { grid-row: 2; width: min(68vw, 600px); margin-top: -6vh; }
.hero__word { width: 100%; height: auto; fill: var(--star); opacity: var(--word, 0); filter: drop-shadow(0 0 calc(30px * var(--word, 0)) rgba(179, 148, 255, .45)); }
.hero__line { grid-row: 3; margin-top: clamp(1rem, 3vh, 2rem); font: italic 400 clamp(1.25rem, 2.6vw, 2rem)/1.25 var(--display); color: var(--star); opacity: var(--line, 0); transform: translateY(calc((1 - var(--line, 0)) * 12px)); }
.hero__ctas { grid-row: 4; margin-top: clamp(1.6rem, 4vh, 2.6rem); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; opacity: var(--ctas, 0); transform: translateY(calc((1 - var(--ctas, 0)) * 14px)); }
.hero__ctas:focus-within { opacity: 1; transform: none; }
.hero__skip { position: absolute; right: var(--gutter); bottom: 1.6rem; font-size: var(--fs-xs); letter-spacing: .1em; color: var(--veil); text-decoration: underline; text-underline-offset: .35em; min-height: 44px; }
.hero__skip:hover { color: var(--star); }
.hero__cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .6rem; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--veil); opacity: calc(1 - var(--ctas, 0) * .4); }
.hero__cue span { width: 1px; height: 42px; background: linear-gradient(var(--star), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
html.no-webgl .hero__word, html.rm .hero__word { --word: 1; }
html.no-webgl .hero__line, html.no-webgl .hero__ctas, html.rm .hero__line, html.rm .hero__ctas { --line: 1; --ctas: 1; }

.bat { fill: #0a0607; overflow: visible; filter: drop-shadow(0 0 1px rgba(255, 110, 70, .9)) drop-shadow(0 0 14px rgba(255, 70, 40, .35)); }
.bat__wing { transform-box: fill-box; animation: bat-flap .5s ease-in-out infinite alternate; }
.bat__wing--r { transform-origin: 0% 30%; }
.bat__wing--l { transform-origin: 100% 30%; }
@keyframes bat-flap { from { transform: scaleY(1); } to { transform: scaleY(-.45) translateY(6px); } }
.messengers__noctis .bat { position: absolute; }
.bat--1 { width: 46%; left: 30%; top: 22%; animation: drift-1 9s ease-in-out infinite; }
.bat--2 { width: 26%; left: 2%; top: 58%; animation: drift-2 11s ease-in-out infinite; }
.bat--2 .bat__wing { animation-duration: .38s; }
.bat--3 { width: 18%; left: 78%; top: 4%; animation: drift-1 13s ease-in-out infinite reverse; }
.bat--still .bat__wing { animation-duration: 1.4s; }
@keyframes drift-1 { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(-18px, 22px) rotate(4deg); } }
@keyframes drift-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, -14px); } }

.finale { position: relative; height: 115vh; }
.finale__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; justify-items: center; padding: 0 var(--gutter); text-align: center; }
.finale__text { display: grid; justify-items: center; gap: 1.3rem; opacity: var(--ft, 1); transform: translateY(calc((1 - var(--ft, 1)) * 18px)); }
.finale__text p { font: italic 300 clamp(1.15rem, 2vw, 1.5rem)/1.4 var(--text); max-width: 28em; }
.finale__text .ctas { margin-top: .6rem; }
.finale__bat { position: absolute; top: 14%; right: -12%; width: clamp(60px, 7vw, 110px); opacity: 0; }
.finale__bat.is-flying { animation: crossing 3.4s var(--ease-io) forwards; }
@keyframes crossing { 0% { opacity: 1; transform: translate(0, 0) rotate(-8deg); } 100% { opacity: 1; transform: translate(-34vw, -32vh) rotate(-16deg) scale(.7); } }

/* reduced motion and no-JS: scenes become still pages */
html.rm .hero, html:not(.js) .hero { height: auto; }
html.rm .hero__stage, html:not(.js) .hero__stage { position: relative; min-height: 100svh; }
html:not(.js) .hero__word { --word: 1; }
html:not(.js) .hero__line, html:not(.js) .hero__ctas { --line: 1; --ctas: 1; }
html.rm .finale, html:not(.js) .finale { height: auto; }
html.rm .finale__stage, html:not(.js) .finale__stage { position: relative; min-height: 100svh; }
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

@media (max-width: 760px) {
  .hero__title { width: 84vw; }
  }

/* ============================================================ COLLECTIONS */
.chapter-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--header-h) var(--gutter) 4rem; }
.chapter-hero__num { font: italic 400 1.5rem/1 var(--display); color: var(--lumen); }
.chapter-hero__title { font: 400 clamp(5rem, 22vw, 19rem)/.8 var(--display); letter-spacing: .02em; margin: 1.4rem 0 1.8rem; background: linear-gradient(180deg, #fff 0%, #cfc6f2 60%, #6d68a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter-hero__lead { font: 300 clamp(1.15rem, 2vw, 1.5rem)/1.5 var(--text); max-width: 28em; color: var(--star); }
.chapter-hero__skip { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }

.chapter-stone { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 14vh, 10rem) var(--gutter); }
.chapter-stone__emblem { width: min(100%, 420px); justify-self: center; fill: none; stroke: var(--c); stroke-width: .55; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c) 70%, transparent)); }
.chapter-stone__emblem .f { fill: var(--c); stroke: none; }
.chapter-stone h2 { font: 400 var(--fs-3xl)/1 var(--display); margin-bottom: .8rem; text-wrap: balance; }
.chapter-stone__role { font-size: var(--fs-s); color: var(--veil); margin-bottom: 1.8rem; }

.clan-grid { padding: clamp(4rem, 12vh, 8rem) var(--gutter); }
.clan-grid h2 { font: 400 var(--fs-3xl)/1 var(--display); margin-bottom: 2.4rem; }
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.2rem; }
.member { padding: 1.6rem 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(12, 14, 29, .55); display: grid; gap: .3rem; align-content: start; }
.member:first-child { border-color: color-mix(in srgb, var(--lumen) 40%, transparent); }
.member__emblem { width: 58px; height: 58px; fill: none; stroke: var(--star); stroke-width: 1; margin-bottom: 1.2rem; }
.member__fly { width: 44px; height: auto; fill: #ece6ff; opacity: .75; margin: .5rem 0 1.4rem; filter: drop-shadow(0 0 8px rgba(179, 148, 255, .7)); }
.member__emblem .f { fill: var(--star); stroke: none; }
.member__name { font: 400 2rem/1 var(--display); }
.member__role { font-size: var(--fs-s); color: var(--veil); }

.continue { padding: clamp(4rem, 12vh, 8rem) var(--gutter) clamp(5rem, 14vh, 9rem); }
.continue h2 { font: 400 var(--fs-2xl)/1 var(--display); margin-bottom: 1.4rem; }
.continue__list li, .index__list li { border-top: 1px solid var(--line); }
.continue__list li:last-child, .index__list li:last-child { border-bottom: 1px solid var(--line); }
.continue__list a, .index__list a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 2rem; padding: 1.4rem 0; text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.continue__list a:hover, .index__list a:hover { padding-left: 1rem; color: var(--accent); }
.continue__name, .index__name { font: 400 clamp(1.8rem, 4.2vw, 3.4rem)/1 var(--display); }
.continue__note, .index__note { font: italic 300 1.1rem/1.4 var(--text); color: var(--veil); }

@media (max-width: 860px) {
  .chapter-stone { grid-template-columns: 1fr; }
  .chapter-stone__emblem { width: 60%; }
}

/* ============================================================ PRODUCT */
.crumbs { padding: calc(var(--header-h) + 1.4rem) var(--gutter) 1rem; font-size: var(--fs-s); color: var(--veil); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--dim); }
.crumbs a { color: var(--veil); }
.crumbs a:hover { color: var(--star); }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.4rem, 4vw, 4.4rem); padding: 0 var(--gutter); }
.product__gallery { display: grid; gap: 14px; }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--night); }
.shot img { width: 100%; height: auto; }
.shot--detail { aspect-ratio: 1; }
.shot--detail img { height: 100%; object-fit: cover; }
.product__sticky { position: sticky; top: calc(var(--header-h) + 1.4rem); display: grid; gap: .2rem; padding-bottom: 3rem; }
.product__line { font-size: var(--fs-s); color: var(--veil); letter-spacing: .04em; }
.product__name { font: 400 clamp(3rem, 6vw, 5.4rem)/.92 var(--display); margin-top: .7rem; }
.product__lead { font: 300 1.2rem/1.5 var(--text); margin-top: 1.1rem; }
.product__price { font: 400 clamp(1.8rem, 2.8vw, 2.3rem)/1.05 var(--display); margin: 1.4rem 0 .9rem; }
.product__price:has(+ .product__size) { margin-bottom: .2rem; }
.product__size { font-size: var(--fs-s); color: var(--veil); margin-bottom: .9rem; }
.buy { display: grid; gap: .8rem; }
.buy__note { font-size: var(--fs-s); color: var(--veil); }
.buy__msg { font-size: var(--fs-s); color: var(--lumen); min-height: 1.4em; }
.sizes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sizes legend { font-size: var(--fs-xs); color: var(--veil); margin-bottom: .6rem; letter-spacing: .04em; }
.size input { position: absolute; opacity: 0; }
.size span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-s); cursor: pointer; transition: background .2s, color .2s; }
.size input:checked + span { background: var(--star); color: var(--abyss); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.size--out span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.product__details { margin-top: 2rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-size: var(--fs-s); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details > *:not(summary) { margin-bottom: 1.2rem; font-size: var(--fs-s); color: var(--veil); }
details a { color: var(--star); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts div:last-child { grid-column: 1 / -1; }
.facts dd { color: var(--star); }

.identity { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(4rem, 12vh, 8rem); padding: clamp(4rem, 12vh, 8rem) var(--gutter); background: radial-gradient(60% 80% at 22% 50%, rgba(179, 148, 255, .1), transparent 70%); border-top: 1px solid var(--line); }
.identity__perch { position: relative; justify-self: center; width: min(100%, 300px); }
.identity__fly { width: 100%; height: auto; fill: rgba(236, 233, 246, .07); filter: drop-shadow(0 0 30px rgba(179, 148, 255, .25)); }
.identity__perch .lumis-spot { position: absolute; left: 50%; top: 50%; width: 120px; height: 1px; transform: translateX(-50%); }
.identity h2 { font-size: var(--fs-s); font-weight: 500; color: var(--veil); margin-bottom: 1.2rem; letter-spacing: .04em; }
.identity__name { font: 400 var(--fs-3xl)/1 var(--display); }
.identity__title { font: italic 400 1.4rem/1.3 var(--display); color: var(--lumen); margin: .3rem 0 1.4rem; }
.identity__clan { display: grid; gap: .3rem; margin: 1rem 0 1.4rem; font-size: var(--fs-s); color: var(--veil); }
.identity__clan span { font: 400 1.35rem/1.2 var(--display); color: var(--star); margin-right: .4rem; }
.identity .myth + .myth { margin-top: 1rem; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .identity { grid-template-columns: 1fr; }
  .identity__perch { width: 46%; }
}

/* ============================================================ UNIVERSE */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--gutter); }
.mode { position: relative; display: grid; align-content: end; gap: .8rem; min-height: 46vh; padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 22px; border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color .4s; }
.mode::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 1.4s var(--ease), opacity .6s; }
.mode--map::before { background: radial-gradient(40% 60% at 50% 100%, rgba(255, 90, 60, .22), transparent 70%), radial-gradient(60% 60% at 50% 0%, rgba(179, 148, 255, .26), transparent 70%), linear-gradient(90deg, transparent 49.6%, rgba(236, 233, 246, .2) 50%, transparent 50.4%); }
.mode--read::before { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(236, 233, 246, .05) 22px 23px), radial-gradient(70% 70% at 20% 10%, rgba(90, 99, 230, .22), transparent 70%); }
.mode:hover { border-color: var(--line-strong); }
.mode:hover::before { transform: scale(1.06); }
.mode__name { font: 400 clamp(2.2rem, 4.6vw, 4rem)/1 var(--display); }
.mode__note { font: 300 1.1rem/1.5 var(--text); color: var(--veil); max-width: 26em; }
.index { padding: clamp(5rem, 14vh, 9rem) var(--gutter) 2rem; }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } .mode { min-height: 34vh; } }

/* stones */
.stones { position: relative; display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: 0 clamp(2rem, 5vw, 5rem); padding: 0 var(--gutter); }
.atmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: var(--atmos, 1); }
.orbit { position: sticky; top: calc(var(--header-h) + 6vh); align-self: start; aspect-ratio: 1; width: 100%; max-width: 440px; }
.orbit__ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(236, 233, 246, .18); }
.orbit__ring::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(236, 233, 246, .07); }
.orbit li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.orbit a { display: grid; justify-items: center; gap: .4rem; text-decoration: none; padding: 6px; }
.orbit__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); opacity: .55; transition: transform .4s var(--ease), opacity .4s; }
.orbit__name { font-size: var(--fs-xs); color: var(--veil); letter-spacing: .04em; transition: color .3s; }
.orbit .is-missing .orbit__dot { background: none; box-shadow: none; border: 1px dashed var(--c); }
.orbit a.is-active .orbit__dot { opacity: 1; transform: scale(1.6); }
.orbit a.is-active .orbit__name, .orbit a:hover .orbit__name { color: var(--star); }
.stone-sec { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: 2rem; padding: 12vh 0; }
.stone-sec__emblem { width: clamp(120px, 16vw, 200px); fill: none; stroke: var(--c); stroke-width: .8; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 80%, transparent)); }
.stone-sec__emblem .f { fill: var(--c); stroke: none; }
.stone-sec__emblem .soft, .emblem .soft, .chapter-stone__emblem .soft, .identity__emblem .soft, .member__emblem .soft, .chapter-card__emblem .soft, .dream__emblem .soft { opacity: .45; }
.stone-sec--missing .stone-sec__emblem { opacity: .45; }
.stone-sec__name { font: 400 clamp(3.6rem, 9vw, 7.6rem)/.9 var(--display); color: var(--star); text-shadow: 0 0 50px color-mix(in srgb, var(--c) 50%, transparent); }
.stone-sec__facts { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin: 1.4rem 0 1.6rem; }
.stone-sec .myth { margin-bottom: 1.6rem; }
.stone-sec__alert { font: italic 400 1.5rem/1.3 var(--display); color: var(--c); }
.stone-sec .btn { margin-top: .4rem; }
@media (max-width: 860px) {
  .stones { grid-template-columns: 1fr; }
  .orbit { position: sticky; top: calc(var(--header-h) + 6px); z-index: 2; max-width: none; aspect-ratio: auto; height: 64px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); background: rgba(5, 6, 13, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow-x: auto; }
  .orbit__ring { display: none; }
  .orbit ul { display: flex; gap: .4rem; height: 100%; align-items: center; }
  .orbit li { position: static; transform: none; }
  .orbit a { grid-auto-flow: column; gap: .4rem; padding: .5rem .6rem; white-space: nowrap; }
  .stone-sec { min-height: 90svh; }
}

/* Ashalys: the chamber */
.chamber { position: relative; }
.chamber__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; background: #030202; }
.chamber__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.chamber__vignette { position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 70%, transparent 30%, rgba(0, 0, 0, .75) 100%); }
html.no-webgl .chamber__stage { background: radial-gradient(30% 40% at 50% 85%, rgba(255, 90, 40, .45), transparent 70%), #030202; }
.chamber__head { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--header-h) var(--gutter) 0; }
.chamber__kicker { font: italic 400 1.4rem/1 var(--display); color: #ff9b7d; }
.chamber__title { font: 400 clamp(5rem, 20vw, 17rem)/.82 var(--display); margin: 1rem 0 1.4rem; color: #ffe9df; text-shadow: 0 0 60px rgba(255, 80, 40, .45); }
.chamber__sub { font-size: var(--fs-s); letter-spacing: .08em; color: #d9b3a6; }
.chamber__lines { position: relative; z-index: 1; padding: 0 var(--gutter); }
.chamber__line { min-height: 85vh; min-height: 85svh; display: grid; align-items: center; }
.chamber__line:nth-child(odd) { justify-items: start; }
.chamber__line:nth-child(even) { justify-items: end; text-align: right; }
.chamber__line p { max-width: 17em; font: italic 300 clamp(1.6rem, 3.6vw, 2.9rem)/1.25 var(--text); color: #ffece4; text-shadow: 0 2px 30px #000, 0 0 2px #000; opacity: var(--o, 1); transition: opacity .9s var(--ease); }
.js:not(.rm) .chamber__line p { --o: .08; }
.js:not(.rm) .chamber__line.is-lit p { --o: 1; }
.chamber__piece { position: relative; z-index: 1; min-height: 90svh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 0 var(--gutter); }
.chamber__piece h2 { font: 400 clamp(3.4rem, 10vw, 8rem)/.9 var(--display); color: #ff7a5c; text-shadow: 0 0 50px rgba(255, 70, 40, .55); }
.chamber__piece p { font: 300 clamp(1.2rem, 2vw, 1.5rem)/1.5 var(--text); max-width: 24em; margin-top: 1.4rem; color: #ffe9df; }
.chamber__end { position: relative; z-index: 1; padding: 6rem var(--gutter) 9rem; display: grid; justify-items: center; text-align: center; background: linear-gradient(180deg, transparent, #030202 40%); }
.chamber__end .unwritten { justify-content: center; }
.chamber__end .text-links { justify-content: center; }

/* info */
.info { padding: 0 var(--gutter) clamp(5rem, 14vh, 9rem); display: grid; gap: 0; max-width: 900px; }
.info-sec { padding: 2.2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 2rem; }
.info-sec h2 { font: 400 var(--fs-2xl)/1 var(--display); }
.info-sec p { grid-column: 2; font: 400 1.1rem/1.6 var(--text); color: var(--star); }
@media (max-width: 760px) { .info-sec { grid-template-columns: 1fr; } .info-sec p { grid-column: 1; } }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; z-index: 1; padding: clamp(4rem, 12vh, 8rem) var(--gutter) 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 6, 13, .4), var(--abyss) 40%); }
.footer__top { display: grid; justify-items: center; gap: 1.4rem; text-align: center; margin-bottom: clamp(3rem, 9vh, 6rem); }
.footer__brand { display: block; width: min(76vw, 760px); color: var(--star); }
.footer__word { width: 100%; height: auto; fill: currentColor; }
.footer__sig { font: italic 400 clamp(1.2rem, 2.2vw, 1.7rem)/1 var(--display); color: var(--veil); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__h { font-size: var(--fs-xs); font-weight: 500; color: var(--dim); letter-spacing: .06em; margin-bottom: 1rem; }
.footer__cols ul { display: grid; gap: .5rem; }
.footer__cols a { color: var(--veil); text-decoration: none; font-size: var(--fs-s); }
.footer__cols a:hover { color: var(--star); text-decoration: underline; }
.footer__mail { word-break: break-all; }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: var(--fs-xs); color: var(--dim); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ gentle reveals (one kind only, for long pages) */
.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js:not(.rm) [data-reveal].is-in { opacity: 1; transform: none; }

@media print {
  .cosmos, .site-header, .site-footer, canvas, .mark { display: none !important; }
  body { background: #fff; color: #000; }
}



/* ============================================================ Lumis, the companion */
.companion { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; }
.lumis-spot { display: block; pointer-events: none; }

/* ============================================================ language switch */
.lang-switch { display: inline-flex; align-items: center; gap: .3rem; }
.lang-switch__cur { color: var(--star); }
.lang-switch__sep { color: var(--dim); }

/* ============================================================ posters (until photographs) */
.poster { position: relative; display: grid; place-items: center; align-content: center; gap: 1.2rem; overflow: hidden; --tint: #c4a8ff;
  background: radial-gradient(70% 55% at 50% 42%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%), radial-gradient(120% 90% at 50% 120%, color-mix(in srgb, var(--tint) 14%, transparent), transparent 60%), linear-gradient(180deg, #0c0d22, #06060f); }
.poster[data-line="Dreamer"] { --tint: #8fb4ff; }
.poster::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--tint) 22%, transparent); border-radius: 8px; pointer-events: none; }
.poster__fly { width: 38%; max-width: 180px; height: auto; fill: #f2edff; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tint) 90%, transparent)) drop-shadow(0 0 60px color-mix(in srgb, var(--tint) 50%, transparent)); }
.poster__name { position: relative; font: italic 400 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--display); color: var(--star); text-align: center; padding: 0 1rem; }
.poster--big { width: 100%; height: 100%; }
.poster--big .poster__fly { width: 34%; max-width: 260px; }
.poster--big .poster__name { font-size: clamp(2rem, 4vw, 3.2rem); }
.shot--poster { aspect-ratio: 4 / 5; min-height: 420px; max-height: 88svh; }

/* ============================================================ home: the shop first */
.shop-feature { position: relative; padding: clamp(5rem, 14vh, 10rem) var(--gutter) clamp(4rem, 10vh, 7rem); }
.shop-feature__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 5vh, 3.4rem); }
.shop-feature__head h2 { font: 400 clamp(3.2rem, 9vw, 7.6rem)/.88 var(--display); }
.shop-feature__head p { font: 300 clamp(1.15rem, 1.8vw, 1.45rem)/1.5 var(--text); color: var(--veil); max-width: 26em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.card--feature .card__media { aspect-ratio: 3 / 4; border-radius: 16px; }
.card--feature .card__name { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.card--feature .poster__fly { width: 42%; }
.shop-feature__all { margin-top: clamp(2rem, 5vh, 3rem); display: flex; justify-content: center; }
@media (max-width: 860px) {
  .shop-feature__head { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .card--feature .card__media { aspect-ratio: 4 / 5; }
}

.lumis-note { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 14vh, 9rem) var(--gutter); }
.lumis-note__perch { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; border-radius: 50%; background: radial-gradient(circle, rgba(179, 148, 255, .2), transparent 62%); }
.lumis-note__perch::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed rgba(179, 148, 255, .25); }
.lumis-note__perch .lumis-spot { position: absolute; left: 50%; top: 50%; width: 170px; height: 1px; transform: translateX(-50%); }
.lumis-note h2 { font: 400 var(--fs-3xl)/1 var(--display); margin-bottom: 1.4rem; }
@media (max-width: 760px) {
  .lumis-note { grid-template-columns: 1fr; }
  .lumis-note__perch { width: 62%; }
  .lumis-note__perch .lumis-spot { width: 110px; }
}

/* Top Dreamers: the look of the order e-mails (Canva « Merci pour ta commande ! »):
   Inter, a cream → periwinkle → black card, black arch cards turning royal blue then lavender, pill buttons.
   « Fond espace »: a nebula behind the podium and stars in every dark part. */
.td { --td-ink: #05070f; --td-royal: #0b2190; --td-lav: #c3ccff; --td-edge: #3d48a6;
  --td-stars: radial-gradient(1.3px 1.3px at 9% 14%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 27% 63%, #dfe5ff 60%, transparent 70%),
    radial-gradient(1.6px 1.6px at 46% 31%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 61% 84%, #fff 60%, transparent 70%),
    radial-gradient(1.2px 1.2px at 78% 22%, #c3ccff 60%, transparent 70%), radial-gradient(1px 1px at 91% 58%, #fff 60%, transparent 70%),
    radial-gradient(.9px .9px at 17% 88%, #fff 60%, transparent 70%), radial-gradient(1.1px 1.1px at 70% 47%, #dfe5ff 60%, transparent 70%),
    radial-gradient(.8px .8px at 38% 8%, #fff 60%, transparent 70%), radial-gradient(1.4px 1.4px at 54% 66%, #fff 60%, transparent 70%);
  position: relative; isolation: isolate; overflow-x: clip; padding: clamp(4rem, 12vh, 8rem) var(--gutter) 0; text-align: center; font-family: Inter, var(--sans); }
.td__hero { position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem) clamp(3.4rem, 8vw, 6rem);
  border-radius: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, #f6e7d4 0%, #b4b6e0 24%, #4656cc 47%, #1b2160 72%, #000 100%); }
.td__hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--td-stars); background-size: 190px 170px;
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 70%); mask-image: linear-gradient(180deg, transparent 38%, #000 70%); opacity: .9; }
.td__hero > * { position: relative; z-index: 1; }
.td__mark { display: block; width: clamp(96px, 12vw, 132px); height: auto; margin: 0 auto clamp(4rem, 12vw, 8rem); fill: #fff; }
.td__slogan { font: 300 clamp(1.05rem, 2.1vw, 1.65rem)/1.3 Inter, var(--sans); color: #f4f3ff; }
.td__title { margin-top: clamp(1.4rem, 4vw, 2.6rem); font: 300 clamp(2.6rem, 10vw, 7.6rem)/1 Inter, var(--sans); letter-spacing: -.035em; white-space: nowrap;
  background: linear-gradient(90deg, #f4f6ff 0%, #c7d1ff 38%, #dfe5ff 70%, #f4f6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.td__lead { margin-top: clamp(1.6rem, 4vw, 2.6rem); font: 600 clamp(.95rem, 1.4vw, 1.1rem)/1.5 Inter, var(--sans); color: #fff; }
.td-fly { width: 100%; height: auto; fill: #fff; }
.td__podium { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(.5rem, 2vw, 1.6rem);
  max-width: 980px; margin: clamp(2.6rem, 6vw, 4rem) auto 0; }
.td__podium::before { content: ""; position: absolute; z-index: -1; inset: -18% -12% -8%; pointer-events: none; filter: blur(24px);
  background: radial-gradient(38% 46% at 50% 58%, rgba(70, 86, 204, .42), transparent 70%), radial-gradient(28% 36% at 16% 46%, rgba(123, 92, 255, .24), transparent 70%),
    radial-gradient(30% 40% at 86% 52%, rgba(11, 33, 144, .5), transparent 70%), radial-gradient(22% 22% at 62% 18%, rgba(195, 204, 255, .14), transparent 70%); }
.arch { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: clamp(1.8rem, 3vw, 2.4rem) 1rem 1.6rem;
  border: 3px solid var(--td-edge); border-radius: 50% 50% 44px 44px / 120px 120px 44px 44px;
  background: linear-gradient(180deg, #000 0%, #000 38%, var(--td-royal) 76%, var(--td-lav) 100%); box-shadow: 0 0 40px rgba(61, 72, 166, .35); }
.arch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--td-stars); background-size: 120px 110px;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 78%); mask-image: linear-gradient(180deg, #000 45%, transparent 78%); }
.arch > * { position: relative; }
.arch--1 { order: 2; min-height: clamp(300px, 34vw, 380px); box-shadow: 0 0 60px rgba(120, 140, 255, .45); }
.arch--2 { order: 1; min-height: clamp(262px, 29.5vw, 332px); }
.arch--3 { order: 3; min-height: clamp(242px, 27vw, 304px); }
.arch__fly { width: clamp(34px, 4vw, 46px); filter: drop-shadow(0 0 10px rgba(195, 204, 255, .85)); }
.arch__rank { display: flex; flex-direction: column; align-items: center; gap: .3rem; margin-top: auto; }
.arch__top { font: 600 clamp(.7rem, 1vw, .82rem)/1 Inter, var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--td-lav); }
.arch__num { font: 800 clamp(4.2rem, 8vw, 6.6rem)/.95 Inter, var(--sans); letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 10%, #dfe5ff 50%, #8f9cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(195, 204, 255, .6)); }
.arch--1 .arch__num { font-size: clamp(5rem, 9.6vw, 8rem); }
.arch__name { margin-top: auto; font: 700 clamp(1.35rem, 2.6vw, 2.1rem)/1.15 Inter, var(--sans); color: #fff; text-shadow: 0 1px 14px rgba(11, 33, 144, .6); overflow-wrap: anywhere; }
.td__list { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, .9rem); max-width: 980px; margin: clamp(1.4rem, 3vw, 2rem) auto 0; }
@media (max-width: 1000px) { .td__list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; } }
.dreamer { display: grid; justify-items: center; align-content: start; gap: .35rem; padding: 1.1rem .5rem 1.2rem; border: 3px solid transparent; border-radius: 22px;
  background: var(--td-stars) padding-box, linear-gradient(var(--td-ink), var(--td-ink)) padding-box, linear-gradient(180deg, var(--td-lav), #2b3a9e 55%, var(--td-ink)) border-box;
  background-size: 110px 100px, auto, auto; }
.dreamer__fly { width: 22px; }
.dreamer__rank { font: 600 .8rem/1 Inter, var(--sans); color: var(--td-lav); }
.dreamer__name { font: 700 .98rem/1.25 Inter, var(--sans); color: #fff; overflow-wrap: anywhere; }
.td__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: clamp(2.2rem, 5vw, 3rem); }
.td__pill { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-width: 220px; padding: 1rem 2.4rem; border-radius: 999px;
  background: linear-gradient(90deg, #2b2f6b, #4a5ab0); font: 400 1rem/1 Inter, var(--sans); color: #fff; text-decoration: none; transition: filter .3s, box-shadow .3s; }
.td__pill:hover, .td__pill:focus-visible { filter: brightness(1.25); box-shadow: 0 0 28px rgba(74, 90, 176, .6); }
.td__pill--story { border: 2px solid transparent; padding: calc(1rem - 2px) 2rem;
  background: linear-gradient(var(--td-ink), var(--td-ink)) padding-box, linear-gradient(90deg, #c3ccff, #4a5ab0) border-box; }
.td__pill svg { flex: none; width: 1.15rem; height: 1.15rem; }
.td__hint { max-width: 30em; margin: 1rem auto 0; font: 400 var(--fs-s)/1.5 Inter, var(--sans); color: var(--td-lav); }
.td__meta { margin-top: 1.4rem; font: 600 var(--fs-s)/1.4 Inter, var(--sans); color: #fff; }
.td__links { margin-top: .3rem; font: 400 var(--fs-s)/1.4 Inter, var(--sans); color: var(--veil); }
.td__links a { display: inline-flex; align-items: center; gap: .35em; color: var(--td-lav); text-decoration: none; vertical-align: bottom; }
.td__links svg { width: 1.05em; height: 1.05em; flex: none; }
.td__links a:hover, .td__links a:focus-visible { text-decoration: underline; }
.td__band { margin: clamp(3rem, 8vh, 5rem) calc(-1 * var(--gutter)) 0; padding: 3.4rem 1rem 3.8rem;
  background: linear-gradient(180deg, #000 0%, #000 22%, var(--td-royal) 60%, var(--td-lav) 100%); }
.td__band p { font: 400 1rem/1.4 Inter, var(--sans); color: #fff; }
/* story fallback (no share sheet on this phone, e.g. an in-app browser): the image to keep, then Instagram */
.td__sheet { margin: auto; width: min(92vw, 420px); max-height: 92dvh; padding: 1rem 1rem 1.2rem; border: 2px solid var(--td-edge); border-radius: 24px;
  background: var(--td-ink); color: #fff; font-family: Inter, var(--sans); text-align: center; }
.td__sheet::backdrop { background: rgba(2, 3, 10, .82); }
.td__sheet img { display: block; width: auto; max-width: 100%; max-height: 56dvh; margin: 0 auto; border-radius: 14px; }
.td__sheet p { margin: 1rem 0; font: 400 .95rem/1.45 Inter, var(--sans); color: var(--td-lav); }
.td__sheet .td__pill { min-width: 0; width: 100%; margin-top: .6rem; }
.td__sheet button.td__pill { border: 0; cursor: pointer; background: transparent; color: var(--veil); }

/* phones: the podium stays a podium (2-1-3), ranks 4 to 10 become slim rows */
@media (max-width: 760px) {
  .td { padding-top: 3rem; }
  .td__hero { padding: 1.8rem 1rem 2.4rem; border-radius: 26px; }
  .td__mark { width: 88px; margin-bottom: 2.6rem; }
  .td__slogan { font-size: 1rem; }
  .td__title { margin-top: 1rem; font-size: clamp(2.3rem, 12.4vw, 3.4rem); }
  .td__lead { margin-top: 1.2rem; font-size: .9rem; }
  .td__podium { gap: .45rem; margin-top: 2rem; }
  .td__podium::before { inset: -14% -8% -6%; }
  .arch { gap: .35rem; padding: 1.1rem .35rem .9rem; border-width: 2px; border-radius: 50% 50% 20px 20px / 64px 64px 20px 20px; }
  .arch--1 { min-height: 200px; }
  .arch--2 { min-height: 176px; }
  .arch--3 { min-height: 160px; }
  .arch__fly { width: 26px; }
  .arch__top { font-size: .56rem; letter-spacing: .22em; }
  .arch__num { font-size: 3.1rem; }
  .arch--1 .arch__num { font-size: 3.7rem; }
  .arch__name { font-size: clamp(.92rem, 4.4vw, 1.1rem); }
  .td__list { grid-template-columns: 1fr; gap: .5rem; max-width: 460px; margin-top: 1rem; }
  .dreamer { grid-template-columns: 22px 3.6rem 1fr; align-items: center; justify-items: start; gap: .8rem; padding: .75rem 1.1rem; border-width: 2px; border-radius: 16px; text-align: left; }
  .dreamer__fly { width: 20px; }
  .dreamer__rank { font-size: .82rem; }
  .dreamer__name { font-size: 1rem; }
  .td__cta { flex-direction: column; align-items: stretch; max-width: 460px; margin-inline: auto; }
  .td__band { padding: 2.6rem 1rem 3rem; }
}

.universe-teaser { padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(1rem, 3vh, 2rem); }
.universe-teaser__head { display: grid; gap: 1.4rem; margin-bottom: 2.4rem; }
.universe-teaser__head h2 { font: 400 var(--fs-3xl)/1 var(--display); }

/* ============================================================ shop page */
.page-head--shop .page-title { font-size: clamp(3.6rem, 13vw, 11rem); }
.shop { padding: 0 var(--gutter); }
.shop__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips[hidden] { display: none; }
.chip { min-height: 40px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--veil); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { color: var(--star); border-color: var(--star); }
.chip[aria-pressed="true"] { background: var(--star); color: var(--abyss); border-color: var(--star); }
.shop__count { font-size: var(--fs-s); color: var(--veil); }
.grid--shop { padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--shop > li[hidden] { display: none; }
.how { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; margin: clamp(4rem, 12vh, 7rem) var(--gutter) clamp(5rem, 14vh, 8rem); padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 24px; background: rgba(10, 11, 26, .6); }
.how__fly { width: clamp(56px, 8vw, 96px); height: auto; fill: #ece6ff; filter: drop-shadow(0 0 14px rgba(179, 148, 255, .8)); }
.how h2 { font: 400 var(--fs-2xl)/1 var(--display); margin-bottom: .8rem; }
.how p { font: 300 1.15rem/1.55 var(--text); max-width: 40em; }
@media (max-width: 600px) { .how { grid-template-columns: 1fr; } }

/* ============================================================ floors: the passage from one level to the next */
.floor { position: relative; }
.floor::before {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(196, 172, 255, .55) 18%, rgba(255, 255, 255, .95) 50%, rgba(196, 172, 255, .55) 82%, transparent);
  box-shadow: 0 0 14px 1px rgba(179, 148, 255, .55);
  transform: scaleX(0); transform-origin: left center; opacity: 0;
}
.floor.is-rtl::before { transform-origin: right center; }
.floor.is-in::before { animation: threshold 2.6s var(--ease-io) forwards; }
.floor.is-quiet::before { animation: none; }
@keyframes threshold { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .14; } }
.js:not(.rm) .floor__item { opacity: 0; transform: translateY(36px); filter: blur(10px); }
.js:not(.rm) .floor.is-in .floor__item {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 380ms);
}
.js:not(.rm) .floor.is-quiet .floor__item { transition-delay: 0s; transition-duration: .6s; }
.site-footer::before { content: none; }


/* between pages: the page dissolves, Lumis and the header stay */
@view-transition { navigation: auto; }
.companion { view-transition-name: lumis; }
.site-header { view-transition-name: header; }
::view-transition-old(root) { animation: page-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: page-in .7s var(--ease) both; }
@keyframes page-out { to { opacity: 0; filter: blur(10px); transform: scale(1.015); } }
@keyframes page-in { from { opacity: 0; filter: blur(12px); transform: scale(.985); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

.how__cta { margin-top: 1.4rem; }
.footer__cols .footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.footer__vinted { font-size: var(--fs-s); color: var(--star) !important; text-decoration: underline !important; text-decoration-color: var(--accent) !important; text-underline-offset: .3em; margin-right: .3rem; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--veil); transition: color .25s, border-color .25s, background .25s; }
.social svg { width: 18px; height: 18px; }
a.social:hover, a.social:focus-visible { color: var(--star); border-color: var(--line-strong); background: rgba(236, 233, 246, .06); }
.social--soon { opacity: .55; }
.page-kicker { font: italic 400 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--display); color: var(--lumen); margin-bottom: 1rem; }

/* ============================================================ unique pieces: the skirt picker */
.card__media--cutout { background: radial-gradient(70% 60% at 50% 52%, rgba(179, 148, 255, .2), transparent 70%), linear-gradient(180deg, #0c0d22, #06060f); }
.card__media--cutout img { object-fit: contain !important; padding: 12%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.product--picker { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.picker { display: grid; gap: 14px; min-width: 0; }
.picker__stage {
  position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; touch-action: pan-y; user-select: none;
  background: radial-gradient(55% 50% at 50% 52%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 72%), radial-gradient(120% 90% at 50% 120%, rgba(90, 99, 230, .16), transparent 60%), linear-gradient(180deg, #0c0d22, #05060d);
  transition: background .6s var(--ease);
}
.picker__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 13%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.picker__figure { position: absolute; inset: 9% 9% 15%; display: grid; place-items: center; }
.picker__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6)); transition: opacity .22s ease, transform .22s ease, filter .5s; animation: skirt-float 6s ease-in-out infinite; }
.picker__img.is-out { opacity: 0; transform: translateX(-30px) scale(.97); }
.picker__img.is-out-l { opacity: 0; transform: translateX(30px) scale(.97); }
@keyframes skirt-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.picker__stage.is-sold .picker__img { filter: grayscale(1) brightness(.55) drop-shadow(0 22px 34px rgba(0, 0, 0, .6)); }
.picker__badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: .55rem 1rem; border-radius: 999px; background: #f2ece9; color: #2a0f0b; font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.picker__badge[hidden] { display: none; }
.picker__stage.is-sold::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(242, 236, 233, .35) 50%, transparent calc(50% + 1px)); }
.picker__nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(5, 6, 13, .55); color: var(--star); transition: background .25s, border-color .25s; }
.picker__nav:hover { background: rgba(236, 233, 246, .12); border-color: var(--star); }
.picker__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.picker__nav--prev { left: 14px; }
.picker__nav--next { right: 14px; }
.picker__count { position: absolute; right: 18px; bottom: 14px; font-size: var(--fs-xs); letter-spacing: .1em; color: var(--veil); }
.picker__spot { position: absolute; right: 16%; top: 16%; width: 60px; height: 1px; }
.picker__rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(104px, 9vw, 132px); gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--dusk) transparent; }
.picker__rail > li { scroll-snap-align: center; }
.pick { position: relative; display: grid; align-content: start; gap: .5rem; width: 100%; height: 100%; padding: 8px 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 13, 30, .6); text-align: left; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.pick:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pick[aria-checked="true"] { border-color: var(--star); background: rgba(236, 233, 246, .07); box-shadow: 0 0 0 1px var(--star), 0 10px 30px rgba(179, 148, 255, .18); }
.pick__img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 9px; background: radial-gradient(60% 60% at 50% 50%, rgba(179, 148, 255, .14), transparent 70%), #080918; }
.pick__img img { max-width: 88%; max-height: 82%; object-fit: contain; }
.pick__meta { display: flex; align-items: flex-start; gap: .45rem; min-width: 0; }
.pick__swatch { width: 14px; height: 14px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pick__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .72rem; line-height: 1.25; color: var(--star); overflow: hidden; }
.pick--sold .pick__img img { filter: grayscale(1) brightness(.5); }
.pick--sold .pick__img { background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(242, 236, 233, .45) 50%, transparent calc(50% + 1px)), #080918; }
.pick--sold .pick__name { color: var(--veil); text-decoration: line-through; text-decoration-color: rgba(242, 236, 233, .5); }
.pick__sold { position: absolute; top: 12px; left: 12px; padding: .25rem .5rem; border-radius: 999px; background: #f2ece9; color: #2a0f0b; font: 600 .6rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.picker__current { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 .4rem; }
.picker__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 0 4px rgba(236, 233, 246, .06); flex: none; }
.picker__label { font-size: var(--fs-xs); color: var(--veil); letter-spacing: .04em; }
.picker__name { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.05 var(--display); }
.picker__which { flex: 1; min-width: 0; }
.picker__cost { text-align: right; flex: none; }
.picker__price { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.05 var(--display); white-space: nowrap; transition: color .25s; }
.picker__price.is-sold { color: var(--veil); text-decoration: line-through; text-decoration-thickness: 1px; }
.picker__status { font-size: var(--fs-s); color: var(--lumen); margin-bottom: 1rem; }
.picker__status.is-sold { color: #ffb3a3; }
.btn.is-disabled { background: transparent; color: var(--veil); border-color: var(--line); cursor: not-allowed; box-shadow: none; text-decoration: line-through; }
@media (max-width: 860px) {
  .product--picker { grid-template-columns: 1fr; }
  .picker__stage { aspect-ratio: 1 / 1; }
  .picker__nav { width: 40px; height: 40px; margin-top: -20px; }
}
html.rm .picker__img { animation: none; }
/* la jupe en 3D dans la scène du sélecteur */
.picker__3d { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 6, 13, .55); color: var(--star); font: 500 var(--fs-xs)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); transition: background .25s, border-color .25s; }
.picker__3d:hover, .picker__3d[aria-pressed="true"] { background: rgba(236, 233, 246, .12); border-color: var(--star); }
.picker__3d svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.picker__3d[aria-busy="true"] svg { animation: spin3d 1.4s linear infinite; }
@keyframes spin3d { to { transform: rotate(360deg); } }
.picker__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; touch-action: pan-y; cursor: grab; transition: opacity .5s var(--ease); }
.picker__canvas:active { cursor: grabbing; }
.picker__stage.is-3d .picker__canvas { opacity: 1; pointer-events: auto; }
.picker__stage.is-3d .picker__figure { opacity: 0; transition: opacity .4s var(--ease); }
.picker__stage.is-3d::after { opacity: .7; }
.picker__hint { position: absolute; left: 18px; bottom: 14px; z-index: 2; font-size: var(--fs-xs); letter-spacing: .06em; color: var(--veil); opacity: 0; transition: opacity .4s; pointer-events: none; }
.picker__stage.is-3d .picker__hint { opacity: 1; }
html.rm .picker__3d[aria-busy="true"] svg { animation: none; }

/* ============================================================ Ashalys, photographed */
.chamber__line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; justify-items: stretch !important; text-align: left !important; }
.chamber__line:nth-child(even) .chamber__photo { order: 2; }
.chamber__line:nth-child(even) p { justify-self: end; text-align: right; }
.chamber__photo { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 60, 30, .12); max-height: 78svh; }
.chamber__photo img { width: 100%; height: 100%; max-height: 78svh; object-fit: cover; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease), filter 1.2s var(--ease); }
.js:not(.rm) .chamber__line .chamber__photo img { opacity: .15; transform: scale(1.04); filter: brightness(.4) saturate(.8); }
.js:not(.rm) .chamber__line.is-lit .chamber__photo img { opacity: 1; transform: none; filter: none; }
.chamber__wide { margin: 0 0 2.4rem; width: min(100%, 1100px); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 120px rgba(255, 60, 30, .15); }
.chamber__wide img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .chamber__line { grid-template-columns: 1fr; min-height: auto; padding: 4rem 0; }
  .chamber__line:nth-child(even) .chamber__photo { order: 0; }
  .chamber__line:nth-child(even) p { justify-self: start; text-align: left; }
  .chamber__photo, .chamber__photo img { max-height: 70svh; }
}
