@charset "UTF-8";
:root {
  --color-brand: #0037e6;
  --color-brand-strong: #002bb8;
  --color-brand-bright: #6680ff;
  --color-brand-weak: rgba(0, 55, 230, 0.14);
  --gradient-brand: linear-gradient(135deg, #2f4dff 0%, #002bb8 100%);
  --glow-brand: 0 0 0 1px rgba(0, 55, 230, 0.4), 0 0 42px rgba(0, 55, 230, 0.42);
  --brand-rgb: 0, 55, 230;
  --color-brand-contrast: #fff;
  --ambient-rgb: var(--brand-rgb);
  --color-bg: #06080d;
  --color-bg-2: #0a0c12;
  --color-surface: #13161c;
  --color-surface-2: #181c23;
  --color-elevated: #1f242c;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-line-strong: rgba(255, 255, 255, 0.16);
  --color-text: #f2f4f7;
  --color-text-muted: #aab2bb;
  --color-text-subtle: #949ca5;
  --font-display: "Anton", system-ui, sans-serif;
  --ls-display: 0.025em;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extra: 800;
  --dur-fast: 0.15s;
  --dur-base: 0.4s;
  --dur-slow: 0.7s;
  --dur-slower: 1.1s;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius: var(--radius-md);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --z-bg: 0;
  --z-content: 10;
  --z-cursor: 9000;
  --z-transition: 9500;
  --z-loader: 9800;
}

[data-theme=ardc] {
  --color-brand: #0037e6;
  --color-brand-strong: #002bb8;
  --color-brand-bright: #6680ff;
  --color-brand-weak: rgba(0, 55, 230, 0.16);
  --gradient-brand: linear-gradient(135deg, #2f4dff 0%, #002bb8 100%);
  --glow-brand: 0 0 0 1px rgba(0, 55, 230, 0.45), 0 0 60px rgba(0, 55, 230, 0.5);
  --brand-rgb: 0, 55, 230;
  --color-brand-contrast: #fff;
}

[data-theme=smp] {
  --color-brand: #ffc800;
  --color-brand-strong: #e0a800;
  --color-brand-bright: #ffd84d;
  --color-brand-weak: rgba(255, 200, 0, 0.16);
  --gradient-brand: linear-gradient(135deg, #ffd23d 0%, #edaf00 100%);
  --glow-brand: 0 0 0 1px rgba(255, 200, 0, 0.45), 0 0 60px rgba(255, 200, 0, 0.55);
  --brand-rgb: 255, 200, 0;
  --color-brand-contrast: #171200;
  --ambient-rgb: 255, 154, 10;
  --color-secondary: #d80d0d;
  --color-secondary-bright: #f15d5d;
  --secondary-rgb: 216, 13, 13;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--color-brand);
  color: var(--color-brand-contrast, #fff);
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none;
  }
}
:focus-visible {
  outline: 2px solid var(--color-brand-bright);
  outline-offset: 4px;
}

.u-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
}

.u-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.u-overline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.split-line {
  display: block;
  overflow: hidden;
}

.split-line__inner {
  display: block;
  will-change: transform;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body.page {
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--color-bg);
}

body.page.is-menu-open {
  overflow: hidden;
}

html {
  scrollbar-gutter: stable;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--color-brand) var(--color-bg-2);
  }
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-2);
  border-left: 1px solid var(--color-line, rgba(255, 255, 255, 0.06));
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-brand-bright), var(--color-brand) 45%, var(--color-brand-strong));
  border-radius: 999px;
  border: 3px solid var(--color-bg-2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-bright);
}

::-webkit-scrollbar-corner {
  background: var(--color-bg-2);
}

:root {
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1360px;
  --section-pad: clamp(5rem, 12vh, 11rem);
}

@media (max-width: 1440px) {
  :root {
    --gutter: 30px;
  }
}
@media (max-width: 991.98px) {
  :root {
    --gutter: 20px;
  }
}
.content {
  position: relative;
  z-index: var(--z-content);
}

section {
  position: relative;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.06em;
}

.line__inner {
  display: block;
  will-change: transform;
  transform: translateY(120%);
}

.line__accent {
  color: var(--color-brand-bright);
}

[data-reveal] {
  will-change: transform, opacity;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand-bright);
  transition: transform 0.5s var(--ease-out-expo);
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--color-line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo), background 0.5s;
}

.link-arrow:hover svg {
  transform: translateY(3px);
}

.link-arrow:hover::after {
  transform: scaleX(1);
  background: var(--color-brand-bright);
}

.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 1.1;
}

.atmos {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, rgba(var(--ambient-rgb, var(--brand-rgb)), 0.16), transparent 60%), var(--color-bg);
}

.atmos__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.atmos__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.6;
}

.atmos__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

.atmos__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(135% 120% at 50% 40%, transparent 52%, rgba(0, 0, 0, 0.72) 100%);
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cursor.is-active {
  opacity: 1;
}

.cursor__dot, .cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
  backface-visibility: hidden;
}

.cursor__dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--color-brand-bright);
  box-shadow: 0 0 12px 2px rgba(var(--brand-rgb), 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.cursor__ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: invert(0.04);
  -webkit-backdrop-filter: invert(0.04);
  display: grid;
  place-items: center;
  transition: width 0.28s var(--ease-out-expo), height 0.28s var(--ease-out-expo), margin 0.28s var(--ease-out-expo), border-color 0.22s ease, background 0.22s ease;
}

.cursor__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out-expo);
  white-space: nowrap;
}

.cursor.is-hovering .cursor__ring {
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-color: rgba(var(--brand-rgb), 0.9);
  background: rgba(var(--brand-rgb), 0.12);
}

.cursor.is-hovering .cursor__label {
  opacity: 1;
  transform: scale(1);
}

.cursor.is-hovering .cursor__dot {
  background: #fff;
  box-shadow: 0 0 16px 4px rgba(var(--brand-rgb), 0.95);
}

.cursor.is-down .cursor__ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
}

.cursor.is-idle .cursor__dot {
  animation: cursor-pulse 2.2s ease-in-out infinite;
}

@keyframes cursor-pulse {
  0%, 100% {
    box-shadow: 0 0 10px 2px rgba(var(--brand-rgb), 0.6);
  }
  50% {
    box-shadow: 0 0 18px 5px rgba(var(--brand-rgb), 0.95);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor.is-idle .cursor__dot {
    animation: none;
  }
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}
:root {
  --masthead-h: calc(clamp(50px, 4.4vw, 64px) * 1.342 + clamp(1rem, 2.4vw, 1.7rem) * 2);
}

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  --badge-w: clamp(50px, 4.4vw, 64px);
  --ctl-h: clamp(42px, 3.1vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.7rem) var(--gutter);
  transition: transform 0.6s var(--ease-out-expo), background 0.5s var(--ease-standard), backdrop-filter 0.5s var(--ease-standard), padding 0.5s var(--ease-out-expo), box-shadow 0.55s var(--ease-standard);
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), 0.7) 50%, transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease-standard);
}

.masthead.is-stuck {
  --badge-w: clamp(38px, 3.2vw, 46px);
  --ctl-h: clamp(38px, 2.7vw, 40px);
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.74), rgba(6, 8, 13, 0.56));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 52px -26px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding-top: clamp(0.5rem, 1.1vw, 0.78rem);
  padding-bottom: clamp(0.5rem, 1.1vw, 0.78rem);
}

.masthead.is-stuck::after {
  opacity: 1;
}

.masthead.is-stuck .masthead__brand {
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.masthead.is-stuck .btn-login {
  box-shadow: 0 6px 18px -8px rgba(var(--brand-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.masthead.is-hidden {
  transform: translateY(-100%);
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.3vw, 1.2rem);
  transition: gap 0.5s var(--ease-out-expo);
}

.masthead__logo {
  display: inline-flex;
}

.masthead__badge {
  width: var(--badge-w);
  height: auto;
  filter: invert(1) drop-shadow(0 3px 14px rgba(0, 0, 0, 0.7));
  transition: width 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.masthead__brand:hover .masthead__badge {
  transform: rotate(-4deg) scale(1.05);
}

.masthead__word {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 13ch;
  line-height: 1.34;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .masthead__word {
    display: none;
  }
}
.masthead__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.4rem);
}

.btn-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  height: var(--ctl-h);
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-contrast, #fff);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.9), rgba(var(--brand-rgb), 0.45));
  box-shadow: 0 10px 30px -10px rgba(var(--brand-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, height 0.5s var(--ease-out-expo), width 0.5s var(--ease-out-expo);
}

.btn-login__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  aspect-ratio: 1;
  margin: -110% 0 0 -110%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--brand-rgb), 0.9) 80deg, var(--color-brand-bright) 140deg, transparent 220deg, transparent 360deg);
  animation: btnGlowSpin 5s linear infinite;
  opacity: 0;
  transition: opacity 0.5s;
}

.btn-login::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease-out-expo);
}

.btn-login__icon {
  display: inline-flex;
}

.btn-login__icon svg {
  width: 15px;
  transition: transform 0.5s var(--ease-out-expo);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(var(--brand-rgb), 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-login:hover .btn-login__glow {
  opacity: 0.55;
}

.btn-login:hover::after {
  transform: translateX(130%);
}

.btn-login:hover .btn-login__icon svg {
  transform: translateX(3px);
}

@media screen and (max-width: 576px) {
  .btn-login__label {
    display: none;
  }
  .btn-login {
    width: var(--ctl-h);
    padding: 0;
  }
  .btn-login__icon svg {
    width: 17px;
  }
}
@keyframes btnGlowSpin {
  to {
    transform: rotate(360deg);
  }
}
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: var(--ctl-h);
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.45s, background 0.45s, transform 0.5s var(--ease-out-expo), height 0.5s var(--ease-out-expo), width 0.5s var(--ease-out-expo);
}

@media screen and (max-width: 576px) {
  .burger {
    width: var(--ctl-h);
    padding: 0;
  }
}
.burger__box {
  position: relative;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
}

.burger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.45s var(--ease-out-expo), background 0.35s, top 0.4s var(--ease-out-expo), opacity 0.3s;
}

.burger__line:nth-child(1) {
  top: 0;
  transform-origin: left center;
}

.burger__line:nth-child(2) {
  top: 6px;
  transform-origin: right center;
}

.burger__line:nth-child(3) {
  top: 12px;
  transform-origin: left center;
}

.burger__text {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.4s;
}

@media screen and (max-width: 576px) {
  .burger__text {
    display: none;
  }
}
.burger:hover {
  border-color: rgba(var(--brand-rgb), 0.6);
  background: rgba(var(--brand-rgb), 0.1);
  transform: translateY(-1px);
}

.burger:hover .burger__text {
  color: #fff;
}

.burger:hover .burger__line {
  background: #fff;
}

.burger:hover .burger__line:nth-child(1) {
  transform: scaleX(0.55);
}

.burger:hover .burger__line:nth-child(2) {
  transform: scaleX(0.8);
  transition-delay: 0.06s;
}

.burger:hover .burger__line:nth-child(3) {
  transform: scaleX(0.55);
  transition-delay: 0.12s;
}

.burger[aria-expanded=true] .burger__line {
  background: var(--color-text);
  transition-delay: 0s;
}

.burger[aria-expanded=true] .burger__line:nth-child(1) {
  top: 6px;
  transform-origin: center;
  transform: rotate(45deg);
}

.burger[aria-expanded=true] .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger[aria-expanded=true] .burger__line:nth-child(3) {
  top: 6px;
  transform-origin: center;
  transform: rotate(-45deg);
}

.megamenu {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
  pointer-events: none;
}

.megamenu__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #080a10, #05070c);
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.megamenu__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(130% 110% at 18% 12%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(130% 110% at 18% 12%, #000 0%, transparent 70%);
}

.megamenu__glow {
  position: absolute;
  top: -25%;
  right: -8%;
  width: 70vw;
  height: 70vw;
  max-width: 920px;
  max-height: 920px;
  background: radial-gradient(circle, rgba(var(--ambient-rgb, var(--brand-rgb)), 0.2), transparent 60%);
  will-change: transform, opacity;
  animation: mmGlowDrift 14s ease-in-out infinite alternate;
}

.megamenu__aura {
  position: absolute;
  left: -12%;
  bottom: -20%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.12), transparent 62%);
  will-change: transform, opacity;
  animation: mmAuraDrift 18s ease-in-out infinite alternate;
}

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

.megamenu:not(.is-open) .megamenu__glow, .megamenu:not(.is-open) .megamenu__aura {
  animation-play-state: paused;
}

.megamenu.is-animating .megamenu__close, .megamenu.is-animating .mpanel__links a, .megamenu.is-animating .qbtn {
  transition: none !important;
}

.megamenu__close {
  position: absolute;
  top: clamp(1.5rem, 3.5vh, 2.8rem);
  right: clamp(1.6rem, 4vw, 3.4rem);
  z-index: 5;
  width: clamp(52px, 5vw, 62px);
  height: clamp(52px, 5vw, 62px);
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), border-color 0.45s, background 0.45s, box-shadow 0.45s;
}

.megamenu__close-x {
  position: relative;
  width: 20px;
  height: 20px;
}

.megamenu__close-x span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--color-text);
  transition: background 0.3s;
}

.megamenu__close-x span:first-child {
  transform: rotate(45deg);
}

.megamenu__close-x span:last-child {
  transform: rotate(-45deg);
}

