/* ═══════════════════════════════════════════════════════════════════════
   Ever Psychic · everpsychic.com · QF GLOBAL LLP
   Nuit (hero, contact, pied) et papier (maison, pratique, principes).
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Bodoni Moda"; src: url(../fonts/bodoni-moda.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/bodoni-moda-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url(../fonts/fragment-mono.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #0b0a09;
  --night-2: #141210;
  --paper: #ece6da;
  --paper-2: #e4ddcf;
  --ink: #171410;
  --ink-2: #4a443b;
  --mute: #80776a;
  --rule: rgba(23, 20, 16, .16);
  --rule-light: rgba(236, 230, 218, .16);
  --bone: #ece6da;
  --bone-2: rgba(236, 230, 218, .62);
  --gold: #e6c58c;
  --ember: #c4502b;

  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--bone); color: var(--night);
  font: 12px/1 var(--mono); transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

.label {
  display: flex; gap: .9em; align-items: baseline;
  font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.label span { color: var(--ember); }
.label--light { color: var(--bone-2); }
.label--light span { color: var(--gold); }

.display {
  font: 400 clamp(42px, 8.4vw, 148px)/.88 var(--serif);
  letter-spacing: -.025em;
}
.display em { font-weight: 400; }
.display--light { color: var(--bone); }

/* ─── Navigation ───────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--pad);
  color: var(--bone);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav a, .nav span { pointer-events: auto; }
.nav__brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; font: 400 21px/1 var(--serif); letter-spacing: -.01em; }
.nav__brand .glyph { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 36px; }
.nav__links a, .nav__cta, .nav__clock {
  font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.nav__links a, .nav__cta { position: relative; padding: 6px 0; }
.nav__links a::after, .nav__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 32px; }
.nav__clock { opacity: .7; font-variant-numeric: tabular-nums; }

/* ─── Hero : l'éclipse ─────────────────────────────────────────────── */
.hero { position: relative; height: 205vh; background: var(--night); color: var(--bone); }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  isolation: isolate;
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback { display: none; }
.no-webgl .hero__fallback {
  display: block; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 50% 50%, #050404 0 17.5vmin, transparent 17.8vmin),
    radial-gradient(circle at 50% 50%, rgba(255, 246, 228, .95) 0 18vmin, rgba(233, 197, 140, .55) 19.5vmin, rgba(196, 80, 43, .12) 30vmin, transparent 48vmin),
    var(--night);
  opacity: calc(1 - var(--p, 0) * 1.4);
}
.no-webgl .hero__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  opacity: clamp(0, calc((var(--p, 0) - .55) * 3), 1);
}

.hero__kicker {
  position: absolute; left: var(--pad); top: 96px;
  font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone-2);
  mix-blend-mode: difference;
  opacity: clamp(0, calc(1 - var(--p, 0) * 3), 1);
}
.hero__kicker p { display: grid; gap: 4px; }

.hero__title {
  position: absolute; inset: 0;
  font: 400 clamp(92px, min(19.5vw, 36vh), 340px)/.8 var(--serif);
  letter-spacing: -.035em;
  color: var(--bone);
  mix-blend-mode: difference;
  pointer-events: none;
}
.hero__line { position: absolute; display: block; overflow: hidden; padding: .04em .02em .26em; }
.hero__line--ever { left: calc(var(--pad) - .04em); top: max(15vh, 140px); top: max(15svh, 140px); }
.hero__line--psychic { right: calc(var(--pad) - .02em); bottom: calc(17vh - .16em); bottom: calc(17svh - .16em); }
.hero__word { display: block; will-change: transform; }
.hero__line--ever .hero__word { transform: translate3d(calc(var(--p, 0) * -18vw), calc(var(--p, 0) * -8vh), 0); }
.hero__line--psychic .hero__word { transform: translate3d(calc(var(--p, 0) * 16vw), calc(var(--p, 0) * 9vh), 0); }
.hero__title { opacity: clamp(0, calc(1 - (var(--p, 0) - .35) * 2.6), 1); }
.hero__word em { font-weight: 400; }

.char { display: inline-block; }
.js .char { transform: translateY(105%); transition: transform 1.4s var(--ease); transition-delay: calc(.35s + var(--i) * .055s); }
.is-loaded .char { transform: none; }

