/* ==========================================================================
   Ryvanta — Vertical Storyline · Layout 86
   Premium Japanese automobile gallery · Yokohama Minato Mirai
   Dark premium + experimental · Ice cyan accent
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --rv-charcoal: #0A0C0F;
  --rv-charcoal-deep: #060709;
  --rv-surface: #111418;
  --rv-surface-raised: #171B21;
  --rv-surface-glass: rgba(17, 20, 24, 0.72);
  --rv-ice: #5EE4FF;
  --rv-ice-glow: rgba(94, 228, 255, 0.45);
  --rv-ice-dim: rgba(94, 228, 255, 0.14);
  --rv-ice-faint: rgba(94, 228, 255, 0.06);
  --rv-snow: #E8EDF2;
  --rv-snow-muted: #B8C4CE;
  --rv-muted: #7A8694;
  --rv-muted-dim: rgba(122, 134, 148, 0.55);
  --rv-ink: #0A0C0F;
  --rv-line: rgba(232, 237, 242, 0.08);
  --rv-line-strong: rgba(94, 228, 255, 0.28);
  --rv-line-vertical: rgba(94, 228, 255, 0.55);
  --rv-overlay-dark: rgba(10, 12, 15, 0.78);
  --rv-overlay-veil: rgba(10, 12, 15, 0.55);
  --rv-danger: #FF6B7A;
  --rv-success: #5EE4A8;
  --rv-font-display: 'Zen Old Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --rv-font-body: 'IBM Plex Sans JP', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --rv-font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  --rv-nav-h: 64px;
  --rv-spine-w: 56px;
  --rv-content-max: 1320px;
  --rv-chapter-pad: clamp(72px, 10vw, 120px);
  --rv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --rv-ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
  --rv-transition: 0.5s var(--rv-ease);
  --rv-shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.55);
  --rv-shadow-ice: 0 0 48px var(--rv-ice-glow), 0 12px 40px rgba(0, 0, 0, 0.45);
  --rv-shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(94, 228, 255, 0.08);
  --rv-refraction: 35;
  --rv-refraction-skew: 0deg;
  --rv-refraction-blur: 0px;
  --rv-beam-height: 0%;
  color-scheme: dark;
}

[data-theme="light"] {
  --rv-charcoal: #F2F5F8;
  --rv-charcoal-deep: #E8ECF0;
  --rv-surface: #FFFFFF;
  --rv-surface-raised: #F8FAFC;
  --rv-surface-glass: rgba(255, 255, 255, 0.82);
  --rv-snow: #0A0C0F;
  --rv-snow-muted: #3D4854;
  --rv-muted: #5A6672;
  --rv-muted-dim: rgba(90, 102, 114, 0.65);
  --rv-ink: #0A0C0F;
  --rv-line: rgba(10, 12, 15, 0.1);
  --rv-line-strong: rgba(94, 228, 255, 0.55);
  --rv-line-vertical: rgba(0, 160, 200, 0.65);
  --rv-overlay-dark: rgba(242, 245, 248, 0.92);
  --rv-overlay-veil: rgba(242, 245, 248, 0.75);
  --rv-ice: #0099BB;
  --rv-ice-glow: rgba(0, 153, 187, 0.25);
  --rv-ice-dim: rgba(0, 153, 187, 0.12);
  --rv-ice-faint: rgba(0, 153, 187, 0.06);
  --rv-shadow-soft: 0 20px 50px rgba(10, 12, 15, 0.1);
  --rv-shadow-ice: 0 0 30px rgba(0, 153, 187, 0.18), 0 8px 24px rgba(10, 12, 15, 0.08);
  --rv-shadow-nav: 0 8px 32px rgba(10, 12, 15, 0.08), 0 0 0 1px rgba(10, 12, 15, 0.06);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.rv-body {
  font-family: var(--rv-font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rv-snow);
  background: var(--rv-charcoal);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rv-ice);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--rv-snow);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rv-font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

h1 em, h2 em {
  font-style: italic;
  color: var(--rv-ice);
}

::selection {
  background: var(--rv-ice-dim);
  color: var(--rv-snow);
}

:focus-visible {
  outline: 2px solid var(--rv-ice);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.rv-micro {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-muted);
}

.visually-hidden,
.rv-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rv-skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--rv-surface);
  border: 1px solid var(--rv-ice);
  color: var(--rv-snow);
  font-size: 13px;
}

.rv-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rv-muted);
  transition: color 0.25s, gap 0.25s var(--rv-ease);
}

.rv-link-arrow::after {
  content: '→';
  color: var(--rv-ice);
  transition: transform 0.25s var(--rv-ease);
}

.rv-link-arrow:hover {
  color: var(--rv-snow);
  gap: 10px;
}

.rv-link-arrow:hover::after {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--rv-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.35s var(--rv-ease), color 0.35s, border-color 0.35s,
              box-shadow 0.35s, transform 0.25s var(--rv-ease);
  white-space: nowrap;
}

.rv-btn:hover {
  transform: translateY(-1px);
}

.rv-btn:active {
  transform: translateY(0);
}

.rv-btn--ice {
  background: var(--rv-ice);
  color: var(--rv-ink);
  border-color: var(--rv-ice);
  box-shadow: 0 0 24px var(--rv-ice-dim);
}

.rv-btn--ice:hover {
  background: var(--rv-snow);
  border-color: var(--rv-snow);
  color: var(--rv-ink);
  box-shadow: var(--rv-shadow-ice);
}

.rv-btn--ghost {
  background: transparent;
  color: var(--rv-snow);
  border-color: var(--rv-line);
}

.rv-btn--ghost:hover {
  border-color: var(--rv-ice);
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
}

.rv-btn--outline {
  background: transparent;
  color: var(--rv-ice);
  border-color: var(--rv-line-strong);
}

.rv-btn--outline:hover {
  background: var(--rv-ice-faint);
  border-color: var(--rv-ice);
  box-shadow: 0 0 20px var(--rv-ice-dim);
}

.rv-btn--lg {
  padding: 16px 32px;
  font-size: 14px;
}

.rv-btn--sm {
  padding: 8px 16px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   5. Layout shell
   -------------------------------------------------------------------------- */
.rv-main {
  flex: 1;
  width: 100%;
}

.page-home .rv-main {
  padding-top: 0;
}

.page-about .rv-main,
.page-shop .rv-main,
.page-faq .rv-main,
.page-contact .rv-main,
.page-cart .rv-main {
  padding-top: calc(var(--rv-nav-h) + 24px);
}

/* --------------------------------------------------------------------------
   6. Reveal animations
   -------------------------------------------------------------------------- */
.rv-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--rv-ease-out), transform 0.8s var(--rv-ease-out);
}

.rv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rv-reveal:nth-child(2) { transition-delay: 0.08s; }
.rv-reveal:nth-child(3) { transition-delay: 0.16s; }

/* --------------------------------------------------------------------------
   7. Story spine — right-side vertical navigation
   -------------------------------------------------------------------------- */
.rv-story-spine {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 400;
  transform: translateY(-50%);
  width: var(--rv-spine-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  pointer-events: none;
}

.rv-story-spine__track {
  position: absolute;
  top: 12px;
  bottom: 48px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: var(--rv-line);
  overflow: hidden;
  pointer-events: none;
}

.rv-story-spine__beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--rv-beam-height, 0%);
  background: linear-gradient(180deg, var(--rv-ice), rgba(94, 228, 255, 0.3));
  box-shadow: 0 0 12px var(--rv-ice-glow);
  transition: height 0.15s linear;
}

