/* =========================================================
   AVA — Wedding & Production
   ========================================================= */

:root {
  --bg: #EEEAE4;
  --bg-2: #E5E0D8;
  --ink: #131211;
  --muted: #7A746C;
  --line: rgba(19, 18, 17, .14);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(16px, 6vw, 96px);
  color-scheme: light;
}
[data-universe="prod"] {
  --bg: #08080A;
  --bg-2: #111114;
  --ink: #F2EFEA;
  --muted: #8E8A84;
  --line: rgba(255, 255, 255, .14);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
html.locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 12px; }
::selection { background: var(--ink); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[data-universe="wedding"] [data-u="prod"],
[data-universe="prod"] [data-u="wedding"] { display: none !important; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0;
}
.display em { font-style: italic; }
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* =========================================================
   LIQUID GLASS
   ========================================================= */
.glass {
  --tint: rgba(255, 255, 255, .56);
  --blur: 16px;
  --rim: rgba(255, 255, 255, .85);
  --rim-2: rgba(255, 255, 255, .25);
  --spec: rgba(255, 255, 255, .55);
  position: relative;
  z-index: 0;
  color: var(--ink);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .35), 0 2px 8px -2px rgba(0, 0, 0, .08);
}
[data-universe="prod"] .glass {
  --tint: rgba(30, 30, 34, .42);
  --rim: rgba(255, 255, 255, .38);
  --rim-2: rgba(255, 255, 255, .08);
  --spec: rgba(255, 255, 255, .22);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .8), 0 2px 8px -2px rgba(0, 0, 0, .4);
}
.glass.clear,
[data-universe="prod"] .glass.clear {
  --tint: rgba(255, 255, 255, .07);
  --rim: rgba(255, 255, 255, .7);
  --rim-2: rgba(255, 255, 255, .2);
  --spec: rgba(255, 255, 255, .4);
  color: #fff;
}
/* frosted + refracted backdrop */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: var(--tint);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(185%) brightness(1.04);
  backdrop-filter: blur(var(--blur)) saturate(185%) brightness(1.04);
  pointer-events: none;
}
/* rim light + moving specular highlight */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(180px circle at var(--mx, 22%) var(--my, -10%), var(--spec), transparent 70%),
    linear-gradient(155deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .08));
  box-shadow:
    inset 1.5px 1.5px 0 -.5px var(--rim),
    inset -1px -1px 0 -.5px var(--rim-2),
    inset 0 0 0 .5px var(--rim-2),
    inset 0 -20px 40px -30px rgba(255, 255, 255, .45);
  opacity: .95;
}
/* note: no mix-blend-mode here — it would isolate the element and kill the backdrop blur */
[data-universe="wedding"] .glass:not(.clear)::after { opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .6s var(--ease), background-color .3s, color .3s;
}
.btn-solid { background: #fff; color: #111; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.btn-solid:hover { background: #f3efe9; }
.btn-glass:hover { --tint: rgba(255, 255, 255, .16); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  flex: none;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   GATE — page d'entrée (choix de l'univers)
   ========================================================= */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: #0B0B0C;
  clip-path: inset(0 0 0 0);
}
.js .gate { display: flex; }
.gate[hidden] { display: none !important; }
.gate:focus { outline: none; }
.gate.leaving { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-io); }

.gate-side {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  transition: flex-grow 1.2s var(--ease-io);
}
.gate-side:focus-visible { outline: none; }
.gate-side:focus-visible .gate-word { text-decoration: underline; text-underline-offset: 8px; }
.gate.hover-prod .gate-prod,
.gate.hover-wedding .gate-wedding { flex-grow: 1.5; }

