:root {
  --bg: #0a0908;
  --bg-elev: #12100e;
  --ink: #e8e0d4;
  --ink-soft: #b8aea0;
  --ink-mute: #7a7268;
  --ember: #c45a2e;
  --ember-hot: #e8a33c;
  --moss: #3d5c45;
  --line: rgba(232, 224, 212, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Serif 4", "Times New Roman", serif;
  --measure: 38rem;
  --page-max: 72rem;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ember-hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f0c06a;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-elev);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: var(--pad-x);
  top: 0.75rem;
}

/* —— Nav (minimal, does not steal brand from hero) —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad-x);
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.72), transparent);
  pointer-events: none;
}

.site-nav a {
  pointer-events: auto;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-brand img {
  display: block;
  height: clamp(1.55rem, 2.4vw, 2.1rem);
  width: auto;
  max-width: min(42vw, 13.5rem);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  color: var(--ink) !important;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  border-color: rgba(232, 163, 60, 0.55);
  background: rgba(196, 90, 46, 0.12);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.15rem;
  pointer-events: auto;
}

.lang-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.45rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  color: var(--ink);
  border-color: rgba(232, 224, 212, 0.28);
  background: rgba(232, 224, 212, 0.06);
}

/* —— Hero: titre en fondu, fond révélé depuis le centre, fixe au scroll —— */
@property --hero-reveal {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --hero-feather {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.hero {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  min-height: 100vh;
  background: transparent;
}

.hero-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #050403;
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  inset: 0;
  line-height: 0;
}

.hero-bg {
  --hero-reveal: 0%;
  --hero-feather: 0%;
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  /* Invisible tant que la révélation n’a pas commencé (pas de halo au chargement) */
  opacity: 0;
  /* noir = visible ; à 0% + feather 0% → rien n’est montré */
  -webkit-mask-image: radial-gradient(
    circle at 50% 58%,
    #000 0%,
    #000 var(--hero-reveal),
    transparent calc(var(--hero-reveal) + var(--hero-feather))
  );
  mask-image: radial-gradient(
    circle at 50% 58%,
    #000 0%,
    #000 var(--hero-reveal),
    transparent calc(var(--hero-reveal) + var(--hero-feather))
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition:
    opacity 0s,
    --hero-reveal 5.8s ease-in-out,
    --hero-feather 1.4s ease-out;
}

.hero-title {
  display: block;
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(88vw, 920px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.55));
}

.hero.is-title .hero-title {
  opacity: 1;
}

.hero.is-reveal .hero-bg {
  opacity: 1;
  --hero-reveal: 130%;
  --hero-feather: 18%;
  /* Zoom dès l’ouverture du calque de révélation */
  animation: hero-bg-zoom 18s ease-out forwards;
}

/* Après la révélation : masque retiré (le zoom continue) */
.hero.hero--settled .hero-bg {
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  transition: none;
}

@keyframes hero-bg-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-panel {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100vh;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-title {
    transition: none;
  }

  .hero.is-title .hero-title {
    opacity: 1;
  }

  .hero.is-reveal .hero-bg,
  .hero.hero--settled .hero-bg {
    opacity: 1;
    --hero-reveal: 130%;
    --hero-feather: 0%;
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
  }
}

.wrap {
  width: min(100% - 2 * var(--pad-x), var(--page-max));
  margin-inline: auto;
}

.intro-banner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin: 0 auto clamp(1.5rem, 3vh, 2.25rem);
  padding: clamp(2rem, 5vh, 3.25rem) 0 clamp(1.5rem, 3vh, 2rem);
  border-bottom: 1px solid var(--line);
}

.explore-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.1rem;
  margin: 0 auto clamp(2rem, 5vh, 3.5rem);
  padding-bottom: 0.25rem;
  font-size: 0.92rem;
}

.explore-rail a {
  color: var(--ink-mute);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.explore-rail a:hover {
  color: var(--ember-hot);
  border-bottom-color: rgba(232, 163, 60, 0.45);
}

.intro-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.intro-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.intro-tagline {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.intro-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.intro-actions .btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .intro-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ember);
  color: #140c08;
  border-color: var(--ember);
}