.rv-story-spine__node {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s var(--rv-ease), background 0.3s;
}

.rv-story-spine__node:hover {
  transform: scale(1.15);
}

.rv-story-spine__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rv-muted);
  border: 1px solid var(--rv-line);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.rv-story-spine__node.is-active .rv-story-spine__dot,
.rv-story-spine__node:hover .rv-story-spine__dot {
  background: var(--rv-ice);
  box-shadow: 0 0 12px var(--rv-ice-glow);
  transform: scale(1.3);
}

.rv-story-spine__num {
  position: absolute;
  right: calc(100% + 8px);
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--rv-muted);
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.25s, transform 0.25s var(--rv-ease);
  white-space: nowrap;
}

.rv-story-spine__node.is-active .rv-story-spine__num,
.rv-story-spine__node:hover .rv-story-spine__num {
  opacity: 1;
  transform: translateX(0);
  color: var(--rv-ice);
}

.rv-story-spine__readout {
  position: absolute;
  bottom: 0;
  right: calc(100% + 12px);
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--rv-ice);
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   8. Floating pill navbar
   -------------------------------------------------------------------------- */
.rv-float-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 500;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: min(calc(100% - 32px), 920px);
  height: var(--rv-nav-h);
  padding: 0 clamp(16px, 3vw, 28px);
  background: var(--rv-surface-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  box-shadow: var(--rv-shadow-nav);
  transition: top 0.4s var(--rv-ease), background 0.4s, box-shadow 0.4s,
              border-color 0.4s, transform 0.4s var(--rv-ease);
}

.rv-float-nav.is-scrolled {
  top: 10px;
  background: rgba(10, 12, 15, 0.92);
  border-color: var(--rv-line-strong);
  box-shadow: var(--rv-shadow-soft);
}

[data-theme="light"] .rv-float-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.rv-float-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rv-snow);
  flex-shrink: 0;
}

.rv-float-nav__brand:hover {
  color: var(--rv-snow);
  opacity: 0.85;
}

.rv-float-nav__mark {
  font-family: var(--rv-font-display);
  font-size: 18px;
  color: var(--rv-ice);
  text-shadow: 0 0 16px var(--rv-ice-glow);
  line-height: 1;
}

.rv-float-nav__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.rv-float-nav__text strong {
  font-family: var(--rv-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rv-float-nav__text em {
  font-family: var(--rv-font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-muted);
}

.rv-float-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-left: auto;
}

.rv-float-nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}

.rv-float-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rv-ice);
  box-shadow: 0 0 8px var(--rv-ice-glow);
  transition: width 0.3s var(--rv-ease);
}

.rv-float-nav__link:hover,
.rv-float-nav__link.is-active {
  color: var(--rv-snow);
}

.rv-float-nav__link:hover::after,
.rv-float-nav__link.is-active::after {
  width: 100%;
}

.rv-float-nav__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: clamp(8px, 1.5vw, 16px);
}

.rv-tool-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rv-muted);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.rv-tool-btn:hover {
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
}

.rv-icon-sun { display: none; }
.rv-icon-moon { display: block; }

[data-theme="light"] .rv-icon-sun { display: block; }
[data-theme="light"] .rv-icon-moon { display: none; }

.rv-cart-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--rv-ice-faint);
  border: 1px solid var(--rv-line-strong);
  color: var(--rv-snow);
  font-family: var(--rv-font-mono);
  font-size: 11px;
  transition: background 0.25s, box-shadow 0.25s;
}

.rv-cart-pill:hover {
  background: var(--rv-ice-dim);
  box-shadow: 0 0 16px var(--rv-ice-dim);
  color: var(--rv-snow);
}

.rv-cart-pill span {
  min-width: 16px;
  text-align: center;
  color: var(--rv-ice);
}

.rv-menu-trigger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
}

.rv-menu-trigger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--rv-snow);
  transition: transform 0.3s var(--rv-ease), opacity 0.3s;
}

.rv-menu-trigger[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.rv-menu-trigger[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Search layer
   -------------------------------------------------------------------------- */
.rv-search-layer {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--rv-nav-h) + 48px);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s, opacity 0.4s;
}

.rv-search-layer.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.rv-search-layer__veil {
  position: absolute;
  inset: 0;
  background: var(--rv-overlay-veil);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rv-search-layer__panel {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 640px);
  padding: 32px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line-strong);
  border-radius: 16px;
  box-shadow: var(--rv-shadow-soft);
  transform: translateY(-20px);
  transition: transform 0.45s var(--rv-ease-out);
}

.rv-search-layer.is-open .rv-search-layer__panel {
  transform: translateY(0);
}

.rv-search-layer__form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.rv-search-layer__form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.rv-search-layer__form input:focus {
  border-color: var(--rv-ice);
  box-shadow: 0 0 0 3px var(--rv-ice-dim);
  outline: none;
}

.rv-search-layer__hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--rv-muted);
}

.rv-search-layer__hints button {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--rv-line);
  font-size: 11px;
  color: var(--rv-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.rv-search-layer__hints button:hover {
  border-color: var(--rv-ice);
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
}

/* --------------------------------------------------------------------------
   10. Mobile drawer
   -------------------------------------------------------------------------- */
.rv-drawer {
  position: fixed;
  inset: 0;
  z-index: 750;
  pointer-events: none;
  visibility: hidden;
}

.rv-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.rv-drawer__veil {
  position: absolute;
  inset: 0;
  background: var(--rv-overlay-dark);
  opacity: 0;
  transition: opacity 0.4s;
}

.rv-drawer.is-open .rv-drawer__veil {
  opacity: 1;
}

.rv-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  padding: calc(var(--rv-nav-h) + 24px) 28px 32px;
  background: var(--rv-surface);
  border-left: 1px solid var(--rv-line-strong);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.45s var(--rv-ease-out);
  overflow-y: auto;
}

.rv-drawer.is-open .rv-drawer__panel {
  transform: translateX(0);
}

.rv-drawer__panel > a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--rv-snow);
  border-bottom: 1px solid var(--rv-line);
  transition: color 0.2s, padding-left 0.25s var(--rv-ease);
}

.rv-drawer__panel > a:hover {
  color: var(--rv-ice);
  padding-left: 8px;
}

.rv-drawer__meta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--rv-muted);
}

.rv-drawer__meta a {
  font-family: var(--rv-font-mono);
  font-size: 14px;
  color: var(--rv-ice);
}


/* --------------------------------------------------------------------------
   11. Story world & scroll-snap chapters
   -------------------------------------------------------------------------- */
.rv-story-world {
  position: relative;
  width: 100%;
}

.page-home {
  scroll-snap-type: y proximity;
}

.rv-story-chapter {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--rv-chapter-pad) clamp(20px, 5vw, 64px);
  padding-right: calc(clamp(20px, 5vw, 64px) + var(--rv-spine-w));
  border-bottom: 1px solid var(--rv-line);
}

.rv-story-chapter--pinned {
  min-height: auto;
}

.rv-story-chapter:nth-child(odd) {
  background: linear-gradient(180deg, var(--rv-charcoal) 0%, var(--rv-charcoal-deep) 100%);
}

