/* GROOV — pre-launch site. Tokens follow the Groov design system (charte v3). */
:root {
  --carbone: #141414;
  --platre: #E9E5DE;
  --pierre: #D3C7B5;
  --beton: #8C8984;
  --acier: #3A3735;
  --oxyde: #8A2B22;
  --oxyde-clair: #B5463A;
  --gris-texte: #5A5753;
  --filet-clair: #C9C5BE;

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 240ms;
  --t-slow: 900ms;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1440px;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--carbone);
  color: var(--platre);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--oxyde); color: var(--platre); }
:focus-visible { outline: 2px solid var(--pierre); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--oxyde-clair); flex: none; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--pierre); }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 6vw, 84px);
  line-height: .98; letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--pierre); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(233, 229, 222, .78); max-width: 34em; margin: 0; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--platre); color: var(--carbone); padding: 10px 16px; text-decoration: none; transition: top var(--t-fast); }
.skip:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--platre); --fg: var(--carbone);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 26px; border: 1px solid var(--platre); border-radius: 0;
  background: transparent; color: var(--platre); text-decoration: none; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color var(--t-fast) var(--ease), border-color var(--t-fast);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--platre);
  transform: scaleY(1); transform-origin: bottom; transition: transform 520ms var(--ease);
}
.btn { color: var(--carbone); }
.btn b { font-weight: 400; display: inline-block; transition: transform 520ms var(--ease); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--oxyde); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--platre); border-color: var(--oxyde); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover b { transform: translateX(6px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 11px; }
.btn--big { width: 100%; min-height: 64px; font-size: 14px; }
.btn[disabled] { cursor: progress; opacity: .85; }

.link {
  position: relative; display: inline-block; padding: 6px 0; color: var(--platre); text-decoration: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 600ms var(--ease); }
.link:hover::after { transform: scaleX(0); transform-origin: right; animation: underline 600ms var(--ease) 200ms forwards; }
@keyframes underline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); transition: background var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), height var(--t-slow) var(--ease);
}
.nav.is-scrolled { background: rgba(20, 20, 20, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); height: 60px; border-bottom: 1px solid rgba(233, 229, 222, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 104px; height: auto; }
.nav__links { display: none; gap: 36px; }
.nav__links a { position: relative; text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(233, 229, 222, .8); transition: color var(--t-fast); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--oxyde-clair); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--platre); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav .btn--sm { display: none; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border: 1px solid rgba(233, 229, 222, .25); text-decoration: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; transition: border-color var(--t-fast), background var(--t-fast);
}
.lang__cur { color: var(--platre); }
.lang__sep { color: var(--beton); }
.lang__other { color: var(--beton); transition: color var(--t-fast); }
.lang:hover { border-color: var(--platre); }
.lang:hover .lang__other { color: var(--platre); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 28px) 0 72px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__pattern, .list__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/assets/brand/motif-goutte.svg') 0 0 / 64px 64px repeat;
  opacity: .5; -webkit-mask-image: radial-gradient(120% 80% at 0% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(120% 80% at 0% 100%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 40px; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin: 0 0 28px; font-weight: 400; }
.hero__brand {
  display: block; font-family: var(--f-body); font-weight: 700; font-variation-settings: 'wdth' 125;
  font-size: 13px; letter-spacing: .5em; margin-bottom: 18px; color: var(--pierre);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero__line {
  display: block; font-family: var(--f-display); font-size: clamp(54px, 10.5vw, 152px); line-height: .92; letter-spacing: -.035em;
}
em.hero__line { padding-left: .5em; }
.hero__services { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__services li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border: 1px solid rgba(233, 229, 222, .22); }
.hero__intro { max-width: 30em; color: rgba(233, 229, 222, .78); margin: 0 0 30px; font-size: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero__media { position: relative; }
.hero__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--acier); }
.hero__frame picture, .hero__frame img { width: 100%; height: 100%; }
.hero__frame img { object-fit: cover; transform: scale(1.12); }
.hero__plaque {
  position: absolute; left: -10px; top: 24px; width: 116px; aspect-ratio: 2 / 1; background: var(--pierre);
  display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hero__plaque img { width: 64%; }
.countdown { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--beton); }
.countdown__row { display: flex; gap: 18px; color: var(--platre); }
.countdown__row span { display: inline-flex; align-items: baseline; gap: 4px; color: var(--beton); font-size: 11px; }
.countdown__row b { font-weight: 500; font-size: 22px; letter-spacing: .04em; color: var(--platre); font-variant-numeric: tabular-nums; }
.tick { display: inline-block; }
.tick.is-tick { animation: tick 600ms var(--ease); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 22px; display: none; align-items: center; gap: 14px; text-decoration: none; color: var(--beton); }
.hero__scroll i { width: 1px; height: 46px; background: rgba(233, 229, 222, .25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--platre); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* Hero entrance (cinematic). JS adds .is-ready on <html>; no-JS shows everything. */
.js .hero__line { transform: translateY(105%); }
.js .hero__in { opacity: 0; transform: translateY(18px); }
.js .hero__brand { opacity: 0; letter-spacing: 1.2em; }
.js .hero__frame { clip-path: inset(100% 0 0 0); }
.js .hero__frame img { transform: scale(1.35); }
.js .hero__plaque { opacity: 0; transform: translateX(-30px) rotate(-4deg); }
.js .nav { opacity: 0; }
.is-ready .hero__line { transform: none; transition: transform 1.25s var(--ease) var(--d, 0s); }
.is-ready .hero__in { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.is-ready .hero__brand { opacity: 1; letter-spacing: .5em; transition: opacity 1.2s var(--ease) .1s, letter-spacing 1.6s var(--ease) .1s; }
.is-ready .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-io) .2s; }
.is-ready .hero__frame img { transform: scale(1.12); transition: transform 2.6s var(--ease) .2s; }
.is-ready .hero__plaque { opacity: 1; transform: none; transition: opacity .9s var(--ease) 1.25s, transform 1.1s var(--ease) 1.25s; }
.is-ready .nav { opacity: 1; transition: opacity 1s var(--ease) .9s, background var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), height var(--t-slow) var(--ease); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid rgba(233, 229, 222, .12); border-bottom: 1px solid rgba(233, 229, 222, .12); overflow: hidden; padding: 18px 0; background: var(--carbone); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3.4vw, 44px); line-height: 1; padding: 0 28px; white-space: nowrap; color: var(--pierre); }
.marquee__track i { width: 9px; height: 9px; background: var(--oxyde-clair); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic reveals ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
/* the clip sits on the inner picture: IntersectionObserver ignores fully clipped targets */
.js .rv-img picture { height: 100%; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); }
.js .rv-img img { transform: scale(1.25); transition: transform 2.2s var(--ease); }
.js .rv-img.is-in picture { clip-path: inset(0 0 0 0); }
.js .rv-img.is-in img { transform: scale(1.06); }