.megamenu__close:hover {
  transform: rotate(90deg) scale(1.06);
  border-color: var(--color-brand-bright);
  background: rgba(var(--brand-rgb), 0.14);
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb), 0.08), 0 0 30px rgba(var(--brand-rgb), 0.4);
}

.megamenu__close:hover .megamenu__close-x span {
  background: var(--color-brand-bright);
}

.megamenu.is-open .megamenu__close {
  opacity: 1;
}

.megamenu__stage {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(5.5rem, 13vh, 9rem) var(--gutter) clamp(3rem, 7vh, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  opacity: 0;
}

@media screen and (max-width: 992px) {
  .megamenu__stage {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: clamp(1.6rem, 4vh, 2.6rem);
    overflow-y: auto;
    padding-block: clamp(4.5rem, 9vh, 6rem) clamp(2.5rem, 6vh, 4rem);
  }
}
.megamenu__index {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1.15vh, 0.95rem);
  padding-left: 1.4rem;
}

.megamenu__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: linear-gradient(var(--color-brand), var(--color-brand-bright));
  box-shadow: 0 0 14px rgba(var(--brand-rgb), 0.75);
  opacity: 0;
  pointer-events: none;
  will-change: transform, height;
}

.megamenu__panel {
  position: relative;
  height: clamp(420px, 54vh, 560px);
  padding-left: clamp(1.8rem, 3.2vw, 3.4rem);
  border-left: 1px solid var(--color-line);
}

@media screen and (max-width: 992px) {
  .megamenu__panel {
    border-left: 0;
    padding-left: 0;
    height: auto;
    min-height: 0;
  }
}
.megamenu__quick {
  position: absolute;
  left: clamp(1.8rem, 3.2vw, 3.4rem);
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media screen and (max-width: 992px) {
  .megamenu__quick {
    position: relative;
    left: 0;
    margin-top: 1.8rem;
  }
}
.midx {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 1.7vw, 1.4rem);
  padding: clamp(0.45rem, 1.2vh, 0.85rem) 0 clamp(0.45rem, 1.2vh, 0.85rem) clamp(0.6rem, 1.4vw, 1.1rem);
}

.midx__bar {
  display: none;
}

.midx__no {
  flex: 0 0 auto;
  width: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  transition: color 0.45s var(--ease-out-expo);
}

.midx__label {
  position: relative;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.35rem, 2.7vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: var(--ls-display);
  color: var(--color-text-muted);
  transition: color 0.45s var(--ease-out-expo), transform 0.55s var(--ease-out-expo), text-shadow 0.5s var(--ease-out-expo);
}

.midx:hover, .midx:focus-visible, .midx.is-active {
  outline: none;
}

.midx:hover .midx__no, .midx:focus-visible .midx__no, .midx.is-active .midx__no {
  color: var(--color-brand-bright);
}

.midx:hover .midx__label, .midx:focus-visible .midx__label, .midx.is-active .midx__label {
  color: #fff;
  transform: translateX(0.45rem);
  text-shadow: 0 0 22px rgba(var(--brand-rgb), 0.45);
}

.midx.is-current .midx__label {
  color: var(--color-brand-bright);
}

.midx.is-current.is-active .midx__label {
  color: #fff;
}

.mpanel {
  position: absolute;
  inset: 0 0 auto 0;
  padding-left: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  filter: blur(7px);
  transition: opacity 0.45s var(--ease-standard), transform 0.6s var(--ease-out-expo), filter 0.5s var(--ease-out-expo), visibility 0.45s;
}

.mpanel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
}

@media screen and (max-width: 992px) {
  .mpanel.is-active {
    position: relative;
    inset: auto;
  }
}
.mpanel__eyebrow {
  display: block;
  padding-left: 1.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand-bright);
  margin-bottom: clamp(1.4rem, 3.2vh, 2.2rem);
}

.mpanel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(1.9rem, auto);
  gap: clamp(0.55rem, 1.3vh, 0.95rem) clamp(1.6rem, 2.6vw, 2.8rem);
  align-content: start;
}

/* dense panels (Venue carries the full visit + records set) need a third
   column, otherwise the rows run past .megamenu__quick at the panel's foot */
.mpanel__links--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.1rem, 1.8vw, 2rem);
}

@media screen and (max-width: 1200px) {
  .mpanel__links--wide {
    column-gap: clamp(0.9rem, 1.4vw, 1.4rem);
  }
}
@media screen and (max-width: 992px) {
  .mpanel__links--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 576px) {
  .mpanel__links--wide {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 576px) {
  .mpanel__links {
    grid-template-columns: 1fr;
  }
}
.mpanel__links a {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.15rem 0 0.15rem 1.15rem;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.15;
  white-space: nowrap;
  color: var(--color-text-muted);
  transition: color 0.35s var(--ease-standard), transform 0.45s var(--ease-out-expo), text-shadow 0.45s var(--ease-out-expo);
}

.mpanel__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.7rem;
  height: 1px;
  background: var(--color-brand-bright);
  box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.7);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out-expo);
}

.mpanel__links a:hover, .mpanel__links a:focus-visible {
  outline: none;
  color: #fff;
  transform: translateX(0.4rem);
  text-shadow: 0 0 18px rgba(var(--brand-rgb), 0.4);
}

.mpanel__links a:hover::before, .mpanel__links a:focus-visible::before {
  transform: translateY(-50%) scaleX(1);
}

.qbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 46px;
  padding: 0 0.4rem 0 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: border-color 0.4s, background 0.4s, color 0.4s, transform 0.5s var(--ease-out-expo);
}

.qbtn__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-line-strong);
  flex: 0 0 auto;
  transition: background 0.4s var(--ease-standard), border-color 0.4s;
}

.qbtn__icon svg {
  width: 14px;
  transition: transform 0.45s var(--ease-out-expo);
}

.qbtn:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-bright);
  background: rgba(var(--brand-rgb), 0.1);
}

.qbtn:hover .qbtn__icon {
  border-color: var(--color-brand-bright);
  color: var(--color-brand-bright);
}

.qbtn:hover .qbtn__icon svg {
  transform: translateX(2px);
}

.qbtn--primary {
  border-color: transparent;
  background: var(--gradient-brand);
  color: var(--color-brand-contrast, #fff);
  box-shadow: 0 12px 32px -12px rgba(var(--brand-rgb), 0.8);
}

.qbtn--primary .qbtn__icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: transparent;
}

.qbtn--primary:hover {
  background: var(--gradient-brand);
  box-shadow: 0 18px 40px -12px rgba(var(--brand-rgb), 0.95);
}

.qbtn--primary:hover .qbtn__icon {
  background: rgba(255, 255, 255, 0.26);
  border-color: transparent;
  color: inherit;
}

@media screen and (max-width: 992px) {
  .megamenu.is-touch .megamenu__close {
    top: max(0.85rem, env(safe-area-inset-top) + 0.5rem);
    right: max(0.85rem, env(safe-area-inset-right) + 0.5rem);
    width: 48px;
    height: 48px;
  }
  .megamenu.is-touch .megamenu__stage {
    display: block;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding-inline: clamp(1.35rem, 6vw, 2.5rem);
    padding-top: max(clamp(4rem, 7vh, 4.75rem), env(safe-area-inset-top) + 3.6rem);
    padding-bottom: max(clamp(2.5rem, 8vh, 4rem), env(safe-area-inset-bottom) + 2.25rem);
  }
  .megamenu.is-touch .megamenu__stage::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .megamenu.is-touch .megamenu__marker {
    display: none;
  }
  .megamenu.is-touch .megamenu__panel {
    display: none;
  }
  .megamenu.is-touch .megamenu__index {
    padding-left: 0;
    gap: 0;
  }
  .megamenu.is-touch .megamenu__quick {
    margin-top: clamp(2rem, 6vh, 3rem);
    gap: 0.7rem;
  }
  .megamenu.is-touch .qbtn {
    min-height: 48px;
    padding-inline: 1.35rem;
  }
  .megamenu.is-touch .m-acc {
    border-bottom: 1px solid var(--color-line);
  }
  .megamenu.is-touch .m-acc:first-of-type {
    border-top: 1px solid var(--color-line);
  }
  .megamenu.is-touch .m-acc__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
  }
  .megamenu.is-touch .m-acc__head .midx {
    flex: 1 1 auto;
    align-items: center;
    min-height: 60px;
    padding: clamp(0.85rem, 2.4vh, 1.3rem) 0;
    gap: 0;
  }
  .megamenu.is-touch .m-acc__head .midx__no {
    display: none;
  }
  .megamenu.is-touch .m-acc__head .midx__label {
    font-size: clamp(1.4rem, 5.6vw, 1.85rem);
    transform: none !important;
    text-shadow: none;
  }
  .megamenu.is-touch .m-acc__toggle {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-text-subtle);
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
  }
  .megamenu.is-touch .m-acc__toggle svg {
    width: 22px;
    height: 22px;
    transition: transform 0.32s var(--ease-out-expo);
  }
  .megamenu.is-touch .m-acc__toggle:focus-visible {
    outline: none;
    background: rgba(var(--brand-rgb), 0.14);
    color: var(--color-brand-bright);
  }
  .megamenu.is-touch .m-acc.is-expanded .m-acc__toggle {
    color: var(--color-brand-bright);
  }
  .megamenu.is-touch .m-acc.is-expanded .m-acc__toggle svg {
    transform: rotate(180deg);
  }
  .megamenu.is-touch .m-acc.is-expanded .midx__label {
    color: #fff;
  }
  .megamenu.is-touch .m-acc__body {
    height: 0;
    overflow: hidden;
    will-change: height;
  }
  .megamenu.is-touch .m-acc .mpanel {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    transition: none;
    padding: 0 0 clamp(1.25rem, 4vh, 1.9rem);
  }
  .megamenu.is-touch .mpanel__eyebrow {
    display: none;
  }
  .megamenu.is-touch .mpanel__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0.4rem;
  }
  .megamenu.is-touch .mpanel__links a {
    width: auto;
    min-height: 48px;
    padding: 0.6rem 0 0.6rem 1.15rem;
    font-size: 1.05rem;
    white-space: normal;
    transform: none !important;
    text-shadow: none;
  }
  .megamenu.is-touch .mpanel__links a::before {
    display: none;
  }
}
@keyframes mmGlowDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(-4%, 4%, 0) scale(1.12);
    opacity: 1;
  }
}
@keyframes mmAuraDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1.05);
    opacity: 0.7;
  }
  to {
    transform: translate3d(5%, -3%, 0) scale(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .megamenu__bg {
    clip-path: none;
  }
  .megamenu__stage {
    opacity: 1;
  }
  .megamenu__glow,
  .megamenu__aura {
    animation: none;
  }
  .mpanel {
    transition: none;
    filter: none;
  }
  /* the active panel's own visibility:visible stops the closed shell's
     visibility:hidden from inheriting — with the stage forced opaque
     above, it bled through the page. Re-hide it while the menu is shut. */
  .megamenu:not(.is-open) .mpanel.is-active {
    visibility: hidden;
  }
}
.footer {
  position: relative;
  padding: clamp(3.5rem, 9vh, 7rem) var(--gutter) 0;
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-line);
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.footer__glow {
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 130vw;
  height: 90vw;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--ambient-rgb, var(--brand-rgb)), 0.16), transparent 70%);
}

.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 5vh, 4.5rem);
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  height: auto;
  opacity: 0.035;
  filter: blur(0.3px);
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  mask-image: radial-gradient(115% 130% at 50% 50%, #000 38%, transparent 82%);
  -webkit-mask-image: radial-gradient(115% 130% at 50% 50%, #000 38%, transparent 82%);
}

.footer__top, .footer__contact, .footer__bar {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer {
  --footer-rhythm: clamp(2.4rem, 5vh, 3.5rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 2.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: var(--footer-rhythm);
}

@media screen and (max-width: 992px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.footer__brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
}

.footer__brand img {
  display: block;
  width: 60px;
  height: auto;
  filter: invert(1) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s var(--ease-out-expo);
}

.footer__brand:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.footer__desc {
  margin-top: 1.3rem;
  max-width: 38ch;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* group gap must read wider than the head→links gap inside a column,
     or the two rows of columns blur into one list */
  --footer-group-gap: clamp(2rem, 4vh, 2.75rem);
  gap: 0.65rem clamp(1.2rem, 2.5vw, 2.2rem);
  margin-top: calc(-1 * var(--footer-group-gap));
}

@media screen and (max-width: 576px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer__col {
  /* subgrid: every column in a row shares the heading track, so a
     wrapping head (Competitors & Officials) can't stagger its siblings'
     links and no fixed two-line reservation is needed */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 0.65rem;
  align-content: start;
}

@supports not (grid-template-rows: subgrid) {
  .footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
}
.footer__col a {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-text) 80%, var(--color-text-muted));
  width: fit-content;
  position: relative;
  transition: color 0.35s, transform 0.4s var(--ease-out-expo);
}

.footer__col a:hover {
  color: var(--color-brand-bright);
  transform: translateX(4px);
}

.footer__head {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 0.7rem;
  padding-top: var(--footer-group-gap);
  align-self: end;
  line-height: 1.3;
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  padding: var(--footer-rhythm) 0 0;
  border-top: 1px solid var(--color-line);
}

@media screen and (max-width: 992px) {
  .footer__contact {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}
@media screen and (max-width: 576px) {
  .footer__contact {
    grid-template-columns: 1fr;
  }
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--color-text);
}

.footer__ic {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-brand-bright);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out-expo);
}