.rv-story-chapter:nth-child(even) {
  background: var(--rv-charcoal);
}

/* --------------------------------------------------------------------------
   12. S01 · Threshold
   -------------------------------------------------------------------------- */
.rv-threshold {
  display: grid;
  grid-template-columns: 48px 1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
  align-items: center;
  padding-top: calc(var(--rv-nav-h) + 16px);
}

.rv-threshold__line-col {
  position: relative;
  height: min(420px, 60vh);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rv-threshold__beam {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--rv-ice), transparent);
  box-shadow: 0 0 20px var(--rv-ice-glow);
  animation: rv-beam-pulse 4s ease-in-out infinite;
}

@keyframes rv-beam-pulse {
  0%, 100% { opacity: 0.6; transform: scaleY(0.95); }
  50% { opacity: 1; transform: scaleY(1); }
}

.rv-threshold__coord {
  writing-mode: vertical-rl;
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--rv-muted);
  margin-top: 16px;
}

.rv-threshold__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-threshold__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rv-threshold__index {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rv-ice);
}

.rv-threshold__title em {
  font-style: normal;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  color: var(--rv-snow);
  letter-spacing: 0.06em;
}

.rv-threshold__title span:last-child {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--rv-muted);
  font-family: var(--rv-font-body);
}

.rv-threshold__lead {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--rv-snow-muted);
  max-width: 42ch;
  line-height: 1.85;
}

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

.rv-threshold__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.rv-threshold__chips span {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  color: var(--rv-muted);
  letter-spacing: 0.06em;
}

.rv-threshold__chips strong {
  color: var(--rv-ice);
  font-weight: 500;
}

.rv-threshold__visual {
  position: relative;
}

.rv-threshold__frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--rv-line);
  aspect-ratio: 4 / 3;
}

.rv-threshold__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(94, 228, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.rv-threshold__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--rv-ease);
}

.rv-threshold:hover .rv-threshold__frame img {
  transform: scale(1.04);
}

.rv-threshold__float {
  position: absolute;
  padding: 8px 14px;
  background: var(--rv-surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rv-line-strong);
  border-radius: 999px;
  font-family: var(--rv-font-mono);
  font-size: 11px;
  color: var(--rv-ice);
  letter-spacing: 0.08em;
  animation: rv-float-drift 6s ease-in-out infinite;
}

.rv-threshold__float--a {
  top: 12%;
  right: -8%;
  animation-delay: 0s;
}

.rv-threshold__float--b {
  bottom: 16%;
  left: -6%;
  animation-delay: -3s;
}

@keyframes rv-float-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   13. S02 · Manifesto (pinned storytelling)
   -------------------------------------------------------------------------- */
.rv-manifesto {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr minmax(280px, 380px);
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
  min-height: 140vh;
  align-items: start;
}

.rv-manifesto__sticky {
  position: sticky;
  top: calc(var(--rv-nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-manifesto__headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.35;
}

.rv-manifesto__progress {
  width: 100%;
  height: 2px;
  background: var(--rv-line);
  overflow: hidden;
  border-radius: 1px;
}

.rv-manifesto__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rv-ice), rgba(94, 228, 255, 0.4));
  box-shadow: 0 0 12px var(--rv-ice-glow);
  transition: width 0.1s linear;
}

.rv-manifesto__beats {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 96px);
  padding: clamp(32px, 6vh, 80px) 0;
}

.rv-manifesto__beat {
  padding-left: 24px;
  border-left: 1px solid var(--rv-line);
  transition: border-color 0.4s;
}

.rv-manifesto__beat:hover {
  border-left-color: var(--rv-ice);
}

.rv-manifesto__num {
  font-family: var(--rv-font-display);
  font-size: 2rem;
  color: var(--rv-ice-dim);
  display: block;
  margin-bottom: 8px;
}

.rv-manifesto__beat h3 {
  margin-bottom: 12px;
  color: var(--rv-snow);
}

.rv-manifesto__beat p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
  max-width: 48ch;
}

.rv-manifesto__visual {
  position: sticky;
  top: calc(var(--rv-nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-manifesto__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--rv-line);
  border-radius: 2px;
  filter: contrast(1.05) saturate(0.95);
}

.rv-manifesto__quote {
  font-family: var(--rv-font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: var(--rv-ice);
  padding: 16px 0 0 20px;
  border-left: 2px solid var(--rv-ice);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. S03 · Pulse (interactive dial)
   -------------------------------------------------------------------------- */
.rv-pulse {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
}

.rv-pulse__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.rv-pulse__header h2 {
  margin: 12px 0 8px;
}

.rv-pulse__header p {
  color: var(--rv-muted);
  font-size: 14px;
}

.rv-pulse__dial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.rv-pulse__dial::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, var(--rv-ice-faint) 0%, transparent 50%);
  pointer-events: none;
}

.rv-pulse__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.rv-pulse__tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--rv-line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rv-muted);
  transition: all 0.3s var(--rv-ease);
}

.rv-pulse__tab:hover {
  border-color: var(--rv-line-strong);
  color: var(--rv-snow);
}

.rv-pulse__tab.is-active {
  background: var(--rv-ice);
  border-color: var(--rv-ice);
  color: var(--rv-ink);
  box-shadow: 0 0 24px var(--rv-ice-dim);
}

.rv-pulse__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.rv-pulse__panel.is-active {
  display: grid;
}

.rv-pulse__display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.rv-pulse__ring {
  position: absolute;
  width: min(280px, 70vw);
  aspect-ratio: 1;
}

.rv-pulse__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rv-pulse__ring-bg {
  fill: none;
  stroke: var(--rv-line);
  stroke-width: 2;
}

.rv-pulse__ring-fill {
  fill: none;
  stroke: var(--rv-ice);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 141;
  filter: drop-shadow(0 0 8px var(--rv-ice-glow));
  transition: stroke-dashoffset 0.8s var(--rv-ease);
}

.rv-pulse__reading {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s, transform 0.5s var(--rv-ease);
  pointer-events: none;
}

.rv-pulse__reading.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.rv-pulse__value {
  font-family: var(--rv-font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--rv-snow);
  line-height: 1;
}

.rv-pulse__value small {
  font-family: var(--rv-font-mono);
  font-size: 0.35em;
  color: var(--rv-ice);
  margin-left: 4px;
}

.rv-pulse__car {
  font-size: 12px;
  color: var(--rv-muted);
  letter-spacing: 0.04em;
}

.rv-pulse__reading img {
  width: min(200px, 40vw);
  margin-top: 12px;
  border-radius: 4px;
  border: 1px solid var(--rv-line);
  opacity: 0.85;
}

.rv-pulse__controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-pulse__step {
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  font-size: 13px;
  color: var(--rv-muted);
  transition: all 0.3s var(--rv-ease);
}

.rv-pulse__step:hover {
  border-color: var(--rv-line-strong);
  color: var(--rv-snow);
  background: var(--rv-ice-faint);
}

.rv-pulse__step.is-active {
  border-color: var(--rv-ice);
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
  box-shadow: inset 3px 0 0 var(--rv-ice);
}

/* --------------------------------------------------------------------------
   15. S04 · Drift (horizontal scroll)
   -------------------------------------------------------------------------- */
