@font-face {
  font-family: "DM Sans";
  src: url('/assets/dm-sans-latin.woff2') format('woff2');
  font-display: swap;
  font-weight: 300 700;
}

body[data-page="/"] {
  --sans: "DM Sans", Manrope, system-ui, sans-serif;
  --night: #161620;
  --cream: #fff0e1;
  --peach: #f3b58d;
  --cool: #bacdd2;
  --space: clamp(1.5rem, 7.5vw, 9rem);
  --horizon-palette: radial-gradient(ellipse at 81% 67%, #546d77, transparent 48%),
    radial-gradient(ellipse at 70% 30%, #704159, transparent 58%), #241b31;
  background: var(--night);
  color: var(--cream);
}

body[data-page="/"] .site-header,
body[data-page="/"] .site-header.is-scrolled {
  color: var(--cream);
  background: linear-gradient(to bottom, #11101888, transparent);
}

body[data-page="/"]:is(.release-paper-header, :has(.scene-vision[data-active][data-pale-header])) .site-header {
  color: #422b36;
  background: linear-gradient(to bottom, #f5e8dee8, transparent);
}

body[data-page="/"]:is(.release-paper-header, :has(.scene-vision[data-active][data-pale-header])) .site-header :is(.sound-toggle, .current-chapter) { color: #653e49; }

body[data-page="/"].release-last-visible .site-header {
  color: #422b36;
  background: linear-gradient(to bottom, #f1e4dce8, transparent);
}

body[data-page="/"].release-last-visible .current-chapter { color: #653e49; }

body[data-page="/"]:is(.release-paper-header, .release-last-visible, :has(.scene-vision[data-active][data-pale-header])) .site-header .release-wordmark {
  filter: brightness(.42) saturate(.68) hue-rotate(315deg);
}

.rebirth-story { background: var(--night); }
.rebirth-stage { position: relative; }
.rebirth-story[data-enhanced] { height: calc((var(--scene-weight, 11.5) + 1) * 100svh); }

[data-enhanced] .rebirth-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  isolation: isolate;
  overflow: clip;
}

[data-enhanced] .rebirth-stage::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background:
    radial-gradient(circle clamp(9rem, 21vw, 25rem) at var(--light-x, 50%) var(--light-y, 50%), #ffe4b810, transparent 95%),
    radial-gradient(circle 15px at var(--light-x, 50%) var(--light-y, 50%), transparent 13px, #f7d4a624 14px, transparent 15px);
}

[data-enhanced] .rebirth-stage[data-pointer-light]::after { opacity: 1; }

.rebirth-scene {
  position: relative;
  min-height: max(38rem, 100svh);
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: clip;
}

[data-enhanced] .rebirth-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: var(--scene-opacity, 0);
}

[data-enhanced] .rebirth-scene[data-active] { z-index: 1; }
[data-enhanced] .rebirth-scene:not([data-visible]) { visibility: hidden; }
[data-enhanced] :is(.opening-copy, .opening-welcome, .research-ribbon, .passage-copy, .principle-layout, .release-voices, .closing-layout) {
  opacity: var(--copy-opacity, 1);
}
.rebirth-story:not([data-enhanced]) .story-index { display: none; }

.story-index {
  position: absolute;
  z-index: 4;
  inset: auto 0 max(.65rem, env(safe-area-inset-bottom)) 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.story-index a {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(24px, 3vw, 42px);
  height: 43px;
  pointer-events: auto;
  color: #fff1df;
}

.story-index span {
  position: absolute;
  bottom: 100%;
  white-space: nowrap;
  background: #291e2acc;
  color: var(--cream);
  padding: .35rem .6rem;
  border-radius: .25rem;
  font-size: .75rem;
  opacity: 0;
  pointer-events: none;
}

.story-index a:is(:hover, :focus-visible) span { opacity: 1; }

.story-index i {
  border-radius: 5px;
  background: currentColor;
  opacity: .55;
  height: 4px;
  width: 4px;
  transition: transform .28s ease, opacity .28s ease;
}

.story-index a:is([aria-current], :hover, :focus-visible) i {
  opacity: 1;
  transform: scaleX(3.5);
}

:is(.release-paper-header, :has(.scene-vision[data-active][data-pale-header])) .story-index a { color: #632e41; }

.story-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin-inline: var(--space);
}

.story-copy h1, .story-copy h2 {
  font-size: clamp(2.75rem, 6.15vw, 6rem);
  font-weight: 365;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.story-copy > p {
  max-width: 40ch;
  margin-top: clamp(1rem, 2.6vh, 1.9rem);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.56;
  text-wrap: pretty;
}

.story-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: .9rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .44em;
}

.story-link:hover { color: var(--peach); }
.release-action {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .72rem 1.3rem;
  font-size: .88rem;
  font-weight: 650;
  color: #301f2c;
  background: #efd1bb;
  border: 1px solid #efd1bb;
  border-radius: 999px;
  text-decoration: none;
}

.release-action:hover { background: #fff0de; color: #301f2c; }

.scene-vision { background: #eee4db; color: #382733; }

.vision-horizon {
  position: absolute;
  inset: 0;
  background: var(--horizon-palette);
  --horizon-rise: clamp(0, calc((var(--scene-progress, 0) - .48) / .52), 1);
  clip-path: ellipse(113% 150% at 50% calc(254% - 169% * var(--horizon-rise)));
}

.rebirth-story:not([data-enhanced]) .vision-horizon {
  clip-path: ellipse(90% 110% at 50% 193%);
}

.vision-copy {
  position: relative;
  justify-self: center;
  max-width: min(84%, 57rem);
  margin-block: 3rem;
  text-align: center;
}

.vision-copy h2 {
  margin-bottom: 1.25rem;
  color: #724754;
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}

.vision-copy p {
  font-size: clamp(1.55rem, 3.25vw, 3.1rem);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.vision-copy a {
  display: inline-flex;
  margin-top: 1.4rem;
  min-height: 44px;
  align-items: center;
  gap: .25em;
  color: #704653;
  font-size: .86rem;
  text-underline-offset: .26em;
}

[data-enhanced] .vision-copy {
  --rise: clamp(0, calc((var(--scene-progress, 0) - .20) / .34), 1);
  transform: translateY(calc(-46svh * var(--rise)));
  opacity: calc(var(--copy-opacity, 1) * clamp(0, calc((.54 - var(--scene-progress, 0)) / .24), 1));
}

.orbit-field { width: 100%; height: 100%; display: block; fill: none; stroke: #f5ccbc; stroke-width: .8; opacity: .26; }
.scene-rythme, .scene-harmonie { background: var(--horizon-palette); }
.disorder-art, .spirals { position: absolute; inset: 0; pointer-events: none; }
.rhythm-art { display: none; }
[data-enhanced] .rhythm-art {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  visibility: hidden;
  opacity: var(--rhythm-opacity, 0);
  background: var(--horizon-palette);
}
[data-enhanced] .rhythm-art[data-visible] { visibility: visible; }
[data-enhanced] :is(.scene-rythme, .scene-harmonie) { background: transparent; }
[data-enhanced] :is(.scene-rythme .disorder-art, .scene-harmonie .spirals) { display: none; }
.rhythm-orbit {
  stroke: #f5ccbc;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.vision-horizon .rhythm-orbit { opacity: .26; }
.vision-horizon .golden-base { opacity: .43; }
.rhythm-art .golden-grid > path { vector-effect: non-scaling-stroke; }
.rhythm-art:not([data-formed]) .golden-beam {
  animation: none;
  stroke-dashoffset: var(--rhythm-beam-offset, .17);
  opacity: var(--rhythm-glint, 0);
}

.disorder-art .orbit-field {
  transform: scale(calc(1 + .085 * var(--scene-progress, .45))) rotate(calc(3deg * var(--scene-progress, .45)));
  transform-origin: 80% 36%;
}

.passage-copy {
  align-self: end;
  margin-bottom: clamp(4.8rem, 10svh, 8rem);
}

.story-copy .passage-title {
  margin-top: clamp(.8rem, 2.8vh, 1.75rem);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.passage-title::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--peach);
}
.passage-copy > p {
  max-width: 33ch;
  margin-top: 0;
  color: #ffe9db;
  font-size: clamp(1.15rem, 2.05vw, 2.32rem);
  font-weight: 365;
  line-height: 1.24;
  letter-spacing: -.021em;
}

.harmony-copy { text-shadow: 0 1px 6px #241b31; }
[data-enhanced] .scene-rythme .passage-copy {
  --copy-fade: clamp(0, calc((var(--scene-progress, 0) - .79) / .15), 1);
  opacity: calc(var(--copy-opacity, 1) * (1 - var(--copy-fade)));
  transform: translateY(calc(-12px * var(--copy-fade)));
}
[data-enhanced] .harmony-copy {
  --copy-enter: clamp(0, calc((var(--scene-progress, 0) - .04) / .14), 1);
  opacity: calc(var(--copy-opacity, 1) * var(--copy-enter));
  transform: translateY(calc(12px * (1 - var(--copy-enter))));
}

.spirals { container-type: size; }
.golden-spiral {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  overflow: visible;
  fill: none;
  transform: translate(-50%, -50%);
}

.golden-grid, .golden-base { vector-effect: non-scaling-stroke; }
.golden-grid { stroke: #f5c9af; stroke-width: .8; opacity: .26; }
.golden-base { stroke: #ffe1cd; stroke-width: 1; opacity: .48; }
.golden-beam {
  stroke: #f5d6ad;
  stroke-width: .11;
  stroke-linecap: round;
  stroke-dasharray: .17 1.2;
  stroke-dashoffset: .06;
  filter: blur(.25px) drop-shadow(0 0 6px #f2ad7677);
  animation: spiral-travel 5.7s linear infinite;
}
@keyframes spiral-travel {
  from { stroke-dashoffset: .17; }
  to { stroke-dashoffset: -1.01; }
}

[data-enhanced] .scene-harmonie:not([data-active]) .golden-beam { animation-play-state: paused; }

.scene-reperes {
  background: radial-gradient(ellipse at 74% 41%, #4e414f, transparent 68%), linear-gradient(111deg, #251c31, #303640);
}

.research-ribbon {
  --bubble-size: clamp(9rem, 19vw, 18rem);
  position: absolute;
  inset: max(calc(var(--header) + 8px), calc(43svh - var(--bubble-size) / 2)) 0 auto;
}

.research-nodes {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.5vw, 1.6rem);
  padding: .6rem var(--space);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: auto;
}

.research-nodes::-webkit-scrollbar { display: none; }
.research-nodes a {
  position: relative;
  width: var(--bubble-size);
  aspect-ratio: 1;
  flex: none;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .75rem;
  border-radius: 50%;
  border: 1px solid #ead1c24e;
  padding: .85rem;
  text-align: center;
  text-decoration: none;
  font-weight: 450;
  font-size: clamp(.85rem, 1.38vw, 1.2rem);
  line-height: 1.35;
  color: #fff0e1;
  background: radial-gradient(ellipse at 51% 71%, #9c46644f, transparent 73%) center / 100% 100% no-repeat;
  background-size: 0 0;
  transition: background-size .44s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
.research-nodes a:is(:hover, :focus-visible, [aria-expanded="true"]) {
  border-color: #e9a3a684;
  background-size: 100% 100%;
  box-shadow: inset 0 0 28px #e6889438, 0 0 22px #ac486724;
}
.research-connector { flex: none; color: #edd0c5; opacity: .54; font-size: 1.14rem; }
.research-cross {
  position: absolute;
  inset: 68% auto auto 50%;
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .26s ease;
  background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 100% no-repeat;
}
.research-nodes a:is(:hover, :focus-visible, [aria-expanded="true"]) .research-cross { opacity: 1; }

.research-details {
  width: min(45vw, 53rem);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 1.25rem clamp(1.35rem, 4.4vw, 5rem) 3rem;
  border: 0;
  background: #fffdf9;
  color: #3d2938;
  overscroll-behavior: contain;
}
.research-details[open] { animation: drawer-in .42s var(--ease) both; }
.research-details::backdrop { background: #24172369; }
.research-details form { display: flex; justify-content: flex-end; }
.research-details form button {
  min-height: 44px;
  padding: .5rem 0 .5rem .65rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .91rem;
}
.research-details form span { padding-left: .3rem; font-size: 1.1rem; }
.research-details article header { margin: clamp(2rem, 10svh, 7rem) 0 2.2rem; }
.research-details header h2 {
  max-width: 17ch;
  font-size: clamp(2.1rem, 4.15vw, 4.9rem);
  font-weight: 365;
  line-height: 1.03;
  outline: none;
}
.research-details header p { margin-top: 1.15rem; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.research-expand { display: inline-flex; align-items: center; gap: .65em; min-height: 44px; margin-top: .55rem; color: #6d374c; text-underline-offset: .32em; }
.research-prose { display: grid; gap: 1.4rem; }
.research-prose h2 { margin-bottom: .52rem; font-size: 1.2rem; font-weight: 650; line-height: 1.22; }
.research-prose p { font-size: .97rem; }
.research-prose aside { display: grid; gap: .4rem; margin-block-start: .85rem; font-size: .86rem; }
.research-controls { display: flex; gap: .4rem; margin: .25rem var(--space) 0; justify-content: flex-end; }
.research-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--cream);
  border: 1px solid #ead1c250;
  border-radius: 50%;
}
.research-controls button:hover { background: #eed3bf12; }
.research-copy { pointer-events: none; }

.scene-ensemble { background: radial-gradient(ellipse at 74% 53%, #674352, transparent 66%), #2a243e; }

.union-art {
  position: absolute;
  width: min(66vw, 102svh, 64rem);
  aspect-ratio: 1;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  pointer-events: none;
}

.union-flower {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
}

.union-flower-base { stroke: #f0ba9e; stroke-width: .78; opacity: .5; }
.union-flower-current {
  stroke: #ffebc9;
  stroke-width: 1.35;
  stroke-linecap: round;
  opacity: .93;
  filter: drop-shadow(0 0 5px #ffbf7d85);
  animation: petal-travel 21s linear infinite;
}

@keyframes petal-travel {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1; }
}
[data-enhanced] .scene-ensemble:not([data-active]) .union-flower-current { animation-play-state: paused; }

.union-copy { max-width: 35rem; }
.story-source { margin-top: .75rem; color: #f6d2bd; display: block; width: fit-content; }

.scene-trois-temps { color: #3d2d37; background: radial-gradient(ellipse at 71% 40%, #f4dccc, transparent 63%), #f3ece4; }


.scene-cadre { background: radial-gradient(ellipse at 63% 90%, #52374f, transparent 65%), #211a32; }
.principle-layout {
  width: min(calc(100% - var(--space) * 2), 78rem);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7.5rem);
}

.principle-copy h2 {
  font-size: clamp(2.6rem, 5.7vw, 6rem);
  line-height: 1.06;
  font-weight: 365;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.principle-copy > p {
  margin-top: 1.2rem;
  color: #f7decf;
  max-width: 32ch;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
}

.principle-list {
  --timeline-color: #ffd2a5;
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 clamp(1.2rem, 3.6vw, 3rem);
  display: grid;
  grid-auto-rows: 1fr;
}

.principle-list::before,
.principle-list::after {
  position: absolute;
  z-index: 1;
  inset: .66em auto calc(100% / 3 - .67em) 0;
  width: 1px;
  content: "";
  pointer-events: none;
}
.principle-list::before { background: #fad8c655; }
.principle-list::after {
  background: linear-gradient(to bottom, transparent, var(--timeline-color) 50%, transparent);
  background-size: 100% 28%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 4px var(--timeline-color));
  animation: principle-travel 6.6s linear infinite;
}
.principle-list li { position: relative; padding-bottom: clamp(1rem, 3.5vh, 2.8rem); }
.principle-list li:last-child { padding-bottom: 0; }
.principle-list li::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: .49em;
  left: calc(-1 * clamp(1.2rem, 3.6vw, 3rem) - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c69685;
  animation: principle-point 6.6s infinite;
  animation-delay: calc(var(--stop) * 2.57s);
}
@keyframes principle-travel {
  from { background-position: center -39%; }
  to { background-position: center 139%; }
}
@keyframes principle-point {
  0%, 18%, 100% { background: #c69685; box-shadow: none; }
  10%, 12% { background: #fff2d5; box-shadow: 0 0 10px 2px #ffd2a550; }
}
[data-enhanced] .scene-cadre:not([data-active]) :is(.principle-list::after, .principle-list li::before) { animation-play-state: paused; }
.principle-list h3 { font-size: clamp(1.14rem, 1.85vw, 1.72rem); line-height: 1.26; font-weight: 600; }
.principle-list p { margin-top: .6rem; max-width: 37ch; color: #f7decf; font-size: clamp(.94rem, 1.22vw, 1.11rem); }
.principle-number { margin-right: .7em; font-size: .55em; letter-spacing: .075em; color: #f2bca3; vertical-align: .22em; }
.principle-links { display: flex; flex-wrap: wrap; gap: .15rem .9rem; margin-top: .4rem; }
.principle-links a, .principle-journal {
  display: inline-flex;
  gap: .36em;
  align-items: center;
  min-height: 27px;
  color: #ffdec8;
  font-size: .83rem;
  text-underline-offset: .27em;
}
.principle-journal { margin-top: .65rem; }

.scene-temoignages { background: radial-gradient(ellipse at 67% 86%, #53566c, transparent 62%), #201b31; }
.release-last {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7.5rem);
  min-height: 84svh;
  padding: max(var(--header), 6rem) var(--space) 5rem;
  background: radial-gradient(ellipse at 25% 18%, #e6c1b3, transparent 64%), #f2e8df;
  color: #372534;
}
.release-last-photo {
  height: min(53svh, 34rem);
  overflow: hidden;
  border-radius: 49% 49% 2px 2px / 22% 22% 2px 2px;
  background: #beaca6;
}
.release-last-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.release-last-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 5.2vw, 5.75rem);
  font-weight: 365;
  line-height: 1;
  letter-spacing: -.045em;
}
.release-last-copy p { max-width: 34ch; margin: 1.1rem 0 1.65rem; font-size: clamp(1rem, 1.55vw, 1.3rem); }
.release-last-copy .release-action { gap: .65rem; background: #382a40; color: #fff0e1; border-color: #382a40; }
.release-last-copy .release-action:hover { background: #4d374c; }

@media (max-width: 700px) {
  .rebirth-scene { min-height: max(37rem, 100svh); }
  .story-copy h2 { font-size: clamp(2.1rem, 8.3vw, 3.4rem); }
  .story-copy > p { font-size: .99rem; margin-top: .95rem; }
  .story-index a { width: clamp(25px, 7.2vw, 35px); }
  .story-index span { display: none; }
  .passage-copy { margin-bottom: clamp(4.6rem, 14svh, 7.2rem); }
  .vision-copy { max-width: 89%; }
  .vision-copy p { font-size: clamp(1.45rem, 5.6vw, 2.35rem); }
  .research-ribbon { --bubble-size: clamp(7.6rem, 37vw, 11.25rem); inset-block-start: max(5rem, calc(40svh - var(--bubble-size) / 2)); }
  .research-details { width: 100%; }
  .research-copy { margin-bottom: 4.5rem; }
  .story-copy .passage-title { font-size: .67rem; }
  .principle-layout { padding-block: 5rem 3rem; }
  .principle-copy > p { margin-top: .6rem; }
  .principle-list { margin-top: 1.2rem; }
  .principle-list li { padding-bottom: .8rem; }
  .union-copy > p { max-width: 36ch; }
  .union-art { width: min(93vw, 52svh); top: 36%; right: 3%; }
  .union-copy { max-width: 36rem; margin-bottom: 4.75rem; }
  .story-source { min-height: 0; margin-top: .65rem; font-size: .83rem; }
  .principle-layout { display: block; margin: 0 auto; padding-block: 2rem; }
  .principle-copy h2 { font-size: clamp(1.8rem, 7.5vw, 2.7rem); }
  .principle-list p { font-size: .91rem; margin-top: .25rem; }
  .release-last { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 4rem; }
  .release-last-photo { height: clamp(13rem, 58vw, 24rem); }
}

@media (orientation: portrait) {
  .golden-spiral {
    width: calc(100cqh - 2px);
    height: calc(100cqw - 2px);
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  .golden-beam { stroke-width: .23; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .research-ribbon { inset-block-start: max(4.8rem, calc(35svh - var(--bubble-size) / 2)); }
  .research-copy { margin-bottom: 3.4rem; }
  .union-copy { margin-bottom: 3.55rem; }
  .union-art { top: 33%; }
  .principle-layout { padding: 4.4rem 0 2.6rem; }
  .principle-copy h2 { font-size: clamp(1.65rem, 7.1vw, 2.65rem); }
  .principle-copy > p { max-width: none; font-size: .86rem; line-height: 1.3; }
  .principle-list { margin-top: .65rem; }
  .principle-list li { padding-bottom: .56rem; }
  .principle-list h3 { font-size: 1.06rem; }
  .principle-list p { margin-top: .26rem; font-size: .83rem; line-height: 1.35; }
  .principle-links { column-gap: .4rem; margin-top: .13rem; }
  .principle-links a, .principle-journal { min-height: 24px; font-size: .74rem; }
  .principle-journal { margin-top: .25rem; }
}

@media (max-width: 360px) and (max-height: 650px) {
  .principle-copy > p { display: none; }
  .principle-list li { padding-bottom: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vision-copy, .disorder-art .orbit-field { transform: none; }
  .golden-beam, .union-flower-current, .principle-list::after, [data-enhanced] .rebirth-stage::after { display: none; }
}

[data-enhanced] :is(.rebirth-scene, .rhythm-art) {
  transform: translate3d(0, calc(var(--sheet-y, 0) * 100%), 0);
}
.research-nodes { position: relative; }
.research-light {
  position: absolute;
  inset: -25% -13% -25% 24%;
  pointer-events: none;
  background: radial-gradient(ellipse at var(--research-light-x, 77%) var(--research-light-y, 47%),
    #a4cada64, #8096b546 24%, #9e667138 43%, transparent 66%);
  transform-origin: 80% 45%;
  animation: research-light-drift 19s ease-in-out infinite alternate;
}
@keyframes research-light-drift {
  0% { opacity: .46; transform: translate(15%, 6%) rotate(7deg); }
  38% { opacity: .85; transform: translate(5%, -10%) rotate(-8deg); }
  68% { opacity: .55; transform: translate(12%, 2%) rotate(4deg); }
  100% { opacity: .95; transform: translate(-10%, 10%) rotate(-4deg); }
}
.scene-reperes:not([data-active]) .research-light { animation-play-state: paused; }
.union-flower-current { stroke-width: 1.95; }
.union-copy .story-source { font-size: .82rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .research-light { animation: none; }
}
[data-enhanced] .vision-copy {
  --vision-sharp: clamp(0, calc(var(--scene-progress, 0) / .14 + .44), 1);
  filter: blur(calc((1 - var(--vision-sharp)) * 5px + var(--rise, 0) * 3px));
  translate: 0 calc((1 - var(--vision-sharp)) * 28px);
}


body[data-page="/"]:has([data-triangle-slide]) .site-header {
  color: #3d2d37;
  background: linear-gradient(#eee4dce6, transparent);
}
body[data-page="/"]:has([data-triangle-slide]) .site-header :is(.sound-toggle, .current-chapter) { color: #653e49; }
body[data-page="/"]:has([data-triangle-slide]) .site-header .release-wordmark {
  filter: brightness(.42) saturate(.68) hue-rotate(315deg);
}
body[data-page="/"]:has([data-opening-slide]) .site-header {
  color: var(--cream);
  background: linear-gradient(#1b1928d9, transparent);
}
body[data-page="/"]:has([data-opening-slide]) .site-header :is(.sound-toggle, .current-chapter) { color: var(--cream); }
body[data-page="/"]:has([data-opening-slide]) .site-header .release-wordmark { filter: none; }

/* ---------- Ajustements du 23/11 (retours de Benjamin, référence Amaterasu) ---------- */
/* Police : Hanken Grotesk, la plus proche de TWK Lausanne en libre ; DM Sans pour les petits libellés. */
body[data-page="/"] { --sans: "Hanken Grotesk", "DM Sans", Manrope, system-ui, sans-serif; --label: "DM Sans", Manrope, system-ui, sans-serif; }
body[data-page="/"] :is(.passage-title, .opening-cta, .story-source, .principle-number) { font-family: var(--label); }

/* Reflets lumineux qui passent lentement sur toutes les scènes */
[data-enhanced] .rebirth-stage::before {
  content: ""; position: absolute; z-index: 2; inset: -20%; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 26% at 22% 30%, #ffe2c955, transparent 70%),
    radial-gradient(ellipse 34% 30% at 78% 70%, #b9d3e255, transparent 70%),
    radial-gradient(ellipse 22% 18% at 60% 18%, #f5c6d544, transparent 70%);
  mix-blend-mode: soft-light;
  animation: release-reflets 24s ease-in-out infinite alternate;
}
@keyframes release-reflets {
  0% { transform: translate3d(-4%, 2%, 0) scale(1); opacity: .55; }
  50% { opacity: .95; }
  100% { transform: translate3d(5%, -3%, 0) scale(1.08); opacity: .6; }
}

/* « Le souffle est une porte » aligné à droite, le bouton sur le même axe */
.opening-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; width: max-content; }
.opening-welcome {
  width: min(30ch, 24vw); text-shadow: none;
  padding-left: 1.5rem; border-left: 1px solid #fff0e130;
  font: 400 clamp(.98rem, 1.1vw, 1.15rem)/1.55 var(--sans); color: #f6e6da;
}
.opening-welcome-label {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
  font: 650 .66rem/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: #fff0e1;
}
.opening-welcome-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--peach); }

/* Le halo du rectangle d'or accélère en montant et ralentit en arrivant au cœur */
.golden-beam { animation: spiral-travel 6.6s cubic-bezier(.6, 0, .22, 1) infinite; }

/* Cercles des recherches : libellés en petites capitales espacées, comme Amaterasu */
.research-nodes a {
  font: 650 clamp(.6rem, .78vw, .72rem)/1.45 var(--label);
  letter-spacing: .18em; text-transform: uppercase;
  border-color: #ead1c23a; padding: 1.6rem;
}
.research-connector { font-size: 1rem; opacity: .7; }

/* « À chacun sa façon d'entrer dans le souffle » arrive dans le flou */
[data-enhanced] .scene-cadre :is(.principle-copy, .principle-list) {
  --in: clamp(0, calc((var(--scene-progress, 0) + .02) / .2), 1);
  opacity: calc(.15 + .85 * var(--in));
  filter: blur(calc(12px * (1 - var(--in))));
}

@media (max-width: 760px) {
  .opening-copy { align-items: flex-start; text-align: left; width: auto; }
  .opening-welcome { width: auto; }
}

/* ---------- Ajustements du 23/11, soir ---------- */
/* La femme plus petite, comme le visage d'Amaterasu */
@media (max-width: 700px) { body[data-page="/"] .scene-le-souffle .opening-portrait { width: min(92vw, 60svh); inset: 9svh auto auto 54%; } }

/* Cercles plus hauts, plus espacés ; le texte plus petit, plus large, plus bas */
@media (min-width: 701px) {
  .research-ribbon { --bubble-size: clamp(9.5rem, 17.6vw, 17rem); inset-block-start: max(calc(var(--header) + 8px), calc(37svh - var(--bubble-size) / 2)); }
  .research-nodes { gap: clamp(1.4rem, 3.4vw, 3.6rem); }
  .research-copy { max-width: 52rem; margin-bottom: clamp(2.6rem, 6svh, 4.4rem); }
  .research-copy > p { font-size: clamp(1.05rem, 1.65vw, 1.85rem); max-width: 40ch; }
}
/* Une lueur qui passe d'un cercle à l'autre, même sans la souris */
.research-nodes a::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 75%, #c46d8a55, transparent 68%);
  box-shadow: inset 0 0 26px #e6889430;
  opacity: 0; animation: node-glow 12s ease-in-out infinite;
}
.research-nodes a:nth-of-type(2)::before { animation-delay: 2s; }
.research-nodes a:nth-of-type(3)::before { animation-delay: 4s; }
.research-nodes a:nth-of-type(4)::before { animation-delay: 6s; }
.research-nodes a:nth-of-type(5)::before { animation-delay: 8s; }
.research-nodes a:nth-of-type(6)::before { animation-delay: 10s; }
@keyframes node-glow { 0%, 100% { opacity: 0; } 9% { opacity: 1; } 22% { opacity: 0; } }

/* ---------- Ajustements du 24/11 ---------- */
/* Une lueur qui se déplace à droite, grossit et rétrécit, derrière « Quand tout s'accélère » et « Retrouver son rythme » */
[data-enhanced] .rhythm-art::after {
  content: ""; position: absolute; pointer-events: none;
  width: 46vmax; height: 46vmax; right: -6vmax; top: 8vh; border-radius: 50%;
  background: radial-gradient(circle, #f4b9a855 0, #c47a8c33 30%, #6d6f9a1a 55%, transparent 70%);
  filter: blur(18px); mix-blend-mode: screen;
  animation: rhythm-glow 17s ease-in-out infinite alternate;
}
@keyframes rhythm-glow {
  0% { transform: translate3d(0, 0, 0) scale(.72); opacity: .55; }
  30% { transform: translate3d(-9vw, 14vh, 0) scale(1.08); opacity: .95; }
  60% { transform: translate3d(-3vw, 34vh, 0) scale(.86); opacity: .7; }
  100% { transform: translate3d(-14vw, 20vh, 0) scale(1.18); opacity: .9; }
}

/* Ouverture façon Amaterasu : buste entier qui se découvre en descendant, visage grand,
   titre posé dans les cheveux, texte qui monte plus vite que la photo. */
@media (min-width: 701px) and (min-aspect-ratio: 1/1) {
  body[data-page="/"] .scene-le-souffle .opening-portrait {
    --w: min(124svh, 78vw);
    --opening-shift: 0px;
    --opening-rise: calc(56svh * var(--scene-progress, 0));
    width: var(--w);
    inset: 4.5svh auto auto calc(64vw - .748 * var(--w));
    -webkit-mask-image: none; mask-image: none;
  }
  body[data-page="/"] .scene-le-souffle .opening-photo img { -webkit-mask-image: linear-gradient(#000 93%, transparent); mask-image: linear-gradient(#000 93%, transparent); }
  body[data-page="/"] .scene-le-souffle .opening-copy {
    position: absolute; z-index: 3; margin: 0;
    right: 71vw; top: 27svh;
    transform: translateY(calc(-82svh * var(--scene-progress, 0)));
  }
  body[data-page="/"] .scene-le-souffle .opening-copy h1 { font-size: clamp(3rem, 5.8vw, 7.4rem); font-weight: 320; line-height: .95; letter-spacing: -.024em; word-spacing: .02em; margin-bottom: .5em; }
  body[data-page="/"] .scene-le-souffle .opening-welcome { transform: translateY(calc(-82svh * var(--scene-progress, 0))); }
  body[data-page="/"] .scene-le-souffle::after { background: linear-gradient(90deg, #171724d9, #1917248a 22%, transparent 48%); }
}

/* Le trait du souffle se perd dans le fond avant le bord de l'écran */
body[data-page="/"] .opening-air path { stroke: url(#opening-air-fade); }

/* Le buste s'arrête plus haut ; le trait se divise en deux poumons faits de dizaines de branches qui s'estompent */
@media (min-width: 701px) and (min-aspect-ratio: 1/1) {
  body[data-page="/"] .scene-le-souffle .opening-portrait { --opening-rise: calc(36svh * var(--scene-progress, 0)); }
}
body[data-page="/"] .opening-air .opening-lung {
  vector-effect: none; stroke: #fff1dc; stroke-width: max(.45px, calc(1.15px - var(--d) * .12px)); stroke-opacity: calc(var(--o) * .62); fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: lung-grow 2.6s calc(1.4s + var(--d) * .32s + var(--i) * .04s) cubic-bezier(.3,.6,.2,1) forwards;
}
body[data-page="/"] .opening-lungs { animation: lung-breathe 7s 4s ease-in-out infinite; }
@keyframes lung-grow { to { stroke-dashoffset: 0; } }
@keyframes lung-breathe { 0%, 100% { opacity: .6; } 45% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body[data-page="/"] .opening-air .opening-lung { animation: none; stroke-dashoffset: 0; } }

/* Fluidité de l'accueil : les reflets ne se mélangent plus à toute la scène (coûteux à chaque image) */
[data-enhanced] .rebirth-stage::before { mix-blend-mode: normal; opacity: .45; will-change: transform; }
[data-enhanced] .rhythm-art::after { mix-blend-mode: normal; will-change: transform; }
.opening-photo { will-change: transform; }