section { position: relative; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }
.sec-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }

/* ---------- Experiences ---------- */
.xp { padding: clamp(96px, 13vw, 180px) 0; background: var(--carbone); }
.xp__media { display: none; }
.xp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 72px; }
.xp__item { position: relative; }
.xp__mob { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 24px; background: var(--acier); }
.xp__mob picture, .xp__mob img { width: 100%; height: 100%; }
.xp__mob img { object-fit: cover; }
.xp__item--reformer .xp__mob { aspect-ratio: 4 / 3; }
.xp__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--oxyde-clair); }
.xp__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.03em; margin: 10px 0 14px; }
.xp__tag { font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--pierre); margin: 0 0 14px; }
.xp__text { margin: 0 0 18px; color: rgba(233, 229, 222, .78); max-width: 30em; }
.xp__meta { display: flex; align-items: center; gap: 10px; color: var(--beton); margin: 0; }

/* ---------- Studio ---------- */
.studio { padding: clamp(96px, 12vw, 170px) 0; background: var(--platre); color: var(--carbone); }
.studio .kicker { color: var(--gris-texte); }
.studio .kicker .sq, .studio .sq { background: var(--oxyde); }
.studio .h2 em { color: var(--oxyde); }
.studio .lead { color: var(--gris-texte); }
.studio__grid { display: grid; gap: 28px; }
.studio__wide, .studio__tall { margin: 0; overflow: hidden; }
.studio__wide picture, .studio__tall picture { height: 100%; background: var(--pierre); }
.studio__wide { aspect-ratio: 16 / 10; }
.studio__tall { aspect-ratio: 4 / 5; }
.studio__wide img, .studio__tall img { width: 100%; height: 100%; object-fit: cover; }
.studio__quote { margin: 24px 0; font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.studio__quote p { margin: 0; }
.studio__quote em { color: var(--oxyde); }
.studio__quote .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.studio__quote .w > span { display: inline-block; }
.js .studio__quote .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .studio__quote .q2 .w > span { transition-delay: calc(var(--i) * 60ms + 320ms); }
.js .studio__quote.is-in .w > span { transform: none; }
.studio__facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--carbone); }
.studio__facts li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--filet-clair); color: var(--carbone); }
.studio__facts li span:last-child { color: var(--gris-texte); text-align: right; }
.studio__caption { margin: 32px 0 0; color: var(--gris-texte); font-size: 11px; }

