/* ============================================================================
   Agence Rizz — Home page styles
   Converti depuis les composants React (rizz-app.jsx, rizz-sections*.jsx)
   ============================================================================ */

/* ─── Body overrides (home only) ─────────────────────────────────── */
body.home-rizz { cursor: none; }
body.home-rizz a,
body.home-rizz button,
body.home-rizz [role="button"] { cursor: none; }

body.home-rizz::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: multiply;
  z-index: 1000;
}
[data-theme="dark"] body.home-rizz::before { mix-blend-mode: screen; opacity: .35; }

/* ─── Reveal animation (used across the home) ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ─── Custom eye cursor (home only) ─────────────────────────────── */
.rz-eye-cursor {
  position: fixed; top: 0; left: 0;
  width: 44px; height: 44px;
  pointer-events: none;
  z-index: 2147483645;
  mix-blend-mode: normal;
}
.rz-eye-cursor__ball {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg);
  border: 1.6px solid var(--ink);
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.rz-eye-cursor__iris {
  position: absolute; inset: 15%;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.rz-eye-cursor__pupil {
  width: 48%; height: 48%; border-radius: 50%;
  background: var(--ink); position: relative;
}
.rz-eye-cursor__pupil::before {
  content: ""; position: absolute;
  top: 22%; left: 24%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bg);
}
.rz-eye-cursor__lid-top,
.rz-eye-cursor__lid-bot {
  position: absolute; left: -2px; right: -2px;
  height: 52%; background: var(--ink);
  transition: transform .12s ease;
}
.rz-eye-cursor__lid-top {
  top: -2px;
  transform: translateY(-110%);
  border-radius: 999px 999px 0 0;
}
.rz-eye-cursor__lid-bot {
  bottom: -2px;
  transform: translateY(110%);
  border-radius: 0 0 999px 999px;
}

/* Hide custom cursor on touch / reduced motion */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .rz-eye-cursor { display: none; }
  body.home-rizz, body.home-rizz a, body.home-rizz button { cursor: auto; }
}

/* ─── Narrator eye (descends on scroll) ─────────────────────────── */
.fx-eye {
  position: fixed;
  left: 1.2vw; top: 50vh;
  width: 72px; height: 72px;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity .5s ease,
              left  1.2s cubic-bezier(.68,-0.25,.27,1.25),
              top   1.2s cubic-bezier(.45,1.4,.55,1),
              transform .8s cubic-bezier(.2,.7,.2,1);
}
.fx-eye.ready { opacity: 1; transform: scale(1); }
.fx-eye.moving { animation: fx-eye-wobble 1.2s cubic-bezier(.2,.7,.2,1); }
@keyframes fx-eye-wobble {
  0%   { transform: scale(1)    rotate(0deg); }
  35%  { transform: scale(1.08) rotate(-8deg); }
  65%  { transform: scale(0.92) rotate(6deg); }
  100% { transform: scale(1)    rotate(0deg); }
}
.fx-eye .ball {
  width: 100%; height: 100%; border-radius: 50%;
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--bg) 38%, color-mix(in oklab, var(--bg) 60%, var(--ink) 40%) 100%);
  box-shadow: inset -10px -14px 26px rgba(0,0,0,0.18),
              inset 8px 10px 22px rgba(255,255,255,0.65),
              0 18px 40px rgba(0,0,0,0.22),
              0 0 0 1.5px var(--ink);
}
.fx-eye .iris {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 70%, white 30%) 0%, var(--accent) 50%, color-mix(in oklab, var(--accent) 70%, var(--ink) 30%) 100%);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
}
.fx-eye .pupil {
  width: 44%; height: 44%; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a2823 0%, #0c0b09 70%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.fx-eye .pupil::before {
  content: ""; position: absolute; top: 14%; left: 18%;
  width: 30%; height: 30%; border-radius: 50%;
  background: rgba(255,255,255,0.85); filter: blur(1.5px);
}
.fx-eye .lid-top, .fx-eye .lid-bot {
  position: absolute; left: -2%; right: -2%;
  height: 54%; background: var(--accent);
  transition: transform .12s ease;
}
.fx-eye .lid-top {
  top: -2%;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 999px 999px 0 0;
  transform: translateY(-105%);
}
.fx-eye .lid-bot {
  bottom: -2%;
  border-top: 1.5px solid var(--ink);
  border-radius: 0 0 999px 999px;
  transform: translateY(105%);
}
.fx-eye.blink .lid-top,
.fx-eye.blink .lid-bot { transform: translateY(0); }

