/* ---------------------------------------------------------------
   UPLOAD THIS ONE.
   Built by scripts/build-carrd.py --external for:
       https://billowing-frog-2c67.delunajohn008.workers.dev
   Asset URLs inside are absolute, which is what makes it work when
   served from the host root.

   Do NOT upload the matching file from carrd/shared/ instead. That
   one is the byte-exact mirror of the source and keeps relative
   ../../assets/ paths: the page would still render and every font
   would 404.
   --------------------------------------------------------------- */
/* ==========================================================================
   REVERIE STUDIO — Midnight Electric
   --------------------------------------------------------------------------
   One stylesheet, used verbatim by both the local prototype and the Carrd
   build. Everything is scoped under `.rv` and every custom property, class
   and keyframe is prefixed `rv-`, so dropping this into Carrd's Head cannot
   collide with Carrd's own generated styles. There is deliberately no global
   reset — only the elements we own are touched.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

.rv {
  /* Brand — approved Midnight Electric palette, do not substitute */
  --rv-bg: #09090f;
  --rv-surface: #202137;
  --rv-accent: #675cff;
  --rv-accent-2: #c2ff5c;
  --rv-text: #f5f5fa;
  --rv-text-2: #aaa9bf;

  /* Derived. Kept as explicit rgba so they survive being copied around. */
  --rv-bg-raised: #0e0e18;
  --rv-line: rgba(245, 245, 250, 0.10);
  --rv-line-soft: rgba(245, 245, 250, 0.06);
  --rv-line-strong: rgba(245, 245, 250, 0.20);
  --rv-accent-dim: rgba(103, 92, 255, 0.16);
  --rv-accent-glow: rgba(103, 92, 255, 0.45);
  --rv-on-accent: #ffffff; /* 4.6:1 on --rv-accent; #f5f5fa would not pass */
  /* #675cff as TEXT on the midnight canvas measures 4.3:1 — under AA for
     normal-size text, and every violet label on this page is 11-13px. This
     is the same hue lifted just far enough to clear it (5.3:1). It is not a
     new accent: it is the tint already used in the nav indicator's gradient.
     Fills, borders and glows keep the pure --rv-accent. */
  --rv-accent-text: #7b71ff;

  /* Type */
  /* Display face — Megina, self-hosted (see @font-face below).
     Three tokens switch the whole system; nothing else names a face.
       Megina   : normal / 400       (single weight, no italic)
       Fraunces : axes below / 600   (variable, Google Fonts)
       Bodoni   : normal / 500       (variable, Google Fonts)
     Swap these and the matching <link> or @font-face in the head. */
  --rv-font-display: "Working", "Fraunces", "Bodoni Moda", "Didot", serif;
  --rv-display-vf: normal;
  --rv-display-weight: 400;

  /* --- Fraunces (variable, Google Fonts) ---
  --rv-font-display: "Fraunces", "Bodoni Moda", "Didot", serif;
  --rv-display-vf: "opsz" 144, "SOFT" 34, "WONK" 1, "wght" 600;
  --rv-display-weight: 600;
  */

  /* --- Megina (self-hosted; files kept in assets/fonts/) ---
  --rv-font-display: "Megina", "Fraunces", "Bodoni Moda", "Didot", serif;
  --rv-display-vf: normal;
  --rv-display-weight: 400;
  */

  /* --- Bodoni Moda (matches the supplied logo) ---
  --rv-font-display: "Bodoni Moda", "Didot", serif;
  --rv-display-vf: normal;
  --rv-display-weight: 500;
  */
  --rv-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;

  /* Fluid type scale. Each step is independently tuned rather than
     generated, so nothing breaks awkwardly between 320px and 1920px. */
  /* Width AND height aware: on a short laptop screen a width-only clamp
     makes the four-line headline taller than the viewport and pushes the
     reel below the fold. */
  --rv-t-display: clamp(2.5rem, min(7.2vw, 8.2vh), 8.5rem);
  --rv-t-h2: clamp(2.1rem, 1.1rem + 4.2vw, 5rem);
  --rv-t-h3: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem);
  --rv-t-lead: clamp(1.0625rem, 0.98rem + 0.42vw, 1.3125rem);
  --rv-t-body: clamp(0.9375rem, 0.91rem + 0.16vw, 1.0625rem);
  --rv-t-small: 0.8125rem;
  --rv-t-label: 0.6875rem;

  /* Space */
  --rv-gutter: clamp(20px, 5vw, 80px);
  --rv-section-y: clamp(80px, 11vh + 3vw, 180px);
  --rv-measure: 62ch;

  /* Motion — the whole site uses these three curves and nothing else. */
  --rv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rv-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --rv-dur: 0.55s;

  /* Reel geometry — everything derives from the tile height.
     The height is bounded on BOTH axes: vw so the band grows on big screens,
     vh so it always clears the headline on short ones.
     The radius multiplier is the number that matters. With 26 tiles the
     centre-to-centre spacing around the ring is 2R*sin(6.923deg) = 0.2411R;
     at R = 4.6w that is 1.109w — a gap of exactly 0.109 x tile width at every
     viewport. So tiles never overlap (which would z-fight in 3D) and never
     drift apart as the screen grows.
     26 rather than 10 tiles because perspective caps how far from centre a
     tile can land (~0.7R): a ring wide enough to reach the screen edges needs
     proportionally more tiles to stay dense. They cost 26 nodes but still
     only 10 image downloads. */
  --rv-tile-h: clamp(176px, min(16vw, 30vh), 360px);
  --rv-tile-w: calc(var(--rv-tile-h) * 0.75);
  /* Ring maths. Perspective caps how far from centre a tile can land at
     about 0.7R, so the band spans roughly 1.4R + one tile. To run off both
     edges of a wide screen the ring has to be big — and a big ring needs
     proportionally more tiles, or they drift apart into scattered polaroids.

     Spacing between neighbours is 2R*sin(180/N). Holding that at 1.11w (an
     11% gap, tight but never overlapping — overlap would z-fight in 3D)
     fixes the radius for a given tile count:

       40 tiles -> R = 7.07w   band = 10.9w   full-bleed on a desktop
       20 tiles -> R = 3.55w   band = 5.97w   full-bleed on a phone

     Desktop therefore runs 40 tiles; phones hide every other one and switch
     to the 20-tile geometry below, which keeps the curvature pronounced
     where only three tiles are on screen at once. */
  --rv-reel-radius: calc(var(--rv-tile-w) * 7.07);

  --rv-nav-h: 0px; /* becomes the bottom bar height on mobile */

  color: var(--rv-text);
  background: var(--rv-bg);
  font-family: var(--rv-font-sans);
  font-size: var(--rv-t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}