.rv-drift {
  max-width: 100%;
  width: 100%;
}

.rv-drift__header {
  max-width: var(--rv-content-max);
  margin: 0 auto clamp(24px, 4vw, 40px);
  padding-inline: clamp(20px, 5vw, 64px);
}

.rv-drift__header h2 {
  margin: 12px 0 8px;
}

.rv-drift__header p {
  color: var(--rv-muted);
  font-size: 14px;
}

.rv-drift__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px clamp(20px, 5vw, 64px) 24px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--rv-ice-dim) transparent;
}

.rv-drift__track:active {
  cursor: grabbing;
}

.rv-drift__track::-webkit-scrollbar {
  height: 4px;
}

.rv-drift__track::-webkit-scrollbar-thumb {
  background: var(--rv-ice-dim);
  border-radius: 2px;
}

.rv-drift__card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s var(--rv-ease), border-color 0.4s, box-shadow 0.4s;
}

.rv-drift__card:hover {
  transform: translateY(-6px);
  border-color: var(--rv-line-strong);
  box-shadow: var(--rv-shadow-soft);
}

.rv-drift__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.rv-drift__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--rv-ease);
}

.rv-drift__card:hover .rv-drift__img img {
  transform: scale(1.06);
}

.rv-drift__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line-strong);
  border-radius: 999px;
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-ice);
}

.rv-drift__meta {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.rv-drift__meta h3 {
  font-size: 1.05rem;
}

.rv-drift__meta span {
  font-family: var(--rv-font-mono);
  font-size: 12px;
  color: var(--rv-ice);
  white-space: nowrap;
}

.rv-drift__cta {
  text-align: center;
  padding: 16px clamp(20px, 5vw, 64px) 0;
  max-width: var(--rv-content-max);
  margin-inline: auto;
}


/* --------------------------------------------------------------------------
   16. S05 · Chronicle — interactive vertical scrub timeline
   -------------------------------------------------------------------------- */
.rv-chronicle {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
}

.rv-chronicle__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--rv-line);
}

.rv-chronicle__header-copy {
  max-width: 36rem;
}

.rv-chronicle__header h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.rv-chronicle__lede {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.75;
  max-width: 32rem;
}

.rv-chronicle__counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--rv-font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--rv-snow-muted);
  flex-shrink: 0;
}

.rv-chronicle__counter-current {
  color: var(--rv-ice);
  font-weight: 500;
  transition: color 0.4s var(--rv-ease);
}

.rv-chronicle__counter-sep {
  opacity: 0.35;
  font-size: 0.55em;
}

.rv-chronicle__counter-total {
  font-size: 0.65em;
  opacity: 0.5;
}

.rv-chronicle__stage {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  min-height: clamp(420px, 52vh, 560px);
}

/* Left spine — year scrubber */
.rv-chronicle__spine {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.rv-chronicle__beam-track {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: calc(100% - 28px);
  width: 2px;
  background: var(--rv-line);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}

.rv-chronicle__beam-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--rv-ice), rgba(94, 228, 255, 0.35));
  box-shadow: 0 0 12px var(--rv-ice-glow);
  transition: height 0.55s var(--rv-ease);
}

.rv-chronicle__node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  text-align: left;
  padding: 10px 36px 10px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.35s var(--rv-ease);
  opacity: 0.42;
}

.rv-chronicle__node:hover,
.rv-chronicle__node.is-active {
  opacity: 1;
}

.rv-chronicle__node-year {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--rv-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--rv-snow);
  transition: color 0.35s, transform 0.35s var(--rv-ease);
}

.rv-chronicle__node.is-active .rv-chronicle__node-year {
  color: var(--rv-ice);
  transform: translateX(4px);
}

.rv-chronicle__node-title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv-muted);
}

.rv-chronicle__node-dot {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--rv-muted-dim);
  background: var(--rv-charcoal);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--rv-ease);
  align-self: center;
}

.rv-chronicle__node.is-active .rv-chronicle__node-dot {
  border-color: var(--rv-ice);
  background: var(--rv-ice);
  box-shadow: 0 0 16px var(--rv-ice-glow);
  transform: scale(1.25);
}

/* Right viewport — crossfading panels */
.rv-chronicle__viewport {
  position: relative;
  min-height: inherit;
}

.rv-chronicle__panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--rv-ease),
    transform 0.55s var(--rv-ease),
    visibility 0.55s;
  pointer-events: none;
}

.rv-chronicle__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.rv-chronicle__panel-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 48vh, 480px);
  background: var(--rv-surface);
}

.rv-chronicle__panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.8s var(--rv-ease);
}

.rv-chronicle__panel.is-active .rv-chronicle__panel-visual img {
  transform: scale(1);
}

.rv-chronicle__panel-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 42%, var(--rv-charcoal) 42.5%),
    linear-gradient(180deg, transparent 55%, rgba(10, 12, 15, 0.65) 100%);
  pointer-events: none;
}

.rv-chronicle__panel-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 14px 18px;
  background: var(--rv-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rv-line-strong);
  border-radius: 2px;
}

.rv-chronicle__panel-stat strong {
  display: block;
  font-family: var(--rv-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--rv-ice);
  line-height: 1.1;
}

.rv-chronicle__panel-stat span {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-muted);
}

.rv-chronicle__panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-left: none;
  position: relative;
}

.rv-chronicle__panel-copy::before {
  content: '';
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  left: 0;
  width: 2px;
  height: calc(100% - clamp(56px, 8vw, 96px));
  background: linear-gradient(180deg, var(--rv-ice), transparent);
  opacity: 0.6;
}

.rv-chronicle__panel-index {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv-muted);
  margin-bottom: 12px;
}

.rv-chronicle__panel-year {
  display: block;
  font-family: var(--rv-font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--rv-ice);
  opacity: 0.12;
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  pointer-events: none;
  user-select: none;
}

.rv-chronicle__panel-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 14px;
  position: relative;
}

.rv-chronicle__panel-copy p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.8;
  max-width: 28rem;
  position: relative;
}

/* --------------------------------------------------------------------------
   17. S06 · Refraction (experimental distortion)
   -------------------------------------------------------------------------- */
.rv-refraction {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
}

.rv-refraction__header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.rv-refraction__header h2 {
  margin: 12px 0 8px;
}

.rv-refraction__header p {
  color: var(--rv-muted);
  font-size: 14px;
  max-width: 48ch;
  margin-inline: auto;
}

.rv-refraction__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: 16px 24px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  max-width: 480px;
  margin-inline: auto;
}

.rv-refraction__controls label {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rv-muted);
  text-transform: uppercase;
}

.rv-refraction__controls input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--rv-line);
  border-radius: 2px;
  outline: none;
}

.rv-refraction__controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rv-ice);
  box-shadow: 0 0 12px var(--rv-ice-glow);
  cursor: pointer;
  transition: transform 0.2s;
}

.rv-refraction__controls input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.rv-refraction__controls input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--rv-ice);
  box-shadow: 0 0 12px var(--rv-ice-glow);
  cursor: pointer;
}

.rv-refraction__controls span {
  font-family: var(--rv-font-mono);
  font-size: 12px;
  color: var(--rv-ice);
  min-width: 36px;
}

.rv-refraction__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 28px);
}

.rv-refraction__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  background: var(--rv-surface);
  transition: border-color 0.35s;
}