.btn-primary:hover {
  background: var(--ember-hot);
  color: #140c08;
  border-color: var(--ember-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(232, 224, 212, 0.35);
  background: rgba(232, 224, 212, 0.04);
}

/* —— Content —— */
.page {
  position: relative;
  z-index: 2;
  border-top: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(61, 92, 69, 0.12), transparent 55%),
    radial-gradient(80% 40% at 100% 30%, rgba(196, 90, 46, 0.06), transparent 50%),
    linear-gradient(180deg, #0a0908 0%, #0e0c0a 40%, #0a0908 100%);
}

/* Bande de fondu qui remonte sur le hero — chevauche ~2px pour éviter la couture */
.page::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(14rem, 42vh, 28rem);
  transform: translateY(calc(-100% + 2px));
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 9, 8, 0) 0%,
    rgba(10, 9, 8, 0.015) 12%,
    rgba(10, 9, 8, 0.05) 24%,
    rgba(10, 9, 8, 0.12) 36%,
    rgba(10, 9, 8, 0.24) 48%,
    rgba(10, 9, 8, 0.4) 58%,
    rgba(10, 9, 8, 0.58) 68%,
    rgba(10, 9, 8, 0.74) 78%,
    rgba(10, 9, 8, 0.88) 88%,
    rgba(10, 9, 8, 0.96) 95%,
    #0a0908 100%
  );
}

.page > * {
  position: relative;
  z-index: 1;
}

/* —— Bandes alternées + losanges —— */
.band {
  padding: clamp(2.75rem, 7vh, 5rem) 0;
}

.band + .band {
  border-top: 1px solid var(--line);
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.band--copy-right .band-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.band-copy {
  max-width: 36rem;
}

.band--text-only .band-inner {
  grid-template-columns: 1fr;
}

.band--text-only .band-copy {
  max-width: 46rem;
}

.band--with-diamonds .band-copy {
  max-width: none;
}

.band--stack-top .band-inner {
  align-items: start;
}

.band--stack-top .band-media {
  padding-top: 0.5rem;
}

.band-diamonds {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  justify-content: center;
}

.band-diamonds--pair {
  width: 100%;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.diamond-pair {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(16rem, 38vw, 24rem);
  gap: clamp(1rem, 4vw, 2.5rem);
}

.diamond.diamond--pair {
  position: relative;
  left: auto;
  top: auto;
  width: min(46vw, 22rem);
  height: min(46vw, 22rem);
  flex: 0 0 auto;
  z-index: 1;
}

.diamond.diamond--pair:first-child {
  translate: 0 0.6rem;
  z-index: 1;
}

.diamond.diamond--pair:last-child {
  translate: 0 -0.6rem;
  z-index: 2;
}

.diamond.diamond--pair:first-child img {
  object-position: 58% 42%;
}

.diamond.diamond--pair:last-child img {
  object-position: 48% 55%;
}

.js .band.is-in .diamond.diamond--pair:first-child {
  animation: diamond-settle 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .band.is-in .diamond.diamond--pair:last-child {
  animation: diamond-settle 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.band--copy-right .band-copy {
  justify-self: end;
  text-align: left;
}

.band-copy h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.band-copy p {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
}

.band-copy p:last-child {
  margin-bottom: 0;
}

.band-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 0.55rem !important;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-hot) !important;
}

.band-copy .lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink) !important;
}

.band-link {
  margin-top: 1.35rem !important;
}