/* --------------------------------------------------------------------------
   1b. Self-hosted display faces
   --------------------------------------------------------------------------
   Working (212 glyphs) and Megina (182) are both single-weight with no
   italic. Every character used in a heading on this site is covered by each
   — checked against the real markup, not assumed. Only one is active at a
   time; see --rv-font-display above.

   `size-adjust` is not used — the metrics are close enough to the fallback
   that the swap does not shift layout noticeably.

   In Carrd these two files must be hosted alongside the images; the path
   below is rewritten by scripts/build-carrd.py like any other asset.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Working";
  src: url("https://billowing-frog-2c67.delunajohn008.workers.dev/assets/fonts/working.woff2") format("woff2"),
       url("https://billowing-frog-2c67.delunajohn008.workers.dev/assets/fonts/working.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Megina";
  /* NOTE the depth: url() in CSS resolves against the STYLESHEET, not the
     document. This file lives in prototype/css/, so reaching the project's
     assets/ needs two levels, where the HTML only needs one. Getting this
     wrong fails silently if the font also happens to be installed locally —
     it renders fine for you and falls back for everyone else.
     scripts/build-carrd.py rewrites this prefix like any other asset. */
  src: url("https://billowing-frog-2c67.delunajohn008.workers.dev/assets/fonts/megina.woff2") format("woff2"),
       url("https://billowing-frog-2c67.delunajohn008.workers.dev/assets/fonts/megina.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Element defaults (scoped — nothing leaks)
   -------------------------------------------------------------------------- */

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

/* Every element default is wrapped in :where() so it contributes no
   specificity of its own. Without it `.rv a { color: inherit }` scores
   (0,1,1) and silently beats every (0,1,0) component class — which is
   exactly what happened: the skip link rendered near-white on lime, and the
   primary button's white-on-violet dropped to #F5F5FA and fell under 4.5:1.
   Component classes must always win over a reset. */
/* blockquote and figcaption were missing here and it showed: Chrome's UA
   sheet gives blockquote `margin: 1em 40px`, which quietly took 80px out
   of every testimonial card and cut the measure to 31 characters. */
.rv :where(h1, h2, h3, h4, p, figure, blockquote, figcaption, ul, ol, dl) { margin: 0; }
.rv :where(ul, ol) { padding: 0; list-style: none; }

.rv :where(img) { display: block; max-width: 100%; height: auto; }

.rv :where(a) { color: inherit; text-decoration: none; }

.rv :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.rv :focus-visible {
  outline: 2px solid var(--rv-accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}
.rv :focus:not(:focus-visible) { outline: none; }

.rv ::selection { background: var(--rv-accent); color: var(--rv-on-accent); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.rv-shell { width: 100%; overflow-x: clip; }

.rv-wrap {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--rv-gutter);
}

.rv-section { padding-block: var(--rv-section-y); position: relative; }

/* A hairline that draws itself as the section arrives. */
.rv-rule {
  height: 1px;
  background: var(--rv-line);
  transform-origin: left center;
  border: 0;
  margin: 0;
}

.rv-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9em;
  font-size: var(--rv-t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rv-text-2);
}
.rv-eyebrow__num {
  color: var(--rv-accent-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.rv-display {
  font-family: var(--rv-font-display);
  font-optical-sizing: auto;
  /* 600 rather than 400: a high-contrast face's hairlines break up in
     white-on-black at display sizes, and the extra weight keeps the thin
     strokes solid without the mark reading as bold. */
  font-weight: var(--rv-display-weight);
  font-variation-settings: var(--rv-display-vf);
  line-height: 0.94;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
/* The one accent word in a headline carries the acid lime. It is the
   loudest colour in the palette, so it only ever lands on a single word
   per heading — never a whole line. */
.rv-display em {
  font-style: italic;
  font-weight: var(--rv-display-weight);
  font-variation-settings: var(--rv-display-vf);
  letter-spacing: -0.01em;
  color: var(--rv-accent-2);
}

/* Headings with no accent word get a lime full stop instead, which echoes
   the period in the reverie. wordmark. Every heading ends up with exactly
   one lime moment and no heading reads as plain. */
.rv-display i,
.rv-h3 i {
  font-style: normal;
  color: var(--rv-accent-2);
}

.rv-h2 { font-size: var(--rv-t-h2); }
.rv-h3 {
  font-family: var(--rv-font-display);
  font-optical-sizing: auto;
  font-weight: var(--rv-display-weight);
  font-variation-settings: var(--rv-display-vf);
  font-size: var(--rv-t-h3);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.rv-lead {
  font-size: var(--rv-t-lead);
  line-height: 1.55;
  color: var(--rv-text-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.rv-body { color: var(--rv-text-2); max-width: var(--rv-measure); text-wrap: pretty; }
.rv-body + .rv-body { margin-top: 1.1em; }
.rv-body strong { color: var(--rv-text); font-weight: 500; }

/* --------------------------------------------------------------------------
   4. Wordmark
   -------------------------------------------------------------------------- */

.rv-wordmark {
  font-family: var(--rv-font-display);
  font-optical-sizing: auto;
  font-weight: var(--rv-display-weight);
  font-variation-settings: var(--rv-display-vf);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rv-text);
  display: inline-flex;
  align-items: baseline;
}
/* the dot is the one place the acid lime appears in the identity */
.rv-wordmark i { font-style: normal; color: var(--rv-accent-2); }

.rv-wordmark__sub {
  font-family: var(--rv-font-sans);
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  margin-left: 0.7em;
  transform: translateY(-0.12em);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.rv-btn {
  --_bg: transparent;
  --_fg: var(--rv-text);
  --_bd: var(--rv-line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0 1.6em;
  border-radius: 999px;
  border: 1px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--rv-ease), color 0.4s var(--rv-ease),
    transform 0.4s var(--rv-ease);
}
.rv-btn__label { position: relative; z-index: 2; }

/* the wash that sweeps up on hover */
.rv-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--rv-text);
  transform: translateY(101%);
  transition: transform 0.55s var(--rv-ease);
}
.rv-btn:hover { transform: translateY(-2px); }
.rv-btn:hover::before { transform: translateY(0); }
.rv-btn:active { transform: translateY(0); }

.rv-btn--primary {
  --_bg: var(--rv-accent);
  --_fg: var(--rv-on-accent);
  --_bd: var(--rv-accent);
  box-shadow: 0 10px 34px -14px var(--rv-accent-glow);
}
.rv-btn--primary::before { background: var(--rv-accent-2); }
.rv-btn--primary:hover { color: var(--rv-bg); border-color: var(--rv-accent-2); }

/* ---- glass secondary -----------------------------------------------------
   The same material as the navigation pill, so the page has one glass
   treatment rather than two. `brightness()` inside the backdrop filter is
   what keeps the label readable when the button sits over the bright tiles
   of the hero reel: it darkens whatever is behind the glass before the tint
   and the light gradient go over the top.
   -------------------------------------------------------------------------- */

.rv-btn--glass {
  --_bd: transparent;
  background:
    linear-gradient(
      180deg,
      rgba(245, 245, 250, 0.10),
      rgba(245, 245, 250, 0.045)
    ),
    rgba(16, 16, 26, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(0.68);
  backdrop-filter: blur(20px) saturate(160%) brightness(0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(245, 245, 250, 0.10),
    0 14px 34px -14px rgba(0, 0, 0, 0.8);
}

/* chromatic rim, masked to a 1px border — ::before is already the hover
   wash, so the rim lives on ::after */
.rv-btn--glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg,
    rgba(103, 92, 255, 0.5),
    rgba(245, 245, 250, 0.34),
    rgba(194, 255, 92, 0.26),
    rgba(103, 92, 255, 0.5)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.45s var(--rv-ease);
}
.rv-btn--glass:hover::after { opacity: 0.9; }
.rv-btn--glass:hover { color: var(--rv-bg); }

/* Without backdrop-filter the glass would be a near-transparent hole, so
   fall back to an opaque surface that still reads as a button. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .rv-btn--glass { background: rgba(26, 26, 40, 0.96); }
}

.rv-btn__arrow { position: relative; z-index: 2; transition: transform 0.45s var(--rv-ease); }
.rv-btn:hover .rv-btn__arrow { transform: translateX(4px); }

/* text link with a lime rule that wipes in */
.rv-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.rv-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rv-accent-2);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--rv-ease);
}
.rv-link:hover::after { transform: scaleX(1); transform-origin: left center; }

/* --------------------------------------------------------------------------
   6. Liquid-glass navigation
   --------------------------------------------------------------------------
   Adapted from the "Waterline" reference. The refraction is built from
   layered backdrop-filter + rim lighting + a pointer-tracked specular
   rather than a WebGL pass — see docs/COMPONENT-NOTES.md for why.
   -------------------------------------------------------------------------- */

.rv-nav {
  position: fixed;
  z-index: 200;
  top: clamp(14px, 2vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-nav__brand {
  display: none;
  font-size: 22px;
  padding: 0 4px 0 10px;
}

.rv-nav__pill {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  isolation: isolate;
  /* Two-part surface. The `brightness()` in the backdrop filter is the part
     that matters: over the bright tiles of the hero reel a purely additive
     white glass turns milky and the labels stop being readable. Darkening the
     backdrop first, then laying a dark tint and a light gradient over it,
     keeps the pill legible on white AND still lighter than the midnight
     canvas on black. Measured: 6.4:1 for the labels over a white backdrop,
     and the pill stays visibly raised over #09090F. */
  background:
    linear-gradient(
      180deg,
      rgba(245, 245, 250, 0.09),
      rgba(245, 245, 250, 0.045)
    ),
    rgba(16, 16, 26, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(0.6);
  backdrop-filter: blur(24px) saturate(160%) brightness(0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(245, 245, 250, 0.08),
    0 22px 55px -18px rgba(0, 0, 0, 0.85);
}

/* chromatic rim — the bit that actually sells "glass" */
.rv-nav__pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg,
    rgba(103, 92, 255, 0.55),
    rgba(245, 245, 250, 0.35),
    rgba(194, 255, 92, 0.28),
    rgba(103, 92, 255, 0.55)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
  z-index: 3;
}

/* specular highlight that follows the pointer across the glass */
.rv-nav__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120px 60px at var(--rv-mx, 50%) var(--rv-my, 50%),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.45s var(--rv-ease);
  pointer-events: none;
  z-index: 2;
}
.rv-nav__pill:hover::after { opacity: 1; }

/* no backdrop-filter (older Firefox, some embedded webviews): go opaque so
   the labels never sit on raw photography */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .rv-nav__pill { background: rgba(14, 14, 24, 0.94); }
  .rv-nav__pill::before { opacity: 0.75; }
}

.rv-nav__list { display: flex; align-items: center; z-index: 2; }
/* The <li> is the flex child, so any sizing has to live here — putting
   `flex:1` on the <a> inside a plain <li> does nothing. */
.rv-nav__list > li { display: flex; }

.rv-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 44px;
  padding: 0 clamp(12px, 1.3vw, 20px);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  /* Brighter than --rv-text-2: these labels sit on glass, which may be
     lightened by whatever is behind it, so they need the extra headroom. */
  color: rgba(245, 245, 250, 0.8);
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.35s var(--rv-ease);
  -webkit-tap-highlight-color: transparent;
}
.rv-nav__link:hover { color: var(--rv-text); }
.rv-nav__link[aria-current="true"] { color: var(--rv-on-accent); }

.rv-nav__icon { width: 15px; height: 15px; flex: none; opacity: 0.85; }

/* the liquid indicator: positioned and sprung by JS */
.rv-nav__indicator {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 0;
  height: 44px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(123, 113, 255, 0.98),
    rgba(86, 74, 240, 0.9)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2),
    0 8px 22px -6px var(--rv-accent-glow);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width;
}
.rv-nav--ready .rv-nav__indicator { opacity: 1; }

/* Until the indicator is measured — and forever, if JS never runs — the
   current item still has to look current. The markup ships
   aria-current="true" on Home, so this is correct with no script at all. */
.rv-nav:not(.rv-nav--ready) .rv-nav__link[aria-current="true"] {
  background: var(--rv-accent);
  color: var(--rv-on-accent);
}

/* ripple struck on press */
.rv-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  z-index: 2;
}

/* ---- mobile: a bottom bar, not a squeezed desktop pill ---- */
@media (max-width: 860px) {
  .rv {
    /* 56px bar + 2×10px padding, plus the home-indicator inset */
    --rv-nav-h: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .rv-nav {
    top: auto;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: min(440px, calc(100vw - 24px));
    justify-content: center;
  }
  .rv-nav__pill { width: 100%; padding: 5px; }
  .rv-nav__list { width: 100%; }
  .rv-nav__list > li { flex: 1 1 0; min-width: 0; }
  .rv-nav__link {
    width: 100%;
    flex-direction: column;
    gap: 3px;
    height: 54px;
    padding: 0 2px;
    font-size: 0.6875rem;
    letter-spacing: 0.01em;
    font-weight: 500;
  }
  .rv-nav__icon { width: 18px; height: 18px; }
  .rv-nav__indicator { top: 5px; height: 54px; }
}

@media (max-width: 400px) {
  .rv-nav__link { font-size: 0.5625rem; }
}

@media (max-width: 540px) {
  .rv-hero__ctas { width: 100%; }
  .rv-hero__ctas .rv-btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.rv-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* enough to clear the floating pill, no more */
  padding-top: clamp(80px, 10vh, 130px);
  padding-bottom: 0;
  overflow: hidden;
}

/* ---- atmosphere -----------------------------------------------------------
   The hero was a flat #09090f field with type on the left and photographs at
   the bottom, and the space between read as empty rather than as quiet. Two
   drifting lights give it depth.

   Both layers sit at z-index 0, below the reel (1) and the copy (3), and
   animate transform/opacity only so they stay on the compositor. They are
   decorative and pointer-transparent; the hero's own `overflow: hidden`
   does the cropping, which is why they are deliberately oversized.
   --------------------------------------------------------------------------- */

.rv-hero__atmos {
  position: absolute;
  inset: -20% -10% -10%;
  z-index: 0;
  pointer-events: none;
  /* Violet carries it; the lime is a seasoning, far dimmer and further out,
     because the palette uses --rv-accent-2 as a highlight and a big soft
     field of it would turn the page green. */
  /* Weighted to the RIGHT. The copy occupies the left third, and the first
     pass at this put the brightest part of the glow directly behind it —
     which looked rich and dropped the lead paragraph from 7.0:1 to roughly
     5.9:1. The light belongs in the empty half, where it is doing the job
     it was added for. */
  background:
    radial-gradient(38% 46% at 72% 30%, rgba(103, 92, 255, 0.30), transparent 70%),
    radial-gradient(30% 38% at 46% 64%, rgba(103, 92, 255, 0.15), transparent 72%),
    radial-gradient(22% 28% at 88% 60%, rgba(194, 255, 92, 0.085), transparent 72%);
  filter: blur(26px);
  will-change: transform;
  animation: rv-atmos-drift 34s var(--rv-ease-io) infinite alternate;
}

/* A second, slower pass at a different rate and origin. Two loops of
   co-prime-ish length never line up, so the drift has no visible period. */
.rv-hero__atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34% 40% at 62% 48%, rgba(123, 113, 255, 0.16), transparent 70%),
    radial-gradient(24% 26% at 30% 84%, rgba(194, 255, 92, 0.06), transparent 74%);
  animation: rv-atmos-drift-2 47s var(--rv-ease-io) infinite alternate;
}