.rv-refraction__frame:hover {
  border-color: var(--rv-line-strong);
}

.rv-refraction__mask {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.rv-refraction__mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewY(var(--skew, 0deg)) scale(calc(1 + var(--rv-refraction, 35) * 0.002));
  filter: blur(calc(var(--rv-refraction, 35) * 0.015px)) contrast(calc(1 + var(--rv-refraction, 35) * 0.003));
  transition: transform 0.4s var(--rv-ease), filter 0.4s;
}

.rv-refraction[data-refraction-experimental] .rv-refraction__mask img {
  transform: skewY(calc(var(--skew, 0deg) + var(--rv-refraction-skew, 0deg)))
             scale(calc(1 + var(--rv-refraction, 35) * 0.003));
}

.rv-refraction__frame figcaption {
  padding: 12px 16px;
  font-family: var(--rv-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rv-muted);
  border-top: 1px solid var(--rv-line);
}

/* --------------------------------------------------------------------------
   18. S07 · Orbit (floating metrics)
   -------------------------------------------------------------------------- */
.rv-orbit {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
  text-align: center;
}

.rv-orbit__header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.rv-orbit__header h2 {
  margin-top: 12px;
}

.rv-orbit__field {
  position: relative;
  width: min(640px, 90vw);
  aspect-ratio: 1;
  margin-inline: auto;
}

.rv-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 4 / 3;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rv-line-strong);
  box-shadow: 0 0 40px var(--rv-ice-dim);
  z-index: 2;
}

.rv-orbit__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-orbit__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 20px;
  background: var(--rv-surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rv-line);
  border-radius: 8px;
  animation: rv-orbit-float 5s ease-in-out infinite;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.rv-orbit__node:hover {
  border-color: var(--rv-ice);
  box-shadow: var(--rv-shadow-ice);
}

.rv-orbit__node--1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.rv-orbit__node--2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: -1.25s; }
.rv-orbit__node--3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -2.5s; }
.rv-orbit__node--4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: -3.75s; }

@keyframes rv-orbit-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.rv-orbit__val {
  font-family: var(--rv-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--rv-snow);
  line-height: 1;
}

.rv-orbit__val small {
  font-family: var(--rv-font-mono);
  font-size: 0.45em;
  color: var(--rv-ice);
}

.rv-orbit__label {
  font-size: 10px;
  color: var(--rv-muted);
  letter-spacing: 0.04em;
  max-width: 12ch;
  text-align: center;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   19. S08 · Echo (testimonials)
   -------------------------------------------------------------------------- */
.rv-echo {
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  text-align: center;
}

.rv-echo__header {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.rv-echo__header h2 {
  margin-top: 12px;
}

.rv-echo__column {
  position: relative;
  min-height: 280px;
}

.rv-echo__voice {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--rv-ease), transform 0.6s var(--rv-ease);
  pointer-events: none;
}

.rv-echo__voice.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.rv-echo__voice p {
  font-family: var(--rv-font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.75;
  color: var(--rv-snow-muted);
}

.rv-echo__voice footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rv-echo__voice footer strong {
  font-family: var(--rv-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-snow);
}

.rv-echo__voice footer span {
  font-size: 12px;
  color: var(--rv-muted);
}

.rv-echo__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.rv-echo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rv-line);
  border: 1px solid var(--rv-muted-dim);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.rv-echo__dot:hover {
  background: var(--rv-ice-dim);
  transform: scale(1.2);
}

.rv-echo__dot.is-active {
  background: var(--rv-ice);
  box-shadow: 0 0 12px var(--rv-ice-glow);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   20. S09 · Atelier (process steps)
   -------------------------------------------------------------------------- */
.rv-atelier {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
}

.rv-atelier__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.rv-atelier__header h2 {
  margin-top: 12px;
}

.rv-atelier__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.rv-atelier__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  transition: transform 0.4s var(--rv-ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.rv-atelier__step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--rv-ice), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.rv-atelier__step:hover {
  transform: translateY(-4px);
  border-color: var(--rv-line-strong);
}

.rv-atelier__step:hover::before {
  opacity: 1;
}

.rv-atelier__num {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--rv-ice);
}

.rv-atelier__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
}

.rv-atelier__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--rv-ease);
}

.rv-atelier__step:hover .rv-atelier__img img {
  transform: scale(1.05);
}

.rv-atelier__text h3 {
  margin-bottom: 8px;
}

.rv-atelier__text p {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   21. S10 · Horizon (conversion)
   -------------------------------------------------------------------------- */
.rv-horizon {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  width: 100%;
}

.rv-horizon__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.rv-horizon__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-horizon__copy h2 {
  line-height: 1.3;
}

.rv-horizon__copy > p {
  color: var(--rv-muted);
  font-size: 14px;
  max-width: 40ch;
}

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

.rv-horizon__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.rv-horizon__trust li {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rv-muted);
  padding-left: 14px;
  position: relative;
}

.rv-horizon__trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--rv-ice);
}

.rv-horizon__visual {
  position: relative;
}

.rv-horizon__visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
}

.rv-horizon__card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 20px 24px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line-strong);
  border-radius: 4px;
  box-shadow: var(--rv-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.rv-horizon__card span {
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-ice);
}

.rv-horizon__card strong {
  font-family: var(--rv-font-display);
  font-size: 1.1rem;
  color: var(--rv-snow);
}

.rv-horizon__card em {
  font-style: normal;
  font-family: var(--rv-font-mono);
  font-size: 13px;
  color: var(--rv-muted);
}

.rv-horizon__card .rv-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   22. Inner page hero
   -------------------------------------------------------------------------- */
.rv-page-hero {
  position: relative;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 64px);
  margin-bottom: clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.rv-page-hero__line {
  position: absolute;
  top: 0;
  left: clamp(20px, 5vw, 64px);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--rv-ice), transparent);
  box-shadow: 0 0 16px var(--rv-ice-glow);
}

.rv-page-hero__content {
  max-width: 720px;
  margin-left: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-page-hero__content h1 {
  line-height: 1.2;
}

.rv-page-hero__content > p {
  color: var(--rv-muted);
  font-size: 15px;
  max-width: 48ch;
}

.rv-page-hero--about { background: linear-gradient(135deg, var(--rv-charcoal) 0%, var(--rv-surface) 100%); }
.rv-page-hero--shop { background: linear-gradient(180deg, var(--rv-charcoal-deep) 0%, var(--rv-charcoal) 100%); }
.rv-page-hero--faq { background: var(--rv-charcoal); }
.rv-page-hero--contact { background: linear-gradient(225deg, var(--rv-charcoal) 0%, var(--rv-surface-raised) 100%); }
.rv-page-hero--cart { background: var(--rv-charcoal-deep); }


/* --------------------------------------------------------------------------
   23. About page
   -------------------------------------------------------------------------- */
.rv-about-narrative {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
}

.rv-about-narrative__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.rv-about-narrative__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
}

.rv-about-narrative__visual img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.rv-about-narrative__beam {
  position: absolute;
  top: 0;
  right: 20%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--rv-ice), transparent);
  opacity: 0.6;
}

.rv-about-narrative__copy h2 {
  margin-bottom: 20px;
}

.rv-about-narrative__copy p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.rv-about-mission {
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 64px);
  background: var(--rv-surface);
  border-block: 1px solid var(--rv-line);
}