.fx-eye-bubble {
  position: absolute;
  left: 50%; top: calc(100% + 12px);
  transform: translateX(-50%);
  background: var(--ink); color: var(--bg);
  padding: 12px 14px;
  border-radius: 14px;
  width: max-content; max-width: 220px;
  font-family: var(--sans);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
  text-align: right;
}
.fx-eye-bubble.show { opacity: 1; }
.fx-eye.side-right .fx-eye-bubble { left: auto; right: 0; transform: none; }
.fx-eye:not(.side-right) .fx-eye-bubble { left: 0; transform: none; text-align: left; }
.fx-eye.flip-up .fx-eye-bubble { top: auto; bottom: calc(100% + 12px); }
.fx-eye-bubble .num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.55; margin-bottom: 6px;
}
.fx-eye-bubble .title {
  font-family: var(--sans); font-weight: 600;
  font-size: 18px; line-height: 1.15; letter-spacing: -0.01em;
}
.fx-eye-bubble .desc {
  font-size: 12px; line-height: 1.45; margin-top: 6px; opacity: 0.78;
}
@media (max-width: 900px) { .fx-eye { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-eye { display: none; } }

/* ─── Marquee animations ─────────────────────────────────────────── */
@keyframes rizz-spin { to { transform: rotate(360deg); } }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes rz-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pr-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================================
   SECTION : HERO
   ============================================================================ */
.rz-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 7vh;
  padding-top: 34vh;
  position: relative;
  overflow: hidden;
}
/* Hero content takes the full screen width (only 32-40px side padding) */
.rz-hero > .wrap {
  max-width: 100%;
  padding: 0 32px;
}
@media (min-width: 1200px) {
  .rz-hero > .wrap { padding: 0 40px; }
}
.rz-hero__inner { position: relative; z-index: 2; }
.rz-hero__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(56px, 9.4vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  /* Slight left offset so the left floating eye visually enters the "P" of "pas comme" */
  margin-left: -0.06em;
}
.rz-hero__title em,
.rz-hero__accent {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
.rz-hero__wink {
  display: inline-flex;
  vertical-align: -0.12em;
  margin-left: 0.18em;
}
.rz-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.rz-hero__promise {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.018em;
  max-width: 34ch;
}
.rz-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.rz-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.rz-hero__tag.is-filled {
  background: var(--ink);
  color: var(--bg);
}
.rz-hero__tag--pill { border-radius: 999px; }
.rz-hero__tag--box { border-radius: 6px; }
.rz-hero__tag--circle { border-radius: 999px; }
.rz-hero__tag:nth-child(odd) { transform: rotate(-1.5deg); }
.rz-hero__tag:nth-child(even) { transform: rotate(1.5deg); }
.rz-hero__tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.rz-hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  flex-shrink: 0;
}
.rz-hero__proofs { text-align: right; }
.rz-hero__stats {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
}
.rz-stat__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.rz-stat__lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 720px) {
  .rz-hero__row { grid-template-columns: 1fr; }
  .rz-hero__right { align-items: flex-start; }
  .rz-hero__stats { justify-content: flex-start; }
}