.footer__ic svg {
  width: 18px;
  height: 18px;
}

.footer__contact-item:hover .footer__ic {
  border-color: rgba(var(--brand-rgb), 0.6);
  background: rgba(var(--brand-rgb), 0.12);
  transform: translateY(-2px);
}

.footer__ic-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer__contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: var(--footer-rhythm) 0 clamp(1.6rem, 3.5vh, 2.4rem);
  margin-top: var(--footer-rhythm);
  border-top: 1px solid var(--color-line);
}

.footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-subtle);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer__legal a {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  padding: 0 1rem;
  position: relative;
  transition: color 0.35s;
}

.footer__legal a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background: var(--color-line-strong);
}

.footer__legal a:hover {
  color: var(--color-brand-bright);
}

.soc {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-text-muted);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out-expo);
}

.soc svg {
  width: 17px;
  height: 17px;
  position: relative;
  z-index: 1;
}

.soc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-brand);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out-expo);
}

.soc:hover {
  color: var(--color-brand-contrast, #fff);
  border-color: transparent;
  transform: translateY(-3px);
}

.soc:hover::before {
  transform: translateY(0);
}

.newsletter {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 340px;
}

.newsletter .u-overline {
  color: var(--color-brand-bright);
}

.newsletter__field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-line-strong);
  transition: border-color 0.4s;
}

.newsletter__field:focus-within {
  border-color: var(--color-brand-bright);
}

.newsletter__input {
  flex: 1;
  background: none;
  border: none;
  outline: none !important;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0;
}

.newsletter__input::placeholder {
  color: var(--color-text-subtle);
}

.newsletter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-brand-bright);
}

.newsletter__btn svg {
  width: 22px;
  transition: transform 0.5s var(--ease-out-expo);
}

.newsletter__btn:hover svg {
  transform: translateX(4px);
}

[data-theme=smp] .masthead__badge {
  width: auto;
  height: calc(var(--badge-w) * 1.342);
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.7));
  transition: height 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

[data-theme=smp] .masthead__word {
  display: none;
}

[data-theme=smp] .footer__brand img {
  width: auto;
  height: 80.52px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

[data-theme=smp],
[data-theme=ardc] {
  --section-pad: 60px;
}

@media screen and (max-width: 992px) {
  [data-theme=smp],
  [data-theme=ardc] {
    --section-pad: 48px;
  }
}
@media screen and (max-width: 768px) {
  [data-theme=smp],
  [data-theme=ardc] {
    --section-pad: 40px;
  }
}
[data-theme=smp] .footer {
  padding-top: var(--section-pad);
}

.xswitch {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 640;
  width: clamp(54px, 4.2vw, 64px);
  text-decoration: none;
  color: var(--color-text);
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(-50%) translateX(118%);
  transition: transform 0.85s var(--ease-out-expo), opacity 0.7s ease;
  will-change: transform, opacity;
}

.xswitch.is-ready {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.xswitch.is-tucked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(118%);
}

.xswitch__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 1.1vh, 0.9rem);
  padding: clamp(0.85rem, 1.5vh, 1.15rem) 0;
  border: 1px solid var(--color-line-strong);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(150deg, rgba(20, 23, 30, 0.72), rgba(10, 12, 17, 0.62));
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow: -10px 0 34px -16px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(var(--brand-rgb), 0.04);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s, box-shadow 0.6s var(--ease-out-expo), background 0.5s, transform 0.28s var(--ease-out-expo);
  animation: xsw-float 7s ease-in-out 1.1s infinite;
}

.xswitch__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.xswitch__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 13px 13px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 85%);
  opacity: 0.5;
}

.xswitch__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 150%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--ambient-rgb, var(--brand-rgb)), 0.4), transparent 62%);
  filter: blur(8px);
  animation: xsw-breathe 5.5s ease-in-out infinite;
}

.xswitch__sweep {
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateY(-120%);
  transition: transform 0.9s var(--ease-out-expo);
}

.xswitch__swap {
  width: 17px;
  height: 17px;
  color: var(--color-brand-bright);
  opacity: 0.85;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.4s;
}

.xswitch__screen {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(38px, 3vw, 44px);
  height: clamp(38px, 3vw, 44px);
  border-radius: var(--radius-sm, 8px);
  background: radial-gradient(120% 120% at 50% 0%, rgba(var(--brand-rgb), 0.12), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  will-change: transform;
}

.xswitch__logo {
  max-width: 84%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.6s var(--ease-out-expo);
}

.xswitch__bracket {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid rgba(var(--brand-rgb), 0.55);
  transition: border-color 0.4s, width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo);
}

.xswitch__bracket--tl {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.xswitch__bracket--tr {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}

.xswitch__bracket--bl {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}

.xswitch__bracket--br {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.xswitch__name {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-block: 0.1rem;
  transition: color 0.4s, letter-spacing 0.5s var(--ease-out-expo);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.xswitch__pulse {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 64%;
  overflow: visible;
  pointer-events: none;
  opacity: 0.7;
}

.xswitch__pulse-rail {
  stroke: rgba(var(--brand-rgb), 0.35);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.xswitch__pulse-node {
  fill: var(--color-brand-bright);
  filter: drop-shadow(0 0 4px rgba(var(--brand-rgb), 0.9));
  animation: xsw-node 3.4s ease-in-out infinite;
}

.xswitch:hover .xswitch__tab, .xswitch:focus-visible .xswitch__tab {
  border-color: rgba(var(--brand-rgb), 0.6);
  box-shadow: -16px 0 46px -16px rgba(var(--brand-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(var(--brand-rgb), 0.12);
}

.xswitch:hover .xswitch__sweep, .xswitch:focus-visible .xswitch__sweep {
  transform: translateY(120%);
}

.xswitch:hover .xswitch__swap, .xswitch:focus-visible .xswitch__swap {
  transform: rotate(180deg);
  opacity: 1;
}

.xswitch:hover .xswitch__logo, .xswitch:focus-visible .xswitch__logo {
  transform: scale(1.06);
}

.xswitch:hover .xswitch__name, .xswitch:focus-visible .xswitch__name {
  color: #fff;
  letter-spacing: 0.42em;
}

.xswitch:hover .xswitch__bracket, .xswitch:focus-visible .xswitch__bracket {
  border-color: var(--color-brand-bright);
  width: 8px;
  height: 8px;
}

.xswitch:focus-visible {
  outline: none;
}

.xswitch:focus-visible .xswitch__tab {
  outline: 2px solid var(--color-brand-bright);
  outline-offset: 3px;
}

.xswitch.is-leaving .xswitch__tab {
  transform: scale(0.95);
  border-color: var(--color-brand-bright);
  box-shadow: -20px 0 60px -10px rgba(var(--brand-rgb), 0.85), inset 0 0 0 1px rgba(var(--brand-rgb), 0.3);
  animation: none;
}

.xswitch.is-leaving .xswitch__glow {
  opacity: 1;
  animation: xsw-pulse-out 0.5s ease-out forwards;
}

@media screen and (max-width: 768px) {
  .xswitch {
    top: auto;
    right: clamp(0.9rem, 4vw, 1.4rem);
    bottom: clamp(0.9rem, 4vw, 1.4rem);
    width: auto;
    transform: translateY(140%);
  }
  .xswitch.is-ready {
    transform: translateY(0);
  }
  .xswitch.is-tucked {
    transform: translateY(140%);
  }
  .xswitch .xswitch__tab {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.95rem 0.6rem 0.7rem;
    border-right: 1px solid var(--color-line-strong);
    border-radius: 999px;
    animation: none;
  }
  .xswitch .xswitch__pulse {
    display: none;
  }
  .xswitch .xswitch__swap {
    width: 15px;
    height: 15px;
  }
  .xswitch .xswitch__screen {
    width: 30px;
    height: 30px;
  }
  .xswitch .xswitch__name {
    writing-mode: horizontal-tb;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin: 0;
  }
}
[data-theme=smp] .xswitch__logo {
  filter: invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

body.is-menu-open .xswitch {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(118%);
}

@media screen and (max-width: 768px) {
  body.is-menu-open .xswitch {
    transform: translateY(140%);
  }
}
@keyframes xsw-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes xsw-breathe {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}
@keyframes xsw-node {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(74px);
    opacity: 0;
  }
}
@keyframes xsw-pulse-out {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .xswitch {
    transition: opacity 0.4s ease;
  }
  .xswitch, .xswitch.is-ready, .xswitch.is-tucked {
    transform: translateY(-50%);
  }
}
@media screen and (prefers-reduced-motion: reduce) and (max-width: 768px) {
  .xswitch, .xswitch.is-ready, .xswitch.is-tucked {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xswitch__tab,
  .xswitch__glow,
  .xswitch__pulse-node {
    animation: none;
  }
  .xswitch__sweep {
    display: none;
  }
  body.is-menu-open .xswitch,
  .xswitch.is-tucked {
    opacity: 0;
  }
}
.totop {
  position: fixed;
  right: clamp(1.1rem, 2.4vw, 2rem);
  bottom: clamp(1.1rem, 3vh, 2rem);
  z-index: 620;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(26px) scale(0.86);
  pointer-events: none;
  transition: opacity 0.45s var(--ease-standard), transform 0.55s var(--ease-out-expo), color 0.3s;
}

.totop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.totop__disc {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  background: linear-gradient(150deg, rgba(20, 23, 30, 0.78), rgba(10, 12, 17, 0.66));
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.65);
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.totop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.totop__ring-base, .totop__ring-fill {
  fill: none;
  stroke-width: 2;
}

.totop__ring-base {
  stroke: rgba(255, 255, 255, 0.1);
}

.totop__ring-fill {
  stroke: rgba(var(--brand-rgb), 0.9);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(var(--brand-rgb), 0.5));
}

.totop__arrow {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease-out-expo);
}

.totop:hover, .totop:focus-visible {
  color: var(--color-brand-contrast);
}

.totop:hover .totop__disc, .totop:focus-visible .totop__disc {
  border-color: rgba(var(--brand-rgb), 0.65);
  background: var(--gradient-brand);
  box-shadow: 0 14px 38px -12px rgba(var(--brand-rgb), 0.6);
}

.totop:hover .totop__arrow, .totop:focus-visible .totop__arrow {
  transform: translateY(-2px);
}

.totop:focus-visible {
  outline: none;
}

.totop:active .totop__arrow {
  transform: translateY(-4px) scale(0.94);
}

@media screen and (max-width: 768px) {
  .totop {
    width: 48px;
    height: 48px;
    right: clamp(0.9rem, 4vw, 1.4rem);
    bottom: calc(clamp(0.9rem, 4vw, 1.4rem) + 64px);
  }
  .totop__arrow {
    width: 18px;
    height: 18px;
  }
}
body.is-menu-open .totop {
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px) scale(0.86);
}

@media (prefers-reduced-motion: reduce) {
  .totop {
    transition: opacity 0.3s ease;
  }
  .totop, .totop.is-visible {
    transform: none;
  }
  .totop__arrow {
    transition: none;
  }
}
.page {
  --rt-c: #e9edf2;
  --rt-c-rgb: 233, 237, 242;
  --rt-b: var(--color-brand);
  --rt-b-rgb: var(--brand-rgb);
  --rt-b1: #27e08a;
  --rt-b1-rgb: 39, 224, 138;
  --rt-a: #f15d5d;
  --rt-a-rgb: 216, 13, 13;
  --rt-on: #27e08a;
  --rt-fast: var(--color-secondary-bright, #f15d5d);
  --rt-soon: #f5c542;
}

.sp-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: max(clamp(7rem, 15vh, 10rem), var(--masthead-h) + clamp(1rem, 4vh, 3rem)) var(--gutter) var(--section-pad);
  overflow: hidden;
}

.sp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.sp-hero__still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.02) contrast(1.06);
  transform: scale(1.06);
  will-change: transform;
}

.sp-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.5) 0%, transparent 34%, rgba(3, 4, 7, 0.3) 74%, rgba(3, 4, 7, 0.94) 100%), linear-gradient(82deg, rgba(3, 4, 7, 0.82) 12%, rgba(3, 4, 7, 0.42) 38%, transparent 62%), radial-gradient(46% 58% at 76% 58%, rgba(3, 4, 7, 0.5), transparent 72%);
}

.sp-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(140% 100% at 50% 100%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(140% 100% at 50% 100%, #000 30%, transparent 76%);
}

.sp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

@media screen and (max-width: 992px) {
  .sp-hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vh, 3rem);
    align-items: start;
  }
}
.sp-hero__content {
  max-width: none;
}

.sp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
}

.sp-hero__eyebrow-line {
  position: relative;
  display: inline-block;
  width: clamp(34px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, var(--color-brand-bright), rgba(var(--brand-rgb), 0.15));
  transform-origin: left center;
  animation: sp-eyebrow-draw 1s var(--ease-out-expo) both 0.3s;
}

.sp-hero__eyebrow-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--color-brand-bright);
  box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.9);
  animation: sp-eyebrow-run 3.4s var(--ease-in-out, ease-in-out) infinite 1.2s;
}

.sp-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
}

.sp-hero .line {
  display: block;
  overflow: hidden;
}

.sp-hero .line__inner {
  display: block;
}

.sp-hero .line__accent {
  color: var(--color-brand-bright);
}

.sp-hero__sub {
  max-width: 46ch;
  margin-top: clamp(1.3rem, 3vh, 2rem);
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.6;
}

.sp-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: clamp(1.6rem, 3.5vh, 2.4rem);
}

