/* ==============================================================
   RESONANCE — Landing page styles
   Design tokens v3 : Orange #F0A090 · Bleu #90B8F0 · Mauve #8A5B95
                      Blanc #FAF8F5 · Noir #18140F
   Typo : Inter (400 / 500 / 600 / 700)
   ============================================================== */

:root {
  --rz-orange: #F0A090;
  --rz-blue:   #90B8F0;
  --rz-mauve:  #8A5B95;
  --rz-bg:     #FAF8F5;
  --rz-fg:     #18140F;
  --rz-fg2:    #4A433D;
  --rz-fg3:    #7A726A;
  --rz-line:   rgba(24, 20, 15, 0.08);

  --rz-glass-bg:     rgba(255, 255, 255, 0.55);
  --rz-glass-border: rgba(255, 255, 255, 0.75);

  --rz-r-md: 14px;
  --rz-r-lg: 24px;
  --rz-r-xl: 32px;

  --rz-shadow-soft: 0 12px 40px -16px rgba(24, 20, 15, 0.18);
  --rz-shadow-hover: 0 24px 60px -20px rgba(24, 20, 15, 0.28);

  --rz-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rz-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--rz-fg);
  background: var(--rz-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== TYPO ==================== */
.display-1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

/* Mauve highlight that slides behind "votre bien", text turns white */
.highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  color: inherit;
  transition: color 0.5s var(--rz-ease) 0.55s;
  isolation: isolate;
}
.highlight::before {
  content: '';
  position: absolute;
  inset: 0.04em 0;
  background: var(--rz-mauve);
  border-radius: 10px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--rz-ease-out) 0.25s;
}
.section-head.is-visible .highlight {
  color: var(--rz-bg);
}
.section-head.is-visible .highlight::before {
  transform: scaleX(1);
}
.display-2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.display-2.accent-mauve {
  color: var(--rz-mauve);
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rz-fg3);
  margin: 0 0 16px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--rz-line);
  transition: background 0.4s var(--rz-ease);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.brand img { width: 36px; height: 36px; }
.brand-text {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--rz-fg2);
  position: relative;
  transition: color 0.2s var(--rz-ease);
}
.header-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--rz-ease);
}
.header-link:hover { color: var(--rz-fg); }
.header-link:hover::after { transform: scaleX(1); }
.header-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--rz-fg);
  color: var(--rz-bg);
  transition: transform 0.3s var(--rz-ease), box-shadow 0.3s var(--rz-ease);
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(24, 20, 15, 0.4);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.3s var(--rz-ease), box-shadow 0.3s var(--rz-ease);
  will-change: transform;
}
.btn-primary {
  background: var(--rz-fg);
  color: var(--rz-bg);
  box-shadow: 0 12px 36px -10px rgba(24, 20, 15, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px -10px rgba(24, 20, 15, 0.5);
}
.btn-lg {
  padding: 22px 36px;
  font-size: 17px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.wordmark {
  position: relative;
  font-size: clamp(64px, 13vw, 180px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 24px;
  color: var(--rz-fg);
  display: inline-block;
}
.wordmark .char {
  display: inline-block;
  opacity: 0;
  filter: blur(24px);
  transform: translateY(36px) scale(0.82);
  color: var(--rz-mauve);
  animation: charDrop 1.2s var(--rz-ease-out) forwards;
  animation-delay: calc(var(--i) * 80ms + 250ms);
  will-change: transform, opacity, filter;
}
@keyframes charDrop {
  0% {
    opacity: 0;
    filter: blur(24px);
    transform: translateY(36px) scale(0.82);
    color: var(--rz-mauve);
  }
  45% {
    opacity: 1;
    filter: blur(6px);
    color: var(--rz-mauve);
    transform: translateY(0) scale(1);
  }
  70% {
    opacity: 1;
    filter: blur(0);
    color: var(--rz-fg);
    transform: translateY(-3px) scale(1.015);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    color: var(--rz-fg);
    transform: translateY(0) scale(1);
  }
}
/* Subtle gradient sweep across the wordmark, triggered after all chars are settled */
.wordmark-sweep {
  position: absolute;
  inset: -4% -2%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(240, 160, 144, 0.18) 47%,
    rgba(138, 91, 149, 0.28) 50%,
    rgba(144, 184, 240, 0.18) 53%,
    transparent 60%
  );
  background-size: 220% 100%;
  background-position: -120% 0;
  opacity: 0;
  border-radius: 12px;
  filter: blur(8px);
  animation: sweep 2.4s ease-out 2.3s 1 forwards;
}
@keyframes sweep {
  0%   { background-position: -120% 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { background-position: 220% 0; opacity: 0; }
}
.tagline {
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--rz-fg2);
  margin: 0 0 48px;
  opacity: 0;
  animation: fadeIn 0.8s var(--rz-ease-out) 1.1s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero-cta {
  opacity: 0;
  animation: fadeIn 0.8s var(--rz-ease-out) 1.4s forwards;
}
.scroll-hint {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s var(--rz-ease-out) 1.8s forwards;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--rz-fg);
  opacity: 0.4;
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.2; }
  50%      { transform: scaleY(1);   opacity: 0.6; }
}

/* ==================== ORBS BACKGROUND ==================== */
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.orb-orange {
  width: 480px; height: 480px;
  background: var(--rz-orange);
  top: 8%; left: 12%;
  animation: drift1 14s ease-in-out infinite alternate;
}
.orb-blue {
  width: 520px; height: 520px;
  background: var(--rz-blue);
  top: 20%; right: 10%;
  animation: drift2 18s ease-in-out infinite alternate;
}
.orb-mauve {
  width: 420px; height: 420px;
  background: var(--rz-mauve);
  bottom: 8%; left: 38%;
  opacity: 0.42;
  animation: drift3 16s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,40px) scale(1.08); }
}
@keyframes drift2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-80px,30px) scale(0.92); }
}
@keyframes drift3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-60px) scale(1.1); }
}