/* Floating decorative eyes */
.rz-hero__eyes-tr {
  position: absolute;
  top: 18vh; right: 8vw;
  z-index: 1;
  transform: rotate(-8deg);
}
.rz-hero__eyes-bl {
  position: absolute;
  bottom: 38vh; left: 6vw;
  z-index: 1;
  transform: rotate(6deg);
}
.rz-eye-pair { display: flex; gap: 10px; }
.rz-eye-deco {
  position: relative;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.rz-eye-deco__lid {
  position: absolute; inset: -2px;
  background: var(--accent);
  transform: translateY(-100%);
  transition: transform .18s ease-out;
  z-index: 3;
  border-radius: 50%;
}
.rz-eye-deco.is-winking .rz-eye-deco__lid { transform: translateY(0); transition: transform .12s ease-in; }
.rz-eye-deco__iris {
  position: absolute; inset: 15%;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.rz-eye-deco__pupil {
  width: 46%; height: 46%;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .12s ease-out;
  position: relative;
}
.rz-eye-deco__pupil::before {
  content: "";
  position: absolute;
  top: 24%; left: 28%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg);
}

/* Inline wink (used in title) */
.rz-wink {
  width: 0.9em; height: 0.9em;
  border-radius: 50%;
  border: 0.06em solid var(--ink);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.rz-wink__iris {
  position: absolute; inset: 14%;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.rz-wink__pupil {
  width: 46%; height: 46%;
  border-radius: 50%;
  background: var(--ink);
}
.rz-wink__lid {
  position: absolute; left: 0; right: 0; top: 0;
  height: 0%;
  background: var(--ink);
  transition: height .14s ease;
}
.rz-wink.is-closed .rz-wink__lid { height: 100%; }

/* Eye 3D giant in hero */
.rz-eye3d {
  position: absolute;
  top: 34%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(64vw, 580px);
  height: min(64vw, 580px);
  pointer-events: auto;
  perspective: 1600px;
  z-index: 0;
}
.rz-eye3d__ball {
  width: 100%; height: 100%;
  border-radius: 50%;
  position: relative;
  transform-style: preserve-3d;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--bg) 35%, color-mix(in oklab, var(--bg) 70%, var(--ink) 30%) 100%);
  box-shadow: inset -40px -60px 120px rgba(0,0,0,0.18),
              inset 30px 40px 80px rgba(255,255,255,0.6),
              0 40px 100px rgba(0,0,0,0.14);
  overflow: hidden;
  transition: box-shadow .4s ease;
}
.rz-eye3d:hover .rz-eye3d__ball {
  box-shadow: inset -40px -60px 120px rgba(0,0,0,0.18),
              inset 30px 40px 80px rgba(255,255,255,0.6),
              0 60px 120px rgba(0,0,0,0.18),
              0 0 120px color-mix(in oklab, var(--accent) 35%, transparent);
}
.rz-eye3d__iris {
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 70%, white 30%) 0%, var(--accent) 50%, color-mix(in oklab, var(--accent) 70%, var(--ink) 30%) 100%);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
}
.rz-eye3d__rays { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; mix-blend-mode: multiply; }
.rz-eye3d__pupil {
  width: 42%; height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a2823 0%, #0c0b09 70%);
  position: relative;
  box-shadow: 0 0 24px rgba(0,0,0,0.4);
  transition: transform .12s ease-out;
}
.rz-eye3d__pupil::before {
  content: ""; position: absolute;
  top: 14%; left: 18%;
  width: 28%; height: 28%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  filter: blur(2px);
}
.rz-eye3d__pupil::after {
  content: ""; position: absolute;
  bottom: 18%; right: 22%;
  width: 12%; height: 12%;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.rz-eye3d__sheen {
  position: absolute;
  top: 12%; left: 20%;
  width: 24%; height: 14%;
  background: rgba(255,255,255,0.7);
  filter: blur(20px);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.rz-eye3d__lid-top,
.rz-eye3d__lid-bot {
  position: absolute;
  left: -2%; right: -2%;
  height: 54%;
  background: var(--accent);
  transition: transform .15s ease;
}
.rz-eye3d__lid-top {
  top: -2%;
  border-bottom: 2px solid var(--ink);
  border-radius: 999px 999px 0 0;
  transform: translateY(-105%);
}
.rz-eye3d__lid-bot {
  bottom: -2%;
  border-top: 2px solid var(--ink);
  border-radius: 0 0 999px 999px;
  transform: translateY(105%);
}

/* Goo blob backdrop */
.rz-bloob {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* ============================================================================
   SECTION : MARQUEE (logos clients)
   ============================================================================ */
.rz-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 88px 0;
  background: var(--bg);
  color: var(--ink);
  position: relative;
}
.rz-marquee__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.rz-logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: rz-logos-scroll 48s linear infinite;
  padding-inline: 36px;
}
.rz-logos-track:hover { animation-play-state: paused; }
.rz-logo {
  flex: 0 0 auto;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s ease;
  cursor: default;
}
.rz-logo:hover { color: var(--ink); }
.rz-logo__dot {
  display: inline-block;
  margin-left: 72px;
  transform: translateY(-0.2em);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.rz-marquee__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 10vw, 160px);
  pointer-events: none;
  z-index: 2;
}
.rz-marquee__fade--l { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.rz-marquee__fade--r { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
@media (prefers-reduced-motion: reduce) {
  .rz-logos-track { animation: none; }
}

/* ============================================================================
   SECTION : SERVICES (fond noir, dépliable)
   ============================================================================ */
.rz-services {
  padding: 140px 0 120px;
  background: #0c0c0a;
  color: #f6f4ef;
  border-top: 1px solid #1a1a18;
}
.rz-services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: 90px;
}
/* Override .wrap inside services section — full-width, only 32px side padding */
.rz-services > .wrap {
  max-width: 100%;
  padding: 0 32px;
}
@media (min-width: 1200px) {
  .rz-services > .wrap { padding: 0 40px; }
}

.rz-services__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 116px);
  letter-spacing: -0.035em;
  line-height: 0.94;
  max-width: 14ch;
  text-wrap: balance;
  margin: 0;
}
.rz-services__title em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-services__lead {
  font-family: var(--sans);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: rgba(246,244,239,0.78);
  max-width: 38ch;
  text-wrap: pretty;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.rz-services__lead em { font-family: var(--display); color: var(--accent); font-style: italic; }
.rz-services__lead strong { color: #f6f4ef; font-weight: 600; }
.rz-services__list { border-top: 1px solid rgba(246,244,239,0.14); }
.rz-svc-item {
  border-bottom: 1px solid rgba(246,244,239,0.14);
  cursor: pointer;
}
.rz-svc-item__row {
  display: grid !important;
  grid-template-columns: 90px minmax(0, 2.2fr) minmax(0, 1fr) 60px;
  gap: 28px;
  align-items: center;
  padding: 36px 8px;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.rz-svc-item__row:focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.rz-svc-item__row:focus:not(:focus-visible) { outline: none; }
.rz-svc-item__id { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(246,244,239,0.4); }
.rz-svc-item__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f6f4ef;
  transition: color .3s ease;
  margin: 0;
}
.rz-svc-item.is-open .rz-svc-item__name { color: var(--accent); }
.rz-svc-item__tag { color: rgba(246,244,239,0.6); font-size: 15px; }
.rz-svc-item__toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(246,244,239,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, border-color .3s ease, color .3s ease;
  color: #f6f4ef;
}
.rz-svc-item.is-open .rz-svc-item__toggle {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.rz-svc-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.rz-svc-item.is-open .rz-svc-item__body { grid-template-rows: 1fr; }
.rz-svc-item__body > div { overflow: hidden; }
.rz-svc-item__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 0 8px 40px;
  padding-left: 118px;
}
.rz-svc-item__items li { list-style: none; }
.rz-svc-item__items .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(246,244,239,0.4); margin-bottom: 8px; }
.rz-svc-item__items .val { font-size: 18px; color: #f6f4ef; }
@media (max-width: 880px) {
  .rz-services__head { grid-template-columns: 1fr; }
  .rz-svc-item__row { grid-template-columns: 50px 1fr auto; }
  .rz-svc-item__tag { display: none; }
  .rz-svc-item__items { padding-left: 8px; }
}

/* ============================================================================
   SECTION : SERVICES CTA
   ============================================================================ */
.rz-svc-cta {
  background: #0c0c0a; color: #f6f4ef;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid #1a1a18;
  border-bottom: 1px solid #1a1a18;
  position: relative;
  overflow: hidden;
}
.rz-svc-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 50%, rgba(255,122,46,.18) 0%, transparent 60%);
  pointer-events: none;
}
.rz-svc-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.rz-svc-cta__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
  max-width: 20ch;
}
.rz-svc-cta__title em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-svc-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px -12px rgba(255,122,46,.55);
  transition: transform .25s ease;
}
.rz-svc-cta__btn:hover { transform: translateY(-2px); }
.rz-svc-cta__btn .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rz-svc-cta__right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; flex-shrink: 0; }
.rz-svc-cta__note { color: rgba(246,244,239,.45); font-size: 11px; letter-spacing: 0.06em; }
@media (max-width: 880px) {
  .rz-svc-cta__inner { grid-template-columns: 1fr; }
  .rz-svc-cta__right { align-items: flex-start; }
}

