:root {
  --bg-dark: #050608;
  --bg-light: #fdfaf5;
  --bg-soft: #f6f0e8;
  --accent: #d8b26e;
  --accent-soft: rgba(216, 178, 110, 0.35);
  --text-primary: #1a1a1a;
  --text-muted: #1a1a1d;
  --max-width: min(1100px, 90vw);
  --headline-dark: rgba(255, 255, 255, 0.92);
  --headline-light-ink: #111111;
  --headline-light-beige: #c9a66b;
  --chaos-interval: 500;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-light);
  scroll-behavior: smooth;
  line-height: 1.6;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.eyebrow {
  margin: 0;
  color: #8a682e;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

blockquote {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--accent-soft);
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.05rem, 2.7vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  opacity: 0.82;
}

hr {
  border: none;
  border-top: 1px solid rgba(111, 111, 114, 0.2);
  margin: clamp(1.8rem, 4vw, 2.6rem) 0;
}

main {
  width: 100%;
  overflow-x: hidden;
}

section.panel {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

/* --- Section 1: Intro chaos to clarity --- */
#intro {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  transition: background 2.4s ease;
}

.chaos-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.32) contrast(1.05) saturate(0.9);
}

.chaos-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.chaos-bg.is-visible {
  opacity: 1;
}

#intro .thoughts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.88;
  transition: opacity 1.2s ease;
}

#intro .thoughts span {
  position: absolute;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.65rem, 1.3vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: drift 10s linear infinite;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 40%, 0) scale(0.8);
    opacity: 0;
  }

  15% {
    opacity: 0.7;
  }

  50% {
    transform: translate3d(0, -20%, 0) scale(1.05);
    opacity: 0.9;
  }

  85% {
    opacity: 0;
  }

  100% {
    transform: translate3d(0, -80%, 0) scale(1.1);
    opacity: 0;
  }
}

#intro .intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, #fefefe 0%, #f5f1ea 35%,
      rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 2.5s ease 0.3s;
}

#intro .intro-message {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 clamp(1.5rem, 6vw, 4rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-headline {
  color: var(--headline-dark);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  transition: color 500ms ease, text-shadow 500ms ease;
}

body.light-phase .hero-headline {
  color: var(--headline-light-beige);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
  /* alternative variant if needed:
  color: var(--headline-light-ink);
  */
}

#intro .mantra {
  margin: 0;
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.3;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
  }

  50% {
    text-shadow: 0 0 32px rgba(255, 255, 255, 0.8);
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.8;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 2.8rem;
  background: linear-gradient(to bottom, currentColor,
      rgba(255, 255, 255, 0));
  animation: breathe 3.5s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.4;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.scroll-indicator,
.scroll-indicator .scroll-text {
  color: var(--headline-dark);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  transition: color 500ms ease, opacity 300ms ease, text-shadow 500ms ease;
}

.scroll-indicator .scroll-text {
  display: inline-block;
}

.scroll-indicator .scroll-icon {
  stroke: rgba(255, 255, 255, 0.92);
  fill: none;
  transition: stroke 500ms ease, fill 500ms ease, opacity 300ms ease;
}

body.light-phase .scroll-indicator,
body.light-phase .scroll-indicator .scroll-text {
  color: var(--headline-light-beige);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  /* alternative ink variant:
  color: var(--headline-light-ink);
  */
}

body.light-phase .scroll-indicator .scroll-icon {
  stroke: var(--headline-light-beige);
  /* alternative ink variant:
  stroke: var(--headline-light-ink);
  */
}

body.light-phase .scroll-indicator::after {
  background: linear-gradient(to bottom, currentColor,
      rgba(255, 255, 255, 0));
}

.scroll-indicator:hover {
  opacity: 0.85;
}

#intro.reveal {
  background: var(--bg-light);
}

#intro.reveal .thoughts {
  opacity: 0;
}

#intro.reveal .intro-overlay {
  opacity: 1;
}

#intro.reveal .intro-message {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section 2: Transition gallery --- */
#transition {
  background: var(--bg-soft);
  color: var(--text-primary);
}

#transition .transition-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  width: var(--max-width);
  align-items: center;
}

#transition .gallery {
  position: relative;
  width: 100%;
  min-height: clamp(20rem, 55vh, 30rem);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(15, 10, 5, 0.25);
  isolation: isolate;
}

#transition .gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right,
      rgba(5, 6, 8, 0.65),
      rgba(5, 6, 8, 0)),
    radial-gradient(circle at 80% 15%, rgba(255, 230, 200, 0.5),
      rgba(255, 230, 200, 0) 45%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.gallery-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(0.96);
}

.gallery-image.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-image--contain {
  background-color: var(--bg-light);
  background-size: contain;
  background-repeat: no-repeat;
}

#transition .transition-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 520px;
}

#transition .transition-copy .eyebrow {
  color: #765622;
}

#transition h2 {
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#transition p {
  margin: 0;
  color: var(--text-muted);
}

#transition .transition-lead {
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-strip span {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(117, 86, 34, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #5c4727;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  align-self: flex-start;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
  text-transform: uppercase;
}

/* --- Section 3: Main homepage --- */
#home {
  background: var(--bg-light);
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.floating-nav {
  position: sticky;
  top: clamp(1rem, 4vw, 2.5rem);
  z-index: 5;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(15, 10, 5, 0.1);
  backdrop-filter: blur(16px);
  max-width: 94vw;
}

.floating-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.floating-nav a:hover {
  color: var(--accent);
}

.home-inner {
  width: var(--max-width);
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  margin-top: clamp(2rem, 6vw, 4rem);
}

.content-block {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.2rem);
  box-shadow: 0 28px 70px rgba(15, 10, 5, 0.12);
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0));
  pointer-events: none;
}