.hero__lead {
  position: absolute; left: var(--pad); bottom: 30px;
  max-width: 35ch;
  font: 400 clamp(15px, 1.15vw, 18px)/1.5 var(--sans);
  color: var(--bone);
  mix-blend-mode: difference;
  opacity: clamp(0, calc(1 - var(--p, 0) * 3), 1);
}
.hero__cue > div { display: grid; justify-items: end; gap: 10px; }
.hero__cue {
  position: absolute; right: var(--pad); bottom: 30px;
  font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone-2);
  mix-blend-mode: difference;
  opacity: clamp(0, calc(1 - var(--p, 0) * 3), 1);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); }
.hero__scroll i { position: relative; width: 44px; height: 1px; background: rgba(236, 230, 218, .25); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--bone);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* Entrée sur l'élément intérieur [data-intro] ; la sortie au défilement (--p) sur son conteneur. */
.js [data-intro] { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease) 1.1s, transform 1.2s var(--ease) 1.1s; }
.is-loaded [data-intro] { opacity: 1; transform: none; }

/* ─── 01 · The house ───────────────────────────────────────────────── */
.house { position: relative; padding: clamp(110px, 16vw, 230px) 0 clamp(90px, 11vw, 160px); background: var(--paper); }
.house .label { grid-column: 1 / span 3; padding-top: .9em; }
.house__text {
  grid-column: 4 / span 9;
  font: 400 clamp(30px, 3.9vw, 64px)/1.12 var(--serif);
  letter-spacing: -.018em;
  text-wrap: pretty;
}
.house__text .w { transition: opacity .45s linear, color .45s linear; }
.js .house__text .w { opacity: .13; }
.js .house__text .w.on { opacity: 1; }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(90px, 10vw, 150px);
}
.facts li { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.facts strong {
  font: 400 clamp(56px, 6.2vw, 104px)/.9 var(--serif);
  letter-spacing: -.03em; margin-bottom: 18px;
}
.facts__k { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.facts__v { font-size: 15px; color: var(--ink-2); max-width: 26ch; }

/* ─── Têtes de section ─────────────────────────────────────────────── */
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px;
  align-items: end; margin-bottom: clamp(56px, 7vw, 110px);
}
.section-head .label { grid-column: 1 / -1; }
.section-head .display { grid-column: 1 / span 8; }
.section-head__text { grid-column: 9 / span 4; max-width: 34ch; color: var(--ink-2); font-size: 16px; padding-bottom: .5em; }

/* ─── 02 · The practice ────────────────────────────────────────────── */
.practice { position: relative; padding: clamp(20px, 3vw, 40px) 0 clamp(110px, 13vw, 200px); background: var(--paper); }
.disciplines { border-bottom: 1px solid var(--rule); }
.discipline {
  position: relative;
  display: grid; grid-template-columns: 70px minmax(0, 1.35fr) minmax(0, 1fr) 170px; column-gap: 24px; align-items: center;
  padding: clamp(26px, 2.8vw, 42px) 0;
  border-top: 1px solid var(--rule);
  isolation: isolate;
  transition: color .6s var(--ease);
}
.discipline::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease);
}
.discipline__n { font: 400 12px/1 var(--mono); letter-spacing: .08em; color: var(--ember); }
.discipline__t {
  font: 400 clamp(36px, 4.7vw, 78px)/.95 var(--serif);
  letter-spacing: -.025em;
  transition: transform .7s var(--ease);
}
.discipline__d { font-size: 16px; color: var(--ink-2); max-width: 34ch; transition: color .6s var(--ease); }
.discipline__tags { justify-self: end; font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); transition: color .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .discipline:hover { color: var(--bone); }
  .discipline:hover::before { transform: scaleY(1); transform-origin: top; }
  .discipline:hover .discipline__t { transform: translateX(22px); }
  .discipline:hover .discipline__d { color: var(--bone-2); }
  .discipline:hover .discipline__tags { color: var(--gold); }
}