/* ============================================================================
   SECTION : WORK (études de cas)
   ============================================================================ */
.rz-work { padding: 160px 0 120px; }
.rz-work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.rz-work__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 116px);
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.rz-work__title em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-work__list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.rz-case {
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s ease;
}
.rz-case:hover { background: var(--bg-soft); }
.rz-case__row {
  display: grid;
  grid-template-columns: 60px minmax(0, 2fr) minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 36px 16px;
}
.rz-case__id { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rz-case__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-2);
  transition: color .3s ease, transform .35s ease;
}
.rz-case:hover .rz-case__name { color: var(--ink); transform: translateX(8px); }
.rz-case__tag { color: var(--muted); font-size: 14px; }
.rz-case__year { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rz-case__arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  transition: all .35s ease;
}
.rz-case:hover .rz-case__arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}
.rz-case__preview {
  position: absolute;
  right: clamp(80px, 14vw, 200px);
  top: 50%;
  width: 320px; height: 220px;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-50%) rotate(-8deg) scale(0.9);
  opacity: 0;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  z-index: 5;
  background-size: cover;
  background-position: center;
}
.rz-case:hover .rz-case__preview {
  opacity: 1;
  transform: translateY(-50%) rotate(-3deg) scale(1);
}
@media (max-width: 880px) {
  .rz-case__row { grid-template-columns: 50px 1fr auto; }
  .rz-case__tag, .rz-case__year { display: none; }
  .rz-case__preview { display: none; }
}