.content-block header {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.content-block h3 {
  margin: 0;
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111111;
}

.content-block p {
  color: var(--text-muted);
}

.section-intro {
  max-width: 760px;
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  line-height: 1.65;
}

.content-block h4 {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

.content-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  list-style: disc;
}

.content-block li {
  margin-bottom: 0.6rem;
}

.ethos-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 820px;
}

.ethos-grid p {
  margin: 0;
}

.pillars-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(216, 178, 110, 0.25);
  border-radius: 22px;
  background: rgba(216, 178, 110, 0.25);
}

.pillar {
  min-height: 12rem;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  background: rgba(253, 250, 245, 0.97);
}

.pillar span,
.session-number,
.process-step > span {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: #9a7434;
  font-family: "Playfair Display", "Inter", serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.pillar h4,
.pillar p {
  margin: 0;
}

.pillar p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.support-panel {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 22px;
  background: #20201f;
  color: #fff;
}

.support-panel h4 {
  margin-top: 0.75rem;
  color: #fff;
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: none;
}

.support-panel .eyebrow {
  color: #e2c38c;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  padding: 0;
  list-style: none;
}

.support-list li {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.support-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.sessions-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

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

  .pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .support-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

.session-card {
  background: rgba(250, 245, 237, 0.85);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid rgba(216, 178, 110, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.session-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(14, 10, 5, 0.16);
}

.session-card h3 {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.45;
}

.session-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.session-card .session-fit {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(216, 178, 110, 0.3);
  color: #775d31;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 111, 114, 0.16);
}

.section-cta p {
  margin: 0;
}

.cta-button--dark {
  margin: 0;
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 10, 5, 0.18);
}

.profile-grid,
.story-gallery {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 880px) {
  #transition .transition-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .profile-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .story-gallery {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.profile-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg-soft);
  box-shadow: 0 30px 70px rgba(15, 10, 5, 0.18);
}

.profile-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.profile-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(16, 16, 16, 0.62);
  color: #fff;
  backdrop-filter: blur(12px);
}

.profile-card figcaption strong {
  font-family: "Playfair Display", "Inter", serif;
  font-size: 1.25rem;
}

.profile-card figcaption span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(16rem, 40vh, 22rem);
  background: var(--accent);
  isolation: isolate;
  box-shadow: 0 30px 70px rgba(15, 10, 5, 0.18);
}

.story-image-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.story-image-slide.active {
  opacity: 1;
  transform: scale(1);
}

.story-image-slide--contain {
  background-color: var(--bg-light);
  background-size: contain;
  background-repeat: no-repeat;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5, 6, 8, 0.55), rgba(5, 6, 8, 0)),
    linear-gradient(135deg, rgba(216, 178, 110, 0.45), rgba(245, 232, 218, 0.2));
  pointer-events: none;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.story-copy h4 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-copy p {
  margin: 0;
  color: var(--text-muted);
}

.credentials-grid {
  display: grid;
  gap: 1rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}

.credential {
  padding: 1.5rem;
  border: 1px solid rgba(216, 178, 110, 0.25);
  border-radius: 18px;
  background: rgba(250, 245, 237, 0.65);
}

.credential h4,
.credential p {
  margin: 0;
}

.credential p {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.story-gallery {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(111, 111, 114, 0.16);
}

.story-gallery-copy {
  display: grid;
  gap: 1rem;
}

.story-gallery-copy h4,
.story-gallery-copy p,
.story-gallery-copy blockquote {
  margin: 0;
}

.story-gallery-copy h4 {
  color: var(--text-primary);
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: none;
}

.story-gallery-copy blockquote {
  margin-top: 0.5rem;
}

.process-block {
  background: #efe4d5;
}

.process-grid {
  display: grid;
  gap: 1rem;
}

.process-step {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid rgba(80, 58, 24, 0.25);
}

.process-step h4,
.process-step p {
  margin: 0;
}

.process-step h4 {
  color: var(--text-primary);
  font-family: "Playfair Display", "Inter", serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.process-step p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .credentials-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 4.5rem);
  background: rgba(5, 6, 8, 0.9);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

footer .cta {
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

footer h4 {
  margin: 0;
  font-family: "Playfair Display", "Inter", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

footer .eyebrow {
  color: #e2c38c;
}

footer .contact-note {
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.contact-email {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  text-underline-offset: 0.25rem;
}

footer blockquote {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-button {
  display: inline-block;
  margin: 0 auto;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-dark);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 40px rgba(216, 178, 110, 0.3);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(216, 178, 110, 0.4);
}

@media (max-width: 680px) {
  .floating-nav {
    width: calc(100% - 2rem);
    justify-content: center;
    gap: 0.55rem 1rem;
    padding: 0.7rem 1rem;
    border-radius: 18px;
  }

  .floating-nav a {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .support-list {
    grid-template-columns: 1fr;
  }

  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-card figcaption {
    position: static;
    padding: 1rem 1.25rem 1.15rem;
    border: 0;
    border-radius: 0;
    background: #20201f;
    backdrop-filter: none;
  }
}

/* --- Scroll reveal animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s ease, transform 1.2s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Accessibility: reduce motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #intro .mantra,
  .scroll-cue::after,
  .scroll-indicator,
  .scroll-indicator .scroll-text,
  .scroll-indicator .scroll-icon,
  .chaos-bg {
    animation: none !important;
    transition: none !important;
  }

  :root {
    --chaos-interval: 2000;
  }
}