.lens {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 230px; height: 230px; margin: -115px 0 0 -115px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #1d1a16, var(--night) 70%);
  box-shadow: 0 0 0 1px rgba(230, 197, 140, .22), 0 30px 80px -20px rgba(0, 0, 0, .5);
  pointer-events: none;
  transform: translate3d(var(--x, -400px), var(--y, -400px), 0) scale(var(--s, 0));
  transition: transform .5s var(--ease);
  display: none;
}
@media (hover: hover) and (pointer: fine) { .lens { display: block; } }
.lens__g {
  position: absolute; inset: 22%; width: 56%; height: 56%;
  fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: rotate(-30deg) scale(.85);
  transition: opacity .4s var(--ease), transform .8s var(--ease);
}
.lens__g .f { fill: var(--gold); stroke: none; }
.lens__g .bg { fill: #181512; }
.lens__g.on { opacity: 1; transform: none; }

/* ─── 03 · Six languages ───────────────────────────────────────────── */
.tongues { padding: 0 0 clamp(110px, 13vw, 200px); background: var(--paper); overflow: hidden; }
.tongues__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.tongues__head .label { grid-column: 1 / span 3; }
.tongues__text { grid-column: 4 / span 6; font: 400 clamp(20px, 1.9vw, 30px)/1.3 var(--serif); letter-spacing: -.01em; }

.marquee { display: flex; overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: flex; align-items: center; flex: none; will-change: transform; }
.marquee span, .marquee b { flex: none; }
.marquee:not(.marquee--small) span {
  font: italic 400 clamp(84px, 15vw, 260px)/1.08 var(--serif);
  letter-spacing: -.03em;
  padding: 0 .1em;
}
.marquee:not(.marquee--small) span.o { color: transparent; -webkit-text-stroke: 1px var(--ink); font-style: normal; }
.marquee b { font: 400 clamp(26px, 3.4vw, 54px)/1 var(--serif); color: var(--ember); padding: 0 .55em; }
.marquee--small { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: clamp(14px, 2vw, 30px); padding: 16px 0; }
.marquee--small span { font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0 2.6em; position: relative; }
.marquee--small span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--ember); }

/* ─── 04 · Principles ──────────────────────────────────────────────── */
.principles { padding: clamp(100px, 12vw, 190px) 0 clamp(110px, 13vw, 200px); background: var(--paper-2); }
.tenets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.tenets li {
  display: grid; align-content: start; grid-template-columns: auto 1fr; column-gap: 14px;
  padding: 34px 28px 10px; border-left: 1px solid var(--rule);
}
.tenets li:first-child { border-left: 0; padding-left: 0; }
.tenets .phase { grid-column: 1; width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1; }
.tenets .phase .f { fill: var(--ink); stroke: none; }
.tenets__n { grid-column: 2; justify-self: end; font: italic 400 22px/1 var(--serif); color: var(--ember); }
.tenets h3 { grid-column: 1 / -1; margin-top: 64px; font: 400 clamp(26px, 2.3vw, 36px)/1.05 var(--serif); letter-spacing: -.015em; }
.tenets p { grid-column: 1 / -1; margin-top: 16px; font-size: 15.5px; color: var(--ink-2); max-width: 30ch; }

/* ─── 05 · Contact ─────────────────────────────────────────────────── */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(110px, 13vw, 210px) 0 clamp(50px, 6vw, 90px);
  background: var(--night); color: var(--bone);
}
.contact__glow {
  position: absolute; right: -22vmax; top: -30vmax; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 197, 140, .16), rgba(196, 80, 43, .05) 40%, transparent 68%);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; }
.contact__intro { grid-column: 1 / span 5; display: grid; align-content: start; gap: 30px; }
.contact__intro .display { font-size: clamp(64px, 9vw, 160px); margin-top: 8px; }
.contact__text { font: 400 clamp(20px, 1.7vw, 26px)/1.35 var(--serif); max-width: 24ch; }
.contact__aside { font-size: 14.5px; color: var(--bone-2); max-width: 38ch; padding-left: 18px; border-left: 1px solid rgba(230, 197, 140, .45); }

