/* ==========================================================================
   RVKS — rvx-home
   Page styles for /index.html. Namespaced `.rvxh-`.

   Loads LAST, after bootstrap.css + every yit-*.css + rvk-premium-chrome.css
   + rvx-header.css + rvk-home-premium.css — the same slot css/rvx-about.css
   and css/rvx-careers.css occupy on their pages.

   Specificity note: rvk-home-premium.css ships `body.rvk-home-premium p`
   (0,1,2) and `body.rvk-home-premium section` (0,1,2). Every component rule
   below therefore carries at least two classes (`.rvxh-main .rvxh-thing`) so
   it always wins without resorting to !important.

   Palette + type intentionally identical to css/rvx-header.css,
   css/rvx-about.css and css/rvx-careers.css so the page reads as one system.
   ========================================================================== */

.rvxh-main {
  /* --- brand tokens (same values as rvx-header.css / rvx-about.css) --- */
  --rvxh-navy: #0a0f18;
  --rvxh-navy-2: #121a28;
  --rvxh-navy-3: #162238;
  --rvxh-ink: #101827;
  --rvxh-ink-nav: #141c2c;
  --rvxh-ink-body: #2b3547;
  --rvxh-ink-soft: #52607a;
  --rvxh-ink-faint: #7d8899;
  --rvxh-gold: #c4a035;
  --rvxh-gold-bright: #dfc465;
  --rvxh-blue: #12325b;
  --rvxh-white: #ffffff;
  --rvxh-surface: #f6f8fc;
  --rvxh-surface-2: #eef2f8;
  --rvxh-hairline: rgba(16, 24, 39, 0.10);
  --rvxh-hairline-soft: rgba(16, 24, 39, 0.06);

  --rvxh-on-dark: rgba(234, 240, 247, 0.78);
  --rvxh-on-dark-soft: rgba(234, 240, 247, 0.62);
  --rvxh-dark-line: rgba(255, 255, 255, 0.11);

  --rvxh-font-display: "Montserrat", "Plus Jakarta Sans", system-ui,
    -apple-system, "Segoe UI", Arial, sans-serif;
  --rvxh-font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial,
    sans-serif;

  --rvxh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --rvxh-dur: 200ms;

  --rvxh-radius: 10px;
  --rvxh-radius-lg: 16px;

  --rvxh-shadow-card: 0 18px 50px rgba(10, 15, 24, 0.09),
    0 2px 6px rgba(10, 15, 24, 0.04);
  --rvxh-shadow-lift: 0 26px 60px rgba(10, 15, 24, 0.13),
    0 3px 8px rgba(10, 15, 24, 0.05);

  display: block;
  font-family: var(--rvxh-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rvxh-ink-body);
  text-align: left;
  background: var(--rvxh-white);
}

/* ==========================================================================
   0. Theme-leak defence
   Wrapped in :where() so each reset carries only `.rvxh-main` specificity
   (0,1,0) — enough to beat the theme's bare-element rules, weak enough that
   the component rules further down always win.
   ========================================================================== */

:where(.rvxh-main),
:where(.rvxh-main) *,
:where(.rvxh-main) *::before,
:where(.rvxh-main) *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:where(.rvxh-main) p,
:where(.rvxh-main) h1,
:where(.rvxh-main) h2,
:where(.rvxh-main) h3,
:where(.rvxh-main) h4,
:where(.rvxh-main) h5,
:where(.rvxh-main) h6,
:where(.rvxh-main) figure,
:where(.rvxh-main) figcaption,
:where(.rvxh-main) address,
:where(.rvxh-main) blockquote {
  /* yit-style.css: `p { padding-top:5px; padding-bottom:5px }`
     yit-responsive.css (mobile): bare `h1..h6 { text-align:center }`. */
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-style: normal;
  text-align: left;
  text-transform: none;
}

:where(.rvxh-main) ul,
:where(.rvxh-main) ol,
:where(.rvxh-main) li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  text-indent: 0;
  text-align: left;
  background: none;
  border: 0;
  float: none;
  line-height: inherit;
}

/* yit-style.css ships `ul li { display:inline-block; line-height:1.8 }`. */
:where(.rvxh-main) ul li,
:where(.rvxh-main) ol li {
  display: block;
  line-height: inherit;
}

:where(.rvxh-main) ul::before,
:where(.rvxh-main) li::before {
  content: none;
}

:where(.rvxh-main) a {
  text-decoration: none;
  background-color: transparent;
  color: inherit;
  outline-offset: 2px;
}