/* Grain. Large soft gradients on a near-black canvas band badly on 8-bit
   panels — the dither is the fix, and it happens to give the flat field a
   little tooth. Generated, not a downloaded file: one tiny inline SVG beats
   a network request for a texture. */
.rv-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

@keyframes rv-atmos-drift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(3.5%, 2%, 0) scale(1.12); }
}
@keyframes rv-atmos-drift-2 {
  from { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 0.75; }
  to   { transform: translate3d(-3%, -2.5%, 0) scale(1); opacity: 1; }
}

/* The pointer nudges the lights a little. Set from JS on the hero; the
   default of 0 means this costs nothing when JS never runs. */
@media (hover: hover) and (pointer: fine) {
  .rv-hero__atmos {
    translate: calc(var(--rv-px, 0) * 22px) calc(var(--rv-py, 0) * 14px);
    transition: translate 1.2s var(--rv-ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-hero__atmos,
  .rv-hero__atmos::before { animation: none; }
  .rv-hero__atmos { translate: none; transition: none; }
}

.rv-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.rv-hero__mark { font-size: clamp(26px, 3.4vw, 42px); }
.rv-hero__meta {
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  text-align: right;
  line-height: 1.7;
}

.rv-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.6vh, 34px);
  padding-block: clamp(14px, 2.2vh, 36px);
  position: relative;
  z-index: 3;
}