.rv-about-mission__panel {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.rv-about-mission__panel h2 {
  margin: 12px 0 16px;
}

.rv-about-mission__lead {
  font-family: var(--rv-font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--rv-ice);
  margin-bottom: 20px;
  line-height: 1.6;
}

.rv-about-mission__panel p:last-child {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
}

.rv-about-values {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 64px);
}

.rv-about-values__title {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.rv-about-values__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.rv-value-line {
  padding: 24px 20px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.35s, transform 0.35s var(--rv-ease);
}

.rv-value-line:hover {
  border-color: var(--rv-line-strong);
  transform: translateY(-4px);
}

.rv-value-line__icon {
  display: block;
  font-family: var(--rv-font-display);
  font-size: 2rem;
  color: var(--rv-ice);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--rv-ice-glow);
}

.rv-value-line h3 {
  margin-bottom: 10px;
}

.rv-value-line p {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.7;
}

.rv-about-timeline {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
}

.rv-about-timeline__title {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.rv-timeline-line {
  position: relative;
  padding-left: 32px;
}

.rv-timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: var(--rv-line-vertical);
}

.rv-timeline-line__node {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding: 24px 0 24px 24px;
  border-bottom: 1px solid var(--rv-line);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s var(--rv-ease-out), transform 0.6s var(--rv-ease-out);
  transition-delay: calc(var(--node-i, 0) * 0.08s);
}

.rv-timeline-line__node.is-visible,
.rv-about-timeline.is-visible .rv-timeline-line__node {
  opacity: 1;
  transform: translateX(0);
}

.rv-timeline-line__node::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 32px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rv-charcoal);
  border: 2px solid var(--rv-ice);
  box-shadow: 0 0 8px var(--rv-ice-glow);
}

.rv-timeline-line__img {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--rv-line);
}

.rv-timeline-line__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rv-timeline-line__year {
  font-family: var(--rv-font-mono);
  font-size: 12px;
  color: var(--rv-ice);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.rv-timeline-line__body h3 {
  margin-bottom: 8px;
}

.rv-timeline-line__body p {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.75;
}

.rv-about-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 48px);
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 64px) clamp(20px, 5vw, 64px);
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.rv-about-location__copy h2 {
  margin-bottom: 20px;
}

.rv-about-location__copy address,
.rv-about-location__copy p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
  margin-bottom: 8px;
}

.rv-about-location__copy .rv-btn {
  margin-top: 16px;
}

.rv-about-location__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--rv-line);
}

.rv-about-cta {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, transparent, var(--rv-ice-faint));
}

.rv-about-cta h2 {
  margin-bottom: 12px;
}

.rv-about-cta > p {
  color: var(--rv-muted);
  margin-bottom: 24px;
}

.rv-about-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   24. Shop page
   -------------------------------------------------------------------------- */
.rv-shop-rail {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) 24px;
}

.rv-shop-rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rv-line);
}

.rv-shop-rail__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--rv-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--rv-muted);
  transition: all 0.25s var(--rv-ease);
}

.rv-filter-pill:hover {
  border-color: var(--rv-line-strong);
  color: var(--rv-snow);
}

.rv-filter-pill.is-active {
  background: var(--rv-ice);
  border-color: var(--rv-ice);
  color: var(--rv-ink);
}

.rv-shop-rail__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-shop-rail__sort select {
  padding: 8px 32px 8px 14px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--rv-snow);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8694' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.rv-shop-rail__count {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  color: var(--rv-muted);
  letter-spacing: 0.06em;
  margin-top: 12px;
}

.rv-shop-rail__count span {
  color: var(--rv-ice);
}

.rv-shop-stack {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
}

.rv-shop-stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.rv-shop-card {
  display: flex;
  flex-direction: column;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s var(--rv-ease), border-color 0.4s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(20px);
  animation: rv-card-in 0.6s var(--rv-ease-out) forwards;
  animation-delay: calc(var(--card-i, 0) * 0.06s);
}

@keyframes rv-card-in {
  to { opacity: 1; transform: translateY(0); }
}

.rv-shop-card:hover {
  transform: translateY(-6px);
  border-color: var(--rv-line-strong);
  box-shadow: var(--rv-shadow-soft);
}

.rv-shop-card__visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.rv-shop-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--rv-ease);
}

.rv-shop-card:hover .rv-shop-card__visual img {
  transform: scale(1.05);
}

.rv-shop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line-strong);
  border-radius: 999px;
  font-family: var(--rv-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rv-ice);
}

.rv-shop-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rv-surface-glass);
  backdrop-filter: blur(8px);
  color: var(--rv-muted);
  transition: color 0.25s, background 0.25s;
}

.rv-shop-card__wish:hover,
.rv-shop-card__wish.is-wished {
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
}

.rv-shop-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.rv-shop-card__story {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-shop-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-shop-card__specs li {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--rv-muted);
  padding: 4px 8px;
  background: var(--rv-charcoal);
  border-radius: 999px;
  border: 1px solid var(--rv-line);
}

.rv-shop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rv-line);
}

.rv-shop-card__price {
  font-family: var(--rv-font-display);
  font-size: 1.15rem;
  color: var(--rv-ice);
}

.rv-shop-empty {
  text-align: center;
  padding: 48px;
  color: var(--rv-muted);
  font-size: 14px;
}

.rv-shop-process {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 64px) clamp(20px, 5vw, 64px);
  background: var(--rv-surface);
  border-block: 1px solid var(--rv-line);
}

.rv-shop-process h2 {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 40px);
}

.rv-shop-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.rv-shop-process__steps article {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.rv-shop-process__steps article:hover {
  border-color: var(--rv-line-strong);
}

.rv-shop-process__steps span {
  font-family: var(--rv-font-mono);
  font-size: 11px;
  color: var(--rv-ice);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 10px;
}

.rv-shop-process__steps h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.rv-shop-process__steps p {
  font-size: 12px;
  color: var(--rv-muted);
  line-height: 1.6;
}

.rv-shop-extra {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 48px) clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 32px);
}

.rv-shop-extra__panel,
.rv-shop-extra__note {
  padding: 28px;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
}

.rv-shop-extra__panel {
  background: var(--rv-ice-faint);
  border-color: var(--rv-line-strong);
}

.rv-shop-extra__panel h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.rv-shop-extra__panel p {
  font-size: 14px;
  color: var(--rv-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.rv-shop-extra__note h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--rv-ice);
}

.rv-shop-extra__note p {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   25. FAQ page
   -------------------------------------------------------------------------- */
.rv-faq-intro {
  max-width: 680px;
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(32px, 5vw, 48px);
  text-align: center;
}

.rv-faq-intro p {
  font-size: 15px;
  color: var(--rv-muted);
  line-height: 1.85;
}

.rv-faq-system {
  max-width: 800px;
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 64px);
}

.rv-faq-system__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rv-line);
}

.rv-faq-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--rv-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--rv-muted);
  transition: all 0.25s var(--rv-ease);
}

.rv-faq-tab:hover {
  border-color: var(--rv-line-strong);
  color: var(--rv-snow);
}

.rv-faq-tab.is-active {
  background: var(--rv-ice);
  border-color: var(--rv-ice);
  color: var(--rv-ink);
}

.rv-faq-panel {
  display: none;
}