:where(.rvxh-main) a:hover,
:where(.rvxh-main) a:focus {
  text-decoration: none;
}

:where(.rvxh-main) img,
:where(.rvxh-main) picture,
:where(.rvxh-main) svg {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
}

:where(.rvxh-main) svg {
  display: block;
  flex: none;
  fill: none;
  overflow: visible;
}

/* bootstrap: `html [type="button"] { appearance: button }`. */
.rvxh-main [type="button"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  background-image: none;
  font: inherit;
  color: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

/* yit-style.css declares `a { outline: none !important }`. !important is the
   only route back to a visible keyboard focus ring. */
.rvxh-main :focus-visible {
  outline: 2px solid var(--rvxh-gold) !important;
  outline-offset: 3px !important;
  border-radius: 3px;
}

/* ==========================================================================
   1. Shared primitives
   ========================================================================== */

.rvxh-main .rvxh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.rvxh-main .rvxh-eyebrow {
  display: inline-block;
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rvxh-gold);
}

.rvxh-main .rvxh-rule {
  display: block;
  width: 62px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rvxh-gold), var(--rvxh-gold-bright));
}

.rvxh-main .rvxh-h2 {
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rvxh-ink-nav);
}

.rvxh-main .rvxh-shead {
  display: block;
}

.rvxh-main .rvxh-shead .rvxh-rule {
  margin: 0 0 20px;
}

/* --- buttons ------------------------------------------------------------ */

.rvxh-main .rvxh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--rvxh-font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--rvxh-dur) var(--rvxh-ease),
    box-shadow var(--rvxh-dur) var(--rvxh-ease),
    background-color var(--rvxh-dur) var(--rvxh-ease),
    border-color var(--rvxh-dur) var(--rvxh-ease),
    color var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rvxh-main .rvxh-btn--gold {
  color: var(--rvxh-navy);
  background: linear-gradient(180deg, var(--rvxh-gold-bright) 0%, var(--rvxh-gold) 100%);
  box-shadow: 0 10px 26px rgba(196, 160, 53, 0.28);
}

.rvxh-main .rvxh-btn--gold:hover,
.rvxh-main .rvxh-btn--gold:focus-visible {
  color: var(--rvxh-navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(196, 160, 53, 0.36);
}

.rvxh-main .rvxh-btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.rvxh-main .rvxh-btn--ghost:hover,
.rvxh-main .rvxh-btn--ghost:focus-visible {
  color: #ffffff;
  border-color: var(--rvxh-gold-bright);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.rvxh-main .rvxh-btn--outline {
  color: var(--rvxh-ink-nav);
  border-color: var(--rvxh-hairline);
  background: #ffffff;
}

.rvxh-main .rvxh-btn--outline:hover,
.rvxh-main .rvxh-btn--outline:focus-visible {
  color: var(--rvxh-navy);
  border-color: var(--rvxh-gold);
  background: rgba(196, 160, 53, 0.08);
  transform: translateY(-2px);
}

.rvxh-main .rvxh-btn--sm {
  padding: 11px 22px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

/* --- inline "more" link ------------------------------------------------- */

.rvxh-main .rvxh-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--rvxh-font-display);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rvxh-gold);
  transition: color var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-more svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-more:hover,
.rvxh-main .rvxh-more:focus-visible {
  color: #9a7c1f;
}

.rvxh-main .rvxh-more:hover svg,
.rvxh-main .rvxh-more:focus-visible svg {
  transform: translateX(4px);
}

/* --- scroll reveal ------------------------------------------------------ */

.rvxh-main .rvxh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--rvxh-ease), transform 620ms var(--rvxh-ease);
  transition-delay: var(--rvxh-delay, 0ms);
  will-change: opacity, transform;
}

.rvxh-main .rvxh-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* No JS / no IntersectionObserver: never leave content hidden. */
.rvxh-main.rvxh-no-reveal .rvxh-reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   2. Hero — full-bleed crossfade slideshow
   ========================================================================== */

.rvxh-main .rvxh-hero {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(520px, 78svh, 780px);
  min-height: 520px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(140deg, var(--rvxh-navy) 0%, var(--rvxh-navy-2) 52%, var(--rvxh-navy-3) 100%);
  isolation: isolate;
}

.rvxh-main .rvxh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rvxh-main .rvxh-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1200ms var(--rvxh-ease);
  pointer-events: none;
}

.rvxh-main .rvxh-hero__slide.is-active {
  opacity: 1;
}