/* telemetry readout — value over label, hairline dividers
   (the academy hero instrument, in SMSP colours) */
.sp-hero__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 1rem 0;
  margin-top: clamp(1.9rem, 4vh, 2.8rem);
  padding-top: clamp(1.3rem, 2.8vh, 2rem);
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.sp-hero__specs li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-right: clamp(1.2rem, 2.2vw, 2.2rem);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.sp-hero__specs li + li {
  padding-left: clamp(1.2rem, 2.2vw, 2.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.sp-hero__specs b {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

@media screen and (max-width: 576px) {
  .sp-hero__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0;
  }
  .sp-hero__specs li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}
/* ————— HERO · --rt variant (night film + grading rack) ————— */
.sp-hero--rt .sp-hero__inner {
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
  align-items: end;
  padding-bottom: clamp(3rem, 9vh, 6rem);
}

.sp-hero--rt .sp-hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 13, 0.92));
  z-index: 3;
}

/* right-edge plate so the grading rack always reads over the film */
.sp-hero--rt .sp-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: linear-gradient(270deg, rgba(6, 8, 13, 0.8) 0%, rgba(6, 8, 13, 0.44) 55%, transparent 100%);
  z-index: 3;
}

.sp-hero--rt .sp-hero__scrim {
  z-index: 3;
}

.sp-hero--rt .sp-hero__sub {
  max-width: 52ch;
}

.sp-hero--rt .sp-hero__sub b {
  color: var(--color-text);
  font-weight: 600;
}

/* grade stills — crossfade in over the film when a group is armed */
.rt-gradeshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s var(--ease-standard), transform 1.6s var(--ease-out-quint);
  z-index: 2;
}

.rt-gradeshot.is-on {
  opacity: 1;
  transform: scale(1);
}

/* ————— RTG · the grading rack (pit-board instrument) ———————— */
.rtg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.05rem, 2.2vh, 1.45rem) clamp(1.05rem, 1.8vw, 1.5rem) clamp(0.9rem, 1.8vh, 1.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line-strong);
  background: linear-gradient(165deg, rgba(13, 16, 23, 0.82) 0%, rgba(6, 8, 13, 0.66) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

/* the ladder, distilled — one hairline through all four grades */
.rtg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rt-c) 0 25%, var(--rt-b) 25% 50%, var(--rt-b1) 50% 75%, var(--rt-a) 75% 100%);
  opacity: 0.85;
}

.rtg__rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtg__rule i {
  font-style: normal;
  letter-spacing: 0.18em;
  color: rgba(var(--brand-rgb), 0.75);
}

.rtg__opt {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(0.85rem, 1.4vw, 1.2rem);
  padding: clamp(0.7rem, 1.7vh, 1.05rem) 0.35rem;
  background: none;
  border: 0;
  border-top: 1px solid var(--color-line);
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.45s var(--ease-out-expo), background 0.45s var(--ease-standard);
}

.rtg__opt:last-of-type {
  border-bottom: 1px solid var(--color-line);
}

.rtg__opt::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  width: 2px;
  background: var(--g, var(--color-brand));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-expo);
}

.rtg__opt:hover,
.rtg__opt:focus-visible,
.rtg__opt.is-armed {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(var(--g-rgb, var(--ambient-rgb)), 0.09), transparent 72%);
}

.rtg__opt:hover::before,
.rtg__opt:focus-visible::before,
.rtg__opt.is-armed::before {
  transform: scaleY(1);
}

.rtg__opt:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.rtg__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 3.2vw, 3rem);
  height: clamp(2.5rem, 3.2vw, 3rem);
  border: 1px solid rgba(var(--g-rgb, 255, 255, 255), 0.55);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.02em;
  color: var(--g, var(--color-text));
  background: rgba(var(--g-rgb, 255, 255, 255), 0.06);
  transition: background 0.4s var(--ease-standard), color 0.4s var(--ease-standard), box-shadow 0.4s var(--ease-standard);
}

.rtg__opt:hover .rtg__chip,
.rtg__opt:focus-visible .rtg__chip,
.rtg__opt.is-armed .rtg__chip {
  background: var(--g, var(--color-brand));
  color: var(--g-ink, #0a0c12);
  box-shadow: 0 0 22px rgba(var(--g-rgb, var(--brand-rgb)), 0.4);
}

.rtg__body {
  display: grid;
  row-gap: 0.18rem;
}

.rtg__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.35s var(--ease-standard);
}

.rtg__opt:hover .rtg__name,
.rtg__opt:focus-visible .rtg__name,
.rtg__opt.is-armed .rtg__name {
  color: #fff;
}

.rtg__cap {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color 0.35s var(--ease-standard);
}

.rtg__opt:hover .rtg__cap,
.rtg__opt:focus-visible .rtg__cap,
.rtg__opt.is-armed .rtg__cap {
  color: var(--color-text);
}

.rtg__tag {
  align-self: start;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(var(--g-rgb, 255, 255, 255), 0.8);
}

.rtg__foot {
  padding-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtg__foot b {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* hero FOUC guard for the rack (mirrors the approved sp-dash rule) */
@media screen {
  html.has-js .sp-hero:not(.is-live) .rtg {
    opacity: 0;
    transform: translateY(34px);
  }
}
@media screen and (max-width: 992px) {
  .sp-hero--rt .sp-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .rtg {
    margin-top: 0.4rem;
  }
  .rtg__opt {
    column-gap: 0.85rem;
  }
  .rtg__tag {
    display: none;
  }
}
@media screen and (max-width: 576px) {
  .rtg__cap {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.has-js .sp-hero:not(.is-live) .line__inner {
    transform: translateY(120%);
    animation: sp-hero-guard-safety 0.9s ease 6s forwards;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.has-js .sp-hero:not(.is-live) .sp-hero__content [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    animation: sp-hero-guard-safety 0.9s ease 6s forwards;
  }
}
@keyframes sp-hero-guard-safety {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes sp-hero-guard-safety-vis {
  to {
    visibility: visible;
  }
}
.sp-btn {
  --btn-h: clamp(52px, 5.4vh, 60px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  height: var(--btn-h);
  padding: 0 0.55rem 0 1.5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-contrast, #fff);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-brand);
  box-shadow: 0 16px 44px -14px rgba(var(--brand-rgb), 0.8);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-standard), border-color 0.4s, background 0.4s;
}

.sp-btn__icon {
  display: inline-grid;
  place-items: center;
  width: calc(var(--btn-h) - 16px);
  height: calc(var(--btn-h) - 16px);
  border-radius: 50%;
  background: rgba(23, 18, 0, 0.16);
  flex: 0 0 auto;
  transition: background 0.4s;
}

.sp-btn__icon svg {
  width: 17px;
  transition: transform 0.45s var(--ease-out-expo);
}

.sp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.34) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease-out-expo);
}

.sp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px -12px rgba(var(--brand-rgb), 0.95);
}

.sp-btn:hover::before {
  transform: translateX(120%);
}

.sp-btn:hover .sp-btn__icon svg {
  transform: translateX(3px);
}

.sp-btn--ghost {
  background: transparent;
  border: 1px solid var(--color-line-strong);
  box-shadow: none;
  color: var(--color-text);
}

.sp-btn--ghost .sp-btn__icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-line-strong);
}

.sp-btn--ghost::before {
  display: none;
}

.sp-btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-bright);
  background: rgba(var(--brand-rgb), 0.08);
  box-shadow: 0 18px 44px -20px rgba(var(--brand-rgb), 0.6);
}

.sp-btn--ghost:hover .sp-btn__icon {
  border-color: var(--color-brand-bright);
  color: var(--color-brand-bright);
}

.sp-faq {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--section-pad) var(--gutter);
}

.sp-faq__head {
  margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
}

.sp-faq__head .u-overline {
  display: block;
  color: var(--color-brand-bright);
  margin-bottom: 1rem;
}

.sp-faq__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
}

.sp-faq__grid {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media screen and (max-width: 768px) {
  .sp-faq__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.sp-faq__cats {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

@media screen and (max-width: 768px) {
  .sp-faq__cats {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}
.sp-faq__cat {
  appearance: none;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: color 0.4s, background 0.4s;
}

.sp-faq__cat span.n {
  font-size: 0.75rem;
  opacity: 0.85;
}

.sp-faq__cat::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--color-brand-bright);
  transition: width 0.4s var(--ease-out-expo);
}

.sp-faq__cat:hover {
  color: var(--color-text);
}

.sp-faq__cat.is-active {
  color: #fff;
  background: rgba(var(--brand-rgb), 0.1);
}

.sp-faq__cat.is-active::before {
  width: 16px;
}

@media screen and (max-width: 768px) {
  .sp-faq__cat {
    border: 1px solid var(--color-line-strong);
  }
  .sp-faq__cat.is-active {
    border-color: transparent;
  }
  .sp-faq__cat::before {
    display: none;
  }
}
.sp-faq__list {
  border-top: 1px solid var(--color-line);
}

.sp-q {
  border-bottom: 1px solid var(--color-line);
}

.sp-q.is-filtered {
  display: none;
}

.sp-q__btn {
  width: 100%;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 2.6vh, 1.9rem) 0;
  color: var(--color-text);
  transition: color 0.4s, padding-left 0.5s var(--ease-out-expo);
}

.sp-q__q {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: var(--ls-display);
}

.sp-q__icon {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  transition: border-color 0.4s, background 0.4s, transform 0.6s var(--ease-out-expo);
}

.sp-q__icon::before, .sp-q__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.4s;
}

.sp-q__icon::before {
  width: 13px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.sp-q__icon::after {
  width: 1.5px;
  height: 13px;
  transform: translate(-50%, -50%);
}

.sp-q__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out-expo);
}

.sp-q__panel-in {
  overflow: hidden;
  min-height: 0;
}

.sp-q__a {
  padding-bottom: clamp(1.3rem, 2.6vh, 1.9rem);
  max-width: none;
  padding-right: calc(38px + 1.5rem);
  color: var(--color-text-muted);
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.sp-q:hover .sp-q__btn {
  padding-left: 0.6rem;
  color: #fff;
}

.sp-q:hover .sp-q__icon {
  border-color: var(--color-brand-bright);
}

.sp-q.is-open .sp-q__btn {
  color: #fff;
}

.sp-q.is-open .sp-q__icon {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--color-brand-contrast, #fff);
  transform: rotate(180deg);
}

.sp-q.is-open .sp-q__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.sp-q.is-open .sp-q__panel {
  grid-template-rows: 1fr;
}

.sp-q.is-open .sp-q__a {
  opacity: 1;
  transform: none;
}

.sp-hero--cl .sp-hero__still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.48) saturate(0.96) contrast(1.06);
  transform: scale(1.06);
  will-change: transform;
}

.sp-hero--cl .sp-hero__circuit {
  opacity: 0.34;
  right: -12%;
  width: clamp(480px, 56vw, 960px);
}

@media screen and (max-width: 992px) {
  .sp-hero--cl .sp-hero__circuit {
    opacity: 0.14;
  }
}
.rtw {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rtw__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}

/* — left · layered collage ————————————————————————————— */
.rtw__stage {
  position: relative;
  min-height: clamp(380px, 46vw, 620px);
}

/* right edge stays at 0 — an overhang there would extend the
   document's scroll width on small screens */
.rtw__stage::before {
  content: "";
  position: absolute;
  inset: -12% 0 -18% -14%;
  background: radial-gradient(55% 60% at 38% 62%, rgba(var(--ambient-rgb), 0.1), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.rtw__shot {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.rtw__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rtw__shot--main {
  inset: 0 12% 10% 0;
  z-index: 1;
}

.rtw__shot--main img {
  filter: saturate(1.02) contrast(1.04);
}

.rtw__shot--float {
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  border-color: var(--color-line-strong);
  z-index: 3;
}

/* grade hairline along the float shot's top — the ladder motif */
.rtw__shot--float::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rt-c) 0 25%, var(--rt-b) 25% 50%, var(--rt-b1) 50% 75%, var(--rt-a) 75% 100%);
  opacity: 0.85;
  z-index: 3;
}

.rtw__shot-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(6, 8, 13, 0.6) 100%), linear-gradient(0deg, rgba(6, 8, 13, 0.55) 0%, transparent 26%);
  z-index: 1;
}

.rtw__shot-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background: rgba(8, 10, 15, 0.78);
  border: 1px solid var(--color-line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.rtw__shot-tag--top {
  bottom: auto;
  top: 0.8rem;
}

.rtw__shot-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 10px rgba(var(--brand-rgb), 0.9);
}

