/* Hermes product overview — the scroll-scrubbed reveal film that opens the site.
   Type matches the film: Michroma (titles, numbers), Inter Light tracked labels, JetBrains Mono specs. */
.reveal { position: relative; z-index: 1; height: 760vh; margin-top: calc(-1 * var(--nav-h)); background: #050607; }
.rv-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rv-sticky::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5,6,7,0.5) 100%),
    linear-gradient(to bottom, rgba(5,6,7,0.6) 0%, rgba(5,6,7,0) 20%, rgba(5,6,7,0) 55%, rgba(5,6,7,0.78) 100%); }
.rv-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,6,7,0.85) 0%, rgba(5,6,7,0.55) 30%, rgba(5,6,7,0) 52%); }

.rv-cap, .rv-slate { text-shadow: 0 1px 18px rgba(5,6,7,0.7); }
.rv-cap { position: absolute; z-index: 2; opacity: 0; visibility: hidden; display: flex; flex-direction: column; gap: 14px;
  color: #eceef2; will-change: opacity, translate; pointer-events: none; }
.rv-cap.live { pointer-events: auto; }
.rv-center { left: 50%; transform: translateX(-50%); align-items: center; text-align: center; }
.rv-high { top: calc(var(--nav-h) + 9vh); }
.rv-end { top: 50%; transform: translate(-50%, -50%); gap: 18px; width: min(900px, 92vw); }
.rv-bl { left: max(28px, 6vw); bottom: 14vh; }
.rv-br { right: max(28px, 6vw); bottom: 14vh; align-items: flex-end; text-align: right; }
.rv-split { left: max(28px, 6vw); right: max(28px, 6vw); bottom: 13vh; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rv-split > div { display: flex; flex-direction: column; gap: 10px; }
.rv-split .c { align-items: center; text-align: center; padding-bottom: 8px; }
.rv-split .r { text-align: right; align-items: flex-end; }
.rv-split .old { color: #a9adb5; }

/* opening frame: the old hero copy, now over the film */
.rv-intro { left: max(28px, calc((100vw - 1280px) / 2 + 28px)); top: 50%; transform: translateY(-50%); gap: 30px; max-width: min(640px, 86vw); opacity: 1; visibility: visible; }
.rv-intro h1 { margin: 0; line-height: 0; }
.rv-logo { width: min(560px, 80vw); height: auto; display: block; }
.rv-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.28em; color: var(--muted-2); }
.rv-tagline { margin: 0; font-family: var(--display); font-size: clamp(14px, 1.25vw, 18px); line-height: 1.75; letter-spacing: 0.1em; color: #dfe2e6; text-wrap: balance; }
.rv-tagline.c { max-width: 640px; }

.rv-label { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; letter-spacing: 0.42em; color: #969aa2; }
.rv-label.wide { font-weight: 300; font-size: clamp(13px, 1.3vw, 18px); letter-spacing: 0.75em; color: #d4d6dc; margin-right: -0.75em; }
.rv-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: 0.26em; }
.rv-big { display: flex; align-items: baseline; gap: 18px; }
.rv-big b { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8vw, 118px); line-height: 1; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.rv-big small, .rv-mid small { font-family: 'Inter', sans-serif; font-weight: 300; font-size: clamp(16px, 1.6vw, 26px); letter-spacing: 0.3em; }
.rv-mid { font-family: var(--display); font-size: clamp(30px, 3.8vw, 56px); letter-spacing: 0.08em; white-space: nowrap; }
.rv-mono, .rv-spec { font-family: var(--mono); font-size: 14px; letter-spacing: 0.2em; color: #c8ccd4; }
.rv-mono.dim { font-size: 12px; color: #8f949c; }
.rv-rule { display: block; width: 300px; max-width: 60vw; height: 1px; background: rgba(236,238,242,0.55); }
.rv-rule.long { width: 520px; } .rv-rule.tiny { width: 80px; }
.rv-br .rv-rule { align-self: flex-end; }
.rv-spec { display: grid; grid-template-columns: auto auto; gap: 10px 48px; margin: 0; }
.rv-spec dt { color: #969aa2; text-align: left; } .rv-spec dd { margin: 0; text-align: right; }
.rv-lockup { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.rv-lockup img { height: clamp(40px, 5vw, 80px); width: auto; }
.rv-lockup span { font-family: var(--display); font-size: clamp(34px, 4.4vw, 70px); letter-spacing: 0.62em; margin-right: -0.62em; }
.rv-lockup.big img { height: clamp(44px, 5.4vw, 88px); }
.rv-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; text-shadow: none; }
.rv-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: #787c84; margin-top: 10px; }

.rv-slate { position: absolute; z-index: 2; top: calc(var(--nav-h) + 22px); display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: #969aa2; opacity: 0; transition: opacity .5s; }
.rv-slate.on { opacity: 0.75; }
.rv-tl { left: max(28px, 4vw); } .rv-tr { right: max(28px, 4vw); text-align: right; }
.rv-hint { position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: #969aa2; margin-right: -0.3em; pointer-events: none; }
.rv-hint i { width: 1px; height: 34px; background: linear-gradient(#969aa2, transparent); animation: rv-drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes rv-drip { 0% { scale: 1 0; } 45% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }
.rv-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(236,238,242,0.5); transform-origin: 0 50%; scale: 0 1; }

@media (max-width: 760px) {
  .reveal { height: 640vh; }
  .rv-slate { display: none; }
  .rv-shade { background: linear-gradient(to top, rgba(5,6,7,0.85) 0%, rgba(5,6,7,0) 55%); }
  .rv-intro, .rv-bl, .rv-br, .rv-split { left: 20px; right: 20px; top: auto; bottom: calc(7vh + env(safe-area-inset-bottom)); transform: none; max-width: none; }
  .rv-intro { gap: 20px; }
  .rv-logo { width: min(340px, 78vw); }
  .rv-eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .rv-tagline { font-size: 13px; letter-spacing: 0.06em; }
  .rv-high { top: auto; bottom: calc(9vh + env(safe-area-inset-bottom)); }
  .rv-br { align-items: flex-start; text-align: left; }
  .rv-br .rv-rule { align-self: auto; }
  .rv-split { flex-direction: column; align-items: stretch; gap: 22px; }
  .rv-split .c, .rv-split .r { align-items: flex-start; text-align: left; padding: 0; }
  .rv-rule.long { width: 100%; }
  .rv-spec { font-size: 12px; gap: 8px 24px; letter-spacing: 0.12em; }
  .rv-mono { font-size: 12px; letter-spacing: 0.12em; }
  .rv-lockup span { letter-spacing: 0.4em; margin-right: -0.4em; }
  .rv-end { top: auto; bottom: calc(5vh + env(safe-area-inset-bottom)); transform: translateX(-50%); gap: 14px; }
  .rv-end .rv-tagline { display: none; }
  .rv-note { font-size: 10px; letter-spacing: 0.06em; }
  .rv-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rv-hint i { animation: none; } }