.rvxh-main .rvxh-hero__slide picture {
  display: block;
  position: absolute;
  inset: 0;
}

.rvxh-main .rvxh-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
}

/* Ken Burns — restarts each time a slide becomes active. */
.rvxh-main .rvxh-hero__slide.is-active .rvxh-hero__img {
  animation: rvxh-kenburns 16s linear forwards;
}

.rvxh-main .rvxh-hero__slide[data-align="right"].is-active .rvxh-hero__img {
  animation-name: rvxh-kenburns-alt;
}

@keyframes rvxh-kenburns {
  from { transform: scale(1.001) translate3d(0, 0, 0); }
  to   { transform: scale(1.075) translate3d(-1.1%, -0.6%, 0); }
}

@keyframes rvxh-kenburns-alt {
  from { transform: scale(1.001) translate3d(0, 0, 0); }
  to   { transform: scale(1.075) translate3d(1.1%, -0.6%, 0); }
}

/* Per-slide scrim. Lives inside the slide so it crossfades with the image.
   scaleX(-1) mirrors the directional wash for right-aligned compositions;
   the two vertical washes are horizontally uniform, so they are unaffected. */
.rvxh-main .rvxh-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 24, 0.55) 0%, rgba(10, 15, 24, 0) 34%),
    linear-gradient(0deg, rgba(10, 15, 24, 0.62) 0%, rgba(10, 15, 24, 0) 52%),
    linear-gradient(90deg, rgba(10, 15, 24, 0.90) 0%, rgba(10, 15, 24, 0.72) 26%, rgba(10, 15, 24, 0.30) 56%, rgba(10, 15, 24, 0.04) 82%, rgba(10, 15, 24, 0) 100%);
}

.rvxh-main .rvxh-hero__slide[data-align="right"]::after {
  transform: scaleX(-1);
}

.rvxh-main .rvxh-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 92px 0 108px;
}

.rvxh-main .rvxh-hero__body > .rvxh-container {
  width: 100%;
}

.rvxh-main .rvxh-hero__copy {
  max-width: 620px;
  margin: 0 auto 0 0;
  transition: opacity 420ms var(--rvxh-ease), transform 420ms var(--rvxh-ease);
}

.rvxh-main .rvxh-hero[data-rvxh-align="right"] .rvxh-hero__copy {
  margin: 0 0 0 auto;
}

.rvxh-main .rvxh-hero__copy.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}

.rvxh-main .rvxh-hero__kicker {
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--rvxh-gold-bright);
}

.rvxh-main .rvxh-hero__title {
  margin: 20px 0 0;
  font-family: var(--rvxh-font-display);
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(10, 15, 24, 0.35);
}

.rvxh-main .rvxh-hero__copy .rvxh-rule {
  margin: 30px 0 0;
  width: 78px;
}

.rvxh-main .rvxh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 38px 0 0;
}

/* --- slide controls ----------------------------------------------------- */

.rvxh-main .rvxh-hero__nav {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.rvxh-main .rvxh-hero__dot {
  position: relative;
  width: 46px;
  height: 3px;
  padding: 12px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.rvxh-main .rvxh-hero__dot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.34);
  transition: background-color var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-hero__dot:hover::after {
  background: rgba(255, 255, 255, 0.62);
}

.rvxh-main .rvxh-hero__dot.is-active::after {
  background: linear-gradient(90deg, var(--rvxh-gold), var(--rvxh-gold-bright));
}

/* ==========================================================================
   3. Approach — segmented tabs
   ========================================================================== */

.rvxh-main .rvxh-approach {
  position: relative;
  z-index: 2;
  display: block;
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--rvxh-white);
}

.rvxh-main .rvxh-approach__inner {
  max-width: 900px;
  margin: 0 auto;
}

.rvxh-main .rvxh-tabs__rail {
  position: relative;
  display: flex;
  padding: 5px;
  border: 1px solid var(--rvxh-hairline);
  border-radius: 6px;
  background: var(--rvxh-surface-2);
}

.rvxh-main .rvxh-tabs__thumb {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  border-radius: 4px;
  background: linear-gradient(160deg, var(--rvxh-navy-3) 0%, var(--rvxh-navy) 100%);
  box-shadow: 0 8px 20px rgba(10, 15, 24, 0.18);
  transform: translateX(calc(var(--rvxh-tab-index, 0) * 100%));
  transition: transform 380ms var(--rvxh-ease);
}