.rv-hero__title {
  font-size: var(--rv-t-display);
  max-width: 15ch;
}
.rv-hero__title .rv-line { display: block; overflow: hidden; }
.rv-hero__title .rv-line > span { display: block; will-change: transform; }

.rv-hero__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
}

.rv-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- the curved reel ---- */

.rv-reel {
  position: relative;
  z-index: 1;
  /* The band shows ~78% of a tile and the rest runs past the fold, cut by
     the hero's own overflow. That buys roughly a third more tile at the same
     cost in hero height — the reel reads as cinematic rather than as a row
     of thumbnails — and the crop invites the scroll. */
  height: calc(var(--rv-tile-h) * 0.78 + 24px);
  margin-top: auto;
  /* feather both ends so tiles arrive and leave rather than pop */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%, #000 9%, #000 91%, transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%, #000 9%, #000 91%, transparent 100%
  );
}

.rv-reel__viewport {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--rv-tile-h);
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

/* pushes the ring back so the front-most tile sits at z≈0 and renders at
   its true size; side tiles then recede naturally */
.rv-reel__depth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--rv-reel-radius) * -1));
}

/* the only animated node in the whole hero */
.rv-reel__ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.rv-reel__tile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--rv-tile-w);
  height: var(--rv-tile-h);
  margin-left: calc(var(--rv-tile-w) / -2);
  margin-top: calc(var(--rv-tile-h) / -2);
  transform: rotateY(calc(var(--rv-i) * var(--rv-step, 9deg)))
    translateZ(var(--rv-reel-radius));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  background: var(--rv-surface);
  box-shadow:
    inset 0 0 0 1px rgba(245, 245, 250, 0.09),
    0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.rv-reel__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* a touch of the midnight canvas pulled back over every tile, so the reel
   reads as one material instead of ten photographs */
.rv-reel__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 15, 0.08),
    rgba(9, 9, 15, 0.42)
  );
  mix-blend-mode: multiply;
}

/* top fade: the headline's descenders always land on solid midnight */
.rv-reel__scrim {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 46%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--rv-bg) 0%,
    rgba(9, 9, 15, 0.72) 38%,
    rgba(9, 9, 15, 0) 100%
  );
}

.rv-hero__scroll span { position: relative; display: block; }

.rv-hero__scroll {
  position: absolute;
  right: var(--rv-gutter);
  /* Clear of the reel, not on top of it. At 1440x900 the old
     `bottom: clamp(18px, 3vh, 34px)` put a 12px grey label squarely over the
     photographs — legible against some tiles, invisible against others, and
     changing every few seconds as the ring turned. The reel band is
     `tile-h * 0.78 + 24px` tall, so this sits 20px above its top edge. */
  bottom: calc(var(--rv-tile-h) * 0.78 + 44px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--rv-t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rv-text-2);
}
/* The scroll cue was a static hairline, which is a label rather than a cue.
   A short travelling segment inside a faint track reads as "there is more
   below" without pulsing or bouncing in the reader's periphery. */
.rv-hero__scroll span::after {
  content: "";
  display: block;
  position: relative;
  width: 1px;
  height: 34px;
  margin: 8px auto 0;
  background: rgba(245, 245, 250, 0.16);
  overflow: hidden;
}
.rv-hero__scroll span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 14px;
  background: linear-gradient(transparent, var(--rv-accent-2));
  animation: rv-scroll-cue 2.4s var(--rv-ease-io) infinite;
}