/* ---------- Private list ---------- */
.list { padding: clamp(96px, 12vw, 170px) 0; overflow: hidden; }
.list__pattern { -webkit-mask-image: radial-gradient(90% 70% at 100% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(90% 70% at 100% 0%, #000 10%, transparent 70%); }
.list__grid { position: relative; display: grid; gap: 56px; }
.list__note { display: flex; gap: 12px; align-items: center; color: var(--beton); margin: 26px 0 40px; }
.list__note .sq { background: var(--oxyde-clair); }
.list__note--seats { color: var(--platre); margin: 0 0 32px; }
.list__lead { font-size: 15px; max-width: 30em; margin: 0 0 20px; }

.card {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 85.6 / 54; padding: 22px 24px;
  display: flex; flex-direction: column; justify-content: space-between; background: var(--acier);
  border: 1px solid rgba(233, 229, 222, .14); box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 600ms var(--ease);
  overflow: hidden;
}
.card::before { content: ''; position: absolute; inset: 0; background: url('/assets/brand/motif-goutte.svg') 0 0 / 48px 48px; opacity: .35; pointer-events: none; }
.card::after { content: ''; position: absolute; inset: -50% -10%; background: linear-gradient(105deg, transparent 40%, rgba(233, 229, 222, .16) 50%, transparent 60%); transform: translateX(-80%); pointer-events: none; }
.card.is-shine::after { animation: shine 1.4s var(--ease) forwards; }
@keyframes shine { to { transform: translateX(80%); } }
.card > * { position: relative; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__top img { width: 88px; }
.card__mid { display: flex; flex-direction: column; gap: 6px; }
.card__label { color: var(--beton); font-size: 10px; }
.card__name { font-family: var(--f-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.05; letter-spacing: -.02em; min-height: 1.05em; color: rgba(233, 229, 222, .55); transition: color 400ms; word-break: break-word; }
.card__name.is-typed { color: var(--platre); }
.card__bot { display: flex; justify-content: space-between; color: var(--pierre); font-size: 10px; }
.card__stamp {
  position: absolute; right: 18px; top: 50%; padding: 6px 10px; border: 1px solid var(--oxyde-clair); color: var(--oxyde-clair);
  font-size: 10px; transform: translateY(-50%) rotate(-8deg) scale(1.8); opacity: 0; pointer-events: none;
}
.card.is-done .card__stamp { animation: stamp 700ms var(--ease) 400ms forwards; }
@keyframes stamp { 60% { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(.92); } to { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(1); } }

.list__form { position: relative; }
.form { position: relative; background: rgba(233, 229, 222, .03); border: 1px solid rgba(233, 229, 222, .14); padding: clamp(22px, 3.4vw, 44px); }
.form__req { color: var(--beton); margin: 0 0 22px; font-size: 11px; }
.form__summary { border-left: 3px solid var(--oxyde-clair); background: rgba(138, 43, 34, .16); padding: 14px 16px; margin-bottom: 24px; font-size: 15px; }
.form__summary:focus { outline: none; }
.form__summary p { margin: 0; }
.form__summary strong { display: block; margin-bottom: 4px; font-weight: 600; }
.form__grid { display: grid; gap: 22px; margin-bottom: 30px; }
.field { position: relative; }
.field label { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pierre); transition: color var(--t-fast); }
.req { color: var(--oxyde-clair); }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  width: 100%; height: 54px; padding: 0 16px; border: 1px solid rgba(233, 229, 222, .22); border-radius: 0;
  background: rgba(20, 20, 20, .6); color: var(--platre); font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder { color: rgba(140, 137, 132, .8); }
.field input:hover { border-color: rgba(233, 229, 222, .45); }
.field input:focus { border-color: var(--platre); background: rgba(20, 20, 20, .9); box-shadow: inset 0 -2px 0 var(--pierre); }
.field:focus-within > label { color: var(--platre); }
.field__err { display: none; margin: 8px 0 0; font-size: 14px; color: #E7A097; }
.field.is-invalid input { border-color: var(--oxyde-clair); }
.field.is-invalid .field__err { display: flex; gap: 8px; animation: errIn 360ms var(--ease); }
.field.is-invalid .field__err::before { content: ''; width: 7px; height: 7px; margin-top: 7px; background: var(--oxyde-clair); flex: none; }
.field.is-valid input { border-color: rgba(211, 199, 181, .6); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.field.shake { animation: shake 420ms var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.form__chips { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.form__chips legend { padding: 0; margin-bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pierre); }
.opt { color: var(--beton); text-transform: none; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(233, 229, 222, .25); font-size: 14px; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  user-select: none;
}
.chip span::before { content: ''; width: 8px; height: 8px; border: 1px solid currentColor; transition: background var(--t-fast), transform 360ms var(--ease); }
.chip:hover span { border-color: var(--platre); }
.chip input:checked + span { background: var(--platre); color: var(--carbone); border-color: var(--platre); }
.chip input:checked + span::before { background: var(--oxyde); border-color: var(--oxyde); transform: rotate(45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--pierre); outline-offset: 3px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.field--check { margin-bottom: 28px; }
.field .check { margin: 0; font-family: var(--f-body); letter-spacing: 0; text-transform: none; display: flex; font-size: 15px; color: rgba(233, 229, 222, .85); }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: rgba(233, 229, 222, .85); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1px solid rgba(233, 229, 222, .45); transition: border-color var(--t-fast), background var(--t-fast); }
.check__box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--carbone); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 300ms var(--ease); }
.check input:checked + .check__box { background: var(--platre); border-color: var(--platre); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--pierre); outline-offset: 3px; }
.field--check.is-invalid .check__box { border-color: var(--oxyde-clair); }
.form__privacy { display: inline-block; margin: 12px 0 0 36px; font-size: 13px; color: var(--beton); }
.form__privacy:hover { color: var(--platre); }

[data-submit] [data-sending] { display: inline-flex; align-items: center; gap: 12px; }
[data-submit] [data-sending][hidden] { display: none; }
[data-submit] [data-sending]::before { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sending .field, .form.is-sending .form__chips, .form.is-sending .field--check { opacity: .55; pointer-events: none; transition: opacity var(--t-fast); }

.form.is-leaving { animation: formOut 600ms var(--ease) forwards; }
@keyframes formOut { to { opacity: 0; transform: translateY(-16px); } }
.done { padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(233, 229, 222, .14); background: rgba(233, 229, 222, .03); outline: none; }
.done:not([hidden]) { animation: doneIn 900ms var(--ease) both; }
.done .h2 { font-size: clamp(36px, 4.6vw, 60px); }
.done .lead { margin-bottom: 28px; }
.done .kicker .sq { animation: pulse 1.6s var(--ease-io) 3; }
@keyframes doneIn { from { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes pulse { 50% { transform: scale(1.8) rotate(45deg); } }

/* ---------- Place ---------- */
.place { padding: clamp(96px, 12vw, 170px) 0; background: var(--acier); }
.place__grid { display: grid; gap: 56px; }
.place__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4.8vw, 72px); line-height: 1; letter-spacing: -.03em; margin: 0 0 28px; }
.place__addr { font-style: normal; font-size: 20px; line-height: 1.5; margin-bottom: 22px; color: rgba(233, 229, 222, .85); }
.place__date > p:first-child { color: var(--pierre); margin: 0 0 6px; }
.place__big { font-size: clamp(54px, 9vw, 132px) !important; letter-spacing: -.02em !important; line-height: 1 !important; margin: 0 0 18px; color: var(--platre); }
.place__line { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 32px; color: var(--pierre); }

/* ---------- Footer ---------- */
.foot { padding: 72px 0 28px; background: var(--carbone); border-top: 1px solid rgba(233, 229, 222, .1); }
.foot__top { display: grid; gap: 40px; margin-bottom: 56px; }
.foot__logo { width: 168px; }
.foot__cols { display: grid; gap: 18px; color: var(--beton); }
.foot__cols p { margin: 0; }
.foot__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot__links a { text-decoration: none; font-size: 14px; color: var(--platre); border-bottom: 1px solid transparent; transition: border-color var(--t-fast); }
.foot__links a:hover { border-color: currentColor; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--beton); font-size: 10px; }

/* ---------- Legal & 404 ---------- */
.legal { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; max-width: 860px; }
.legal__body h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; margin: 40px 0 10px; }
.legal__body p { color: rgba(233, 229, 222, .82); }
.legal .link { margin-top: 40px; }
.page-legal .nav, .page-404 .nav { opacity: 1; }

/* ---------- Language switch transition ---------- */
.veil { position: fixed; inset: 0; z-index: 200; background: var(--carbone); pointer-events: none; transform: scaleY(0); transform-origin: bottom; }
.veil.is-on { transform: scaleY(1); transition: transform 520ms var(--ease-io); }
.veil.is-off { transform: scaleY(0); transform-origin: top; transition: transform 620ms var(--ease-io) 80ms; }
.veil::after { content: 'GROOV'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-body); font-weight: 700; font-variation-settings: 'wdth' 125; letter-spacing: .5em; font-size: 13px; color: var(--pierre); }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  .nav .btn--sm { display: inline-flex; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .sec-head--split { grid-template-columns: 1.2fr 1fr; }
  .studio__grid { grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
  .studio__wide { grid-column: 1 / span 8; }
  .studio__tall { grid-column: 9 / span 4; margin-top: 120px; }
  .studio__quote { grid-column: 1 / span 7; }
  .studio__facts { grid-column: 8 / span 5; margin-top: 24px; }
  .place__grid { grid-template-columns: 1fr 1fr; align-items: end; }
  .foot__top { grid-template-columns: 1fr 2fr; align-items: end; }
  .foot__cols { grid-template-columns: auto auto; justify-content: end; gap: 18px 48px; }
  .foot__links { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .hero { padding-bottom: 96px; }
  .hero__grid { grid-template-columns: repeat(12, 1fr); align-items: center; gap: 0; }
  .hero__copy { grid-column: 1 / span 7; grid-row: 1; padding-right: 32px; }
  .hero__media { grid-column: 8 / span 5; grid-row: 1; }
  .hero__line { font-size: clamp(88px, 9.6vw, 156px); }
  .hero__title { margin-right: -22%; } /* headline overlaps the image edge: not a centred hero */
  .hero__frame { aspect-ratio: auto; height: min(68vh, 760px); min-height: 520px; }
  .hero__plaque { left: -58px; top: auto; bottom: 54px; width: 148px; }
  .countdown { position: absolute; right: 0; top: calc(100% + 18px); margin: 0; align-items: flex-end; }
  .hero__scroll { display: inline-flex; }

  .xp__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .xp__media { display: block; grid-column: 1 / span 6; position: relative; }
  .xp__stage { position: sticky; top: calc(50vh - 34vh); height: 68vh; min-height: 520px; overflow: hidden; background: var(--acier); }
  .xp__fig { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); z-index: 1; }
  .xp__fig picture, .xp__fig img { width: 100%; height: 100%; }
  .xp__fig img { object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease); }
  .xp__fig.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
  .xp__fig.is-on img { transform: scale(1.02); }
  .xp__fig.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
  .xp__fig.is-prev img { transform: scale(1.08); }
  .xp__motif {
    position: absolute; right: 28px; top: 28px; width: 64px; height: 64px; z-index: 3;
    background: var(--platre); -webkit-mask: url('/assets/brand/favicon.svg') center / contain no-repeat; mask: url('/assets/brand/favicon.svg') center / contain no-repeat; opacity: 0;
  }
  .xp__count { position: absolute; left: 28px; bottom: 26px; z-index: 4; color: var(--platre); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
  .xp__count b { font-weight: 500; display: inline-block; }
  .xp__count b.is-flip { animation: tick 600ms var(--ease); }
  .xp__bars { position: absolute; right: 28px; bottom: 30px; z-index: 4; display: flex; gap: 6px; }
  .xp__bars i { width: 28px; height: 2px; background: rgba(233, 229, 222, .3); transition: background var(--t-slow) var(--ease), width var(--t-slow) var(--ease); }
  .xp__bars i.is-on { background: var(--platre); width: 52px; }
  .xp__list { grid-column: 8 / span 5; gap: 0; }
  .xp__item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid rgba(233, 229, 222, .12); }
  .xp__mob { display: none; }
  .xp__item > :not(.xp__mob) { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
  .js .xp__item:not(.is-on) > :not(.xp__mob) { opacity: .28; }
  .js .xp__item:not(.is-on) .xp__name { transform: translateX(-10px); }
  .xp__item.is-on .xp__num::after { content: ''; display: inline-block; width: 40px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--oxyde-clair); animation: grow 900ms var(--ease); transform-origin: left; }
  @keyframes grow { from { transform: scaleX(0); } }

  .list__grid { grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: start; }
  .list__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 40px); }
  .list__form { grid-column: 7 / span 6; }
  .card { margin-top: 8px; }
}

@media (min-width: 1440px) {
  .hero__title { margin-right: -28%; }
}

/* ---------- Reduced motion: no transforms, no loops, instant states ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
  .js .hero__line, .js .hero__in, .js .rv, .js .studio__quote .w > span, .js .hero__plaque { transform: none !important; opacity: 1 !important; }
  .js .hero__brand { opacity: 1; letter-spacing: .5em; }
  .js .hero__frame, .js .rv-img picture, .xp__fig.is-on { clip-path: none !important; }
  .js .hero__frame img, .js .rv-img img, .xp__fig img { transform: none !important; }
  .js .nav { opacity: 1; }
  .hero__scroll i::after { display: none; }
  .card { transform: none !important; }
  .xp__fig:not(.is-on) { opacity: 0; }
  [data-parallax] { transform: none !important; }
}