/* the stat plate — docked over the main shot's lower-left corner */
.rtw__badge {
  position: absolute;
  left: 0.9rem;
  bottom: calc(10% + 0.9rem);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid var(--color-line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.rtw__badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 2px;
  background: var(--color-brand);
  border-radius: 2px;
}

.rtw__badge b {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.04em;
}

.rtw__badge span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* — right · the case ————————————————————————————————— */
.rtw__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtw__copy {
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
  max-width: 52ch;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.rtw__copy b {
  color: var(--color-text);
  font-weight: 600;
}

.rtw__list {
  margin-top: clamp(1.6rem, 3.4vh, 2.4rem);
  list-style: none;
  display: grid;
  gap: 0;
}

.rtw__row {
  position: relative;
  display: block;
  padding: clamp(0.9rem, 2vh, 1.25rem) 0.25rem;
  border-top: 1px solid var(--color-line);
  transition: padding-left 0.45s var(--ease-out-expo), background 0.45s var(--ease-standard);
}

.rtw__row:last-child {
  border-bottom: 1px solid var(--color-line);
}

.rtw__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  width: 2px;
  background: var(--color-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-expo);
}

.rtw__row:hover,
.rtw__row:focus-within {
  padding-left: 1.5rem;
  background: linear-gradient(90deg, rgba(var(--ambient-rgb), 0.06), transparent 70%);
}

.rtw__row:hover::before,
.rtw__row:focus-within::before {
  transform: scaleY(1);
}

.rtw__k {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(var(--brand-rgb), 0.85);
}

.rtw__h {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtw__p {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 46ch;
}

.rtw__cta {
  margin-top: clamp(1.6rem, 3vh, 2.2rem);
}

@media screen and (max-width: 992px) {
  .rtw__inner {
    grid-template-columns: 1fr;
    gap: clamp(2.2rem, 6vh, 3rem);
  }
  .rtw__stage {
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .rtw__title {
    max-width: none;
  }
}
@media screen and (max-width: 576px) {
  .rtw__badge {
    left: 0.6rem;
    padding: 0.55rem 0.75rem;
  }
  /* the float shot is too narrow for its pill down here */
  .rtw__shot--float .rtw__shot-tag {
    display: none;
  }
}
.rtpath {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rtpath__head {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.2rem, 5vh, 3.6rem);
}

.rtpath__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtpath__sub {
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 44ch;
  justify-self: end;
}

.rtpath__sub b {
  color: var(--color-text);
  font-weight: 600;
}

/* — the sector panels ————————————————————————————————— */
.rtpath__stages {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.rtpath__stage {
  --g: var(--color-brand);
  --g-rgb: var(--brand-rgb);
  --g-ink: #0a0c12;
  --stage-pad: clamp(1.2rem, 2.4vw, 1.9rem);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* FIXED height — the row must never resize while panels arm,
     or every hover ripples the whole section (the briefing is an
     overlay on desktop for the same reason) */
  height: clamp(470px, 52vh, 540px);
  padding: var(--stage-pad);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg-2) 100%);
  border: 1px solid var(--color-line);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transform: translateZ(0);
  transition: flex 0.7s var(--ease-out-expo), border-color 0.5s var(--ease-standard), background 0.5s var(--ease-standard);
}

.rtpath__stage.is-armed {
  flex: 2.3 1 0;
  border-color: rgba(var(--g-rgb), 0.4);
}

.rtpath__stage:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

/* the sector light — shared lap edge along the top */
.rtpath__stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--color-line-strong);
  z-index: 2;
  transition: background 0.5s var(--ease-standard), box-shadow 0.5s var(--ease-standard);
}

.rtpath__stage.is-armed::before {
  background: var(--g);
  box-shadow: 0 0 18px rgba(var(--g-rgb), 0.55);
}

/* grade wash rises from the floor of the armed sector */
.rtpath__glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 70%;
  background: radial-gradient(60% 90% at 50% 100%, rgba(var(--g-rgb), 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-standard);
  pointer-events: none;
}

.rtpath__stage.is-armed .rtpath__glow {
  opacity: 1;
}

/* oversized ghost grade letter — fully inside the sector, never cut */
.rtpath__ghost {
  position: absolute;
  right: clamp(0.6rem, 1.2vw, 1rem);
  bottom: 2.9rem;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 8.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--g-rgb), 0.16);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.5s var(--ease-standard);
}

.rtpath__stage.is-armed .rtpath__ghost {
  -webkit-text-stroke-color: rgba(var(--g-rgb), 0.34);
}

.rtpath__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.rtpath__node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(var(--g-rgb), 0.75);
  background: transparent;
  transition: background 0.4s var(--ease-standard), box-shadow 0.4s var(--ease-standard);
}

.rtpath__stage.is-armed .rtpath__node {
  background: var(--g);
  box-shadow: 0 0 14px rgba(var(--g-rgb), 0.8);
}

.rtpath__grade {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(var(--g-rgb), 0.9);
  white-space: nowrap;
}

.rtpath__name {
  margin-top: clamp(1rem, 2.6vh, 1.7rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtpath__tag {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 34ch;
}

/* the sector's headline programme — visible in every state */
.rtpath__reco {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin-top: clamp(0.9rem, 2.2vh, 1.3rem);
  padding: 0.42rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(var(--g-rgb), 0.35);
  background: rgba(var(--g-rgb), 0.07);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.rtpath__reco i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 8px rgba(var(--g-rgb), 0.8);
}

/* the briefing — an overlay above the meter on desktop: it fades
   and rises without ever changing the panel's height */
.rtpath__more {
  position: absolute;
  left: var(--stage-pad);
  right: var(--stage-pad);
  bottom: calc(var(--stage-pad) + 3rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-standard), transform 0.55s var(--ease-out-expo), visibility 0s linear 0.5s;
}

.rtpath__stage.is-armed .rtpath__more {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-standard) 0.16s, transform 0.6s var(--ease-out-expo) 0.16s, visibility 0s;
}

.rtpath__more-in {
  min-height: 0;
}

.rtpath__facts {
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--color-line);
  margin-top: clamp(1rem, 2.4vh, 1.6rem);
  padding-top: clamp(0.85rem, 2vh, 1.2rem);
  min-width: clamp(220px, 22vw, 330px);
}

.rtpath__facts > div {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: baseline;
}

.rtpath__facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtpath__facts dd {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  line-height: 1.5;
}

.rtpath__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(0.9rem, 2vh, 1.3rem);
  padding-bottom: 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand);
  text-decoration: none;
  transition: gap 0.35s var(--ease-out-expo);
}

.rtpath__link svg {
  width: 1.1rem;
  height: auto;
}

.rtpath__link:hover,
.rtpath__link:focus-visible {
  gap: 0.85rem;
}

/* sector meter — where this stage sits on the four-sector lap */
.rtpath__meterrow {
  position: absolute;
  left: var(--stage-pad);
  right: var(--stage-pad);
  bottom: var(--stage-pad);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(0.8rem, 1.8vh, 1.1rem);
  border-top: 1px solid var(--color-line);
}

.rtpath__meter {
  display: flex;
  gap: 0.3rem;
  flex: 0 0 clamp(56px, 5vw, 76px);
}

.rtpath__meter i {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.rtpath__meter i.on {
  background: var(--g);
  box-shadow: 0 0 8px rgba(var(--g-rgb), 0.6);
}

.rtpath__hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  white-space: nowrap;
}

/* the descriptor folds smoothly with the panel width — a display
   toggle here would pop mid-transition */
.rtpath__hint i {
  font-style: normal;
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  transition: max-width 0.6s var(--ease-out-expo), opacity 0.4s var(--ease-standard);
}

.rtpath__stage.is-armed .rtpath__hint i {
  max-width: 220px;
  opacity: 1;
  margin-left: 0.45em;
}

@media screen and (max-width: 1200px) {
  .rtpath__stage {
    height: clamp(520px, 56vh, 600px);
  }
}
/* — accordion below 992 · tap to expand ————————————————— */
@media screen and (max-width: 992px) {
  .rtpath__head {
    grid-template-columns: 1fr;
  }
  .rtpath__sub {
    justify-self: start;
  }
  .rtpath__stages {
    flex-direction: column;
  }
  .rtpath__stage {
    flex: none;
    height: auto;
  }
  .rtpath__stage.is-armed {
    flex: none;
  }
  /* back in flow — the accordion folds height like the dossiers */
  .rtpath__more {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    visibility: visible;
    margin-top: 0;
    transition: grid-template-rows 0.6s var(--ease-in-out-quint), opacity 0.45s var(--ease-standard), transform 0.55s var(--ease-out-expo);
  }
  .rtpath__stage.is-armed .rtpath__more {
    grid-template-rows: 1fr;
  }
  .rtpath__more-in {
    overflow: hidden;
  }
  .rtpath__meterrow {
    position: static;
    margin-top: clamp(1rem, 2.4vh, 1.5rem);
  }
  .rtpath__hint i {
    max-width: none;
    opacity: 1;
  }
  .rtpath__ghost {
    font-size: 4.6rem;
    bottom: 3.4rem;
  }
}
.rtb {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rtb__head {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: end;
  gap: 1.4rem clamp(2rem, 4vw, 4rem);
}

.rtb__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtb__sub {
  margin-top: clamp(0.9rem, 2vh, 1.3rem);
  max-width: 62ch;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.rtb__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.3rem;
  padding-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rtb__lg {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rtb__lg::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rtb__lg--on::before {
  background: var(--rt-on);
  box-shadow: 0 0 8px rgba(39, 224, 138, 0.7);
}

.rtb__lg--fast::before {
  background: var(--rt-fast);
}

.rtb__lg--soon::before {
  background: transparent;
  border: 1.5px solid var(--rt-soon);
}

.rtb__lg--members::before {
  background: var(--color-brand);
}

.rtb__lg--free::before {
  background: #fff;
}

/* — RTF · filter lens ————————————————————————————————— */
.rtf {
  position: relative;
  max-width: var(--maxw);
  margin: clamp(1.8rem, 4vh, 2.6rem) auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.rtf__ind {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--color-brand);
  opacity: 0;
  transition: transform 0.55s var(--ease-out-expo), width 0.55s var(--ease-out-expo), height 0.55s var(--ease-out-expo), opacity 0.3s;
  will-change: transform, width, height;
}

.rtf__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  background: none;
  border: 0;
  border-radius: calc(var(--radius-lg) - 6px);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s var(--ease-standard);
}

.rtf__tab:hover {
  color: var(--color-text);
}

.rtf__tab:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.rtf__tab.is-active {
  color: var(--color-brand-contrast);
}

.rtf__n {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.rtf.is-pulse {
  animation: rtf-pulse 1.5s var(--ease-standard) 1;
}

@keyframes rtf-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0);
  }
  35% {
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.55), 0 0 42px rgba(var(--ambient-rgb), 0.25);
  }
}
/* — status chips (shared by features + files) ————————————— */
.rt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--color-line-strong);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-muted);
  background: rgba(10, 12, 18, 0.72);
}

.rt-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

[data-status=on] .rt-status {
  color: var(--rt-on);
  border-color: rgba(39, 224, 138, 0.4);
}

[data-status=fast] .rt-status {
  color: var(--rt-fast);
  border-color: rgba(var(--secondary-rgb, 216, 13, 13), 0.45);
}

[data-status=soon] .rt-status {
  color: var(--rt-soon);
  border-color: rgba(245, 197, 66, 0.4);
}

[data-status=soon] .rt-status::before {
  background: transparent;
  border: 1.5px solid currentColor;
}

[data-status=members] .rt-status {
  color: var(--color-brand);
  border-color: rgba(var(--brand-rgb), 0.45);
}

[data-status=free] .rt-status {
  color: var(--color-brand-contrast);
  background: var(--color-brand);
  border-color: var(--color-brand);
}

[data-status=free] .rt-status::before {
  background: var(--color-brand-contrast);
}

[data-status=poa] .rt-status::before {
  border: 1.5px solid currentColor;
  background: transparent;
}

/* sold out — the whole file stands down, waitlist CTA carries on */
[data-status=sold] .rt-status {
  color: var(--color-text-subtle);
  border-color: var(--color-line);
}

[data-status=sold] .rt-status::before {
  background: transparent;
  border: 1.5px solid currentColor;
}

.rt-file[data-status=sold] .rt-file__name,
.rt-file[data-status=sold] .rt-file__tag {
  opacity: 0.8;
}

.rt-file[data-status=sold] .rt-file__meta b {
  color: var(--color-text-subtle);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* — grade dots (which groups a programme serves) ——————————— */
.rt-grades {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rt-grades i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.rt-grades i.on-c {
  border-color: var(--rt-c);
  background: rgba(var(--rt-c-rgb), 0.85);
}

.rt-grades i.on-b {
  border-color: var(--rt-b);
  background: rgba(var(--rt-b-rgb), 0.9);
}

.rt-grades i.on-b1 {
  border-color: var(--rt-b1);
  background: rgba(var(--rt-b1-rgb), 0.85);
}

.rt-grades i.on-a {
  border-color: var(--rt-a);
  background: rgba(var(--rt-a-rgb), 0.85);
}

/* — flagship feature panels ————————————————————————————— */
.rtb__features {
  max-width: var(--maxw);
  margin: clamp(2rem, 4.5vh, 3rem) auto 0;
  display: grid;
  gap: clamp(1.2rem, 2.4vh, 1.8rem);
}

.rt-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--color-surface) 0%, var(--color-bg-2) 100%);
  border: 1px solid var(--color-line);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  transition: border-color 0.5s var(--ease-standard);
}

.rt-feature:hover,
.rt-feature:focus-within {
  border-color: rgba(var(--brand-rgb), 0.35);
}

.rt-feature--alt {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

/* explicit placement — `order` would push the media below the
   full-width dossier row in grid auto-placement */
.rt-feature--alt .rt-feature__body {
  grid-column: 1;
  grid-row: 1;
}

.rt-feature--alt .rt-feature__media {
  grid-column: 2;
  grid-row: 1;
}

.rt-feature__media {
  position: relative;
  min-height: clamp(300px, 30vw, 460px);
  overflow: hidden;
}

.rt-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out-quint);
}

.rt-feature:hover .rt-feature__media img {
  transform: scale(1.08);
}

.rt-feature__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.25) 0%, transparent 40%, rgba(6, 8, 13, 0.72) 100%);
}