/* ============================================================================
   SECTION : PHONE REEL (témoignages vidéo)
   ============================================================================ */
.rz-phones {
  border-top: 1px solid #1a1a18;
  border-bottom: 1px solid #1a1a18;
  overflow: hidden;
  padding: 96px 0 104px;
  background: #0c0c0a;
  color: #f6f4ef;
  position: relative;
}
.rz-phones__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.rz-phones__track {
  display: flex;
  gap: 32px;
  animation: pr-scroll 52s linear infinite;
  width: max-content;
  padding-inline: 32px;
}
.rz-phones__track:hover,
.rz-phones__track[data-paused="true"] { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .rz-phones__track { animation: none; }
}
.rz-phone {
  margin: 0;
  flex: 0 0 auto;
}
.rz-phone__btn {
  all: unset;
  cursor: pointer;
  display: block;
  width: 252px; height: 518px;
  border-radius: 46px;
  background: linear-gradient(155deg, #ffb070 0%, #ff7a2e 38%, #c0541d 100%);
  padding: 7px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6),
              0 8px 20px -8px rgba(255,122,46,.25),
              inset 0 0 0 1px rgba(255,255,255,.18),
              inset 0 -2px 0 rgba(0,0,0,.25);
  position: relative;
  transition: transform .25s ease;
}
.rz-phone__btn:hover { transform: scale(1.04); }
.rz-phone__caption { margin-top: 18px; text-align: center; }
.rz-phone__name { font-family: var(--sans); font-weight: 500; font-size: 14px; color: #f6f4ef; }
.rz-phone__hint { font-family: var(--mono); font-size: 10px; color: rgba(246,244,239,.45); margin-top: 2px; }
.rz-phone__screen {
  width: 100%; height: 100%;
  border-radius: 39px;
  background: linear-gradient(170deg, #1a1a17 0%, #0c0c0a 70%);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #f6f4ef;
}
.rz-phone__notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.rz-phone__glow {
  position: absolute; inset: 0;
  background: radial-gradient(140% 60% at 50% 0%, rgba(255,122,46,0.13) 0%, transparent 55%);
}
.rz-phone__meta {
  position: relative;
  color: rgba(246,244,239,.5);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 30px;
  font-family: var(--mono);
}
.rz-phone__metric {
  position: relative;
  font-family: var(--display);
  font-style: italic;
  font-size: 58px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-shadow: 0 2px 30px rgba(255,122,46,.35);
}
.rz-phone__label {
  font-family: var(--mono);
  font-size: 11px;
  margin-top: 6px;
  color: rgba(246,244,239,.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rz-phone__live {
  position: absolute;
  bottom: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(246,244,239,.7);
}
.rz-phone__live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px #ff3b30;
}
.rz-phone__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #f6f4ef;
  color: #0c0c0a;
  display: flex; align-items: center; justify-content: center;
}

/* tilts */
.rz-phone:nth-child(odd)  { transform: rotate(-1.6deg); }
.rz-phone:nth-child(even) { transform: rotate(1.6deg); }
.rz-phone:nth-child(3n)   { transform: rotate(-2deg); }
.rz-phone:nth-child(3n+1) { transform: rotate(2.4deg); }

/* ============================================================================
   SECTION : PROCESS / TRAJECTOIRE
   ============================================================================ */
.rz-process { padding: 160px 0 200px; position: relative; overflow: hidden; }
.rz-process__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.rz-process__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 116px);
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
  max-width: 15ch;
}
.rz-process__title em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-process__lead {
  color: var(--muted);
  max-width: 320px;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  text-align: right;
}
.rz-process__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.rz-process__btn:hover { transform: translateY(-2px); }
.rz-process__btn[disabled] { opacity: 0.7; cursor: wait; }
.rz-process__btn .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.rz-process__svg-wrap {
  position: relative; width: 100%;
  max-width: 1480px; margin: 0 auto;
  padding: 0 24px;
}
.rz-process__svg { width: 100%; height: auto; overflow: visible; display: block; }
.rz-process__list { display: none; padding: 0 24px; max-width: 560px; margin: 0 auto; }
.rz-process__item {
  display: flex; gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.rz-process__item-id {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.rz-process__item-t {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 6px 0;
}
.rz-process__item-d { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 0; }
@media (max-width: 820px) {
  .rz-process__svg-wrap { display: none; }
  .rz-process__list { display: block; }
}

/* Walker character animations */
.walker-leg, .walker-arm { transform-box: fill-box; animation-play-state: paused; }
.walker-leg-front { transform-origin: 50% 0%; animation: walker-leg-a 0.45s linear infinite; }
.walker-leg-back  { transform-origin: 50% 0%; animation: walker-leg-b 0.45s linear infinite; }
.walker-arm-front { transform-origin: 0% 0%; animation: walker-arm-a 0.45s linear infinite; }
.walker-arm-back  { transform-origin: 100% 0%; animation: walker-arm-b 0.45s linear infinite; }
.walker.walking .walker-leg, .walker.walking .walker-arm { animation-play-state: running; }
@keyframes walker-leg-a { 0%,100% { transform: rotate(-28deg); } 50% { transform: rotate(28deg); } }
@keyframes walker-leg-b { 0%,100% { transform: rotate(28deg); } 50% { transform: rotate(-28deg); } }
@keyframes walker-arm-a { 0%,100% { transform: rotate(22deg); } 50% { transform: rotate(-22deg); } }
@keyframes walker-arm-b { 0%,100% { transform: rotate(-22deg); } 50% { transform: rotate(22deg); } }
@keyframes proc-card-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================================
   SECTION : MANIFESTO
   ============================================================================ */
.rz-manifesto {
  padding: 160px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.rz-manifesto__inner { position: relative; }
.rz-manifesto__pretitle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.rz-manifesto__pretitle::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.rz-manifesto__title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
  margin: 0;
}
.rz-manifesto__title em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-manifesto__title .mute { color: rgba(255,255,255,0.4); }
.rz-manifesto__pillars {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.rz-pillar__title {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}
.rz-pillar__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  text-wrap: pretty;
  line-height: 1.5;
}
.rz-helmet {
  position: absolute;
  top: clamp(40px, 6vw, 110px);
  right: clamp(-40px, -3vw, 0px);
  width: clamp(280px, 36vw, 540px);
  pointer-events: none;
  transform: rotate(-8deg);
  filter: drop-shadow(0 30px 60px rgba(255,92,26,0.25)) drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}
@media (max-width: 760px) {
  .rz-helmet { opacity: 0.22; top: 24px; right: -40px; }
}

/* ============================================================================
   SECTION : TESTIMONIAL / VERBATIM
   ============================================================================ */
.rz-testi { padding: 160px 0; }
.rz-testi__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.rz-testi__stage {
  position: relative;
  min-height: 240px;
}
.rz-testi__quote {
  position: absolute;
  top: 0; left: 0; right: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.rz-testi__quote.is-first { position: relative; }
.rz-testi__quote.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rz-testi__quote::before {
  content: "“";
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.2em;
  margin-right: 4px;
}
.rz-testi__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.rz-testi__author { font-weight: 500; font-size: 15px; margin: 0; }
.rz-testi__role { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rz-testi__dots { display: flex; gap: 8px; }
.rz-testi__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--line);
  border: 0;
  transition: all .3s ease;
  padding: 0;
  cursor: pointer;
}
.rz-testi__dot.is-active {
  width: 28px;
  background: var(--ink);
}
@media (max-width: 720px) {
  .rz-testi__grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   SECTION : CTA FINAL (bloc accent)
   ============================================================================ */
.rz-cta-final { padding: 120px 0; position: relative; }
.rz-cta-final__box {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 36px;
  padding: clamp(48px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.rz-cta-final__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 130px);
  letter-spacing: -0.035em;
  line-height: 0.92;
  max-width: 14ch;
  margin: 0;
}
.rz-cta-final__title em { font-family: var(--display); font-style: italic; }
.rz-cta-final__lead {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.5;
  max-width: 540px;
  opacity: 0.75;
}
.rz-cta-final__actions {
  margin-top: 56px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.rz-cta-final__flourish {
  position: absolute;
  right: -10px; top: 30px;
  width: clamp(120px, 18vw, 240px);
  opacity: 0.9;
}

/* ============================================================================
   PHONE MODAL (overlay quand on clique un téléphone)
   ============================================================================ */
.rz-phone-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,8,6,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.rz-phone-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
@keyframes pr-pop  { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.rz-phone-modal__inner {
  position: relative;
}
.rz-phone-modal.is-open .rz-phone-modal__inner {
  animation: pr-pop .35s cubic-bezier(.2,.9,.3,1.2);
}
.rz-phone-modal__phone {
  width: 360px; height: 740px;
  border-radius: 58px;
  background: linear-gradient(155deg, #ffb070 0%, #ff7a2e 38%, #c0541d 100%);
  padding: 9px;
  box-shadow: 0 50px 120px -20px rgba(255,122,46,.35),
              0 0 0 1px rgba(255,255,255,.18) inset;
  position: relative;
}
.rz-phone-modal__phone .rz-phone__screen {
  border-radius: 49px;
  padding: 26px;
}
.rz-phone-modal__phone .rz-phone__notch { width: 118px; height: 30px; top: 14px; }
.rz-phone-modal__phone .rz-phone__meta { font-size: 11px; margin-top: 38px; }
.rz-phone-modal__phone .rz-phone__metric { font-size: 96px; }
.rz-phone-modal__phone .rz-phone__label { font-size: 13px; margin-top: 10px; }
.rz-phone-modal__close {
  position: absolute;
  top: -16px; right: -16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(255,122,46,.6);
}
.rz-phone-modal__cap {
  margin-top: 22px;
  text-align: center;
}
.rz-phone-modal__cap .name {
  font-family: var(--display);
  font-style: italic;
  font-size: 30px;
  color: #f6f4ef;
}
.rz-phone-modal__cap .role {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(246,244,239,.5);
  margin-top: 4px;
}
.rz-phone-modal__hint {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  text-align: center;
  color: rgba(246,244,239,.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: var(--mono);
}

/* ============================================================================
   FOOTER (page d'accueil)
   ============================================================================ */
.rz-footer {
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
}
.rz-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: start;
}
.rz-footer__logo {
  display: block;
  height: 112px;
  width: auto;
  margin-bottom: 26px;
  margin-left: -6px;
}
.rz-footer__pitch {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 320px;
}
.rz-footer__pitch em { font-family: var(--display); font-style: italic; color: var(--accent); }
.rz-footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 400;
}
.rz-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0; padding: 0;
}
.rz-footer__col li, .rz-footer__col a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .25s ease;
}
.rz-footer__col a:hover { color: var(--ink); }
.rz-footer__addr {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}
.rz-footer__geo {
  color: var(--muted);
  margin-top: 14px;
  font-size: 11px;
  font-family: var(--mono);
}
.rz-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
[data-theme="dark"] .rz-footer__logo { content: url('../images/rizz-logo-dark.png'); }
@media (max-width: 900px) {
  .rz-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .rz-footer__grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   HOME PAGE LOADER — prevents FOUC, shows centered eye 3D while page loads
   ============================================================================ */
.rz-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;  /* below cursor (2147483645), above everything else */
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .6s ease .15s, visibility 0s linear .75s;
}
.rz-loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.rz-loader__eye {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--bg) 38%, color-mix(in oklab, var(--bg) 60%, var(--ink) 40%) 100%);
  box-shadow: inset -10px -14px 26px rgba(0,0,0,0.18),
              inset 8px 10px 22px rgba(255,255,255,0.65),
              0 18px 40px rgba(0,0,0,0.22),
              0 0 0 2px var(--ink);
  animation: rz-loader-pulse 1.6s ease-in-out infinite;
}
@keyframes rz-loader-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.rz-loader__iris {
  position: absolute; inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 70%, white 30%) 0%, var(--accent) 50%, color-mix(in oklab, var(--accent) 70%, var(--ink) 30%) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.25);
}
.rz-loader__pupil {
  width: 44%; height: 44%; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a2823 0%, #0c0b09 70%);
  position: relative;
}
.rz-loader__pupil::before {
  content: ""; position: absolute;
  top: 14%; left: 18%;
  width: 30%; height: 30%; border-radius: 50%;
  background: rgba(255,255,255,0.85); filter: blur(2px);
}
.rz-loader__label {
  position: absolute;
  bottom: 18vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rz-loader-fade 1.4s ease-in-out infinite;
}
@keyframes rz-loader-fade {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}