.rvxh-main .rvxh-tab {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 12px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-family: var(--rvxh-font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
  color: var(--rvxh-ink-soft);
  cursor: pointer;
  transition: color 260ms var(--rvxh-ease);
}

.rvxh-main .rvxh-tab:hover {
  color: var(--rvxh-ink-nav);
}

.rvxh-main .rvxh-tab[aria-selected="true"] {
  color: #ffffff;
}

.rvxh-main .rvxh-tabs__panels {
  position: relative;
  margin: 34px 0 0;
}

.rvxh-main .rvxh-tabs__panel {
  display: none;
}

.rvxh-main .rvxh-tabs__panel.is-active {
  display: block;
  animation: rvxh-panel-in 420ms var(--rvxh-ease) both;
}

@keyframes rvxh-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.rvxh-main .rvxh-tabs__panel:focus {
  outline: none;
}

.rvxh-main .rvxh-tabs__text {
  position: relative;
  max-width: 78ch;
  margin: 0 auto;
  padding: 0 0 0 26px;
  font-family: var(--rvxh-font-body);
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--rvxh-ink-body);
}

.rvxh-main .rvxh-tabs__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--rvxh-gold), rgba(196, 160, 53, 0.12));
}

/* ==========================================================================
   4. Services — card grid + feature panels
   ========================================================================== */

.rvxh-main .rvxh-services {
  position: relative;
  z-index: 2;
  display: block;
  padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 9vw, 104px);
  background: linear-gradient(180deg, var(--rvxh-surface) 0%, #f1f5fb 100%);
  border-top: 1px solid var(--rvxh-hairline-soft);
  border-bottom: 1px solid var(--rvxh-hairline-soft);
}

.rvxh-main .rvxh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid var(--rvxh-hairline);
  border-radius: var(--rvxh-radius-lg);
  background: var(--rvxh-hairline);
  overflow: hidden;
  box-shadow: var(--rvxh-shadow-card);
}

.rvxh-main .rvxh-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 34px 34px;
  background: #ffffff;
  transition: background-color 260ms var(--rvxh-ease);
}

.rvxh-main .rvxh-card:hover {
  background: #fdfcf8;
}

.rvxh-main .rvxh-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 0 22px;
  border: 1px solid rgba(196, 160, 53, 0.32);
  border-radius: 50%;
  background: rgba(196, 160, 53, 0.07);
  transition: border-color 260ms var(--rvxh-ease),
    background-color 260ms var(--rvxh-ease);
}

.rvxh-main .rvxh-card:hover .rvxh-card__icon {
  border-color: rgba(196, 160, 53, 0.62);
  background: rgba(196, 160, 53, 0.13);
}

.rvxh-main .rvxh-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--rvxh-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rvxh-main .rvxh-card__title {
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--rvxh-ink-nav);
}

.rvxh-main .rvxh-card__text {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--rvxh-ink-soft);
}

.rvxh-main .rvxh-card .rvxh-more {
  margin: 24px 0 0;
}

/* --- feature panels ----------------------------------------------------- */

.rvxh-main .rvxh-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 30px 0 0;
}

.rvxh-main .rvxh-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 38px 36px;
  border: 1px solid var(--rvxh-hairline);
  border-radius: var(--rvxh-radius-lg);
  background: #ffffff;
  box-shadow: var(--rvxh-shadow-card);
  overflow: hidden;
  transition: transform 300ms var(--rvxh-ease), box-shadow 300ms var(--rvxh-ease);
}

.rvxh-main .rvxh-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--rvxh-gold-bright), var(--rvxh-gold));
}

.rvxh-main .rvxh-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--rvxh-shadow-lift);
}

.rvxh-main .rvxh-panel__title {
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--rvxh-ink-nav);
}

.rvxh-main .rvxh-panel__title a {
  color: inherit;
  transition: color var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-panel__title a:hover,
.rvxh-main .rvxh-panel__title a:focus-visible {
  color: var(--rvxh-gold);
}

.rvxh-main .rvxh-panel__text {
  margin: 16px 0 0;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--rvxh-ink-soft);
}

.rvxh-main .rvxh-panel .rvxh-more {
  margin: 26px 0 0;
}

/* ==========================================================================
   5. Editorial two-up — Sector Expertise / R V K S Team
   ========================================================================== */

.rvxh-main .rvxh-editorial {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  padding: clamp(62px, 9vw, 104px) 0;
  background:
    radial-gradient(120% 130% at 8% 0%, rgba(196, 160, 53, 0.12) 0%, rgba(196, 160, 53, 0) 48%),
    linear-gradient(140deg, var(--rvxh-navy) 0%, var(--rvxh-navy-2) 50%, var(--rvxh-navy-3) 100%);
  color: var(--rvxh-on-dark);
}