.rt-feature__media .rt-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.rt-feature__partner {
  position: absolute;
  top: 1.12rem;
  right: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.rt-feature__layout {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.rt-feature__layout img {
  position: static;
  width: 54px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transform: none;
  filter: invert(1) brightness(1.6) drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}

.rt-feature:hover .rt-feature__layout img {
  transform: none;
}

.rt-feature__body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.rt-feature__flag {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.rt-feature__name {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rt-feature__tag {
  margin-top: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 52ch;
}

.rt-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
  padding-top: clamp(0.9rem, 2vh, 1.2rem);
  border-top: 1px solid var(--color-line);
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rt-feature__meta b {
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.rt-feature__ticks {
  margin-top: clamp(0.9rem, 2vh, 1.3rem);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.4rem;
}

.rt-feature__ticks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.rt-feature__ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--color-brand);
  border-bottom: 2px solid var(--color-brand);
  transform: rotate(-45deg);
}

.rt-feature__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: clamp(1.2rem, 2.6vh, 1.8rem);
}

/* — programme files ————————————————————————————————————— */
.rtb__list {
  max-width: var(--maxw);
  margin: clamp(1.2rem, 2.4vh, 1.8rem) auto 0;
  display: grid;
  gap: 0.65rem;
}

.rt-file {
  position: relative;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: border-color 0.45s var(--ease-standard), background 0.45s var(--ease-standard);
}

.rt-file:hover,
.rt-file:focus-within {
  border-color: var(--color-line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.rt-file.is-open {
  border-color: rgba(var(--brand-rgb), 0.4);
  background: var(--color-surface);
}

.rt-file__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  column-gap: clamp(1rem, 2vw, 1.8rem);
  width: 100%;
  padding: clamp(1rem, 2.2vh, 1.35rem) clamp(1.1rem, 2.4vw, 1.8rem);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.rt-file__row:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

.rt-file__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  transition: transform 0.45s var(--ease-out-expo);
}

.rt-file:hover .rt-file__name {
  transform: translateX(6px);
}

.rt-file__tag {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  max-width: 56ch;
}

.rt-file__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.rt-file__meta b {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.8rem;
}

.rt-file__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.4s var(--ease-standard), background 0.4s var(--ease-standard), color 0.4s var(--ease-standard);
}

.rt-file__toggle svg {
  width: 0.85rem;
  height: auto;
  transition: transform 0.5s var(--ease-out-expo);
}

.rt-file__toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.rt-file:hover .rt-file__toggle {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* the arrow turns to point into the open briefing */
.rt-file.is-open .rt-file__toggle {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rt-file.is-open .rt-file__toggle svg {
  transform: rotate(90deg);
}

/* — inline dossier (the training detail preview) ——————————— */
.rt-dossier {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--ease-in-out-quint);
}

.rt-feature .rt-dossier {
  grid-column: 1/-1;
}

.rt-file.is-open .rt-dossier,
.rt-feature.is-open .rt-dossier {
  grid-template-rows: 1fr;
}

.rt-feature.is-open {
  border-color: rgba(var(--brand-rgb), 0.45);
}

.rt-dossier__in {
  min-height: 0;
  overflow: hidden;
}

.rt-dossier__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding: 0 clamp(1rem, 2.2vw, 1.6rem) clamp(1.3rem, 2.6vh, 1.8rem);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-standard), transform 0.5s var(--ease-out-expo);
}

.rt-file.is-open .rt-dossier__grid,
.rt-feature.is-open .rt-dossier__grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.rt-feature .rt-dossier__grid {
  padding: 0 clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 3vh, 2rem);
}

.rt-dossier__brief {
  padding-top: clamp(1rem, 2vh, 1.4rem);
  border-top: 1px solid var(--color-line);
}

.rt-dossier__k {
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.rt-dossier__what {
  margin-top: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 58ch;
}

.rt-dossier__ticks {
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.rt-dossier__ticks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.rt-dossier__ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--rt-b1);
  border-bottom: 2px solid var(--rt-b1);
  transform: rotate(-45deg);
}

.rt-dossier__cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(1.2rem, 2.6vh, 1.7rem);
}

.rt-dossier__facts {
  padding-top: clamp(1rem, 2vh, 1.4rem);
  border-top: 1px solid var(--color-line);
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.rt-dossier__facts > div {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--color-line);
}

.rt-dossier__facts > div:last-child {
  border-bottom: 0;
}

.rt-dossier__facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rt-dossier__facts dd {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.55;
}

.rt-dossier__facts dd .rt-grades {
  transform: translateY(1px);
}

/* book / enquire links (features + dossiers) */
.rt-book {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.25rem;
  border-radius: 100px;
  background: var(--color-brand);
  color: var(--color-brand-contrast);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-standard);
}

.rt-book svg {
  width: 0.8rem;
  height: auto;
  flex: none;
}

.rt-book:hover,
.rt-book:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--ambient-rgb), 0.25);
}

.rt-book--soft {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-line-strong);
}

.rt-book--soft:hover,
.rt-book--soft:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.6);
  box-shadow: none;
}

.rt-peek {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0;
  background: none;
  border: 0;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s var(--ease-standard);
}

.rt-peek svg {
  width: 0.7rem;
  height: auto;
  transition: transform 0.5s var(--ease-out-expo);
}

.rt-peek:hover,
.rt-peek:focus-visible {
  color: var(--color-brand);
}

.rt-peek[aria-expanded=true] {
  color: var(--color-brand);
}

.rt-peek[aria-expanded=true] svg {
  transform: rotate(90deg);
}

.rt-dossier__note {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* — filter lens states ————————————————————————————————— */
.rt-file.is-hidden,
.rt-feature.is-hidden {
  display: none;
}

.rt-file.is-entering,
.rt-feature.is-entering {
  opacity: 0;
  transform: translateY(16px);
}

.rt-file,
.rt-feature {
  transition-property: border-color, background, opacity, transform;
  transition-duration: 0.45s, 0.45s, 0.5s, 0.6s;
  transition-timing-function: var(--ease-standard), var(--ease-standard), var(--ease-standard), var(--ease-out-expo);
}

/* — skeleton files (future live-catalogue loading state) ——— */
.rt-file--skeleton {
  pointer-events: none;
  padding: clamp(1rem, 2.2vh, 1.35rem) clamp(1.1rem, 2.4vw, 1.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

/* explicit display would otherwise defeat the hidden attribute */
.rt-file--skeleton[hidden],
.rtb__notice[hidden] {
  display: none;
}

.rtsk {
  display: block;
  height: 0.9rem;
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 70%);
  background-size: 220% 100%;
  animation: rtsk-shimmer 1.4s linear infinite;
}

.rtsk--name {
  width: min(52%, 300px);
  height: 1.25rem;
}

.rtsk--meta {
  width: 7.5rem;
}

@keyframes rtsk-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}
/* — catalogue fallback notice (future live-data failure state):
     shown when the partner catalogue or live pricing can't be
     reached — board stays browsable, pricing flagged as indicative */
.rtb__notice {
  max-width: var(--maxw);
  margin: clamp(1.2rem, 2.4vh, 1.8rem) auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem clamp(1rem, 2vw, 1.6rem);
  padding: clamp(0.9rem, 2vh, 1.2rem) clamp(1rem, 2.2vw, 1.6rem);
  border: 1px dashed rgba(245, 197, 66, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(245, 197, 66, 0.05);
}

.rtb__notice-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 66, 0.5);
  color: var(--rt-soon);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.rtb__notice-body b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtb__notice-body span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .rtb__notice {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .rtb__notice > .rt-book--soft {
    grid-column: 2;
    justify-self: start;
  }
}
/* — empty state ————————————————————————————————————————— */
.rtb__empty {
  max-width: var(--maxw);
  margin: clamp(1.4rem, 3vh, 2rem) auto 0;
  padding: clamp(2.2rem, 5vh, 3.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.rtb__empty-flag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--color-text-subtle);
}

.rtb__empty-title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtb__empty-copy {
  margin: 0.7rem auto 0;
  max-width: 46ch;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.rtb__empty-row {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

/* — responsive ————————————————————————————————————————— */
@media screen and (max-width: 1200px) {
  .rt-file__grades {
    display: none;
  }
}
@media screen and (max-width: 992px) {
  .rtb__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .rt-feature,
  .rt-feature--alt {
    grid-template-columns: 1fr;
  }
  .rt-feature--alt .rt-feature__media {
    grid-column: 1;
    grid-row: 1;
  }
  .rt-feature--alt .rt-feature__body {
    grid-column: 1;
    grid-row: 2;
  }
  .rt-feature__media {
    min-height: clamp(220px, 42vw, 320px);
  }
  .rt-feature__ticks {
    grid-template-columns: 1fr;
  }
  .rt-file__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id toggle" "foot toggle";
    row-gap: 0.55rem;
  }
  .rt-file__id {
    grid-area: id;
  }
  .rt-file__toggle {
    grid-area: toggle;
    align-self: start;
  }
  .rt-file__foot {
    grid-area: foot;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
  }
  .rt-dossier__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
@media screen and (min-width: 993px) {
  .rt-file__foot {
    display: contents;
  }
}
@media screen and (max-width: 576px) {
  .rtf {
    border-radius: var(--radius-md);
    padding: 0.35rem;
  }
  .rtf__tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.875rem;
  }
  .rt-dossier__facts > div {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }
  .rt-file__meta {
    white-space: normal;
  }
}
.rtev {
  position: relative;
  padding: var(--section-pad) 0;
}

.rtev__head {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.4rem clamp(1.6rem, 3vw, 3rem);
  margin-bottom: clamp(1.8rem, 4vh, 2.6rem);
}

.rtev__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  max-width: 24ch;
}

.rtev__side {
  display: grid;
  justify-items: end;
  gap: 0.9rem;
}

.rtev__nav {
  display: flex;
  gap: 0.55rem;
}

.rtev__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  background: none;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.35s var(--ease-standard), background 0.35s var(--ease-standard), color 0.35s var(--ease-standard), opacity 0.3s;
}

.rtev__btn svg {
  width: 1.35rem;
  height: auto;
}

.rtev__btn:hover,
.rtev__btn:focus-visible {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rtev__btn[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.rtev__all {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.35s var(--ease-standard), gap 0.35s var(--ease-out-expo);
}

.rtev__all:hover,
.rtev__all:focus-visible {
  color: var(--color-brand);
  gap: 0.85rem;
}

/* — the rail ————————————————————————————————————————————— */
.rtev__rail {
  /* sass strips calc() inside max() — precompute the centring pad */
  --rail-pad: calc((100vw - var(--maxw)) / 2);
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
  overflow-x: auto;
  padding: 0.625rem max(var(--gutter), var(--rail-pad)) 1.4rem; /* headroom for the 5px hover lift */
  scroll-snap-type: x proximity;
  /* keep the snapport inset with the padding, or the first snap
     steals the leading gutter on load */
  scroll-padding-inline: max(var(--gutter), var(--rail-pad));
  scrollbar-width: none;
  cursor: grab;
}

.rtev__rail::-webkit-scrollbar {
  display: none;
}

.rtev__rail.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}

.rtev__rail:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.rtev-card {
  position: relative;
  flex: 0 0 clamp(272px, 24vw, 348px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  transition: border-color 0.45s var(--ease-standard), transform 0.55s var(--ease-out-expo);
}

.rtev-card:hover {
  border-color: var(--color-line-strong);
  transform: translateY(-5px);
}

.rtev-card--feature {
  flex-basis: clamp(320px, 30vw, 430px);
}

.rtev-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.rtev-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.rtev-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.3s var(--ease-out-quint);
}

.rtev-card:hover .rtev-card__media img {
  transform: scale(1.08);
}

.rtev-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.3) 0%, transparent 42%, rgba(6, 8, 13, 0.66) 100%);
}

.rtev-card__date {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.7rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 15, 0.82);
  border: 1px solid var(--color-line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1;
}

.rtev-card__date b {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.rtev-card__date span {
  margin-top: 0.28rem;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.rtev-card__media .rt-status {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
}

.rtev-card__flag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.rtev-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: clamp(1rem, 2vh, 1.3rem) clamp(1rem, 2vw, 1.3rem) clamp(1.1rem, 2.2vh, 1.4rem);
}

.rtev-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rtev-card__cat::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--g, var(--color-brand));
}