/* ==================== SECTIONS COMMON ==================== */
.section {
  padding: 140px 0;
  position: relative;
}
.section-head {
  margin: 0 auto 80px;
  text-align: center;
  max-width: 920px;
}

/* ==================== SECTION 2A / 2B — CONTRAST (SEQUENTIAL) ==================== */
.section-contrast-a,
.section-contrast-b {
  padding: 140px 0;
}
.section-contrast-a { padding-top: 180px; }
.section-contrast-b {
  background: linear-gradient(180deg, var(--rz-bg) 0%, rgba(138, 91, 149, 0.06) 100%);
}
.contrast-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contrast-panel.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}
.contrast-panel.reverse > * { direction: ltr; }
.contrast-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Word-by-word reveal: chaque mot est gris au départ et passe en noir
   (ou en mauve pour la classe .to-mauve) avec stagger au scroll. */
.split .word {
  display: inline-block;
  color: rgba(24, 20, 15, 0.22);
  transition: color 0.55s var(--rz-ease-out);
  transition-delay: calc(var(--w, 0) * 110ms);
}
.contrast-text.is-visible .split .word {
  color: var(--rz-fg);
}
.contrast-text.to-mauve.is-visible .split .word {
  color: var(--rz-mauve);
}

/* Section 2A — data grid: cards visibles dès le départ, état "vide" gris.
   Au scroll, chaque card se remplit en orange avec texte blanc (stagger). */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  font-family: 'Inter', monospace;
  font-feature-settings: 'tnum' 1;
}
.data-grid span {
  position: relative;
  padding: 18px 22px;
  background: var(--rz-bg);
  border: 1px solid var(--rz-line);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(24, 20, 15, 0.22);
  font-variant-numeric: tabular-nums;
  transition:
    color 0.7s var(--rz-ease-out),
    border-color 0.7s var(--rz-ease-out),
    background-color 0.7s var(--rz-ease-out);
  transition-delay: calc(var(--i, 0) * 130ms);
}
.data-grid.is-visible span {
  color: #ffffff;
  border-color: var(--rz-orange);
  background-color: var(--rz-orange);
}

/* Section 2B — orange diamond (losange) + blue orb merging into mauve.
   Les orbes sont visibles dès l'arrivée sur la page (pas de fade-in parent),
   on a tout le temps de les voir pulser/respirer avant la fusion. */
.voice-orbs {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 360px;
}