.rvxh-main .rvxh-editorial::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 160, 53, 0.42) 20%, rgba(196, 160, 53, 0.42) 80%, transparent);
}

.rvxh-main .rvxh-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.rvxh-main .rvxh-feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 52px 6px 0;
}

.rvxh-main .rvxh-feat + .rvxh-feat {
  padding: 6px 0 6px 52px;
  border-left: 1px solid var(--rvxh-dark-line);
}

.rvxh-main .rvxh-feat .rvxh-rule {
  margin: 0 0 20px;
}

.rvxh-main .rvxh-feat__title {
  margin: 0;
  font-family: var(--rvxh-font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.rvxh-main .rvxh-feat__text {
  margin: 20px 0 0;
  max-width: 54ch;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--rvxh-on-dark-soft);
}

.rvxh-main .rvxh-feat .rvxh-btn {
  margin: 32px 0 0;
}

/* ==========================================================================
   6. Contact band
   ========================================================================== */

.rvxh-main .rvxh-contact {
  position: relative;
  z-index: 2;
  display: block;
  padding: clamp(52px, 7vw, 84px) 0;
  background: var(--rvxh-white);
}

.rvxh-main .rvxh-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.rvxh-main .rvxh-contact__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 44px;
  border-left: 1px solid var(--rvxh-hairline);
}

.rvxh-main .rvxh-contact__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.rvxh-main .rvxh-contact__item:last-child {
  padding-right: 0;
}

.rvxh-main .rvxh-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
  border: 1px solid rgba(196, 160, 53, 0.32);
  border-radius: 50%;
  background: rgba(196, 160, 53, 0.07);
}

.rvxh-main .rvxh-contact__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--rvxh-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rvxh-main .rvxh-contact__title {
  margin: 0 0 14px;
  font-family: var(--rvxh-font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rvxh-ink-nav);
}

.rvxh-main .rvxh-contact__line {
  margin: 0;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rvxh-ink-soft);
}

.rvxh-main .rvxh-contact__line a {
  color: var(--rvxh-ink-soft);
  transition: color var(--rvxh-dur) var(--rvxh-ease);
}

.rvxh-main .rvxh-contact__line a:hover,
.rvxh-main .rvxh-contact__line a:focus-visible {
  color: var(--rvxh-gold);
}

.rvxh-main .rvxh-contact__item .rvxh-btn {
  margin: 24px 0 0;
}