.form { grid-column: 7 / span 6; display: grid; gap: 34px; align-content: start; padding-top: 10px; }
.form__topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__legend, .field label {
  display: block; margin-bottom: 14px; padding: 0;
  font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2);
}
.field label small { font-size: inherit; text-transform: none; letter-spacing: 0; opacity: .6; margin-left: .5em; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-block; padding: 11px 20px 12px;
  border: 1px solid var(--rule-light); border-radius: 999px;
  font-size: 15px; line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill:hover span { border-color: rgba(236, 230, 218, .5); }
.pill input:checked + span { background: var(--bone); color: var(--night); border-color: var(--bone); }
.pill input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { position: relative; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--rule-light); border-radius: 0;
  background: transparent; outline: 0;
  font: 400 clamp(22px, 1.75vw, 28px)/1.25 var(--serif); letter-spacing: -.01em;
  color: var(--bone);
  transition: border-color .4s var(--ease);
  caret-color: var(--gold);
}
.field textarea { resize: none; min-height: 140px; line-height: 1.35; }
.field:focus-within label { color: var(--gold); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--ember); }
.field__err { min-height: 0; margin-top: 8px; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: #e0805f; }
.field__err:empty { display: none !important; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 6px; }
.form__legal { font-size: 13.5px; color: var(--bone-2); max-width: 32ch; }
.form__legal a { color: var(--bone); border-bottom: 1px solid rgba(236, 230, 218, .35); transition: border-color .3s; }
.form__legal a:hover { border-color: var(--gold); }
.form__status { font: 400 13px/1.5 var(--mono); letter-spacing: .02em; color: var(--bone-2); min-height: 1.5em; }
.form__status.is-error { color: #e0805f; }

.send {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 136px; height: 136px; border: 0; border-radius: 50%;
  background: var(--gold); color: var(--night);
  cursor: pointer;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.send::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(230, 197, 140, .35);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.send:hover { background: var(--bone); }
.send:hover::before { transform: scale(1.12); opacity: 0; }
.send__label { font: italic 400 25px/1 var(--serif); letter-spacing: -.01em; transform: translateY(-6px); }
.send__arrow { position: absolute; bottom: 30px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease); }
.send:hover .send__arrow { transform: translate(3px, -3px); }
.send__spin { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--night); stroke-width: 1.2; stroke-dasharray: 34 104; opacity: 0; }
.send.is-busy .send__label, .send.is-busy .send__arrow { opacity: .25; }
.send.is-busy .send__spin { opacity: 1; animation: spin 1.1s linear infinite; }
.send:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.sent { grid-column: 7 / span 6; align-self: center; display: grid; justify-items: start; gap: 20px; }
.sent[hidden], .form[hidden] { display: none; }
.sent__eclipse { width: 120px; height: 120px; }
.sent__eclipse .ring { fill: none; stroke: var(--gold); stroke-width: 1; filter: drop-shadow(0 0 10px rgba(230, 197, 140, .8)); }
.sent__eclipse .moon { fill: var(--night); animation: slide 2.6s var(--ease) .2s both; }
@keyframes slide { from { transform: translate(-46px, 18px); } to { transform: none; } }
.sent__title { font: 400 clamp(56px, 6vw, 96px)/.9 var(--serif); letter-spacing: -.03em; }
.sent__text { font: 400 clamp(19px, 1.5vw, 23px)/1.4 var(--serif); color: var(--bone-2); max-width: 30ch; }

/* ─── Pied ─────────────────────────────────────────────────────────── */
.foot { position: relative; background: var(--night); color: var(--bone-2); padding-top: 70px; overflow: hidden; }
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px;
  padding-top: 34px; border-top: 1px solid var(--rule-light);
  font-size: 13.5px; line-height: 1.6;
}
.foot__links { display: grid; gap: 8px; justify-self: end; text-align: right; }
.foot__links a { font: 400 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone); transition: color .3s; }
.foot__links a:hover { color: var(--gold); }
.foot__mark {
  margin: clamp(60px, 7vw, 110px) 0 0;
  padding: 0 var(--pad);
  font: 400 clamp(44px, 17vw, 330px)/.78 var(--serif);
  letter-spacing: -.045em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, var(--bone) 0%, rgba(236, 230, 218, .55) 55%, rgba(236, 230, 218, 0) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.foot__base {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 22px; padding-bottom: 26px;
  font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(236, 230, 218, .45);
  font-variant-numeric: tabular-nums;
}

/* ─── Apparitions ──────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ─── Curseur ──────────────────────────────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor .pill, .has-cursor .pill input { cursor: none; }
  .has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor textarea { cursor: text; }
  .has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    mix-blend-mode: difference;
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
  }
  .cursor i {
    position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--bone);
    transition: transform .45s var(--ease), opacity .3s;
  }
  .cursor.is-link i { transform: scale(4.4); }
  .cursor.is-text i, .cursor.is-lens i { opacity: 0; }
  .cursor.is-hidden i { opacity: 0; }
}

/* ─── Grain ────────────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none;
  opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ─── Petits écrans ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .discipline { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr); }
  .discipline__tags { display: none; }
  .tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tenets li:nth-child(3) { border-left: 0; padding-left: 0; }
  .tenets li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .contact__intro { grid-column: 1 / -1; }
  .form, .sent { grid-column: 1 / -1; }
  .contact__text { max-width: 30ch; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding-top: 18px; padding-bottom: 18px; }
  .nav__links { display: none; }
  .nav__clock { display: none; }
  .hero__kicker { top: 76px; }
  .hero__line--ever { top: 21svh; }
  .hero__line--psychic { bottom: calc(31svh - .16em); }
  .hero__cue { display: none; }
  .hero__lead { right: var(--pad); bottom: 26px; }
  .house .label, .house__text { grid-column: 1 / -1; }
  .house .label { margin-bottom: 26px; padding-top: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .section-head .display, .section-head__text { grid-column: 1 / -1; }
  .discipline { grid-template-columns: 1fr; row-gap: 12px; padding: 30px 0 34px; }
  .discipline__n { margin-bottom: 4px; }
  .tongues__head .label, .tongues__text { grid-column: 1 / -1; }
  .tongues__head { row-gap: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: row; align-items: flex-end; }
  .send { width: 112px; height: 112px; }
  .send__label { font-size: 22px; }
  .send__arrow { bottom: 24px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__links { justify-self: start; text-align: left; grid-auto-flow: row; }
  .foot__base { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .display { font-size: 11.6vw; }
  .foot__mark { padding: 0 12px; }
  .tenets { grid-template-columns: 1fr; }
  .tenets li { border-left: 0; padding: 30px 0 22px; border-top: 1px solid var(--rule); }
  .tenets li:first-child { border-top: 0; }
  .tenets h3 { margin-top: 36px; }
  .form__foot { flex-direction: column; align-items: flex-start; }
}

/* ─── Mouvement réduit ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero__scroll i::after { animation: none; }
  .js .char, .js [data-intro], .js [data-reveal] { transition-duration: .01s; transition-delay: 0s; }
  .js .house__text .w { opacity: 1; }
}

/* ─── Mentions légales ─────────────────────────────────────────────── */
.page-doc { background: var(--paper); }
.doc { padding: clamp(150px, 16vw, 230px) 0 clamp(90px, 10vw, 150px); }
.doc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.doc__side { grid-column: 1 / span 3; }
.doc__side .label { position: sticky; top: 110px; }
.doc__body { grid-column: 4 / span 8; max-width: 760px; }
.doc__body .display { font-size: clamp(56px, 8vw, 132px); margin-bottom: clamp(60px, 7vw, 100px); }
.doc__body section { padding-top: 46px; margin-top: 46px; border-top: 1px solid var(--rule); scroll-margin-top: 90px; }
.doc__body section:first-of-type { margin-top: 0; }
.doc__body h2 { font: 400 clamp(34px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.02em; margin-bottom: 30px; }
.doc__body h3 { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin: 34px 0 10px; }
.doc__body p { color: var(--ink-2); max-width: 64ch; }
.doc__body p + p { margin-top: 16px; }
.doc__body a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .3s; }
.doc__body a:hover { border-color: var(--ember); }
.doc__facts { margin: 0 0 30px; border-top: 1px solid var(--rule); }
.doc__facts div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.doc__facts dt { font: 400 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.doc__facts dd { margin: 0; color: var(--ink); }
.foot--doc { padding-top: 0; }
.foot--doc .foot__base a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .doc__side, .doc__body { grid-column: 1 / -1; }
  .doc__side .label { position: static; margin-bottom: 30px; }
  .doc__facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ─── 404 ──────────────────────────────────────────────────────────── */
.page-404 { background: var(--night); color: var(--bone); }
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 40px var(--pad); text-align: center; }
.lost__eclipse {
  width: 150px; height: 150px; border-radius: 50%; margin-bottom: 18px;
  background: var(--night);
  box-shadow: 0 0 0 1px rgba(255, 246, 228, .9), 0 0 18px 4px rgba(255, 238, 205, .55), 0 0 70px 18px rgba(230, 197, 140, .28), 0 0 160px 50px rgba(196, 80, 43, .1);
}
.lost .display { font-size: clamp(56px, 9vw, 140px); }
.lost__back { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding: 8px 0; border-bottom: 1px solid rgba(230, 197, 140, .4); }
.lost__back:hover { border-color: var(--gold); }

/* Bodoni : le W laisse un vide avant la lettre suivante, on resserre. */
.kw { margin-right: -.075em; }