@keyframes rv-scroll-cue {
  0%   { transform: translateY(-34px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-hero__scroll span::before { animation: none; opacity: 0.6; }
}

/* Phones: half the ring. Every other tile is dropped and the remaining 20
   re-index off --rv-i2, so the geometry stays exact rather than leaving
   gaps. Fewer composited layers, and a much more pronounced curve across
   the three tiles actually visible. */
@media (max-width: 860px) {
  .rv { --rv-reel-radius: calc(var(--rv-tile-w) * 3.55); }
  .rv-reel__tile:nth-child(2n) { display: none; }
  .rv-reel__tile {
    transform: rotateY(calc(var(--rv-i2) * 18deg))
      translateZ(var(--rv-reel-radius));
  }
}

@media (max-width: 767px) {
  .rv-hero { padding-top: clamp(40px, 8vh, 72px); }
  .rv-hero__meta { display: none; }
  .rv-hero__scroll { display: none; }
  .rv-reel__scrim { height: 38%; }
}
/* ---- short viewports -----------------------------------------------------
   A four-line Didone headline, a lead paragraph, two CTAs and an image reel
   do not all fit above the fold on a 568px-tall phone. Rather than shrink
   everything until it is illegible, the reel gives up its height first and
   the hero stops forcing 100svh — the headline and both CTAs stay on the
   first screen, and the reel peeks in below them.
   -------------------------------------------------------------------------- */

/* Wide but short — a 1024x768 tablet in landscape, or a short laptop. The
   reel gives back height so the hero stays close to one screen. */
@media (min-width: 861px) and (max-height: 830px) {
  .rv { --rv-tile-h: clamp(170px, min(16vw, 30vh), 320px); }
}

@media (max-height: 720px) {
  .rv { --rv-tile-h: clamp(140px, 22vh, 220px); }
  .rv-hero__body {
    padding-block: clamp(12px, 2vh, 28px);
    gap: clamp(14px, 2vh, 28px);
  }
}

@media (max-width: 860px) and (max-height: 760px) {
  .rv-hero { min-height: auto; padding-top: 36px; padding-bottom: 8px; }
  .rv-lead { font-size: 0.9375rem; }
  /* The band's fold-crop only works when the hero actually ends at the fold.
     Here it does not, so the crop would just read as a hard line through the
     middle of every tile — show the whole tile instead. */
  .rv-reel { height: calc(var(--rv-tile-h) + 24px); }
}

/* 320px: "Extraordinary" at 40px is wider than the measure */
@media (max-width: 360px) {
  .rv { --rv-t-display: 2.25rem; }
}

/* Landscape phone. 390px of height is less than the display type's own
   floor, so the floor itself has to come down here — otherwise the CTAs end
   up underneath the bottom bar. Width-capped so a short desktop window does
   not get phone-sized headlines. */
@media (max-width: 1000px) and (max-height: 460px) {
  .rv {
    --rv-t-display: clamp(1.5rem, 7.4vh, 2.25rem);
    --rv-tile-h: 110px;
  }
  .rv-hero__mark { font-size: 20px; }
  .rv-hero__body { padding-block: 6px; gap: 8px; }
  /* 46ch is wider than it reads and forced the lead and the CTAs onto
     separate rows, which pushed the buttons under the bottom bar. A tighter
     measure keeps them side by side wherever there is room, and keeps the
     stacked case short where there isn't. */
  .rv-lead { font-size: 0.8125rem; max-width: 30ch; line-height: 1.45; }
  .rv-hero__ctas .rv-btn { min-height: 44px; font-size: 0.9375rem; }
  .rv-reel { height: calc(var(--rv-tile-h) + 16px); }
  /* No room for it. On an 844x390 landscape phone the hero is 387px tall and
     the reel takes 126px of that, which leaves the cue nowhere to sit that
     is not on top of something else — measured, it ended 4px inside the reel
     with the CTAs 6px above it. The crop at the fold is cue enough here. */
  .rv-hero__scroll { display: none; }
}

/* The 16px top padding above belongs only to the bottom-bar layout — between
   861px and 1000px the nav is still the floating top pill and needs its
   clearance, or the headline runs underneath it. */
@media (max-width: 860px) and (max-height: 460px) {
  .rv-hero { padding-top: 12px; }
}

/* Below ~360px of height there is genuinely not room for headline, support
   copy and two CTAs above the bar. The headline and the CTAs win; the same
   sentence is repeated in the studio section immediately below. */
@media (max-width: 860px) and (max-height: 360px) {
  .rv-hero .rv-lead { display: none; }
}

/* --------------------------------------------------------------------------
   8. Studio intro
   -------------------------------------------------------------------------- */

.rv-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 72px);
}
.rv-intro__statement { font-size: var(--rv-t-h2); max-width: 13ch; }
.rv-intro__facts {
  margin-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--rv-line);
}
.rv-intro__facts li {
  display: flex;
  gap: 1em;
  padding: 0.95em 0;
  border-bottom: 1px solid var(--rv-line);
  font-size: var(--rv-t-small);
  color: var(--rv-text-2);
}
.rv-intro__facts b {
  color: var(--rv-accent-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex: none;
}

@media (max-width: 860px) {
  .rv-intro__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   9. Services — oversized editorial list
   -------------------------------------------------------------------------- */

.rv-services__list { margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--rv-line); }

.rv-service {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 3.4vw, 46px);
  border-bottom: 1px solid var(--rv-line);
  transition: border-color 0.5s var(--rv-ease);
}
.rv-service::before {
  content: "";
  position: absolute;
  left: calc(var(--rv-gutter) * -0.5);
  right: calc(var(--rv-gutter) * -0.5);
  top: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--rv-accent-dim), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--rv-ease);
}
.rv-service:hover::before { opacity: 1; }
.rv-service:hover { border-color: var(--rv-line-strong); }

.rv-service__num {
  font-size: var(--rv-t-small);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--rv-accent-text);
  padding-top: 0.55em;
}
.rv-service__title {
  font-size: clamp(1.45rem, 0.95rem + 2.1vw, 3rem);
  transition: transform 0.55s var(--rv-ease);
}
.rv-service:hover .rv-service__title { transform: translateX(10px); }
.rv-service__desc { color: var(--rv-text-2); font-size: var(--rv-t-small); }
.rv-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 1.1em;
}
.rv-service__tags li {
  font-size: var(--rv-t-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  padding: 0.42em 0.85em;
}

/* cursor-following preview, desktop + fine pointer only */
.rv-service__peek {
  position: fixed;
  z-index: 60;
  width: 230px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.9);
  will-change: transform, opacity;
}
.rv-service__peek img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .rv-service { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .rv-service__desc { grid-column: 2; }
  .rv-service__num { padding-top: 0.35em; }
}
@media (hover: none), (pointer: coarse) {
  .rv-service__peek { display: none; }
  .rv-service:hover .rv-service__title { transform: none; }
}

/* --------------------------------------------------------------------------
   10. Selected work
   -------------------------------------------------------------------------- */

.rv-work__note {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 18px;
  padding: 0.45em 0.9em;
  border: 1px solid rgba(194, 255, 92, 0.35);
  border-radius: 999px;
  font-size: var(--rv-t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rv-accent-2);
}

.rv-work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 4vw, 72px) clamp(20px, 3vw, 56px);
  margin-top: clamp(42px, 6vw, 86px);
}

.rv-project { grid-column: span 6; }
/* A four-row repeating rhythm — 7/5 then 5/7 — so the grid never settles
   into a card wall and stays correct however many projects there are. */
.rv-project:nth-child(4n + 1) { grid-column: span 7; }
.rv-project:nth-child(4n + 2) { grid-column: span 5; align-self: end; }
.rv-project:nth-child(4n + 3) { grid-column: span 5; }
.rv-project:nth-child(4n + 4) { grid-column: span 7; align-self: end; }

/* A hairline keeps every plate from bleeding into the page at its edges. */
.rv-project__frame { box-shadow: inset 0 0 0 1px rgba(245, 245, 250, 0.08); }

/* Identity plates are already composed on their own light field. The scrim
   below exists to settle photography into the page; over cream it just reads
   as a dirty gradient, so these opt out of it. */
.rv-project--plate .rv-project__frame::after,
.rv-project--plate:hover .rv-project__frame::after { opacity: 0; }
.rv-project--plate .rv-project__frame img { transform: scale(1); }
.rv-project--plate:hover .rv-project__frame img { transform: scale(1.03); filter: none; }