/* ==========================================================================
   7. Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
  .rvxh-main .rvxh-card {
    padding: 32px 26px 30px;
  }

  .rvxh-main .rvxh-feat {
    padding-right: 34px;
  }

  .rvxh-main .rvxh-feat + .rvxh-feat {
    padding-left: 34px;
  }

  .rvxh-main .rvxh-contact__item {
    padding: 4px 28px;
  }
}

@media (max-width: 991.98px) {
  .rvxh-main .rvxh-hero {
    height: clamp(480px, 72svh, 640px);
    min-height: 480px;
  }

  .rvxh-main .rvxh-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rvxh-main .rvxh-panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .rvxh-main .rvxh-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .rvxh-main .rvxh-feat,
  .rvxh-main .rvxh-feat + .rvxh-feat {
    padding: 0;
    border-left: 0;
  }

  .rvxh-main .rvxh-feat + .rvxh-feat {
    padding-top: 44px;
    border-top: 1px solid var(--rvxh-dark-line);
  }

  .rvxh-main .rvxh-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .rvxh-main .rvxh-contact__item,
  .rvxh-main .rvxh-contact__item:first-child {
    padding: 0 0 34px;
    border-left: 0;
    border-bottom: 1px solid var(--rvxh-hairline);
  }

  .rvxh-main .rvxh-contact__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .rvxh-main .rvxh-container {
    padding: 0 20px;
  }

  /* Hero: bottom-aligned copy, heavier scrim, taller relative frame. */
  .rvxh-main .rvxh-hero {
    height: auto;
    min-height: 70svh;
  }

  .rvxh-main .rvxh-hero__slide::after {
    background:
      linear-gradient(180deg, rgba(10, 15, 24, 0.50) 0%, rgba(10, 15, 24, 0.10) 34%),
      linear-gradient(0deg, rgba(10, 15, 24, 0.94) 0%, rgba(10, 15, 24, 0.88) 34%, rgba(10, 15, 24, 0.62) 56%, rgba(10, 15, 24, 0.24) 76%, rgba(10, 15, 24, 0) 100%);
    transform: none;
  }

  .rvxh-main .rvxh-hero__body {
    align-items: flex-end;
    min-height: 70svh;
    padding: 120px 0 92px;
  }

  .rvxh-main .rvxh-hero__copy,
  .rvxh-main .rvxh-hero[data-rvxh-align="right"] .rvxh-hero__copy {
    max-width: none;
    margin: 0;
  }

  .rvxh-main .rvxh-hero__title {
    margin-top: 14px;
  }

  .rvxh-main .rvxh-hero__copy .rvxh-rule {
    margin-top: 22px;
  }

  .rvxh-main .rvxh-hero__actions {
    margin-top: 28px;
    gap: 10px;
  }

  .rvxh-main .rvxh-btn {
    padding: 13px 22px;
    font-size: 11.5px;
    letter-spacing: 0.11em;
  }

  .rvxh-main .rvxh-hero__nav {
    bottom: 26px;
    justify-content: flex-start;
    padding: 0 20px;
  }

  .rvxh-main .rvxh-hero__dot {
    width: 34px;
  }

  /* Tabs: stacked list, thumb retired. */
  .rvxh-main .rvxh-tabs__rail {
    flex-direction: column;
    padding: 4px;
    gap: 4px;
  }

  .rvxh-main .rvxh-tabs__thumb {
    display: none;
  }

  .rvxh-main .rvxh-tab {
    flex: none;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--rvxh-hairline-soft);
  }

  .rvxh-main .rvxh-tab[aria-selected="true"] {
    color: #ffffff;
    background: linear-gradient(160deg, var(--rvxh-navy-3) 0%, var(--rvxh-navy) 100%);
    border-color: transparent;
  }

  .rvxh-main .rvxh-tabs__panels {
    margin-top: 26px;
  }

  .rvxh-main .rvxh-tabs__text {
    padding-left: 18px;
  }

  .rvxh-main .rvxh-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .rvxh-main .rvxh-panel {
    padding: 30px 26px 28px;
  }

  .rvxh-main .rvxh-feat {
    align-items: flex-start;
  }
}

@media (max-width: 419.98px) {
  .rvxh-main .rvxh-container {
    padding: 0 16px;
  }

  .rvxh-main .rvxh-hero__nav {
    padding: 0 16px;
  }

  .rvxh-main .rvxh-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rvxh-main .rvxh-btn {
    width: 100%;
  }

  .rvxh-main .rvxh-card {
    padding: 28px 22px 26px;
  }
}

/* ==========================================================================
   8. Reduced motion + print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .rvxh-main .rvxh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rvxh-main .rvxh-hero__slide.is-active .rvxh-hero__img,
  .rvxh-main .rvxh-hero__slide[data-align="right"].is-active .rvxh-hero__img {
    animation: none;
    transform: none;
  }

  .rvxh-main .rvxh-hero__slide,
  .rvxh-main .rvxh-hero__copy,
  .rvxh-main .rvxh-tabs__thumb {
    transition: none;
  }

  .rvxh-main .rvxh-tabs__panel.is-active {
    animation: none;
  }

  .rvxh-main,
  .rvxh-main *,
  .rvxh-main *::before,
  .rvxh-main *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .rvxh-main .rvxh-btn:hover,
  .rvxh-main .rvxh-btn:focus-visible,
  .rvxh-main .rvxh-panel:hover,
  .rvxh-main .rvxh-more:hover svg {
    transform: none;
  }
}

@media print {
  .rvxh-main .rvxh-hero {
    height: auto;
    min-height: 0;
    padding: 0;
    background: none;
    color: #000;
  }

  .rvxh-main .rvxh-hero__media,
  .rvxh-main .rvxh-hero__nav {
    display: none !important;
  }

  .rvxh-main .rvxh-hero__body {
    height: auto;
    padding: 0 0 24px;
  }

  .rvxh-main .rvxh-hero__title,
  .rvxh-main .rvxh-hero__kicker,
  .rvxh-main .rvxh-feat__title,
  .rvxh-main .rvxh-feat__text {
    color: #000;
    text-shadow: none;
  }

  .rvxh-main .rvxh-editorial {
    background: none;
    color: #000;
  }

  .rvxh-main .rvxh-cards,
  .rvxh-main .rvxh-panel {
    box-shadow: none;
  }

  .rvxh-main .rvxh-reveal {
    opacity: 1;
    transform: none;
  }
}