.rv-faq-panel.is-active {
  display: block;
}

.rv-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-faq-item {
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--rv-surface);
  transition: border-color 0.3s;
}

.rv-faq-item:hover {
  border-color: var(--rv-line-strong);
}

.rv-faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--rv-snow);
  transition: color 0.25s, background 0.25s;
}

.rv-faq-item__trigger svg {
  flex-shrink: 0;
  color: var(--rv-muted);
  transition: transform 0.35s var(--rv-ease), color 0.25s;
}

.rv-faq-item__trigger[aria-expanded="true"] {
  color: var(--rv-ice);
  background: var(--rv-ice-faint);
}

.rv-faq-item__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--rv-ice);
}

.rv-faq-item__body {
  padding: 0 20px 18px;
}

.rv-faq-item__body p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
}

.rv-faq-cta {
  text-align: center;
  padding: clamp(48px, 8vw, 64px) clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, var(--rv-ice-faint), transparent);
  border-top: 1px solid var(--rv-line);
}

.rv-faq-cta h2 {
  margin-bottom: 12px;
}

.rv-faq-cta p {
  color: var(--rv-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   26. Contact page
   -------------------------------------------------------------------------- */
.rv-contact-split {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.rv-contact-info h2 {
  margin-bottom: 20px;
}

.rv-contact-card {
  padding: 24px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  margin-bottom: 16px;
}

.rv-contact-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--rv-ice);
}

.rv-contact-card p {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.rv-contact-card a {
  color: var(--rv-ice);
}

.rv-contact-form {
  padding: clamp(24px, 4vw, 32px);
  background: var(--rv-surface);
  border: 1px solid var(--rv-line-strong);
  border-radius: 4px;
}

.rv-contact-form h2 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.rv-form-row {
  margin-bottom: 18px;
}

.rv-form-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--rv-snow-muted);
}

.rv-form-row label span {
  color: var(--rv-ice);
}

.rv-form-row input,
.rv-form-row select,
.rv-form-row textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.rv-form-row input:focus,
.rv-form-row select:focus,
.rv-form-row textarea:focus {
  border-color: var(--rv-ice);
  box-shadow: 0 0 0 3px var(--rv-ice-dim);
  outline: none;
}

.rv-form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.rv-form-row--check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}

.rv-form-row--check input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--rv-ice);
}

.rv-contact-map {
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
}

.rv-contact-map h2 {
  margin-bottom: 20px;
}

.rv-map-frame {
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: 4px;
}

.rv-map-frame iframe {
  display: block;
  border: 0;
  filter: grayscale(0.5) contrast(1.1) invert(0.92);
}

[data-theme="light"] .rv-map-frame iframe {
  filter: grayscale(0.2) contrast(1.05);
}

/* --------------------------------------------------------------------------
   27. Cart page
   -------------------------------------------------------------------------- */
.rv-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 40px);
  max-width: var(--rv-content-max);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
  align-items: start;
}

.rv-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-cart-empty {
  padding: 48px 32px;
  text-align: center;
  color: var(--rv-muted);
  background: var(--rv-surface);
  border: 1px dashed var(--rv-line);
  border-radius: 4px;
  font-size: 14px;
}

.rv-cart-empty a {
  color: var(--rv-ice);
  text-decoration: underline;
}

.rv-cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  padding: 20px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 4px;
  align-items: center;
  transition: border-color 0.3s;
}

.rv-cart-item:hover {
  border-color: var(--rv-line-strong);
}

.rv-cart-item img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--rv-line);
}

.rv-cart-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.rv-cart-item-meta {
  font-size: 13px;
  color: var(--rv-muted);
  margin-bottom: 10px;
}

.rv-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  overflow: hidden;
}

.rv-cart-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--rv-muted);
  transition: background 0.2s, color 0.2s;
}

.rv-cart-qty button:hover {
  background: var(--rv-ice-faint);
  color: var(--rv-ice);
}

.rv-cart-qty input {
  width: 36px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--rv-font-mono);
  font-size: 13px;
}

.rv-cart-remove {
  font-size: 11px;
  color: var(--rv-muted);
  text-decoration: underline;
  transition: color 0.2s;
  align-self: start;
}

.rv-cart-remove:hover {
  color: var(--rv-danger);
}

.rv-cart-sidebar {
  position: sticky;
  top: calc(var(--rv-nav-h) + 24px);
}

.rv-cart-summary {
  padding: 28px 24px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line-strong);
  border-radius: 4px;
}

.rv-cart-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.rv-cart-coupon {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rv-line);
}

.rv-cart-coupon__row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.rv-cart-coupon__row input {
  flex: 1;
  padding: 10px 14px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  font-size: 13px;
}

.rv-cart-coupon__msg {
  font-size: 12px;
  margin-top: 8px;
  color: var(--rv-ice);
}

.rv-cart-coupon__msg.is-error {
  color: var(--rv-danger);
}

.rv-cart-totals div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--rv-muted);
}

.rv-cart-totals__grand {
  padding-top: 12px !important;
  margin-top: 8px;
  border-top: 1px solid var(--rv-line);
  font-weight: 500;
  color: var(--rv-snow) !important;
}

.rv-cart-totals__grand dd {
  font-family: var(--rv-font-display);
  font-size: 1.4rem;
  color: var(--rv-ice);
}

.rv-cart-summary .rv-micro {
  display: block;
  margin-bottom: 20px;
  line-height: 1.6;
}

.rv-cart-checkout {
  width: 100%;
  margin-bottom: 16px;
}

.rv-cart-summary .rv-link-arrow {
  display: block;
  text-align: center;
}

/* --------------------------------------------------------------------------
   28. Legal pages
   -------------------------------------------------------------------------- */
.rv-legal {
  max-width: 780px;
  margin-inline: auto;
  padding: calc(var(--rv-nav-h) + 48px) clamp(20px, 5vw, 64px) clamp(48px, 8vw, 80px);
}

.rv-legal__head {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rv-line);
}

.rv-legal__head h1 {
  margin: 12px 0 8px;
}

.rv-legal__updated {
  font-size: 13px;
  color: var(--rv-muted);
}

.rv-legal__body section {
  margin-bottom: 36px;
}

.rv-legal__body h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--rv-snow);
}

.rv-legal__body h3 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
  color: var(--rv-ice);
}

.rv-legal__body p,
.rv-legal__body li {
  font-size: 14px;
  color: var(--rv-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

.rv-legal__body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.rv-legal__body li {
  list-style: disc;
  margin-bottom: 6px;
}

.rv-legal__body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   29. Footer — rv-line-foot
   -------------------------------------------------------------------------- */
.rv-line-foot {
  margin-top: auto;
  border-top: 1px solid var(--rv-line);
  position: relative;
}

.rv-line-foot__rail {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--rv-ice), transparent);
  box-shadow: 0 0 12px var(--rv-ice-glow);
}

.rv-line-foot__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(48px, 6vw, 64px) clamp(20px, 5vw, 64px) clamp(32px, 4vw, 40px);
  background: var(--rv-surface);
}