.rtev-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtev-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtev-card__copy {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.rtev-card__cta {
  margin-top: auto;
  padding-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.rtev-card__cta svg {
  width: 1.1rem;
  height: auto;
  transition: transform 0.4s var(--ease-out-expo);
}

.rtev-card:hover .rtev-card__cta svg {
  transform: translateX(4px);
}

.rtev__all svg,
.rtcal__open svg {
  width: 1.1rem;
  height: auto;
}

@media screen and (max-width: 992px) {
  .rtev__head {
    grid-template-columns: 1fr;
  }
  .rtev__side {
    justify-items: start;
  }
}
.rtev__filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
}

.rtev__ind {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: var(--color-brand);
  box-shadow: 0 0 18px rgba(var(--brand-rgb), 0.35);
  transform: translate(0, 0);
  transition: transform var(--dur-base) var(--ease-out-expo), width var(--dur-base) var(--ease-out-expo), height var(--dur-base) var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

.rtev__filters.has-ind .rtev__chip.is-active {
  background: transparent;
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .rtev__ind {
    transition: none;
  }
}
.rtev__chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.rtev__chip:hover {
  color: var(--color-text);
  border-color: var(--color-line-strong);
}
.rtev__chip:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.rtev__chip.is-active {
  color: var(--color-brand-contrast);
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.rtev__chip-n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.65;
}

.rtev__chip.is-active .rtev__chip-n {
  opacity: 0.8;
}

.rtev__empty {
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto clamp(1rem, 2vh, 1.4rem);
  padding-inline: var(--gutter);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.rtev__empty[hidden] {
  display: none;
}
.rtev__empty a {
  color: var(--color-brand-bright);
}

.rtev-card[hidden] {
  display: none;
}

.rtcal {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rtcal__head {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.4rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(1.8rem, 4vh, 2.6rem);
}

.rtcal__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtcal__sub {
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 42ch;
  justify-self: end;
}

.rtcal__panel {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.4vw, 3.2rem);
  padding: clamp(1.4rem, 3vh, 2.2rem) clamp(1.2rem, 2.6vw, 2.2rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  background: linear-gradient(140deg, var(--color-surface) 0%, var(--color-bg-2) 100%);
  isolation: isolate;
  transform: translateZ(0);
}

/* — month console ————————————————————————————————————— */
.rtcal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rtcal__mname {
  font-size: 0.875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rtcal__mname b {
  color: var(--color-brand);
  font-weight: 600;
}

.rtcal__nav {
  display: flex;
  gap: 0.45rem;
}

.rtcal__mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: none;
  color: var(--color-text-subtle);
  cursor: not-allowed;
  opacity: 0.55;
}

.rtcal__mbtn svg {
  width: 1.1rem;
  height: auto;
}

.rtcal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
}

.rtcal__chip {
  padding: 0.34rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--color-line);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtcal__chip.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rtcal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  margin-top: clamp(1rem, 2.4vh, 1.5rem);
}

.rtcal__wd {
  padding: 0.4rem 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtcal__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  aspect-ratio: 1.25;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.014);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.rtcal__day--dim {
  color: var(--color-text-subtle);
  background: none;
  opacity: 0.65;
}

.rtcal__day--ev {
  border-color: rgba(var(--g-rgb, var(--brand-rgb)), 0.4);
  background: rgba(var(--g-rgb, var(--brand-rgb)), 0.07);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.35s var(--ease-standard), background 0.35s var(--ease-standard), transform 0.4s var(--ease-out-expo);
}

.rtcal__day--ev i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g, var(--color-brand));
  box-shadow: 0 0 8px rgba(var(--g-rgb, var(--brand-rgb)), 0.8);
}

.rtcal__day--ev:hover,
.rtcal__day--ev:focus-visible,
.rtcal__day--ev.is-armed {
  border-color: var(--g, var(--color-brand));
  background: rgba(var(--g-rgb, var(--brand-rgb)), 0.16);
  transform: translateY(-2px);
}

.rtcal__day--ev:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.rtcal__foot {
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* — this-month session list ——————————————————————————— */
.rtcal__list {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-line);
  padding-left: clamp(1.4rem, 3vw, 2.6rem);
}

.rtcal__list-k {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  padding-bottom: 0.6rem;
}

.rtcal__ev {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(0.8rem, 1.6vw, 1.2rem);
  padding: clamp(0.8rem, 1.8vh, 1.05rem) 0.3rem;
  border-top: 1px solid var(--color-line);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.45s var(--ease-out-expo), background 0.45s var(--ease-standard);
}

.rtcal__ev:last-of-type {
  border-bottom: 1px solid var(--color-line);
}

.rtcal__ev::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  width: 2px;
  background: var(--g, var(--color-brand));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-expo);
}

.rtcal__ev:hover,
.rtcal__ev:focus-visible,
.rtcal__ev.is-armed {
  padding-left: 0.85rem;
  background: linear-gradient(90deg, rgba(var(--g-rgb, var(--ambient-rgb)), 0.07), transparent 70%);
}

.rtcal__ev:hover::before,
.rtcal__ev:focus-visible::before,
.rtcal__ev.is-armed::before {
  transform: scaleY(1);
}

.rtcal__ev-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  min-width: 2.4rem;
}

.rtcal__ev-date b {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.rtcal__ev-date span {
  margin-top: 0.24rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(var(--g-rgb, var(--brand-rgb)), 0.95);
}

.rtcal__ev-body b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtcal__ev-body span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtcal__open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: clamp(1rem, 2.2vh, 1.4rem);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
  text-decoration: none;
  transition: gap 0.35s var(--ease-out-expo);
}

.rtcal__open:hover,
.rtcal__open:focus-visible {
  gap: 0.85rem;
}

@media screen and (max-width: 992px) {
  .rtcal__head {
    grid-template-columns: 1fr;
  }
  .rtcal__sub {
    justify-self: start;
  }
  .rtcal__panel {
    grid-template-columns: 1fr;
  }
  .rtcal__list {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--color-line);
    padding-top: 1.2rem;
  }
  .rtcal__open {
    margin-top: 0.4rem;
  }
}
.rtgo {
  position: relative;
  padding: clamp(2rem, 5vh, 3.5rem) var(--gutter);
}

.rtgo__panel {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.4rem, 9vh, 6rem) clamp(1.4rem, 4vw, 4rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg-2);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  text-align: center;
}

/* the grade ladder hairline crowns the whole panel */
.rtgo__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--rt-c) 0 25%, var(--rt-b) 25% 50%, var(--rt-b1) 50% 75%, var(--rt-a) 75% 100%);
  opacity: 0.9;
}

/* — the film behind the glass ————————————————————————— */
.rtgo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rtgo__img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  filter: brightness(0.62) saturate(1.08);
  will-change: transform;
}

.rtgo__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.6) 0%, rgba(6, 8, 13, 0.3) 45%, rgba(6, 8, 13, 0.72) 100%), radial-gradient(64% 90% at 50% 52%, rgba(6, 8, 13, 0.62), transparent 78%), radial-gradient(70% 90% at 50% 100%, rgba(var(--ambient-rgb), 0.16), transparent 70%);
}

/* — the gantry stands straight on the film — no box in a box — */
.rtgo__glass {
  position: relative;
  z-index: 2;
  max-width: min(780px, 100%);
  margin-inline: auto;
}

/* speed lines — a quiet diagonal drift behind the gantry */
.rtgo__lines {
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 84px);
  animation: rtgo-drift 26s linear infinite;
  pointer-events: none;
  mask-image: radial-gradient(80% 90% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 45%, #000 20%, transparent 78%);
}

@keyframes rtgo-drift {
  to {
    transform: translateX(168px);
  }
}
.rtgo__glow {
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 90%;
  z-index: 1;
  background: radial-gradient(52% 70% at 50% 100%, rgba(var(--ambient-rgb), 0.18), transparent 74%);
  pointer-events: none;
}

/* — the gantry ————————————————————————————————————————— */
.rtgo__lights {
  position: relative;
  display: inline-flex;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 8, 13, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rtgo__lights i {
  width: clamp(11px, 1.3vw, 15px);
  height: clamp(11px, 1.3vw, 15px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard);
}

.rtgo__lights i.is-red {
  background: #e5484d;
  border-color: #e5484d;
  box-shadow: 0 0 14px rgba(229, 72, 77, 0.75);
}

.rtgo__lights i.is-green {
  background: var(--rt-on);
  border-color: var(--rt-on);
  box-shadow: 0 0 16px rgba(39, 224, 138, 0.8);
}

.rtgo__title {
  position: relative;
  margin-top: clamp(1.4rem, 3.4vh, 2.2rem);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.55);
}

.rtgo__copy {
  position: relative;
  margin: clamp(1rem, 2.4vh, 1.5rem) auto 0;
  max-width: 52ch;
  color: var(--color-text);
  opacity: 0.85;
  line-height: 1.65;
}

.rtgo__row {
  position: relative;
  margin-top: clamp(1.6rem, 3.6vh, 2.4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.rtmf {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rtmf__panel {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vh, 3.6rem) clamp(1.4rem, 3.5vw, 3.4rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-2) 100%);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.rtmf__glow {
  position: absolute;
  inset: auto auto -45% -25%;
  width: 70%;
  height: 90%;
  background: radial-gradient(50% 60% at 40% 100%, rgba(var(--ambient-rgb), 0.14), transparent 74%);
  pointer-events: none;
}

.rtmf__blueprint {
  position: absolute;
  right: -6%;
  top: -14%;
  width: 46%;
  opacity: 0.05;
  pointer-events: none;
  filter: invert(1);
}

.rtmf__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.9vw, 2.7rem);
  line-height: 1.07;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtmf__copy {
  margin-top: clamp(0.9rem, 2.2vh, 1.3rem);
  max-width: 62ch;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.rtmf__quiz {
  margin-top: clamp(1.5rem, 3.2vh, 2.2rem);
  display: grid;
  gap: clamp(1.1rem, 2.4vh, 1.6rem);
}

.rtmf__q {
  border: 0;
  padding: 0;
  margin: 0;
}

.rtmf__q-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtmf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rtmf__chip {
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--color-line-strong);
  background: none;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.35s var(--ease-standard), background 0.35s var(--ease-standard), color 0.35s var(--ease-standard), transform 0.35s var(--ease-out-expo);
}

.rtmf__chip:hover {
  border-color: rgba(var(--brand-rgb), 0.55);
  color: var(--color-text);
  transform: translateY(-1px);
}

.rtmf__chip:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.rtmf__chip.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rtmf__foot {
  margin-top: clamp(1.6rem, 3.4vh, 2.4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rtmf__fine {
  margin-top: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* — the pass deck ————————————————————————————————————— */
.rtmf__deck {
  position: relative;
  min-height: clamp(380px, 44vh, 460px);
  display: grid;
}

.rtmf-tier {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.8vh, 1.9rem) clamp(1.2rem, 2.4vw, 1.7rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line-strong);
  background: linear-gradient(160deg, var(--color-elevated) 0%, var(--color-surface) 70%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(calc(var(--peek, 1) * 14px)) scale(calc(1 - var(--peek, 1) * 0.04));
  pointer-events: none;
  transition: opacity 0.55s var(--ease-standard), transform 0.7s var(--ease-out-expo);
}

.rtmf-tier.is-behind {
  opacity: 0.3;
}

.rtmf-tier.is-pick {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 3;
  border-color: rgba(var(--brand-rgb), 0.45);
}

.rtmf-tier__pick {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  background: rgba(var(--brand-rgb), 0.14);
  border: 1px solid rgba(var(--brand-rgb), 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand);
  opacity: 0;
  transition: opacity 0.4s var(--ease-standard) 0.15s;
}

.rtmf-tier.is-pick .rtmf-tier__pick {
  opacity: 1;
}

.rtmf-tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.95rem;
}

.rtmf-tier__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtmf-tier__price {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.rtmf-tier__price b {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.02em;
}

.rtmf-tier__for {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtmf-tier__list {
  margin-top: clamp(1rem, 2.4vh, 1.4rem);
  padding-top: 0.4rem;
  border-top: 1px solid var(--color-line);
  list-style: none;
  display: grid;
}

.rtmf-tier__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed var(--color-line);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.rtmf-tier__list li:last-child {
  border-bottom: 0;
}

.rtmf-tier__list b {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rt-on);
  white-space: nowrap;
}

.rtmf-tier__row {
  margin-top: auto;
  padding-top: clamp(1rem, 2.2vh, 1.4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 992px) {
  .rtmf__panel {
    grid-template-columns: 1fr;
  }
  .rtmf__deck {
    min-height: 0;
  }
  .rtmf-tier {
    position: static;
    display: none;
  }
  .rtmf-tier.is-pick {
    display: flex;
    transform: none;
  }
}
.rtst {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  /* side cards deliberately overhang — never let them widen the page */
  overflow: hidden;
}

/* centred header — same composition as the approved
   all-experiences stories section */
.rtst__head {
  max-width: var(--maxw);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4.5vh, 3rem);
  text-align: center;
}

.rtst__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

/* — the stage ————————————————————————————————————————— */
.rtst__stage {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  perspective: 1400px;
  /* lets the wings measure the stage, so their outer edges can sit
     flush with the container (and the section title) at any width */
  container-type: inline-size;
}

.rtst__halo {
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 70%;
  height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(var(--ambient-rgb), 0.14), transparent 72%);
  pointer-events: none;
}

.rtst__deck {
  position: relative;
  display: grid;
}

/* — the debrief cards ————————————————————————————————— */
.rtst-card {
  grid-area: 1/1;
  justify-self: center;
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3.6vh, 2.6rem) clamp(1.3rem, 3vw, 2.6rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line-strong);
  background: linear-gradient(170deg, rgba(19, 22, 28, 0.92) 0%, rgba(10, 12, 18, 0.86) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateX(0) scale(0.7);
  pointer-events: none;
  transition: transform 0.75s var(--ease-out-expo), opacity 0.6s var(--ease-standard), filter 0.6s var(--ease-standard);
  will-change: transform, opacity;
}

/* the rider's grade colour crowns their card */
.rtst-card__hair {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g, var(--color-brand));
  opacity: 0.9;
}

/* deck positions — centre, wings, and the queue behind */
.rtst-card.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 3;
}

.rtst-card.is-prev,
.rtst-card.is-next {
  opacity: 0.55;
  filter: saturate(0.7) brightness(0.8);
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}

/* wings park flush with the container edges: shift half the stage
   width out, then back in by half the scaled card (680 × 0.82 / 2).
   The plain % line is the fallback for engines without cq units. */
.rtst-card.is-prev {
  transform: translateX(-52%) scale(0.82) rotateY(9deg);
  transform: translateX(calc(-50cqw + 279px)) scale(0.82) rotateY(9deg);
}

.rtst-card.is-next {
  transform: translateX(52%) scale(0.82) rotateY(-9deg);
  transform: translateX(calc(50cqw - 279px)) scale(0.82) rotateY(-9deg);
}

.rtst-card.is-far {
  opacity: 0;
  transform: scale(0.72);
  z-index: 1;
}

.rtst-card.is-prev:hover,
.rtst-card.is-next:hover {
  opacity: 0.55;
}

.rtst-card.is-prev:focus-visible,
.rtst-card.is-next:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.rtst-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* the outlined display quote — same treatment as the approved
   all-experiences stories cards, in the rider's grade colour */
.rtst-card__mark {
  font-family: var(--font-display);
  font-weight: var(--fw-extra);
  letter-spacing: var(--ls-display);
  font-size: clamp(4.2rem, 5.2vw, 5rem);
  line-height: 0.6;
  transform: translateY(0.18em);
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(var(--g-rgb, var(--brand-rgb)), 0.6);
  user-select: none;
}

.rtst-card__lane {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--color-line-strong);
  background: rgba(6, 8, 13, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.rtst-card__lane i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--g, var(--color-brand));
  box-shadow: 0 0 8px rgba(var(--g-rgb, var(--brand-rgb)), 0.8);
}