/* Losange orange qui pulse — visible dès le départ */
.vo-orange {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 26%;
  left: 6%;
  background: var(--rz-orange);
  border-radius: 28px;
  filter: blur(18px);
  opacity: 0.88;
  transform: rotate(45deg) scale(1);
  animation: diamondPulse 3.4s ease-in-out infinite;
  transition: top 2.2s var(--rz-ease-out), left 2.2s var(--rz-ease-out),
              transform 2.2s var(--rz-ease-out), opacity 1.6s var(--rz-ease-out) 0.8s;
}
@keyframes diamondPulse {
  0%, 100% { transform: rotate(45deg) scale(0.92); }
  50%      { transform: rotate(45deg) scale(1.12); }
}

/* Orbe bleue qui respire — visible dès le départ */
.vo-blue {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 30%;
  right: 4%;
  background: var(--rz-blue);
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.82;
  transform: scale(1);
  animation: orbBreath 4.6s ease-in-out infinite;
  transition: top 2.2s var(--rz-ease-out), right 2.2s var(--rz-ease-out),
              transform 2.2s var(--rz-ease-out), opacity 1.6s var(--rz-ease-out) 0.8s;
}
@keyframes orbBreath {
  0%, 100% { transform: scale(0.94); }
  50%      { transform: scale(1.08); }
}

/* Mauve fusion (initially hidden) */
.vo-mauve {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  background: var(--rz-mauve);
  border-radius: 50%;
  filter: blur(38px);
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  transition: opacity 1.6s var(--rz-ease-out) 1.2s,
              transform 1.8s var(--rz-ease-out) 1.2s;
}

/* Merge: diamond and orb converge to center then fade, mauve appears and floats */
.voice-orbs.merging .vo-orange {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.55);
  opacity: 0;
  animation-play-state: paused;
}
.voice-orbs.merging .vo-blue {
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%) scale(0.55);
  opacity: 0;
  animation-play-state: paused;
}
.voice-orbs.merging .vo-mauve {
  opacity: 0.85;
  transform: translate(-50%, -50%) scale(1);
  animation: mauveFloat 7s ease-in-out 3s infinite;
}
@keyframes mauveFloat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: blur(38px);
  }
  50% {
    transform: translate(-50%, -58%) scale(1.06);
    filter: blur(42px);
  }
}

/* Echo ring that ripples out when mauve appears */
.vo-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 91, 149, 0.4);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: opacity 0.9s var(--rz-ease-out) 1.5s,
              transform 1.6s var(--rz-ease-out) 1.5s;
}
.voice-orbs.merging .vo-pulse {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: pulseRing 3.5s ease-out 3s infinite;
}
@keyframes pulseRing {
  0%   { transform: translate(-50%, -50%) scale(0.7); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ==================== SECTION 3 — DIMENSIONS ==================== */
.section-dimensions {
  background: linear-gradient(180deg, var(--rz-bg) 0%, rgba(240, 160, 144, 0.04) 50%, var(--rz-bg) 100%);
}
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dim-card {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: var(--rz-r-xl);
  overflow: hidden;
  transition: transform 0.5s var(--rz-ease), box-shadow 0.5s var(--rz-ease);
}
.glass {
  background: var(--rz-glass-bg);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--rz-glass-border);
  box-shadow: var(--rz-shadow-soft);
}
.dim-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rz-shadow-hover);
}
.dim-orb {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  z-index: -1;
}
.dim-orb-orange { background: var(--rz-orange); }
.dim-orb-blue   { background: var(--rz-blue); }
.dim-orb-mauve  { background: var(--rz-mauve); opacity: 0.45; }

.dim-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rz-fg3);
  margin: 0 0 12px;
}
.dim-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.dim-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--rz-fg2);
  margin: 0;
}

/* ==================== SECTION 4 — NUANCES ==================== */
.section-nuances {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(138, 91, 149, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(144, 184, 240, 0.06), transparent 50%),
    var(--rz-bg);
}
.nuance-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nuance {
  padding: 40px 24px 32px;
  border-radius: var(--rz-r-xl);
  border: 1px solid var(--rz-line);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  transition: transform 0.4s var(--rz-ease);
}
.nuance:hover { transform: translateY(-4px); }
.nuance h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 8px;
  letter-spacing: -0.01em;
}
.nuance p {
  font-size: 14px;
  color: var(--rz-fg3);
  margin: 0;
  line-height: 1.5;
}
.nuance-anim {
  display: block;
  height: 80px;
  position: relative;
}
.nuance-anim > span {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}
/* Each nuance has its own animation rhythm */
.nuance-harmonie .nuance-anim > span {
  background: var(--rz-mauve);
  animation: pulseHarmonie 4s ease-in-out infinite;
}
.nuance-equilibre .nuance-anim > span {
  background: linear-gradient(135deg, var(--rz-blue), var(--rz-mauve));
  animation: pulseEquilibre 3.2s ease-in-out infinite;
}
.nuance-tension .nuance-anim > span {
  background: var(--rz-orange);
  animation: pulseTension 1.4s ease-in-out infinite;
}
.nuance-dissonance .nuance-anim > span {
  background: var(--rz-orange);
  animation: pulseDissonance 2.6s ease-in-out infinite;
}
.nuance-dissonance .nuance-anim::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--rz-blue);
  filter: blur(10px);
  animation: pulseDissonance2 2.6s ease-in-out infinite;
}