.rv-line-foot__identity {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rv-line-foot__glyph {
  font-family: var(--rv-font-display);
  font-size: 28px;
  color: var(--rv-ice);
  text-shadow: 0 0 20px var(--rv-ice-glow);
  line-height: 1;
}

.rv-line-foot__identity h3 {
  font-family: var(--rv-font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.rv-line-foot__identity p {
  font-size: 13px;
  color: var(--rv-muted);
  max-width: 28ch;
  line-height: 1.6;
}

.rv-line-foot__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rv-line-foot__col h4 {
  font-family: var(--rv-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-ice);
  margin-bottom: 16px;
}

.rv-line-foot__col a {
  display: block;
  font-size: 13px;
  color: var(--rv-muted);
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.25s var(--rv-ease);
}

.rv-line-foot__col a:hover {
  color: var(--rv-snow);
  padding-left: 6px;
}

.rv-line-foot__col address {
  font-size: 13px;
  color: var(--rv-muted);
  line-height: 1.85;
}

.rv-line-foot__col--wide .rv-micro {
  margin-top: 10px;
  display: block;
}

.rv-line-foot__letter {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 clamp(20px, 5vw, 64px) clamp(24px, 4vw, 32px);
  padding-left: clamp(20px, 5vw, 64px);
}

.rv-line-foot__letter input {
  flex: 1;
  padding: 12px 16px;
  background: var(--rv-charcoal);
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  font-size: 13px;
}

.rv-line-foot__letter input:focus {
  border-color: var(--rv-ice);
  outline: none;
}

.rv-line-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: var(--rv-charcoal);
  font-size: 12px;
  color: var(--rv-muted);
  border-top: 1px solid var(--rv-line);
}

/* --------------------------------------------------------------------------
   30. Back to top & toast
   -------------------------------------------------------------------------- */
.rv-back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 450;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line-strong);
  color: var(--rv-ice);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--rv-ease),
              box-shadow 0.35s, background 0.35s;
  box-shadow: var(--rv-shadow-soft);
}

.rv-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rv-back-top:hover {
  background: var(--rv-ice);
  color: var(--rv-ink);
  box-shadow: var(--rv-shadow-ice);
}

.rv-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 900;
  padding: 12px 24px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-ice);
  color: var(--rv-snow);
  font-size: 13px;
  font-family: var(--rv-font-mono);
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: var(--rv-shadow-ice);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--rv-ease);
  pointer-events: none;
  max-width: calc(100% - 40px);
  text-align: center;
}

.rv-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   31. Responsive — 1200px
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .rv-threshold {
    grid-template-columns: 32px 1fr 1fr;
  }

  .rv-manifesto {
    grid-template-columns: 280px 1fr;
  }

  .rv-manifesto__visual {
    display: none;
  }

  .rv-atelier__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-about-values__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-shop-stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-shop-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   32. Responsive — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .rv-story-spine {
    display: none;
  }

  .rv-story-chapter {
    padding-right: clamp(20px, 5vw, 64px);
  }

  .rv-float-nav__links {
    display: none;
  }

  .rv-menu-trigger {
    display: flex;
  }

  .rv-threshold {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rv-threshold__line-col {
    flex-direction: row;
    height: auto;
    gap: 16px;
  }

  .rv-threshold__beam {
    width: 100%;
    height: 2px;
    flex: none;
  }

  .rv-threshold__coord {
    writing-mode: horizontal-tb;
  }

  .rv-manifesto {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rv-manifesto__sticky {
    position: relative;
    top: auto;
  }

  .rv-pulse__panel {
    grid-template-columns: 1fr;
  }

  .rv-chronicle__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rv-chronicle__stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rv-chronicle__spine {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .rv-chronicle__spine::-webkit-scrollbar {
    display: none;
  }

  .rv-chronicle__beam-track {
    display: none;
  }

  .rv-chronicle__node {
    flex-shrink: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 12px 16px;
    border: 1px solid var(--rv-line);
    border-radius: 2px;
    min-width: 108px;
    opacity: 0.65;
  }

  .rv-chronicle__node.is-active {
    border-color: var(--rv-line-strong);
    background: var(--rv-ice-faint);
  }

  .rv-chronicle__node-dot {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 8px;
  }

  .rv-chronicle__viewport {
    min-height: auto;
  }

  .rv-chronicle__panel,
  .rv-chronicle__panel.is-active {
    position: relative;
    grid-template-columns: 1fr;
  }

  .rv-chronicle__panel:not(.is-active) {
    display: none;
  }

  .rv-chronicle__panel-visual {
    min-height: 240px;
  }

  .rv-chronicle__panel-copy {
    border-left: 1px solid var(--rv-line);
  }

  .rv-chronicle__panel-copy::before {
    display: none;
  }

  .rv-horizon__split {
    grid-template-columns: 1fr;
  }

  .rv-horizon__card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
  }

  .rv-about-narrative__grid,
  .rv-about-location,
  .rv-contact-split,
  .rv-cart-layout,
  .rv-shop-extra {
    grid-template-columns: 1fr;
  }

  .rv-line-foot__top {
    grid-template-columns: 1fr;
  }

  .rv-timeline-line__node {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   33. Responsive — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --rv-nav-h: 56px;
    --rv-chapter-pad: clamp(56px, 8vw, 80px);
  }

  .rv-float-nav {
    top: 10px;
    height: var(--rv-nav-h);
    padding: 0 14px;
  }

  .rv-float-nav__text em {
    display: none;
  }

  .rv-refraction__grid {
    grid-template-columns: 1fr;
  }

  .rv-atelier__steps,
  .rv-shop-process__steps,
  .rv-about-values__row {
    grid-template-columns: 1fr;
  }

  .rv-shop-stack__grid {
    grid-template-columns: 1fr;
  }

  .rv-orbit__field {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .rv-orbit__core {
    display: none;
  }

  .rv-orbit__node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none;
  }

  .rv-line-foot__columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rv-line-foot__letter {
    flex-direction: column;
    margin-inline: clamp(20px, 5vw, 64px);
    padding-left: 0;
  }

  .rv-cart-item {
    grid-template-columns: 80px 1fr;
  }

  .rv-cart-remove {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .rv-cart-sidebar {
    position: static;
  }

  .rv-threshold__float {
    display: none;
  }

  .page-home {
    scroll-snap-type: none;
  }
}

/* --------------------------------------------------------------------------
   34. Responsive — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .rv-float-nav__brand {
    gap: 6px;
  }

  .rv-float-nav__text strong {
    font-size: 13px;
  }

  .rv-threshold__actions,
  .rv-horizon__actions,
  .rv-about-cta__actions {
    flex-direction: column;
  }

  .rv-threshold__actions .rv-btn,
  .rv-horizon__actions .rv-btn {
    width: 100%;
  }

  .rv-search-layer__form {
    flex-direction: column;
  }

  .rv-pulse__controls {
    gap: 6px;
  }

  .rv-pulse__step {
    font-size: 12px;
    padding: 10px 14px;
  }

  .rv-back-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   35. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .rv-reveal {
    opacity: 1;
    transform: none;
  }

  .page-home {
    scroll-snap-type: none;
  }
}

@media print {
  .rv-float-nav,
  .rv-story-spine,
  .rv-search-layer,
  .rv-drawer,
  .rv-back-top,
  .rv-toast {
    display: none !important;
  }

  body.rv-body {
    background: #fff;
    color: #000;
  }

  .rv-story-chapter {
    min-height: auto;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   End · Ryvanta main.css · Layout 86 · Vertical Storyline
   ========================================================================== */