/* ============================================================================
   HOME MOBILE OPTIMIZATIONS (≤ 820px)
   ============================================================================ */
@media (max-width: 820px) {

  /* 2. Eye 3D — smaller and more transparent so the title stays readable */
  .rz-eye3d {
    width: min(72vw, 320px);
    height: min(72vw, 320px);
    top: 22%;
    opacity: 0.28;
  }

  /* 3. Disable blobs on mobile (heavy on CPU/GPU) */
  .rz-bloob { display: none; }

  /* Floating decorative eyes — keep but smaller and dimmer */
  .rz-hero__eyes-tr { top: 14vh; right: 4vw; }
  .rz-hero__eyes-bl { bottom: 20vh; left: 4vw; }

  /* Hero spacing on mobile */
  .rz-hero { padding-top: 22vh; padding-bottom: 5vh; }

  /* 4. Process — show the walker SVG on mobile too (was hidden) */
  .rz-process__svg-wrap {
    display: block !important;
    padding: 0 8px;
    margin-bottom: 24px;
  }
  .rz-process__list { display: block; }

  /* Mobile process header layout */
  .rz-process__head { flex-direction: column; align-items: stretch; }
  .rz-process__lead { text-align: left; max-width: 100%; }
  .rz-process__head > div:last-child { align-items: stretch; }
}

/* Hero mobile portrait (smaller screens) */
@media (max-width: 520px) {
  .rz-hero__title { font-size: clamp(40px, 12vw, 80px); }
  .rz-eye3d { width: 64vw; height: 64vw; opacity: 0.22; }
  .rz-hero__eyes-tr, .rz-hero__eyes-bl { transform: scale(0.7); }
}


/* ============================================================================
   BUNNY STREAM - previews & modal iframe
   ============================================================================ */

/* Animated preview WebP overlay inside the small phones */
.rz-phone__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}
.rz-phone__screen.has-thumb .rz-phone__metric,
.rz-phone__screen.has-thumb .rz-phone__label,
.rz-phone__screen.has-thumb .rz-phone__meta {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}
.rz-phone__screen.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,10,0.10) 0%, rgba(12,12,10,0.55) 75%, rgba(12,12,10,0.85) 100%);
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}
.rz-phone__screen.has-thumb .rz-phone__play {
  z-index: 2;
}
.rz-phone__screen.has-thumb .rz-phone__notch {
  z-index: 3;
}

/* Modal video container — holds the Bunny iframe */
.rz-phone-modal__video-container {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  display: none;
  z-index: 5;
}
.rz-phone-modal__video-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.rz-phone-modal__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}