.gate-bg { position: absolute; inset: 0; }
.gate-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transform: scale(1.16);
  transition: opacity 2s var(--ease), transform 9s linear, filter 1.2s var(--ease);
}
.gate-bg img.on { opacity: 1; transform: scale(1.02); }
.gate-prod .gate-bg img { filter: grayscale(.5) brightness(.6) contrast(1.08); }
.gate-wedding .gate-bg img { filter: brightness(1.05) saturate(.9); }
.gate-bg::after { content: ""; position: absolute; inset: 0; transition: opacity 1.2s var(--ease); }
.gate-prod .gate-bg::after { background: radial-gradient(75% 65% at 50% 50%, rgba(5, 5, 6, .1), rgba(5, 5, 6, .78)); }
.gate-wedding .gate-bg::after { background: radial-gradient(75% 65% at 50% 50%, rgba(238, 234, 228, .22), rgba(238, 234, 228, .78)); }
.gate.hover-wedding .gate-prod .gate-bg img { filter: grayscale(1) brightness(.32); }
.gate.hover-prod .gate-wedding .gate-bg img { filter: grayscale(.8) brightness(.62); }

/* levitating glass cards */
.gate-float {
  position: relative;
  display: grid;
  justify-items: center;
  translate: var(--gx, 0) var(--gy, 0);
  scale: var(--gs, 1);
  transition: translate 1.2s var(--ease), scale 1.2s var(--ease);
}
.gate.hover-prod .gate-prod .gate-float,
.gate.hover-wedding .gate-wedding .gate-float { --gs: 1.07; }
.gate.hover-prod .gate-wedding .gate-float,
.gate.hover-wedding .gate-prod .gate-float { --gs: .9; }
.gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(340px, 34vw);
  padding: 56px 44px 40px;
  border-radius: 42px;
  --blur: 16px;
  animation: levitate 7s ease-in-out infinite;
  will-change: transform;
}
.gate-wedding .gate-card.glass.clear {
  color: #131211;
  --tint: rgba(255, 255, 255, .34);
  --rim: rgba(255, 255, 255, .95);
  --rim-2: rgba(255, 255, 255, .35);
  --spec: rgba(255, 255, 255, .65);
  box-shadow: 0 30px 70px -25px rgba(70, 55, 40, .45);
  animation-delay: -3.5s;
}
.gate-prod .gate-card { box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .85); }
.gate-logo { width: 100%; max-width: 220px; height: auto; overflow: visible; }
.gate-logo path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-dasharray: 1; stroke-dashoffset: 0; }
.gate-word { line-height: 1; }
.gate-prod .gate-word { font-size: .78rem; font-weight: 600; letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; margin-top: 6px; }
.gate-wedding .gate-word { font-family: var(--serif); font-style: italic; font-size: 2.7rem; margin-top: -2px; }
.gate-sub { font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: .72; margin-top: 8px; }
.gate-card > * { transition: opacity .6s var(--ease); }
.gate-shadow {
  width: 62%;
  height: 26px;
  margin-top: 54px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent);
  filter: blur(5px);
  animation: levShadow 7s ease-in-out infinite;
  will-change: transform, opacity;
  transition: opacity .6s var(--ease);
}
.gate-wedding .gate-shadow { background: radial-gradient(closest-side, rgba(60, 45, 30, .38), transparent); animation-delay: -3.5s; }
@keyframes levitate {
  0%, 100% { transform: translateY(-16px) rotate(-1.4deg); }
  50% { transform: translateY(16px) rotate(1.4deg); }
}
@keyframes levShadow {
  0%, 100% { transform: scale(.66); opacity: .4; }
  50% { transform: scale(1); opacity: .95; }
}

.gate-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  margin: 0;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  --tint: rgba(20, 20, 22, .25);
  transition: transform .9s var(--ease);
}