.rv-project__frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--rv-surface);
  aspect-ratio: 3 / 2;
}
.rv-project__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--rv-ease), filter 0.8s var(--rv-ease);
}
.rv-project:hover .rv-project__frame img {
  transform: scale(1.07);
  filter: saturate(1.08);
}
.rv-project__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 15, 0), rgba(9, 9, 15, 0.5));
  opacity: 0.85;
  transition: opacity 0.7s var(--rv-ease);
}
.rv-project:hover .rv-project__frame::after { opacity: 0.45; }

.rv-project__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2em;
  margin-top: 1.1em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--rv-line);
}
.rv-project__cat {
  font-size: var(--rv-t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  text-align: right;
  flex: 0 1 auto;
  min-width: 0;
}

/* Below this the columns are too narrow to hold a title and a category side
   by side — at 1024px the category was overrunning the viewport and getting
   clipped by the shell. Stack them instead. */
@media (max-width: 1180px) {
  .rv-project__head { flex-direction: column; gap: 0.3em; }
  .rv-project__cat { text-align: left; }
}
.rv-project__desc {
  margin-top: 0.85em;
  font-size: var(--rv-t-small);
  color: var(--rv-text-2);
  max-width: 44ch;
}

@media (max-width: 860px) {
  .rv-work__grid { grid-template-columns: 1fr; }
  .rv-project,
  .rv-project:nth-child(n) { grid-column: 1 / -1; align-self: auto; }
}

/* --------------------------------------------------------------------------
   11. Approach
   -------------------------------------------------------------------------- */

.rv-approach { background: var(--rv-bg-raised); }
.rv-approach__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: 38px;
}
/* The track carries the scroll progress as a number 0-1. Everything on the
   timeline reads from it, so the whole section is driven by one value that
   JS writes once per frame. */
.rv-approach__track { --rv-draw: 1; }

.rv-approach__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--rv-accent), rgba(103, 92, 255, 0.15));
  transform-origin: left center;
  /* Drawn by default. This used to be a bare `transform: scaleX(0)` with
     nothing but JS to undo it, which meant the connecting line simply never
     appeared for anyone without JavaScript — the four steps floated with no
     timeline between them. The undrawn state now belongs to `.rv-js`, like
     every other entrance state in this file. */
  transform: scaleX(1);
}
.rv-js .rv-approach__line {
  transform: scaleX(var(--rv-draw));
}

/* The dot on each step lights as the line reaches it. Default is lit, for
   the same reason the line is. */
.rv-step::before {
  transform: scale(1);
  opacity: 1;
  transition: transform 0.45s var(--rv-ease-out), opacity 0.45s var(--rv-ease),
    box-shadow 0.45s var(--rv-ease);
}
.rv-js .rv-step::before {
  transform: scale(0.35);
  opacity: 0.25;
  box-shadow: 0 0 0 0 rgba(103, 92, 255, 0);
}
.rv-js .rv-step--lit::before {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(103, 92, 255, 0.18);
}
/* The number flips to lime as its stage lights — one small confirmation per
   stage, using the accent the rest of the page already uses for "this one". */
.rv-js .rv-step__num { transition: color 0.45s var(--rv-ease); }
.rv-js .rv-step--lit .rv-step__num { color: var(--rv-accent-2); }

@media (prefers-reduced-motion: reduce) {
  /* No scroll binding runs, so hand everything its finished state. */
  .rv-js .rv-approach__line { transform: scaleX(1); }
  .rv-js .rv-step::before { transform: scale(1); opacity: 1; }
  .rv-js .rv-step__num { color: var(--rv-accent-text); }
}
/* --------------------------------------------------------------------------
   12b. In their words
   --------------------------------------------------------------------------
   A marquee, but one that can be stopped. The quotes are content someone is
   reading, not the hero's decorative reel, so WCAG 2.2.2 applies: anything
   that moves on its own for more than five seconds needs a way to pause it.
   That is why the motion is gated behind `.rv-js` — the script adds the
   animation and unhides the pause button together, so the control can never
   be missing while the movement is present.

   The no-JS and reduced-motion state is not a broken marquee; it is an
   ordinary horizontal scroller you can swipe or drag the scrollbar of.
   -------------------------------------------------------------------------- */

.rv-voices__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 0.9em;
}
.rv-voices__note { font-size: var(--rv-t-small); color: var(--rv-text-2); }

.rv-voices__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;              /* target size, same floor as the nav */
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  background: rgba(245, 245, 250, 0.045);
  box-shadow: inset 0 0 0 1px var(--rv-line);
  cursor: pointer;
  transition: color 0.3s var(--rv-ease), background-color 0.3s var(--rv-ease);
}
.rv-voices__toggle:hover { color: var(--rv-text); background: rgba(245, 245, 250, 0.08); }
.rv-voices__toggle:focus-visible {
  outline: 2px solid var(--rv-accent-2);
  outline-offset: 3px;
}
/* Two bars for pause; the paused state swaps to a triangle. Drawn with
   borders so it needs no asset and inherits currentColor. */
.rv-voices__toggle-icon {
  width: 9px;
  height: 10px;
  flex: none;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.rv-voices__toggle[data-rv-paused="true"] .rv-voices__toggle-icon {
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-right: 0;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  margin-left: 1px;
}

.rv-voices__rail {
  margin-top: clamp(28px, 3.4vw, 48px);
  /* Default, and the state anything without working JS keeps: a normal
     scroller. Swipeable on touch, keyboard-scrollable, no magic. */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.rv-voices__track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 24px);
  width: max-content;
  padding-inline: var(--rv-gutter);
}

/* ---- the marquee, only once the script has confirmed it can drive it ---- */
.rv-js .rv-voices__rail {
  overflow: hidden;
  /* Feather both ends so cards arrive and leave instead of being guillotined
     at the edge — the same treatment the hero reel gets. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.rv-js .rv-voices__rail.rv-voices__rail--dragging { cursor: grabbing; }
.rv-js .rv-voices__track { padding-inline: 0; }

/* touch-action is not inherited — the same trap the hero reel fell into.
   Set it on the descendants or a finger landing on a card gets `auto`. */
.rv-js .rv-voices__rail,
.rv-js .rv-voices__rail * { touch-action: pan-y; }

.rv-voice {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(272px, 25vw, 382px);
  scroll-snap-align: center;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(245, 245, 250, 0.055),
    rgba(245, 245, 250, 0.022)
  );
  box-shadow: inset 0 0 0 1px var(--rv-line-soft);
}

/* The opening mark is the one piece of decoration. It is a pseudo-element so
   it stays out of the accessibility tree and out of the copied text —
   <blockquote> already tells a screen reader this is a quotation, and the
   source quotes had their own wrapping marks removed for the same reason. */
.rv-voice__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--rv-font-display);
  font-variation-settings: var(--rv-display-vf);
  font-weight: var(--rv-display-weight);
  font-size: 3.2rem;
  line-height: 0.6;
  height: 0.42em;
  color: var(--rv-accent-2);
  opacity: 0.85;
}
.rv-voice__quote p {
  margin-top: 0.9em;
  font-size: var(--rv-t-body);
  line-height: 1.6;
  color: var(--rv-text);
  text-wrap: pretty;
}