.rtst-card__quote {
  margin-top: clamp(1.1rem, 2.6vh, 1.6rem);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

.rtst-card__quote b {
  font-weight: 500;
  color: var(--color-brand-bright);
}

/* optional CMS-managed story video — most stories omit it */
.rtst-card__video {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
  padding: 0.42rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color 0.35s var(--ease-standard), color 0.35s var(--ease-standard);
}

.rtst-card__video svg {
  width: 0.8rem;
  height: auto;
}

.rtst-card__video:hover,
.rtst-card__video:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.6);
  color: var(--color-brand);
}

.rtst-card__foot {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: clamp(1.3rem, 3vh, 1.9rem);
  padding-top: clamp(1rem, 2.2vh, 1.4rem);
  border-top: 1px solid var(--color-line);
}

.rtst-card__avatar {
  flex: none;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(var(--g-rgb, var(--brand-rgb)), 0.7);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.rtst-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rtst-card__id {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.rtst-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtst-card__role {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* the grading climb, worn as a badge */
.rtst-card__climb {
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--g-rgb, var(--brand-rgb)), 0.4);
  background: rgba(var(--g-rgb, var(--brand-rgb)), 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}

.rtst-card__climb b {
  color: rgba(var(--g-rgb, var(--brand-rgb)), 1);
  font-weight: 600;
}

/* — controls ————————————————————————————————————————— */
.rtst__nav {
  max-width: var(--maxw);
  margin: clamp(1.4rem, 3vh, 2rem) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.rtst__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  background: none;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.35s var(--ease-standard), background 0.35s var(--ease-standard), color 0.35s var(--ease-standard);
}

.rtst__btn svg {
  width: 1.35rem;
  height: auto;
}

.rtst__btn:hover,
.rtst__btn:focus-visible {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rtst__count {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-subtle);
}

.rtst__count b {
  color: var(--color-text);
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  /* single-card stage — the wings step aside on touch layouts */
  .rtst-card.is-prev,
  .rtst-card.is-next {
    opacity: 0;
    pointer-events: none;
  }
  .rtst-card.is-prev {
    transform: translateX(-24%) scale(0.8);
  }
  .rtst-card.is-next {
    transform: translateX(24%) scale(0.8);
  }
  .rtst-card__avatar {
    width: 4.6rem;
    height: 4.6rem;
  }
}
@media screen and (max-width: 576px) {
  .rtst-card__foot {
    flex-wrap: wrap;
  }
  .rtst-card__climb {
    margin-left: 0;
  }
  .rtst-card__lane {
    white-space: normal;
  }
}
.rttut {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}

.rttut__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* — the screen ————————————————————————————————————————— */
.rttut__screen {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line-strong);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.rttut__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s var(--ease-standard), transform 1.5s var(--ease-out-quint);
}

.rttut__still.is-on {
  opacity: 1;
  transform: scale(1);
}

.rttut__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.32) 0%, transparent 40%, rgba(6, 8, 13, 0.62) 100%);
  z-index: 2;
}

.rttut__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(var(--brand-rgb), 0.85);
  z-index: 3;
  transition: transform 0.5s var(--ease-out-expo);
}

.rttut__corner--tl {
  left: 0.9rem;
  top: 0.9rem;
  border-right: 0;
  border-bottom: 0;
}

.rttut__corner--tr {
  right: 0.9rem;
  top: 0.9rem;
  border-left: 0;
  border-bottom: 0;
}

.rttut__corner--bl {
  left: 0.9rem;
  bottom: 0.9rem;
  border-right: 0;
  border-top: 0;
}

.rttut__corner--br {
  right: 0.9rem;
  bottom: 0.9rem;
  border-left: 0;
  border-top: 0;
}

.rttut__screen:hover .rttut__corner--tl,
.rttut__screen:focus-visible .rttut__corner--tl {
  transform: translate(-4px, -4px);
}

.rttut__screen:hover .rttut__corner--tr,
.rttut__screen:focus-visible .rttut__corner--tr {
  transform: translate(4px, -4px);
}

.rttut__screen:hover .rttut__corner--bl,
.rttut__screen:focus-visible .rttut__corner--bl {
  transform: translate(-4px, 4px);
}

.rttut__screen:hover .rttut__corner--br,
.rttut__screen:focus-visible .rttut__corner--br {
  transform: translate(4px, 4px);
}

.rttut__chip {
  position: absolute;
  left: 50%;
  top: 1.05rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(8, 10, 15, 0.78);
  border: 1px solid var(--color-line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.rttut__chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rt-fast);
  animation: rttut-rec 1.6s ease-in-out infinite;
}

@keyframes rttut-rec {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.rttut__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.6rem, 6vw, 4.6rem);
  height: clamp(3.6rem, 6vw, 4.6rem);
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: transform 0.5s var(--ease-out-expo), background 0.4s var(--ease-standard), border-color 0.4s var(--ease-standard), color 0.4s var(--ease-standard);
}

.rttut__play svg {
  width: 38%;
  height: auto;
  margin-left: 6%;
}

.rttut__screen:hover .rttut__play,
.rttut__screen:focus-visible .rttut__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rttut__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 1.4rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* — the playlist ————————————————————————————————————— */
.rttut__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rttut__copy {
  margin-top: clamp(0.9rem, 2.2vh, 1.3rem);
  max-width: 48ch;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.rttut__list {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  list-style: none;
}

.rttut__item a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(0.9rem, 1.8vw, 1.4rem);
  padding: clamp(0.85rem, 1.9vh, 1.15rem) 0.35rem;
  border-top: 1px solid var(--color-line);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.45s var(--ease-out-expo), background 0.45s var(--ease-standard);
}

.rttut__item:last-child a {
  border-bottom: 1px solid var(--color-line);
}

.rttut__item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
  width: 2px;
  background: var(--color-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-expo);
}

.rttut__item a:hover,
.rttut__item a:focus-visible,
.rttut__item.is-armed a {
  padding-left: 0.9rem;
  background: linear-gradient(90deg, rgba(var(--ambient-rgb), 0.06), transparent 70%);
}

.rttut__item a:hover::before,
.rttut__item a:focus-visible::before,
.rttut__item.is-armed a::before {
  transform: scaleY(1);
}

/* playlist play button — arms with the row, echoes the screen */
.rttut__playic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  transition: background 0.4s var(--ease-standard), border-color 0.4s var(--ease-standard), color 0.4s var(--ease-standard);
}

.rttut__playic svg {
  width: 0.8rem;
  height: auto;
  margin-left: 8%;
}

.rttut__item a:hover .rttut__playic,
.rttut__item a:focus-visible .rttut__playic,
.rttut__item.is-armed .rttut__playic {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-brand-contrast);
}

.rttut__id {
  min-width: 0;
}

.rttut__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rttut__cap {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.rttut__len {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  white-space: nowrap;
}

.rttut__arrow {
  color: var(--color-text-subtle);
  transition: color 0.35s var(--ease-standard), transform 0.45s var(--ease-out-expo);
}

.rttut__arrow svg {
  width: 1.2rem;
  height: auto;
  display: block;
}

.rttut__item a:hover .rttut__arrow,
.rttut__item a:focus-visible .rttut__arrow {
  color: var(--color-brand);
  transform: translateX(4px);
}

.rttut__cta {
  margin-top: clamp(1.6rem, 3.4vh, 2.2rem);
}

@media screen and (max-width: 992px) {
  .rttut__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rttut__title {
    max-width: none;
  }
  .rttut__strip {
    gap: 0.9rem;
  }
}
@media screen and (max-width: 576px) {
  .rttut__len {
    display: none;
  }
}
.rtcta {
  position: relative;
  padding: clamp(7rem, 18vh, 12rem) var(--gutter);
  overflow: hidden;
}

.rtcta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.rtcta__img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.05);
  will-change: transform;
}

.rtcta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(6, 8, 13, 0.42) 26%, rgba(6, 8, 13, 0.5) 70%, var(--color-bg) 100%), radial-gradient(70% 90% at 50% 100%, rgba(var(--ambient-rgb), 0.2), transparent 66%);
}

.rtcta__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(var(--brand-rgb), 0.1) 48%, transparent 62%);
  background-size: 260% 100%;
  animation: rtcta-sweep 7s var(--ease-in-out-quint) infinite;
  pointer-events: none;
}

@keyframes rtcta-sweep {
  0%, 100% {
    background-position: 130% 0;
  }
  50% {
    background-position: -30% 0;
  }
}
.rtcta__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  text-align: center;
}

.rtcta__k {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.rtcta__k i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rt-on);
  box-shadow: 0 0 10px rgba(39, 224, 138, 0.8);
}

.rtcta__title {
  margin-top: clamp(1.1rem, 2.6vh, 1.7rem);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 1.06;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

.rtcta__row {
  margin-top: clamp(1.7rem, 4vh, 2.6rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.rtcta__tel {
  margin-top: clamp(1.3rem, 3vh, 1.9rem);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.rtcta__tel a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.35s var(--ease-standard);
}

.rtcta__tel a:hover,
.rtcta__tel a:focus-visible {
  color: var(--color-brand);
}

.rtw,
.rtpath,
.rtb,
.rtcal,
.rtgo,
.rtmf,
.rtst,
.rttut,
.rtcta {
  padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2 + var(--gutter));
}

@keyframes kb-zoom {
  0%, 100% {
    scale: 1;
  }
  50% {
    scale: 1.07;
  }
}
.rtw__shot img {
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .rtw__shot img {
    animation: kb-zoom 18s ease-in-out infinite;
  }
}

.rtw__shot--float img {
  animation-delay: -3s;
}

.rt-feature__media {
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.rt-feature__media img {
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .rt-feature__media img {
    animation: kb-zoom 18s ease-in-out infinite;
  }
}

.rt-feature:nth-of-type(2) .rt-feature__media img {
  animation-delay: -3s;
}

.rtev-card__media {
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.rtev-card__media img {
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .rtev-card__media img {
    animation: kb-zoom 18s ease-in-out infinite;
  }
}

.rtev-card:nth-child(2) .rtev-card__media img {
  animation-delay: -3s;
}

.rtev-card:nth-child(3) .rtev-card__media img {
  animation-delay: -6s;
}

.rtev-card:nth-child(4) .rtev-card__media img {
  animation-delay: -9s;
}

.rtev-card:nth-child(5) .rtev-card__media img {
  animation-delay: -12s;
}

.rtev-card:nth-child(6) .rtev-card__media img {
  animation-delay: -15s;
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero__still {
    transform: none;
  }
  .rt-gradeshot,
  .rttut__still {
    transform: none;
    transition: opacity 0.4s ease;
  }
  .sp-hero__eyebrow-line,
  .sp-hero__eyebrow-line::after,
  .rtgo__lines,
  .rtcta__sweep,
  .rttut__chip i,
  .rtsk {
    animation: none;
  }
  .rtf.is-pulse {
    animation: none;
  }
  .rtpath__stage {
    transition: border-color 0.3s ease;
  }
  .rtpath__stage.is-armed {
    flex: 2.3 1 0;
  }
  .rtpath__more {
    transition: opacity 0.3s ease;
    transform: none;
  }
  .rtev-card__cta svg {
    transition: none;
  }
  .rtpath__ghost,
  .rt-file__name,
  .rtev-card,
  .rtev-card__media img,
  .rt-feature__media img,
  .rtmf__chip,
  .rt-book,
  .rttut__play,
  .rttut__corner,
  .rttut__arrow {
    transition-property: opacity, color, background, border-color, box-shadow;
    transform: none !important;
  }
  .rtmf-tier {
    transition: opacity 0.3s ease;
  }
  .rtst-card {
    transition: opacity 0.3s ease;
  }
  .rtst-card.is-prev,
  .rtst-card.is-next,
  .rtst-card.is-far {
    opacity: 0;
    pointer-events: none;
  }
  .rt-dossier {
    transition: none;
  }
  .rtst__track i {
    transition: none;
  }
  .rtev__rail {
    scroll-behavior: auto;
  }
}