/* entrance */
.gate.enter .gate-prod { animation: gateTop 1.3s var(--ease-io) backwards; }
.gate.enter .gate-wedding { animation: gateBottom 1.3s var(--ease-io) .1s backwards; }
.gate.enter .gate-float { animation: gateFloatIn 1.6s var(--ease) .75s backwards; }
.gate.enter .gate-wedding .gate-float { animation-delay: .9s; }
.gate.enter .gate-logo path { stroke-dashoffset: 1; animation: draw 1.5s var(--ease-io) 1.1s forwards; }
.gate.enter .gate-logo path:nth-child(2) { animation-delay: 1.25s; }
.gate.enter .gate-logo path:nth-child(3) { animation-delay: 1.4s; }
.gate.enter .gate-word,
.gate.enter .gate-sub { animation: fadeUp 1s var(--ease) 1.8s backwards; }
.gate.enter .gate-sub { animation-delay: 2s; }
.gate.enter .gate-hint { animation: hintIn 1.1s var(--ease) 2.1s backwards; }
@keyframes gateTop { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gateBottom { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gateFloatIn { from { transform: translateY(140px) scale(.55); } to { transform: none; } }
@keyframes hintIn { from { transform: translate(-50%, 90px); } to { transform: translate(-50%, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* choice */
.gate.pick-prod .gate-prod,
.gate.pick-wedding .gate-wedding { flex-grow: 1; }
.gate.pick-prod .gate-wedding,
.gate.pick-wedding .gate-prod { flex-grow: 0; }
.gate.picked .gate-float { --gs: 1.18; }
.gate.picked .gate-card > *,
.gate.picked .gate-shadow { opacity: 0; }
.gate.picked .gate-hint { transform: translate(-50%, 110px); }

@media (max-width: 760px) {
  .gate { flex-direction: column; }
  .gate-card { width: min(270px, 72vw); padding: 36px 30px 28px; border-radius: 32px; gap: 10px; }
  .gate-logo { max-width: 150px; }
  .gate-wedding .gate-word { font-size: 2.1rem; }
  .gate-shadow { margin-top: 26px; height: 18px; }
  .gate-hint { bottom: auto; top: 50%; margin-top: -22px; padding: 11px 18px; font-size: .6rem; }
  .gate.enter .gate-hint { animation: hintInM 1s var(--ease) 2s backwards; }
  .gate.picked .gate-hint { animation: none; }
  @keyframes hintInM { from { transform: translateX(-50%) scale(.3); } to { transform: translateX(-50%) scale(1); } }
  @keyframes levitate {
    0%, 100% { transform: translateY(-9px) rotate(-1deg); }
    50% { transform: translateY(9px) rotate(1deg); }
  }
}

/* =========================================================
   SMOOTH SCROLL (Lenis) + perf helpers
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.gate-side { contain: layout paint; }
.hero.paused .col-inner,
.hero.paused .mw-row > div { animation-play-state: paused; }
.col-inner, .mw-row > div { will-change: transform; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform .7s var(--ease);
}
.nav.hide { transform: translate(-50%, calc(-100% - 24px)); }
.nav-logo { display: grid; place-items: center; width: 58px; height: 40px; border-radius: 999px; }
.nav-logo svg { width: 38px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3.2; overflow: visible; }

.switch {
  position: relative;
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
}
[data-universe="prod"] .switch { background: rgba(255, 255, 255, .07); }
.switch button {
  position: relative;
  z-index: 1;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  opacity: .55;
  transition: opacity .4s;
}
.switch button[aria-selected="true"] { opacity: 1; }
.switch-blob {
  position: absolute;
  top: 3px;
  left: 0;
  height: 34px;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(0, 0, 0, .05), 0 6px 16px -6px rgba(0, 0, 0, .35);
}
[data-universe="prod"] .switch-blob {
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .45), inset -1px -1px 0 rgba(255, 255, 255, .06), 0 6px 16px -6px rgba(0, 0, 0, .7);
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  transition: background-color .3s;
}
.nav-links a:hover { background: rgba(127, 127, 127, .14); }
.nav-links .nav-cta { background: var(--ink); color: var(--bg); margin-left: 4px; }
.nav-links .nav-cta:hover { background: var(--ink); opacity: .88; }

.nav-menu { display: none; width: 40px; height: 40px; border-radius: 999px; place-content: center; gap: 5px; }
.nav-menu span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 55;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 86px 28px 26px;
  border-radius: 30px;
  transform: translateY(calc(-100% - 30px));
  transition: transform .8s var(--ease);
}
.menu.open { transform: none; }
.menu > a {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.15;
}
.menu-foot { display: flex; gap: 18px; margin-top: 22px; font-size: .82rem; color: var(--muted); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-menu { display: grid; }
  .menu { display: flex; }
  .nav { width: max-content; }
}

/* =========================================================
   HERO — WEDDING
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-cols {
  position: absolute;
  inset: -18vh -6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transform: rotate(-7deg) scale(1.05);
}
.col { overflow: hidden; }
.col-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  animation: colUp var(--dur, 60s) linear infinite;
}
.col:nth-child(even) .col-inner { animation-name: colDown; }
.col img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: var(--bg-2);
}
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 50% 50%, rgba(8, 8, 8, .25), rgba(8, 8, 8, .58)),
    linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 22%, transparent 72%, var(--bg) 100%);
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 60px 40px;
  border-radius: 40px;
  text-align: center;
  --blur: 14px;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.hero-logo { width: min(290px, 56vw); height: auto; fill: none; stroke: #fff; stroke-width: 2.1; overflow: visible; }
.hero-script {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1;
}
.hero-tag {
  margin: 0 0 30px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .88;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.hero-meta {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.hero-meta i { width: 4px; height: 4px; border-radius: 9px; background: currentColor; opacity: .6; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 26px;
  height: 44px;
  margin-left: -13px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, .7);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 9px;
  background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* entrance (after intro, and each time a universe is shown) */
.ready .hero-w .hero-cols { animation: heroCols 2s var(--ease) backwards; }
.ready .hero-w .hero-card { animation: rise 1.4s var(--ease) .15s backwards; }
.ready .hero-w .hero-meta,
.ready .hero .scroll-cue { animation: rise 1.2s var(--ease) .5s backwards; }
@keyframes heroCols { from { opacity: 0; transform: rotate(-7deg) scale(1.25); } to { opacity: 1; transform: rotate(-7deg) scale(1.05); } }
@keyframes rise { from { opacity: 0; transform: translateY(50px) scale(.96); } to { opacity: 1; transform: none; } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative;
  display: grid;
  place-items: center;
  gap: 48px;
  min-height: 90vh;
  padding: clamp(110px, 18vh, 200px) var(--gutter);
}
.manifesto-text {
  position: relative;
  z-index: 1;
  max-width: 15em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-align: center;
}
.manifesto-text .w { opacity: .13; transition: opacity .35s linear; }
.manifesto-text .w.on { opacity: 1; }
.float-img {
  position: absolute;
  margin: 0;
  width: clamp(120px, 15vw, 230px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .35);
}
.float-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.float-a { left: 3vw; top: 2%; rotate: -6deg; }
.float-b { right: 4vw; bottom: 2%; rotate: 5deg; }
@media (max-width: 760px) {
  .float-a { left: -40px; top: 5%; opacity: .55; }
  .float-b { right: -40px; bottom: 4%; opacity: .55; }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
}
.section-head.center { justify-content: center; text-align: center; }
.section-head.light { color: #fff; }
.section-head.light .eyebrow { color: rgba(255, 255, 255, .75); }

/* =========================================================
   ALBUMS (horizontal scroll)
   ========================================================= */
.albums { position: relative; }
.albums-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vh, 56px);
  padding: 40px 0 90px;
}
.albums.pinned .albums-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  padding: 90px 0 40px;
}
.albums-count {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.albums-count b { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.albums-track {
  position: relative;
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.albums:not(.pinned) .albums-track {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-top: 16px;
  padding-bottom: 34px;
  cursor: grab;
}
.albums:not(.pinned) .albums-track::-webkit-scrollbar { display: none; }
.albums-track.dragging { cursor: grabbing; }
.albums-track.dragging .album { pointer-events: none; }
@media (pointer: coarse) {
  .albums:not(.pinned) .albums-track { scroll-snap-type: x mandatory; cursor: auto; }
}
/* arrows: right to move on, left appears as soon as you have moved */
.albums-rail { position: relative; }
.rail-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 60px;
  height: 60px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.6);
  transition: transform .5s var(--ease), opacity .35s var(--ease);
}
.rail-arrow.show { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.rail-arrow.show:hover { transform: translateY(-50%) scale(1.08); }
.rail-arrow svg { width: 22px; height: 22px; stroke-width: 1.8; }
.rail-prev { left: max(16px, calc(var(--gutter) - 30px)); }
.rail-next { right: max(16px, calc(var(--gutter) - 30px)); }
@media (hover: none) { .rail-arrow { display: none; } }
.album {
  position: relative;
  flex: none;
  display: block;
  width: clamp(250px, 25vw, 380px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: center;
  text-align: left;
  background: var(--bg-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.album:nth-child(even) { margin-top: 48px; }
.album:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .5); }
.album img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(var(--px, 0)) scale(1.18);
  transition: transform 1.4s var(--ease);
}
.album:hover img { transform: translateX(var(--px, 0)) scale(1.26); }
.album-num {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.album-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  --blur: 12px;
  --tint: rgba(16, 16, 16, .22);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.album-title { font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.album-meta { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .85; text-align: right; }
.album-insta {
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  background: var(--ink);
  color: var(--bg);
}
.album-insta .album-title { font-size: 2.4rem; }
.album-insta svg { width: 34px; height: 34px; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.albums-progress { margin: 0 var(--gutter); height: 1px; background: var(--line); }
.albums-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* =========================================================
   PRICING
   ========================================================= */
/* plain background, like the section above — glass adapts to each universe */
.pricing {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 13vh, 150px) var(--gutter) clamp(90px, 12vh, 140px);
  color: var(--ink);
  background: var(--bg);
}
.pricing .btn-solid { background: var(--ink); color: var(--bg); }
.pricing .btn-solid:hover { background: var(--ink); opacity: .88; }
.price-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: clamp(48px, 8vh, 80px) auto 0;
  align-items: center;
}
.price-grid.four { grid-template-columns: repeat(4, 1fr); max-width: 1320px; align-items: stretch; }
.price {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 470px;
  padding: 30px 28px 28px;
  border-radius: 32px;
  --blur: 18px;
  transition: transform .9s var(--ease);
}
.price-grid.four .price { min-height: 420px; }
.price-main { min-height: 520px; --tint: rgba(255, 255, 255, .9); }
[data-universe="prod"] .price-main { --tint: rgba(255, 255, 255, .08); }
.price-kicker { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.price-name { margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; }
.price-amount { margin: 0; font-size: 2.1rem; font-weight: 300; letter-spacing: -.02em; }
.price-amount small { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-right: 4px; }
.price-list { display: grid; margin-top: 4px; }
.price-list li { padding: 13px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.price .btn { margin-top: auto; }
.pricing [hidden] { display: none !important; }
.price-tabs {
  position: relative;
  display: flex;
  width: max-content;
  margin: clamp(32px, 5vh, 48px) auto 0;
  padding: 5px;
  border-radius: 999px;
  background: none;
  --blur: 14px;
}
.price-tabs button { height: 42px; padding: 0 22px; font-size: .84rem; color: var(--ink); opacity: .7; transition: color .4s, opacity .4s; }
.price-tabs button[aria-selected="true"] { color: var(--bg); opacity: 1; }
.price-tabs .switch-blob,
[data-universe] .price-tabs .switch-blob { top: 5px; height: 42px; background: var(--ink); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); }
.price-tabs + .price-grid,
.price-tabs ~ .price-grid { margin-top: 32px; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.options {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 30px auto 0;
}
.options li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .8rem;
  --blur: 12px;
}
.options b { font-weight: 700; }
.price-note { position: relative; margin: 18px auto 0; text-align: center; font-size: .74rem; letter-spacing: .02em; opacity: .75; }
.price-extra {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 14px 16px 14px 24px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
}
.price-extra span { padding: 8px 14px; border-radius: 999px; background: #fff; color: #111; font-weight: 600; }

/* =========================================================
   HERO — PROD
   ========================================================= */
.hero-p { background: #050506; color: #fff; }
.mw {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1vh;
  pointer-events: none;
}
.mw-row { display: flex; white-space: nowrap; }
.mw-row > div {
  display: flex;
  flex: none;
  gap: .32em;
  padding-right: .32em;
  font-weight: 800;
  font-size: clamp(4.4rem, 14vw, 13.5rem);
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  animation: mx 48s linear infinite;
}
.mw-row.rev > div { animation-direction: reverse; animation-duration: 56s; }
.mw b { color: rgba(255, 255, 255, .09); }
.mw s { text-decoration: none; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .32); }
@keyframes mx { to { transform: translateX(-100%); } }

.hero-frame {
  position: relative;
  z-index: 2;
  width: clamp(250px, 25vw, 380px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
  transition: transform .8s var(--ease);
}
.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-frame img.on { opacity: 1; transform: scale(1); }
.hero-p-brand {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-p-brand svg { width: 64px; height: auto; fill: none; stroke: #fff; stroke-width: 3; overflow: visible; }
.hero-p-brand span { font-size: .7rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; opacity: .8; }
.hero-p-tag {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(50% + clamp(167px, 16.7vw, 253px) - 40px);
  transform: translateX(-50%);
  margin: 0;
  padding: 16px 26px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  --blur: 10px;
}
.hero-p .scroll-cue { left: auto; right: var(--gutter); margin: 0; }
.ready .hero-p .mw { animation: fadeIn 1.6s var(--ease) backwards; }
.ready .hero-p .hero-frame { animation: frameIn 1.5s var(--ease) .1s backwards; }
.ready .hero-p .hero-p-tag { animation: tagIn 1.3s var(--ease) .55s backwards; }
.ready .hero-p .hero-p-brand { animation: rise 1.2s var(--ease) .6s backwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes frameIn { from { opacity: 0; transform: translateY(60px) scale(.9); clip-path: inset(30% 10% 30% 10% round 32px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 32px); } }
@keyframes tagIn { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* chips */
.manifesto-p { min-height: 80vh; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.chip {
  display: grid;
  place-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  --blur: 10px;
  transition: transform .6s var(--ease);
}
.chip:hover { transform: translateY(-4px); }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { padding: clamp(60px, 10vh, 120px) 0 clamp(110px, 16vh, 180px); }
.proj-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  margin-top: clamp(40px, 7vh, 72px);
  padding: 0 var(--gutter);
  align-items: start;
}
.proj {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  text-align: left;
  background: var(--bg-2);
}
.proj:nth-child(2) { margin-top: 80px; }
.proj:nth-child(3) { margin-top: 30px; }
.proj img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: grayscale(.35) contrast(1.05);
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
}
.proj:hover img { transform: scale(1.14); filter: none; }
.proj .album-label { --blur: 12px; --tint: rgba(16, 16, 16, .22); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(110px, 16vh, 170px) 16px;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(8, 8, 8, .3) 22%, rgba(8, 8, 8, .5) 100%);
}
.contact-card {
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 40px;
  --blur: 22px;
}
.contact-card .eyebrow { color: rgba(255, 255, 255, .75); }
.contact-card .display { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.wide { grid-column: 1 / -1; }
.field { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 60px;
  padding: 26px 18px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .3s, background-color .3s;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 30px, calc(100% - 17px) 30px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field option, .field optgroup { color: #111; background: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: rgba(255, 255, 255, .7); background-color: rgba(255, 255, 255, .14); }
.field label {
  position: absolute;
  left: 19px;
  top: 19px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .72);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field.fixed label { transform: translateY(-10px) scale(.74); color: rgba(255, 255, 255, .85); }
.field.invalid input { border-color: #ffb4a8; }
.form .btn { height: 58px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 2px 0 0; font-size: .72rem; opacity: .65; text-align: center; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* =========================================================
   FAQ (questions fréquentes)
   ========================================================= */
.faq { padding: clamp(70px, 11vh, 120px) var(--gutter); background: var(--bg); color: var(--ink); }
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.faq-head { position: sticky; top: 110px; }
.faq-head .display { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: opacity .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { opacity: .75; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 0 24px; max-width: 62ch; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: fadeUp .6s var(--ease); }
@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
.footer-seo { margin: 0; max-width: 78ch; font-size: .8rem; line-height: 1.6; color: var(--muted); }

.form-note { min-height: 1.2em; margin: 14px 0 0; font-size: .85rem; opacity: .9; text-align: center; }
.note-link { margin-left: 10px; font: inherit; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.note-copy { display: block; width: 100%; min-height: 120px; margin-top: 12px; padding: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .3); color: #fff; font: inherit; font-size: .8rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 18px; font-size: .82rem; }
.contact-links a { opacity: .8; transition: opacity .3s; }
.contact-links a:hover { opacity: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 70px var(--gutter) 34px; display: grid; gap: 40px; }
.footer-logo { width: 100%; height: auto; overflow: visible; }
.footer-logo path { fill: none; stroke: var(--ink); stroke-width: .35; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .footer-logo path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io); }
.js .footer-logo path:nth-child(2) { transition-delay: .2s; }
.js .footer-logo path:nth-child(3) { transition-delay: .4s; }
.js .footer-logo.in path { stroke-dashoffset: 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: .8rem; color: var(--muted); }
.footer-row a:hover { color: var(--ink); }

/* =========================================================
   VIEWER (album)
   ========================================================= */
/* a horizontal film strip: big photos side by side, never a lonely photo on its own row */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--bg);
  padding: 92px 0 26px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .9s var(--ease-io);
}
.viewer.open { clip-path: inset(0 0 0 0); }
.viewer[hidden] { display: none; }
.viewer-bar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
}
.viewer-bar .icon-btn { width: 40px; height: 40px; }
.viewer-bar .switch[hidden] { display: none; }
.viewer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(16px, 3vh, 30px);
}
.viewer-head .eyebrow { order: 2; margin: 0; }
.viewer-title { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.viewer-strip {
  display: flex;
  gap: 14px;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  outline: none;
  cursor: grab;
}
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-strip.dragging { cursor: grabbing; }
.viewer-strip.dragging figure { pointer-events: none; }
.viewer-strip figure {
  position: relative;
  flex: none;
  height: 100%;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  opacity: 0;
  transform: translateX(80px);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms);
}
.viewer.open .viewer-strip figure { opacity: 1; transform: none; }
.viewer-strip.shuffle figure { animation: stripIn .8s var(--ease) both; }
@keyframes stripIn { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
.viewer-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.viewer-strip figure:hover img { transform: scale(1.04); }
.viewer-strip figure:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.viewer-foot {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(14px, 2.6vh, 26px) var(--gutter) 0;
}
.viewer-count { margin: 0; display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer-count b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.viewer-progress { flex: 1; height: 1px; background: var(--line); }
.viewer-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.viewer-arrows { display: flex; gap: 8px; }
.viewer-arrows .icon-btn { width: 50px; height: 50px; }

/* images fade in once loaded */
.js .fi { opacity: 0; }
.js .fi.ok { opacity: 1; animation: fiIn .7s var(--ease); }
@keyframes fiIn { from { opacity: 0; } to { opacity: 1; } }
[hidden] { display: none !important; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  background: #070707;
  color: #fff;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(50px) saturate(1.3); opacity: .45; transition: opacity .6s; }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px 90px; touch-action: pan-y; }
.lb-img {
  max-width: min(100%, calc(100vw - 180px));
  max-height: calc(100svh - 140px);
  border-radius: 16px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.lb-img.out { opacity: 0; transform: scale(.96); }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -26px; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-close { position: absolute; top: 18px; right: 22px; }
.lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* glass: animate transform only so the blur stays live */
.js [data-reveal="glass"] { opacity: 1; transform: translateY(80px) scale(.94); transition: transform 1.3s var(--ease); }
.js [data-reveal="glass"] > * { opacity: 0; transition: opacity 1s var(--ease) .3s; }
.js [data-reveal="glass"].in { transform: none; }
.js [data-reveal="glass"].in > * { opacity: 1; }
.js .chip[data-reveal="glass"] { color: transparent; transition: transform 1.2s var(--ease), color 1s var(--ease) .3s; }
.js .chip[data-reveal="glass"].in { color: var(--ink); }
.price-grid > :nth-child(2) { transition-delay: .1s; }
.price-grid > :nth-child(3) { transition-delay: .2s; }
.price-grid > :nth-child(4) { transition-delay: .3s; }
.chips > :nth-child(2) { transition-delay: .06s; }
.chips > :nth-child(3) { transition-delay: .12s; }
.chips > :nth-child(4) { transition-delay: .18s; }
.chips > :nth-child(5) { transition-delay: .24s; }
.chips > :nth-child(6) { transition-delay: .3s; }

.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.split .wd > * { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.in .wd > * { transform: none; }

.album.reveal { opacity: 0; transform: translateY(60px); }
.album.reveal.in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), box-shadow .9s var(--ease); }
.album.reveal.in:hover { transform: translateY(-8px); }
.proj.reveal { opacity: 0; transform: translateY(90px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.proj.reveal img { transform: scale(1.35); }
.proj.reveal.in { opacity: 1; transform: none; }
.proj.reveal.in img { transform: scale(1.06); transition: transform 2s var(--ease), filter 1s var(--ease); }
.proj.reveal.in:hover img { transform: scale(1.14); filter: none; }
.proj-grid > :nth-child(2) { transition-delay: .12s; }
.proj-grid > :nth-child(3) { transition-delay: .24s; }

/* universe switch: circular reveal */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .price-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-grid.four { grid-template-columns: 1fr; }
  .price, .price-main, .price-grid.four .price { min-height: 0; }
  .price .btn { margin-top: 8px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj:nth-child(2) { margin-top: 60px; }
  .proj:nth-child(3) { margin-top: 0; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .hero-cols { grid-template-columns: repeat(3, 1fr); inset: -10vh -20vw; gap: 10px; }
  .col-inner { gap: 10px; padding-bottom: 10px; }
  .col:nth-child(4) { display: none; }
  .col img { border-radius: 14px; }
  .hero-card { padding: 38px 26px 30px; border-radius: 32px; width: calc(100% - 32px); }
  .hero-meta { left: 50%; transform: translateX(-50%); bottom: 88px; white-space: nowrap; }
  .ready .hero-w .hero-meta { animation: none; }
  .album { width: 74vw; }
  .album-label { flex-direction: column; align-items: flex-start; gap: 6px; }
  .album-meta { text-align: left; }
  .album-meta br { display: none; }
  .album:nth-child(even) { margin-top: 0; }
  .section-head { flex-wrap: wrap; }
  .albums-count { display: none; }
  .hero-frame { width: 66vw; }
  .hero-p-tag { top: auto; bottom: 110px; font-size: 1rem; padding: 14px 20px; }
  .hero-p-brand { bottom: 40px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj:nth-child(n) { margin-top: 0; aspect-ratio: 4 / 5; }
  .form { grid-template-columns: 1fr; }
  .lb-stage { padding: 70px 14px 90px; }
  .lb-img { max-width: calc(100vw - 28px); max-height: calc(100svh - 170px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-count { bottom: 28px; }
  .viewer { padding-top: 84px; padding-bottom: 20px; }
  .viewer-strip { scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); gap: 10px; align-items: center; }
  .viewer-strip figure { height: auto; width: 80vw; max-height: 100%; border-radius: 16px; scroll-snap-align: start; }
  .viewer-arrows { display: none; }
  .viewer-bar .switch button { padding: 0 12px; font-size: .76rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal] > *, .album.reveal, .proj.reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split .wd > * { transform: none !important; }
  .manifesto-text .w { opacity: 1; }
}