.rv-voice__by {
  /* Pinned to the bottom so the names line up across a row of cards whose
     quotes are different lengths. */
  margin-top: auto;
  padding-top: 1.3em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-text-2);
}
.rv-voice__by::before {
  content: "";
  width: 18px;
  height: 1px;
  flex: none;
  background: var(--rv-accent-2);
}

@media (prefers-reduced-motion: reduce) {
  /* Back to a plain scroller. The script also declines to start the marquee,
     so this is belt and braces. */
  .rv-js .rv-voices__rail {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    cursor: auto;
  }
  .rv-js .rv-voices__track { padding-inline: var(--rv-gutter); }
}

.rv-step { position: relative; }
.rv-step::before {
  content: "";
  position: absolute;
  top: -42px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rv-accent);
  box-shadow: 0 0 0 4px rgba(103, 92, 255, 0.18);
}
.rv-step__num {
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  color: var(--rv-accent-text);
  font-variant-numeric: tabular-nums;
}
.rv-step__title { margin-top: 0.35em; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); }
.rv-step__desc { margin-top: 0.6em; font-size: var(--rv-t-small); color: var(--rv-text-2); }

@media (max-width: 860px) {
  .rv-approach__track { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}
@media (max-width: 520px) {
  .rv-approach__track { grid-template-columns: 1fr; padding-top: 30px; }
  .rv-step::before { top: -34px; }
}

/* --------------------------------------------------------------------------
   12. About
   -------------------------------------------------------------------------- */

.rv-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 92px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 64px);
}
.rv-about__figure {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4 / 5;
  background: var(--rv-surface);
}
.rv-about__figure img { width: 100%; height: 100%; object-fit: cover; }
.rv-about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(103, 92, 255, 0.22), rgba(9, 9, 15, 0.55));
}
.rv-about__list { margin-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--rv-line); }
.rv-about__list li {
  padding: 0.9em 0;
  border-bottom: 1px solid var(--rv-line);
  font-size: var(--rv-t-small);
  color: var(--rv-text-2);
  display: flex;
  gap: 0.9em;
}
.rv-about__list svg { flex: none; margin-top: 0.35em; color: var(--rv-accent-2); }

@media (max-width: 860px) {
  .rv-about__grid { grid-template-columns: 1fr; }
  .rv-about__figure { aspect-ratio: 16 / 11; }
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */

.rv-contact { position: relative; overflow: hidden; }
.rv-contact__inner { position: relative; z-index: 2; }
.rv-contact__title { font-size: var(--rv-t-h2); max-width: 18ch; margin-top: 26px; }
.rv-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(30px, 4vw, 46px);
}
.rv-contact__email {
  font-family: var(--rv-font-display);
  font-optical-sizing: auto;
  font-weight: var(--rv-display-weight);
  font-variation-settings: var(--rv-display-vf);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.75rem);
  letter-spacing: -0.015em;
}
.rv-contact__next {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px clamp(20px, 3vw, 48px);
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--rv-line);
}
.rv-contact__next h3 {
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-accent-text);
  font-weight: 500;
}
.rv-contact__next p { margin-top: 0.7em; font-size: var(--rv-t-small); color: var(--rv-text-2); }

/* a single, slow violet bloom — the only ambient gradient on the page */
.rv-contact__bloom {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -40%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(103, 92, 255, 0.22) 0%,
    rgba(103, 92, 255, 0.07) 38%,
    rgba(103, 92, 255, 0) 68%
  );
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.rv-footer {
  border-top: 1px solid var(--rv-line);
  padding-block: clamp(44px, 5vw, 72px);
  padding-bottom: calc(clamp(44px, 5vw, 72px) + var(--rv-nav-h));
}
.rv-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px clamp(24px, 4vw, 64px);
}
.rv-footer__mark { font-size: clamp(30px, 5vw, 56px); }
/* Flex, not grid: `repeat(auto-fit, minmax(140px, max-content))` is invalid
   — auto-fit cannot take an intrinsic max — so the whole declaration was
   being dropped and the columns stacked. */
.rv-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(32px, 5vw, 80px);
}
.rv-footer__cols > * { min-width: 140px; }
.rv-footer__cols h2 {
  font-size: var(--rv-t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  font-weight: 500;
  margin-bottom: 0.9em;
}
.rv-footer__cols li + li { margin-top: 0.5em; }
.rv-footer__cols a { font-size: var(--rv-t-small); }
.rv-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--rv-line);
  font-size: var(--rv-t-label);
  letter-spacing: 0.08em;
  color: var(--rv-text-2);
}

/* --------------------------------------------------------------------------
   15. Entrance states
   --------------------------------------------------------------------------
   Elements are only pre-hidden once JS has confirmed it can animate them —
   `.rv-js` is set on the shell by the script. Without JS, everything is
   visible and the page reads normally.
   -------------------------------------------------------------------------- */

.rv-js [data-rv-reveal] { opacity: 0; transform: translateY(22px); }
.rv-js .rv-hero__title .rv-line > span { transform: translateY(105%); }
.rv-js [data-rv-rule] { transform: scaleX(0); }

/* --------------------------------------------------------------------------
   15b. Loading curtain
   --------------------------------------------------------------------------
   The ONLY rules in this file that are not scoped under `.rv`. They have to
   reach the root element, because the curtain must be painted on the very
   first frame — before <body> exists, let alone the shell — or there is
   nothing to cover the flash it exists to hide.

   `.rv-loading` is added by a small synchronous script in the head, so:
     - no JS            -> the class is never set, no curtain, page reads fine
     - reduced motion   -> the head script declines to set it
     - script fails     -> the head script's own timeout removes it
   The last one is the important one. A curtain that depends on a later
   script to lift is a page that disappears when that script 404s.
   -------------------------------------------------------------------------- */

html.rv-loading { overflow: hidden; }

/* The stand-in. Paints from the first frame, before the real overlay can be
   inserted, and is dropped the moment the real one is in place. */
html.rv-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #09090f;
}
html.rv-loading-ready::before { display: none; }

.rv-load {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: #09090f;
  /* The same drifting violet as the hero, so the curtain is not a different
     room from the page behind it. */
  background-image: radial-gradient(42% 46% at 50% 44%, rgba(103, 92, 255, 0.20), transparent 72%);
}

.rv-load__mark {
  font-family: var(--rv-font-display);
  font-variation-settings: var(--rv-display-vf);
  font-weight: var(--rv-display-weight);
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1;
  color: var(--rv-text);
  letter-spacing: -0.015em;
}
.rv-load__mark i { font-style: normal; color: var(--rv-accent-2); }

/* Track and fill. The fill is scaled, not re-widthed, so the bar stays on
   the compositor while images decode on the main thread. */
.rv-load__bar {
  position: relative;
  width: clamp(140px, 30vw, 240px);
  height: 1px;
  background: rgba(245, 245, 250, 0.14);
  overflow: hidden;
}
.rv-load__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(var(--rv-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--rv-accent), var(--rv-accent-2));
  transition: transform 0.4s var(--rv-ease-out);
}