@keyframes pulseHarmonie {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.65; }
  50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 0.95; }
}
@keyframes pulseEquilibre {
  0%, 100% { transform: translate(-58%, -50%) scale(1); opacity: 0.75; }
  50%      { transform: translate(-42%, -50%) scale(1.05); opacity: 0.9; }
}
@keyframes pulseTension {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}
@keyframes pulseDissonance {
  0%, 100% { transform: translate(-78%, -50%) scale(1); opacity: 0.85; }
  50%      { transform: translate(-22%, -50%) scale(0.9); opacity: 0.6; }
}
@keyframes pulseDissonance2 {
  0%, 100% { transform: translate(-22%, -50%) scale(1); opacity: 0.85; }
  50%      { transform: translate(-78%, -50%) scale(0.9); opacity: 0.6; }
}

/* ==================== SECTION 5 — MANIFESTO ==================== */
.section-manifesto {
  background: var(--rz-fg);
  color: var(--rz-bg);
  padding: 180px 0;
  text-align: center;
}
.manifesto {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto-line {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: rgba(250, 248, 245, 0.5);
}
.manifesto-line.accent {
  color: var(--rz-bg);
  margin-top: 40px;
  font-style: italic;
  font-weight: 600;
}

/* ==================== SECTION 6 — STATS ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--rz-fg);
}
.stat-label {
  margin-left: auto;
  margin-right: auto;
}
.stat-value {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-block;
  color: var(--rz-fg);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  margin-left: 4px;
  color: var(--rz-fg);
}
.stat-label {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rz-fg2);
  max-width: 220px;
}

/* ==================== SECTION 7 — FINAL CTA ==================== */
.section-final {
  position: relative;
  padding: 200px 0;
  text-align: center;
  overflow: hidden;
}
.orbs-final {
  z-index: 0;
}
.orbs-final .orb { opacity: 0.42; }
.final-inner {
  position: relative;
  z-index: 2;
}
.final-inner h2 {
  margin: 0 0 48px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--rz-line);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.footer-brand img { width: 28px; height: 28px; }
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  color: var(--rz-fg2);
  transition: color 0.2s var(--rz-ease);
}
.footer-links a:hover { color: var(--rz-fg); }
.footer-meta {
  margin: 0;
  font-size: 13px;
  color: var(--rz-fg3);
}

/* ==================== REVEAL ON SCROLL ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--rz-ease-out), transform 0.9s var(--rz-ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .section, .section-contrast-a, .section-contrast-b { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }
  .contrast-panel,
  .contrast-panel.reverse {
    grid-template-columns: 1fr;
    gap: 56px;
    direction: ltr;
  }
  .contrast-visual { min-height: 280px; }
  .dimension-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nuance-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 520px;
  }
  .header-link { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section, .section-contrast-a, .section-contrast-b { padding: 80px 0; }
  .site-header { padding: 12px 18px; }
  .header-cta {
    padding: 8px 14px;
    font-size: 13px;
  }
  .brand-text { display: none; }
  .hero { padding: 100px 20px 60px; }
  .wordmark { letter-spacing: -0.04em; }
  .orb-orange, .orb-blue { width: 320px; height: 320px; }
  .orb-mauve { width: 280px; height: 280px; }
  .nuance-row { grid-template-columns: 1fr 1fr; }
  .footer-grid {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
}

/* ==================== A11Y ==================== */
:focus-visible {
  outline: 2px solid var(--rz-mauve);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wordmark .char { opacity: 1; transform: none; }
  .tagline, .hero-cta, .scroll-hint { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
}