.band-link a {
  color: var(--ember-hot);
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(232, 163, 60, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.band-link a:hover {
  color: #f0c06a;
  border-bottom-color: rgba(240, 192, 106, 0.7);
}

.band-media {
  display: flex;
  justify-content: center;
  min-height: clamp(16rem, 38vw, 22rem);
}

/* Carrés superposés (section Appel) */
.square-stack {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
}

.square-tile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 224, 212, 0.2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  background: #12100e;
}

.square-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.square-tile--1 {
  width: 48%;
  height: 48%;
  left: 4%;
  top: 10%;
  z-index: 2;
  transform: rotate(-7deg);
}

.square-tile--2 {
  width: 44%;
  height: 44%;
  left: 48%;
  top: 4%;
  z-index: 3;
  transform: rotate(5deg);
}

.square-tile--3 {
  width: 56%;
  height: 56%;
  left: 28%;
  top: 34%;
  z-index: 4;
  transform: rotate(-2deg);
}

.square-tile--4 {
  width: 42%;
  height: 42%;
  left: 2%;
  top: 52%;
  z-index: 1;
  transform: rotate(8deg);
}

.square-tile--1 img { object-position: 50% 18%; }
.square-tile--2 img { object-position: 50% 28%; }
.square-tile--3 img { object-position: 50% 45%; }
.square-tile--4 img { object-position: 50% 40%; }

.js .band.is-in .square-tile--1 {
  animation: square-fade 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .band.is-in .square-tile--2 {
  animation: square-fade 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.js .band.is-in .square-tile--3 {
  animation: square-fade 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.js .band.is-in .square-tile--4 {
  animation: square-fade 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes square-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fond image décalé + bords en fondu (section Intention) */
.band--soft-bleed {
  position: relative;
  overflow: visible;
}

.band--soft-bleed .band-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
  align-items: start;
}

.band--soft-bleed .band-copy {
  position: relative;
  z-index: 2;
}

.band--soft-bleed .band-media {
  justify-content: flex-end;
  align-items: flex-start;
  min-height: clamp(16rem, 36vw, 24rem);
  overflow: visible;
  padding-top: 0.35rem;
}

.band--soft-bleed-left .band-media {
  justify-content: flex-start;
}

.soft-bleed {
  position: relative;
  margin: 0;
  width: min(140%, 42rem);
  aspect-ratio: 4 / 3;
  translate: 10% -2%;
  pointer-events: none;
}

.band--soft-bleed-left .soft-bleed {
  translate: -6% -2%;
}

.soft-bleed--wide {
  width: min(130%, 44rem);
  aspect-ratio: 16 / 9;
}

.soft-bleed img {
  display: block;
  width: 118%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  object-position: 40% 45%;
  position: absolute;
  left: -6%;
  top: -6%;
  opacity: 0.9;
  filter: saturate(0.95) contrast(1.08) brightness(0.92);
  -webkit-mask-image: radial-gradient(
    ellipse 72% 66% at 48% 46%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 72% 66% at 48% 46%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 80%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.soft-bleed--wide img {
  object-fit: contain;
  object-position: center;
  width: 108%;
  height: 108%;
  left: -4%;
  top: -4%;
  filter: saturate(1) contrast(1.04) brightness(0.95);
  -webkit-mask-image: radial-gradient(
    ellipse 82% 74% at 50% 50%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 86%
  );
  mask-image: radial-gradient(
    ellipse 82% 74% at 50% 50%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 86%
  );
}

.js .band.is-in .soft-bleed img {
  animation: soft-bleed-in 1.1s ease both;
}

.js .band--soft-bleed-left.is-in .soft-bleed img {
  animation-name: soft-bleed-in-left;
}

@keyframes soft-bleed-in {
  from {
    opacity: 0;
    transform: translate(1.25rem, 0.4rem) scale(1.03);
  }
  to {
    opacity: 0.9;
    transform: none;
  }
}

@keyframes soft-bleed-in-left {
  from {
    opacity: 0;
    transform: translate(-1.25rem, 0.4rem) scale(1.03);
  }
  to {
    opacity: 0.9;
    transform: none;
  }
}

.diamond-cluster {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
}

.diamond-cluster--mirror {
  transform: scaleX(-1);
}

.diamond-cluster--mirror .diamond img {
  transform: rotate(-45deg) scaleX(-1);
}

.diamond {
  position: absolute;
  margin: 0;
  overflow: hidden;
  transform: rotate(45deg);
  border: 1px solid rgba(232, 224, 212, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: #1a1612;
}

.diamond img {
  display: block;
  width: 150%;
  height: 150%;
  max-width: none;
  object-fit: cover;
  transform: rotate(-45deg);
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  filter: saturate(0.92) contrast(1.05);
}

.diamond--lg {
  width: 58%;
  height: 58%;
  left: 22%;
  top: 20%;
  z-index: 2;
}

.diamond--md {
  width: 38%;
  height: 38%;
  left: 58%;
  top: 8%;
  z-index: 3;
}

.diamond--sm {
  width: 30%;
  height: 30%;
  left: 8%;
  top: 58%;
  z-index: 1;
}

.diamond-cluster--solo {
  display: grid;
  place-items: center;
}

.diamond--solo {
  position: relative;
  left: auto;
  top: auto;
  width: 72%;
  height: 72%;
  z-index: 2;
}

.diamond--solo-focus img {
  object-position: 50% 32%;
}

.diamond-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 38rem);
  min-height: clamp(12rem, 28vw, 17rem);
}

.diamond.diamond--row {
  position: relative;
  left: auto;
  top: auto;
  width: clamp(7.5rem, 18vw, 10.5rem);
  height: clamp(7.5rem, 18vw, 10.5rem);
  flex: 0 0 auto;
  margin: 0 -0.85rem;
  z-index: 1;
}

.diamond.diamond--row:nth-child(1) {
  translate: 0 1.1rem;
  z-index: 1;
}

.diamond.diamond--row-lg,
.diamond.diamond--row:nth-child(2) {
  width: clamp(9.5rem, 22vw, 13rem);
  height: clamp(9.5rem, 22vw, 13rem);
  z-index: 3;
  translate: 0 -0.35rem;
}

.diamond.diamond--row:nth-child(3) {
  translate: 0 0.85rem;
  z-index: 2;
}

.js .band.is-in .diamond--solo {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .band.is-in .diamond.diamond--row:nth-child(1) {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .band.is-in .diamond.diamond--row:nth-child(2) {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.js .band.is-in .diamond.diamond--row:nth-child(3) {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.js .band {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .band.is-in {
  opacity: 1;
  transform: none;
}

.js .band.is-in .diamond--lg {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .band.is-in .diamond--md {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.js .band.is-in .diamond--sm {
  animation: diamond-settle 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes diamond-settle {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.88);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .band {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .band.is-in .diamond--lg,
  .js .band.is-in .diamond--md,
  .js .band.is-in .diamond--sm,
  .js .band.is-in .diamond.diamond--row,
  .js .band.is-in .diamond.diamond--pair,
  .js .band.is-in .square-tile,
  .js .band.is-in .soft-bleed img {
    animation: none;
  }
}

.emphasis {
  color: var(--ink) !important;
}

.closing {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink) !important;
  margin-top: 1.5rem !important;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .band-inner,
  .band--copy-right .band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .band--copy-right .band-media {
    order: -1;
  }

  .band-copy,
  .band--copy-right .band-copy {
    max-width: none;
    justify-self: stretch;
  }

  .band-media {
    min-height: 16rem;
  }

  .diamond-cluster {
    width: min(100%, 18rem);
  }

  .diamond-row {
    width: min(100%, 22rem);
    min-height: 11rem;
  }

  .diamond-pair {
    min-height: 14rem;
    gap: 0.75rem;
  }

  .diamond.diamond--pair {
    width: min(40vw, 11.5rem);
    height: min(40vw, 11.5rem);
  }

  .square-stack {
    width: min(100%, 18rem);
  }

  .band--soft-bleed .band-media {
    min-height: 14rem;
    justify-content: center;
  }

  .soft-bleed {
    width: min(100%, 28rem);
    translate: 0 0;
  }

  .soft-bleed--wide {
    width: min(100%, 34rem);
  }

  .band--soft-bleed-left .soft-bleed {
    translate: 0 0;
  }
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta):not([href="#aide"]) {
    display: none;
  }
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem var(--pad-x) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  background: #070605;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

.footer-title {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-note {
  margin-top: 0.4rem !important;
  font-size: 0.85rem !important;
}

/* —— Subpages (journal / collaborer) —— */
.subpage {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 90, 46, 0.08), transparent 55%),
    var(--bg);
}

.subpage-main {
  padding: clamp(5.5rem, 12vw, 7rem) 0 4rem;
}

.subpage-hero {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.subpage-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.subpage-hero .lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08em;
}

.journal-section {
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
  max-width: 42rem;
}

.journal-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
}

.journal-section p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.journal-section p:last-child {
  margin-bottom: 0;
}

.missing-list {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.missing-list li {
  position: relative;
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.missing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ember);
}

/* Progress panel */
.progress-panel {
  margin-bottom: clamp(3rem, 7vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.progress-panel__head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.progress-panel__head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem);
  font-weight: 600;
}

.progress-panel__note {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.95rem;
}

.progress-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 880px) {
  .progress-layout {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 3rem;
  }
}

.progress-ring-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.progress-ring {
  position: relative;
  width: 220px;
  height: 220px;
}

.progress-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

.progress-ring__track {
  fill: none;
  stroke: rgba(232, 224, 212, 0.08);
  stroke-width: 14;
}

.progress-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.progress-ring__value {
  margin: 0;
  line-height: 1;
}

.progress-ring__pct {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.progress-ring__pct-suffix {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-left: 0.05em;
}

.progress-ring__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.progress-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 16rem);
  display: grid;
  gap: 0.45rem;
}

.progress-legend li {
  display: grid;
  grid-template-columns: 0.7rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.progress-legend .swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.progress-legend .leg-pct {
  font-variant-numeric: tabular-nums;
  color: var(--ink-mute);
}

/* Tree */
.progress-tree {
  min-width: 0;
}

.tree-root {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
}

.tree-root__label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.tree-root__pct {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ember-hot);
  font-variant-numeric: tabular-nums;
}

.tree-branches {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid rgba(232, 224, 212, 0.16);
}

.tree-branch {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.1rem;
}

.tree-branch::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 1.45rem;
  width: 1.1rem;
  height: 1px;
  background: rgba(232, 224, 212, 0.16);
}

.tree-branch::after {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 1.28rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--branch, var(--ember));
  box-shadow: 0 0 0 3px var(--bg);
}

.tree-branch__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.tree-branch__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.tree-branch__pct {
  font-variant-numeric: tabular-nums;
  color: var(--ink-mute);
  font-size: 0.95rem;
}

.tree-branch__short {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

.tree-branch__bar {
  height: 3px;
  background: rgba(232, 224, 212, 0.08);
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.tree-branch__bar span {
  display: block;
  height: 100%;
}

.tree-branch__status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Pillar summaries */
.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pillar-card {
  padding: 1rem 0 1rem 0.9rem;
  border-left: 2px solid var(--pillar, var(--ember));
}

.pillar-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.pillar-card h3 span {
  color: var(--ink-mute);
  font-weight: 500;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.pillar-card ul {
  margin: 0;
  padding: 0 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pillar-card li {
  margin-bottom: 0.3rem;
}

.pillar-card--ghost {
  border-left-style: dashed;
  opacity: 0.95;
}

/* Chronique */
.chrono {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.chrono > li {
  display: grid;
  gap: 0.35rem 1.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 560px) {
  .chrono > li {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }
}

.chrono time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  padding-top: 0.2rem;
}

.chrono h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.chrono p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.journal-cta {
  margin-top: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}

.journal-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem);
  font-weight: 600;
}

.journal-cta p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

/* Collaborer */
.collab-needs {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.collab-needs li {
  margin: 0 0 0.75rem;
  padding-left: 0;
  color: var(--ink-soft);
}

.form-lead {
  margin-bottom: 1.5rem !important;
  color: var(--ink-mute) !important;
  font-size: 0.95rem;
}

.collab-form {
  max-width: 34rem;
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-row label,
.form-row legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: rgba(232, 224, 212, 0.04);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 1px solid rgba(232, 163, 60, 0.55);
  border-color: rgba(232, 163, 60, 0.4);
}

.form-row textarea {
  resize: vertical;
  min-height: 9rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.chip:has(input:checked) {
  border-color: rgba(232, 163, 60, 0.5);
  background: rgba(196, 90, 46, 0.12);
  color: var(--ink);
}

.chip input {
  accent-color: var(--ember);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.form-actions .btn {
  cursor: pointer;
  font: inherit;
}

.form-status {
  margin: 0;
  color: var(--ember-hot);
  font-size: 0.92rem;
}

.subpage .site-nav {
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.92), rgba(10, 9, 8, 0.55), transparent);
}

.subpage .nav-links a[aria-current="page"] {
  color: var(--ink);
}