.rv-load__pct {
  font-size: var(--rv-t-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rv * ,
  .rv *::before,
  .rv *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .rv-js [data-rv-reveal],
  .rv-js .rv-hero__title .rv-line > span { opacity: 1; transform: none; }
  .rv-js [data-rv-rule] { transform: scaleX(1); }
  .rv-reel__ring { transform: rotateY(-12deg); }
  .rv-service__peek { display: none; }
}

/* --------------------------------------------------------------------------
   17. Utility
   -------------------------------------------------------------------------- */

.rv-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rv-skip {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -200%);
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rv-accent-2);
  color: var(--rv-bg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.3s var(--rv-ease);
}
.rv-skip:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   18. Reel rotation
   --------------------------------------------------------------------------
   Deliberately a CSS keyframe rather than a JS-driven animation: it is a
   single linear infinite rotateY, which the compositor runs on its own
   thread for free. JS only ever toggles `animation-play-state`, so the reel
   still turns if Motion fails to load, and costs nothing on the main thread
   while it does.
   -------------------------------------------------------------------------- */

@keyframes rv-reel-spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(-360deg); }
}

.rv-reel__ring {
  animation: rv-reel-spin var(--rv-reel-duration, 96s) linear infinite;
}
.rv-reel--paused .rv-reel__ring { animation-play-state: paused; }

@media (max-width: 767px) {
  /* a touch slower on phones: the arc is smaller, so the same angular speed
     reads as faster and gets distracting next to the headline */
  .rv { --rv-reel-duration: 120s; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-reel__ring { animation: none; }
}

/* --------------------------------------------------------------------------
   19. Anchor offsets & no-Motion fallbacks
   -------------------------------------------------------------------------- */

/* The desktop nav floats over the top of the page, so in-page targets need
   to clear it. On mobile the bar is at the bottom, so they do not. */
.rv [id] { scroll-margin-top: 104px; }
@media (max-width: 860px) {
  .rv [id] { scroll-margin-top: 20px; }
}

/* Sections receive focus after an in-page jump; never draw a box around a
   whole section for that. */
.rv-section:focus,
.rv-hero:focus { outline: none; }

/* If Motion did not load, the indicator still tracks the active item — it
   just eases instead of springing. */
.rv-nav--css .rv-nav__indicator {
  transition: transform 0.5s var(--rv-ease), width 0.5s var(--rv-ease);
}

/* --------------------------------------------------------------------------
   20. Websites page
   --------------------------------------------------------------------------
   A sub-page, so it borrows the whole system and adds only what a long list
   of site plates needs. Each entry is one browser-framed plate with its
   details alongside; the plates are already 16:10 and composed on their own
   dark field by scripts/build-websites.py.
   -------------------------------------------------------------------------- */

.rv-sites__intro { padding-bottom: 0; }
/* the list supplies its own leading space via each row's padding-block */
.rv-sites { padding-top: clamp(26px, 3.5vw, 56px); }

.rv-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--rv-t-small);
  color: var(--rv-text-2);
  transition: color 0.35s var(--rv-ease);
}
.rv-back:hover { color: var(--rv-text); }

.rv-site {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 76px);
  border-bottom: 1px solid var(--rv-line);
}
.rv-site:last-child { border-bottom: 0; }

/* alternate which side the plate sits on so the list has a rhythm rather
   than a column of identical rows */
.rv-site:nth-child(even) .rv-site__frame { order: 2; }
.rv-site:nth-child(even) .rv-site__body { order: 1; }

.rv-site__frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  background: var(--rv-bg-raised);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 250, 0.07);
}
.rv-site__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--rv-ease);
}
.rv-site:hover .rv-site__frame img { transform: scale(1.025); }

.rv-site__body {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0 clamp(12px, 1.5vw, 24px);
  align-items: start;
}
.rv-site__index {
  font-size: var(--rv-t-small);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--rv-accent-text);
  padding-top: 0.35em;
}
.rv-site__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6em 1.2em;
  padding-bottom: 0.55em;
  border-bottom: 1px solid var(--rv-line);
}
.rv-site__role {
  font-size: var(--rv-t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  flex: 0 1 auto;
  min-width: 0;
}
.rv-site__sector {
  margin-top: 0.85em;
  font-size: var(--rv-t-small);
  color: var(--rv-accent-2);
}
.rv-site__desc {
  margin-top: 0.7em;
  font-size: var(--rv-t-small);
  color: var(--rv-text-2);
  max-width: 46ch;
}
.rv-site__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 1.2em;
}
.rv-site__tags li {
  font-size: var(--rv-t-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rv-text-2);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  padding: 0.42em 0.85em;
}

@media (max-width: 900px) {
  .rv-site { grid-template-columns: 1fr; gap: 22px; }
  /* order resets so the plate always leads on a phone */
  .rv-site:nth-child(even) .rv-site__frame,
  .rv-site:nth-child(even) .rv-site__body { order: 0; }
  .rv-site__body { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .rv-site__head { flex-direction: column; gap: 0.3em; }
}

.rv-work__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8em;
}

/* Work plates are 3:2 rather than the 16:10 of a browser-framed site. */
.rv-site__frame--work { aspect-ratio: 3 / 2; }

/* --------------------------------------------------------------------------
   22. Reel — drag affordance
   --------------------------------------------------------------------------
   `pan-y` lets a vertical swipe scroll the page while a horizontal one is
   claimed by the reel. The grab cursor is the only hint on desktop; on touch
   the reel is big enough that dragging it is the obvious thing to try.
   -------------------------------------------------------------------------- */

/* touch-action is NOT inherited. Setting it only on the container meant a
   finger landing on a tile fell back to `auto`, so the browser claimed the
   gesture for panning and JS never saw a pointermove — the reel simply did
   not respond to touch. It has to be set on the descendants too. */
.rv-reel,
.rv-reel * { touch-action: pan-y; }

.rv-reel {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.rv-reel--dragging { cursor: grabbing; }

/* Images are the default drag target in every browser; letting them be
   dragged hijacks the gesture on desktop and shows a ghost image. Taking
   them out of hit-testing also means pointer events land on the reel
   itself, so there is one place to listen. */
.rv-reel img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* No transition on the tiles while dragging — the rotation is being scrubbed
   directly and any easing would fight the pointer. */
.rv-reel--dragging .rv-reel__tile { transition: none; }

@media (hover: none) {
  .rv-reel { cursor: default; }
}

/* --------------------------------------------------------------------------
   23. Logo wall
   -------------------------------------------------------------------------- */

.rv-logos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(30px, 4vw, 56px);
}

.rv-logo { margin: 0; }

.rv-logo__frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--rv-bg-raised);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 250, 0.09);
  transition: transform 0.6s var(--rv-ease);
}
.rv-logo__frame img { width: 100%; height: 100%; object-fit: cover; }
.rv-logo:hover .rv-logo__frame { transform: translateY(-3px); }

.rv-logo__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3em 1em;
  margin-top: 0.85em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--rv-line);
}
.rv-logo__name { font-size: var(--rv-t-small); color: var(--rv-text); }
.rv-logo__desc {
  font-size: var(--rv-t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rv-text-2);
}
