/* ═══════════════════════════════════════════════════════════
   RM³ CONSULTING — Strategy. Systems. Scale.
   Brand: Executive Modern (#111111 / #F7F5F0 / #5B616B / #C7A44C)
   Type: Manrope (display + body) · Space Grotesk (accents)
   ═══════════════════════════════════════════════════════════ */

:root {
  --rm-black:      #111111;
  --rm-black-2:    #1a1a1a;
  --rm-black-3:    #232323;
  --rm-cream:      #F7F5F0;
  --rm-slate:      #5B616B;
  --rm-slate-2:    #7c828a;
  --rm-gold:       #C7A44C;
  --rm-gold-deep:  #a78638;
  --rm-line:       rgba(247,245,240,0.12);
  --rm-line-soft:  rgba(247,245,240,0.06);

  --rm-font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --rm-font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --rm-font-accent:  'Space Grotesk', 'Manrope', sans-serif;

  --rm-max:    1240px;
  --rm-ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --rm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --rm-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1); /* slight overshoot — pop */

  /* JS-set scroll vars */
  --hero-progress: 0;
  --scroll-progress: 0;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* ─── Reset / base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Lock horizontal scrolling at the document level (iOS-safe) */
  overflow-x: hidden;
}
body {
  font-family: var(--rm-font-body);
  background: var(--rm-black);
  color: var(--rm-cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* Hard horizontal lock — prevent rubber-band x-pan on iOS */
  overflow-x: hidden;
  width: 100%;
  position: relative;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--rm-gold); color: var(--rm-black); }

/* Keyboard focus — visible gold ring for keyboard users only (mouse unaffected) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--rm-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip-to-content link — visually hidden until focused */
.rm-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 3000;
  padding: 10px 18px;
  background: var(--rm-gold);
  color: var(--rm-black);
  font-family: var(--rm-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: top 0.2s var(--rm-ease);
}
.rm-skip:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01s !important; transition-duration: 0.01s !important; }
}

/* ─── Type utilities ─── */
.gold { color: var(--rm-gold); }

.rm-eyebrow {
  font-family: var(--rm-font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rm-slate-2);
}
.rm-eyebrow sup { font-size: 0.7em; }
.rm-eyebrow--center { text-align: center; display: block; }
.rm-eyebrow--gold { color: var(--rm-gold); }

.rm-container { max-width: var(--rm-max); margin: 0 auto; padding: 0 32px; }

.rm-section-head {
  text-align: center;
  margin-bottom: 70px;
}
.rm-section-head .rm-eyebrow { margin-bottom: 18px; }
.rm-section-head h2 {
  font-family: var(--rm-font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rm-cream);
}
.rm-section-sub {
  margin-top: 18px;
  color: var(--rm-slate-2);
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.rm-section-sub em { color: var(--rm-cream); font-style: italic; }

/* ─── Buttons ─── */
.rm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--rm-font-display);
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s var(--rm-ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.rm-btn--gold {
  background: var(--rm-gold); color: var(--rm-black);
  box-shadow: 0 6px 24px rgba(199,164,76,0.22);
}
.rm-btn--gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--rm-ease);
}
.rm-btn--gold:hover {
  background: var(--rm-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(199,164,76,0.32);
}
.rm-btn--gold:hover::before { transform: translateX(100%); }
.rm-btn--ghost {
  background: transparent; color: var(--rm-cream);
  border-color: rgba(247,245,240,0.3);
}
.rm-btn--ghost:hover {
  border-color: var(--rm-gold);
  color: var(--rm-gold);
}
.rm-btn--lg { padding: 18px 34px; font-size: 0.9rem; }
.rm-btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════ */
.rm-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rm-gold);
  z-index: 2000;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(199,164,76,0.5);
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.rm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  background: transparent;
  transition: all 0.3s var(--rm-ease);
  border-bottom: 1px solid transparent;
}
.rm-header.is-scrolled {
  background: rgba(17,17,17,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--rm-line);
}
.rm-header__inner {
  max-width: var(--rm-max); margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}

.rm-logo {
  display: inline-flex; align-items: baseline;
  font-family: var(--rm-font-display);
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rm-cream);
  transition: opacity 0.2s ease;
}
.rm-logo:hover { opacity: 0.85; }
.rm-logo__3 {
  font-size: 0.65em;
  color: var(--rm-gold);
  margin-left: 1px;
  font-weight: 700;
  vertical-align: super;
  position: relative;
  top: -0.15em;
}
.rm-logo--footer { font-size: 1.4rem; }

.rm-nav {
  display: flex; align-items: center; gap: 30px;
  margin-left: auto;
}
.rm-nav a {
  font-family: var(--rm-font-display);
  font-size: 0.84rem; font-weight: 500;
  color: var(--rm-slate-2);
  letter-spacing: 0.04em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s var(--rm-ease);
}
.rm-nav a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--rm-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--rm-ease);
}
.rm-nav a:hover, .rm-nav a.is-active { color: var(--rm-cream); }
.rm-nav a:hover::after, .rm-nav a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}

.rm-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  font-family: var(--rm-font-display);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--rm-gold);
  border-radius: 2px;
  background: transparent;
  color: var(--rm-gold);
  transition: all 0.25s var(--rm-ease);
}
.rm-cta-btn:hover {
  background: var(--rm-gold); color: var(--rm-black);
}

.rm-burger {
  display: none; background: none; border: none;
  width: 36px; height: 30px; padding: 0; cursor: pointer; position: relative;
}
.rm-burger span {
  display: block; position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--rm-cream); transition: all 0.3s var(--rm-ease);
}
.rm-burger span:nth-child(1) { top: 8px; }
.rm-burger span:nth-child(2) { top: 14px; }
.rm-burger span:nth-child(3) { top: 20px; }
.rm-header.menu-open .rm-burger span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.rm-header.menu-open .rm-burger span:nth-child(2) { opacity: 0; }
.rm-header.menu-open .rm-burger span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO STAGE — sticky pin for scroll-driven split
   ═══════════════════════════════════════════════════════════ */
.rm-stage {
  position: relative;
  height: 150vh; /* tight stage so no empty scroll between hero pin and next section */
  overflow: hidden; /* clip the off-screen split words on every browser */
}
.rm-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 130px 32px 0;
  display: flex; flex-direction: column; justify-content: safe center;
  overflow: hidden;
  isolation: isolate;
}
.rm-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(199,164,76,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(199,164,76,0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--rm-black) 0%, var(--rm-black-2) 100%);
  transform-origin: center center;
}
.rm-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(247,245,240,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,245,240,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
/* Mouse-follow gold halo (single CSS-var, no calc — safe) */
.rm-hero__halo {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(199,164,76,0.12),
    transparent 60%
  );
}

.rm-hero__inner {
  max-width: var(--rm-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.rm-hero__inner .rm-eyebrow {
  margin-bottom: 24px;
  color: var(--rm-gold);
}
.rm-hero__inner .rm-eyebrow sup { font-size: 0.7em; }

.rm-hero__title {
  font-family: var(--rm-font-display);
  font-size: clamp(3rem, min(9vw, 13vh), 7.5rem);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--rm-cream);
  margin-bottom: 36px;
  text-transform: none;
  display: flex; flex-direction: column;
}

/* Wrapper for entrance fade; doesn't conflict with .rm-word transforms */
.rm-word-shell {
  display: block;
  overflow: visible;
}

/* The split words — JS drives transform/opacity directly via inline style */
.rm-word {
  display: inline-block;
  will-change: transform, opacity;
}
.rm-word--right {
  position: relative;
}
.rm-word--right .rm-word__bar,
.rm-word--right::after {
  content: ''; position: absolute;
  bottom: 4px; left: 0;
  width: 80px; height: 4px;
  background: var(--rm-gold);
  transform-origin: left;
}

.rm-hero__sub {
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--rm-slate-2);
  margin-bottom: 44px;
  line-height: 1.7;
}

.rm-hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero pillars - 4-card strip at bottom of hero */
.rm-hero__pillars {
  max-width: var(--rm-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rm-line);
  padding-top: 28px;
  padding-bottom: 36px;
}

/* Hero exit (driven by .is-leaving class once user starts scrolling) handled in JS */
[data-hero-fade] {
  will-change: transform, opacity;
}
.rm-pillar {
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--rm-line);
}
.rm-pillar:last-child { border-right: none; }
.rm-pillar__num {
  font-family: var(--rm-font-accent);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--rm-gold);
  margin-bottom: 10px;
}
.rm-pillar h2 {
  font-family: var(--rm-font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--rm-cream);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.rm-pillar p {
  font-size: 0.85rem;
  color: var(--rm-slate-2);
  line-height: 1.5;
}

/* Hero entrance animation: stagger via --rm-i custom property */
.rm-fade-in {
  opacity: 0;
  transform: translateY(28px);
  animation: rm-fade-up 0.9s var(--rm-ease-out) both;
  animation-delay: calc(var(--rm-i, 0) * 110ms);
}
@keyframes rm-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES — 8 cards
   ═══════════════════════════════════════════════════════════ */
.rm-services {
  padding: 130px 0 130px;
  background: var(--rm-black);
}

.rm-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rm-line);
  border: 1px solid var(--rm-line);
}
.rm-svc {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--rm-black);
  transition: all 0.35s var(--rm-ease);
  overflow: hidden;
}
.rm-svc::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--rm-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--rm-ease);
}
.rm-svc:hover {
  background: var(--rm-black-2);
  transform: translateY(-4px);
}
.rm-svc:hover::before { transform: scaleX(1); }
.rm-svc__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(199,164,76,0.08);
  color: var(--rm-gold);
  border-radius: 4px;
  margin-bottom: 22px;
  transition: all 0.4s var(--rm-ease);
}
.rm-svc:hover .rm-svc__icon {
  background: var(--rm-gold);
  color: var(--rm-black);
  transform: rotate(-8deg) scale(1.06);
}
.rm-svc h3 {
  font-family: var(--rm-font-display);
  font-size: 1.18rem; font-weight: 700;
  color: var(--rm-cream);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.rm-svc p {
  font-size: 0.9rem; line-height: 1.6;
  color: var(--rm-slate-2);
}
.rm-svc strong { color: var(--rm-cream); font-weight: 700; }

.rm-svc--featured {
  background: linear-gradient(160deg, rgba(199,164,76,0.08) 0%, var(--rm-black-2) 100%);
  border: 1px solid rgba(199,164,76,0.25);
}
.rm-svc--featured:hover { background: linear-gradient(160deg, rgba(199,164,76,0.14) 0%, var(--rm-black-2) 100%); }
.rm-svc__tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--rm-font-accent);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rm-gold);
  padding: 4px 8px;
  border: 1px solid var(--rm-gold);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.rm-about {
  padding: 130px 0;
  background: var(--rm-black-2);
  position: relative;
}
.rm-about__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: start;
}
.rm-about__copy h2 {
  font-family: var(--rm-font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rm-cream);
  margin: 22px 0 28px;
}
.rm-about__lead {
  font-size: 1.18rem;
  color: var(--rm-cream);
  margin-bottom: 26px;
  line-height: 1.6;
}
.rm-about__lead strong { color: var(--rm-gold); font-weight: 700; }
.rm-about__copy p {
  color: var(--rm-slate-2);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}
.rm-about__copy strong { color: var(--rm-cream); font-weight: 600; }

.rm-credentials {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--rm-line);
}
.rm-credentials li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--rm-font-display);
  font-size: 0.92rem; font-weight: 500;
  color: var(--rm-cream);
}
.rm-credentials .dot {
  width: 6px; height: 6px;
  background: var(--rm-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* About card */
.rm-about__card {
  background: var(--rm-black);
  border: 1px solid var(--rm-line);
  padding: 38px 32px;
  position: sticky; top: 110px;
  position: relative;
  overflow: hidden;
}
.rm-about__card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--rm-gold), transparent);
}
.rm-card__monogram {
  font-family: var(--rm-font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--rm-cream);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.rm-card__monogram sup {
  font-size: 0.55em;
  color: var(--rm-gold);
}
.rm-card__title {
  font-family: var(--rm-font-display);
  font-size: 1.18rem; font-weight: 700;
  color: var(--rm-cream);
  margin-bottom: 4px;
}
.rm-card__role {
  font-family: var(--rm-font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rm-slate-2);
  margin-bottom: 24px;
}
.rm-card__rule { width: 36px; height: 2px; background: var(--rm-gold); margin-bottom: 24px; }
.rm-card__meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.rm-card__meta li {
  display: flex; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rm-line-soft);
  font-family: var(--rm-font-display);
  font-size: 0.86rem;
}
.rm-card__meta li span:first-child {
  color: var(--rm-slate-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}
.rm-card__meta li span:last-child {
  color: var(--rm-cream); font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   APPROACH — with self-drawing vertical line
   ═══════════════════════════════════════════════════════════ */
.rm-approach {
  padding: 130px 0;
  background: var(--rm-black);
}
.rm-approach__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--rm-max);
  margin: 0 auto;
  border-top: 1px solid var(--rm-line);
  border-bottom: 1px solid var(--rm-line);
  position: relative;
}
/* Animated horizontal line that draws across as section enters */
.rm-approach__list::after {
  content: ''; position: absolute;
  top: 50px; left: 0;
  height: 1px; width: 100%;
  background: var(--rm-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--rm-ease-out);
}
.rm-approach__list.is-revealed::after { transform: scaleX(1); }
.rm-approach__list li {
  padding: 50px 36px;
  border-right: 1px solid var(--rm-line);
  position: relative;
}
.rm-approach__list li:last-child { border-right: none; }
.rm-approach__list li::before {
  content: ''; position: absolute;
  top: 50px; left: 0;
  width: 4px; height: 32px;
  background: var(--rm-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--rm-ease-out);
}
.rm-approach__list.is-revealed li::before {
  transform: scaleY(1);
  transition-delay: 0.4s;
}
.rm-approach__list.is-revealed li:nth-child(2)::before { transition-delay: 0.7s; }
.rm-approach__list.is-revealed li:nth-child(3)::before { transition-delay: 1s; }

.rm-approach__num {
  font-family: var(--rm-font-accent);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--rm-gold);
  margin-bottom: 18px;
}
.rm-approach__list h3 {
  font-family: var(--rm-font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--rm-cream);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.rm-approach__list p {
  color: var(--rm-slate-2);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   PROOF
   ═══════════════════════════════════════════════════════════ */
.rm-proof {
  padding: 130px 0;
  background: var(--rm-black-2);
}
.rm-proof__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}
.rm-proof__card {
  background: var(--rm-black);
  border: 1px solid var(--rm-line);
  padding: 38px 32px 36px;
  transition: transform 0.3s var(--rm-ease),
              border-color 0.3s var(--rm-ease),
              box-shadow 0.3s var(--rm-ease);
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.rm-proof__card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--rm-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--rm-ease);
}
.rm-proof__card:hover {
  border-color: rgba(199,164,76,0.5);
  box-shadow: 0 22px 50px rgba(0,0,0,0.4),
              0 0 0 1px rgba(199,164,76,0.15);
}
.rm-proof__card:hover::before { transform: scaleX(1); }

.rm-proof__role {
  font-family: var(--rm-font-accent);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: 16px;
}
.rm-proof__card h3 {
  font-family: var(--rm-font-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--rm-cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.rm-proof__card p {
  color: var(--rm-slate-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Industries strip */
.rm-industries {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--rm-line);
  text-align: center;
}
.rm-industries__label {
  font-family: var(--rm-font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: 26px;
}
.rm-industries__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 14px;
  max-width: 980px;
  margin: 0 auto;
}
.rm-industries__list li {
  font-family: var(--rm-font-display);
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rm-cream);
  padding: 10px 18px;
  border: 1px solid var(--rm-line);
  background: var(--rm-black);
  border-radius: 999px;
  transition: all 0.3s var(--rm-ease);
  cursor: default;
}
.rm-industries__list li:hover {
  border-color: var(--rm-gold);
  color: var(--rm-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(199,164,76,0.15);
}

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.rm-cta {
  position: relative;
  padding: 140px 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.rm-cta__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(199,164,76,0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--rm-black) 0%, var(--rm-black-2) 100%);
}
.rm-cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247,245,240,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,245,240,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.rm-cta__inner { max-width: 880px; margin: 0 auto; position: relative; }
.rm-cta__title {
  font-family: var(--rm-font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--rm-cream);
  margin: 22px 0 22px;
}
.rm-cta__sub {
  font-size: 1.1rem;
  color: var(--rm-slate-2);
  max-width: 580px; margin: 0 auto 40px;
  line-height: 1.7;
}
.rm-cta__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.rm-cta__locale {
  font-family: var(--rm-font-accent);
  font-size: 0.78rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--rm-slate-2);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.rm-footer {
  background: var(--rm-black);
  padding: 38px 32px;
  border-top: 1px solid var(--rm-line);
}
.rm-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
.rm-footer__tag {
  font-family: var(--rm-font-accent);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rm-gold);
}
.rm-footer__copy {
  font-size: 0.84rem;
  color: var(--rm-slate-2);
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ON SCROLL — progressive enhancement
   Default: visible (no JS = no broken page)
   With .has-js: hidden until .is-revealed is added
   ═══════════════════════════════════════════════════════════ */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s var(--rm-ease-out), transform .6s var(--rm-ease-out);
}
.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: children fade up sequentially */
.has-js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--rm-ease-out), transform 0.8s var(--rm-ease-out);
}
.has-js [data-reveal-stagger].is-revealed > * { opacity: 1; transform: translateY(0); }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 0ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 80ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 160ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 240ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 320ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(6) { transition-delay: 400ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(7) { transition-delay: 480ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(8) { transition-delay: 560ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(9) { transition-delay: 640ms; }
.has-js [data-reveal-stagger].is-revealed > *:nth-child(10) { transition-delay: 720ms; }

/* Industries pills — pop-in style */
.has-js [data-reveal-stagger] > .rm-industries__list > * {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 0.5s var(--rm-ease-out), transform 0.5s var(--rm-ease-out);
}

/* ═══ SERVICES — drop-pop entrance (override the generic stagger) ═══
   Reverse stagger on scroll-out so cards exit in opposite order */
.has-js .rm-services-grid > .rm-svc {
  opacity: 0;
  transform: translateY(-36px) scale(0.94);
  transition: opacity 0.65s var(--rm-ease-pop),
              transform 0.65s var(--rm-ease-pop);
}
/* Hide-stagger: card 8 hides first (delay 0), card 1 last (delay 630) */
.has-js .rm-services-grid > .rm-svc:nth-child(8) { transition-delay:   0ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(7) { transition-delay:  90ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(6) { transition-delay: 180ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(5) { transition-delay: 270ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(4) { transition-delay: 360ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(3) { transition-delay: 450ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(2) { transition-delay: 540ms; }
.has-js .rm-services-grid > .rm-svc:nth-child(1) { transition-delay: 630ms; }
/* Reveal-stagger: card 1 first, card 8 last */
.has-js .rm-services-grid.is-revealed > .rm-svc {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(1) { transition-delay:   0ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(2) { transition-delay:  90ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(3) { transition-delay: 180ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(4) { transition-delay: 270ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(5) { transition-delay: 360ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(6) { transition-delay: 450ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(7) { transition-delay: 540ms; }
.has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(8) { transition-delay: 630ms; }

/* Cursor spotlight on services grid (gold radial follows cursor) */
.rm-services-grid {
  position: relative;
  --grid-mx: 50%;
  --grid-my: 50%;
}
.rm-services-grid::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--grid-mx, 50%) var(--grid-my, 50%),
    rgba(199,164,76,0.10),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--rm-ease);
  z-index: 1;
}
.rm-services-grid:hover::after { opacity: 1; }

/* ═══ APPROACH — populate from RIGHT to LEFT ═══
   Reveal: card 3 (right) → 2 → 1 (left)
   Hide:   card 1 (left)  → 2 → 3 (right) — feels like rewinding */
.has-js .rm-approach__list > li {
  opacity: 0;
  transform: translateX(60px) scale(0.96);
  transition: opacity 0.65s var(--rm-ease-out),
              transform 0.65s var(--rm-ease-out);
}
/* Hide-stagger (default state): card 1 hides first, card 3 last */
.has-js .rm-approach__list > li:nth-child(1) { transition-delay:   0ms; }
.has-js .rm-approach__list > li:nth-child(2) { transition-delay: 220ms; }
.has-js .rm-approach__list > li:nth-child(3) { transition-delay: 440ms; }
/* Reveal-stagger: card 3 first, card 1 last */
.has-js .rm-approach__list.is-revealed > li {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.has-js .rm-approach__list.is-revealed > li:nth-child(3) { transition-delay:   0ms; }
.has-js .rm-approach__list.is-revealed > li:nth-child(2) { transition-delay: 220ms; }
.has-js .rm-approach__list.is-revealed > li:nth-child(1) { transition-delay: 440ms; }
/* Gold draw-line and accents fire AFTER all 3 cards land */
.rm-approach__list.is-revealed::after { transition-delay: 700ms; }
.rm-approach__list.is-revealed > li:nth-child(3)::before { transition-delay: 200ms !important; }
.rm-approach__list.is-revealed > li:nth-child(2)::before { transition-delay: 420ms !important; }
.rm-approach__list.is-revealed > li:nth-child(1)::before { transition-delay: 640ms !important; }

/* ═══ SPLIT WORD REVEALS for section h2 + CTA title ═══ */
.rm-w {
  display: inline-block;
  white-space: pre;
}
.has-js .rm-w {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s var(--rm-ease-out),
              transform 0.55s var(--rm-ease-out);
  /* Hide delay: last word out first (cascade in reverse) */
  transition-delay: calc((12 - var(--rm-w-i, 0)) * 35ms);
}
.has-js [data-reveal].is-revealed .rm-w {
  opacity: 1;
  transform: translateY(0);
  /* Reveal delay: first word first */
  transition-delay: calc(var(--rm-w-i, 0) * 55ms);
}

/* Safety: 2.5s after page load, force reveal anything still hidden + in-view */
.has-js [data-reveal].rm-force-show,
.has-js [data-reveal-stagger].rm-force-show > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .rm-services-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-about__grid { grid-template-columns: 1fr; gap: 50px; }
  .rm-about__card { position: static; }
  .rm-approach__list { grid-template-columns: 1fr; }
  .rm-approach__list li { border-right: none; border-bottom: 1px solid var(--rm-line); }
  .rm-approach__list li:last-child { border-bottom: none; }
  .rm-approach__list::after { display: none; }
  .rm-proof__grid { grid-template-columns: 1fr; }
  .rm-hero__pillars { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .rm-pillar { border-right: none; border-bottom: 1px solid var(--rm-line); padding-bottom: 16px; }
  .rm-pillar:nth-last-child(-n+2) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — comprehensive redesign
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {

  /* ── Header ── */
  .rm-nav { display: none; }
  .rm-burger { display: block; }
  .rm-header { padding: 16px 0; }
  .rm-header.is-scrolled { padding: 12px 0; }
  .rm-header__inner { padding: 0 22px; gap: 14px; }
  .rm-logo { font-size: 1.4rem; }
  .rm-cta-btn {
    padding: 9px 14px; font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .rm-header.menu-open { background: rgba(17,17,17,0.98); }
  .rm-header.menu-open .rm-nav {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 20px 22px 28px;
    background: rgba(17,17,17,0.98);
    border-top: 1px solid var(--rm-line);
  }
  .rm-header.menu-open .rm-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rm-line-soft);
    font-size: 0.96rem;
  }

  /* ── Container padding tighten ── */
  .rm-container { padding: 0 22px; }

  /* ── HERO: keep desktop pin + word split, just shorter stage on mobile ── */
  .rm-stage { height: 140vh; }   /* tight stage on mobile too — no dead space */
  .rm-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 110px 22px 30px;
    overflow: hidden;
  }
  .rm-hero__bg, .rm-hero__grid, .rm-hero__halo { display: block; }
  /* JS drives the split — don't override transforms here */
  .rm-hero__inner .rm-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    margin-bottom: 18px;
  }
  .rm-hero__title {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
    line-height: 0.96;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
  }
  .rm-hero__title .rm-word--right::after {
    width: 44px; height: 3px; bottom: 2px;
  }
  .rm-hero__sub {
    font-size: 1rem; line-height: 1.65;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .rm-hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 36px;
  }
  .rm-hero__cta .rm-btn { padding: 16px 22px; }

  /* PILLARS: horizontal swipeable carousel with peek */
  .rm-hero__pillars {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 22px;
    -webkit-overflow-scrolling: touch;
    /* Allow horizontal swipe ONLY inside this carousel; don't bubble x-pan to page */
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    gap: 12px;
    margin: 0 -22px;
    padding: 24px 22px 30px;
    border-top: 1px solid var(--rm-line);
    border-bottom: 1px solid var(--rm-line);
  }
  .rm-hero__pillars::-webkit-scrollbar { display: none; }
  .rm-hero__pillars { scrollbar-width: none; }
  .rm-pillar {
    flex: 0 0 78%;
    min-width: 230px;
    border: 1px solid var(--rm-line);
    border-right: 1px solid var(--rm-line) !important;
    border-bottom: 1px solid var(--rm-line) !important;
    background: rgba(255,255,255,0.025);
    border-radius: 4px;
    padding: 22px 20px 24px;
    scroll-snap-align: start;
  }
  .rm-pillar h2 { font-size: 1.1rem; }
  .rm-pillar p { font-size: 0.88rem; }

  /* ── Section spacing & headings ── */
  .rm-services, .rm-about, .rm-approach, .rm-proof { padding: 70px 0; }
  .rm-section-head { margin-bottom: 44px; }
  .rm-section-head h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.022em;
  }
  .rm-section-sub { font-size: 0.95rem; }

  /* ── SERVICES: 1-col cards with stronger drop-pop on each ── */
  .rm-services-grid {
    grid-template-columns: 1fr;
    border: none;
    background: transparent;
    gap: 12px;
  }
  .rm-svc {
    border: 1px solid var(--rm-line);
    border-radius: 4px;
    padding: 28px 22px 26px;
    background: rgba(255,255,255,0.018);
  }
  .rm-svc:hover { transform: none; background: rgba(255,255,255,0.04); }
  .rm-svc--featured { background: linear-gradient(160deg, rgba(199,164,76,0.10) 0%, rgba(255,255,255,0.02) 100%); }
  .rm-svc h3 { font-size: 1.15rem; }
  .rm-svc p { font-size: 0.92rem; }
  /* Mobile drop-pop: more dramatic translateY for visibility */
  .has-js .rm-services-grid > .rm-svc {
    transform: translateY(40px) scale(0.95);
  }
  .has-js .rm-services-grid.is-revealed > .rm-svc {
    transform: translateY(0) scale(1);
  }
  /* Slightly tighter mobile cascade — feels snappier on small screen */
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(1) { transition-delay:   0ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(2) { transition-delay:  70ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(3) { transition-delay: 140ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(4) { transition-delay: 210ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(5) { transition-delay: 280ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(6) { transition-delay: 350ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(7) { transition-delay: 420ms; }
  .has-js .rm-services-grid.is-revealed > .rm-svc:nth-child(8) { transition-delay: 490ms; }
  /* Disable spotlight on mobile — no cursor */
  .rm-services-grid::after { display: none; }

  /* ── ABOUT ── */
  .rm-about__grid { grid-template-columns: 1fr; gap: 36px; }
  .rm-about__copy h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin: 18px 0 22px;
  }
  .rm-about__lead { font-size: 1.05rem; }
  .rm-about__copy p { font-size: 0.96rem; }
  .rm-about__card {
    position: static; padding: 28px 22px;
  }
  .rm-card__monogram { font-size: 1.8rem; }
  .rm-credentials { grid-template-columns: 1fr; gap: 10px; }

  /* ── APPROACH: vertical stack with right-slide-in stagger + connector line ── */
  .rm-approach__list {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none !important;
    gap: 14px;
    border: none;
    position: relative;
    padding: 0;
  }
  .rm-approach__list::after { display: none; }
  .rm-approach__list li {
    border: 1px solid var(--rm-line);
    border-right: 1px solid var(--rm-line) !important;
    border-bottom: 1px solid var(--rm-line) !important;
    border-radius: 4px;
    padding: 28px 22px 26px;
    background: rgba(255,255,255,0.018);
  }
  .rm-approach__list li::before {
    top: 28px; left: 0; height: 28px; width: 3px;
  }
  .rm-approach__list h3 { font-size: 1.6rem; }
  .rm-approach__list p { font-size: 0.95rem; }
  /* Mobile: each card slides in from the right; 1st card lands first (top → bottom) */
  .has-js .rm-approach__list > li {
    transform: translateX(50px) scale(0.96);
  }
  .has-js .rm-approach__list.is-revealed > li {
    transform: translateX(0) scale(1);
  }
  /* On mobile, populate top-to-bottom (1 → 2 → 3) since they're stacked vertically */
  .has-js .rm-approach__list.is-revealed > li:nth-child(1) { transition-delay:   0ms; }
  .has-js .rm-approach__list.is-revealed > li:nth-child(2) { transition-delay: 180ms; }
  .has-js .rm-approach__list.is-revealed > li:nth-child(3) { transition-delay: 360ms; }
  /* Reverse on hide */
  .has-js .rm-approach__list > li:nth-child(3) { transition-delay:   0ms; }
  .has-js .rm-approach__list > li:nth-child(2) { transition-delay: 180ms; }
  .has-js .rm-approach__list > li:nth-child(1) { transition-delay: 360ms; }

  /* ── PROOF ── */
  .rm-proof__grid { grid-template-columns: 1fr; gap: 14px; perspective: none; }
  .rm-proof__card {
    padding: 28px 22px;
    /* No 3D tilt on touch */
  }
  .rm-proof__card[data-tilt]:hover { transform: none; }
  .rm-proof__card h3 { font-size: 1.3rem; }
  .rm-proof__card p { font-size: 0.93rem; }

  /* Industries pills: bigger tap targets */
  .rm-industries { margin-top: 50px; padding-top: 36px; }
  .rm-industries__list { gap: 8px 10px; }
  .rm-industries__list li {
    padding: 11px 16px;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }

  /* ── CTA ── */
  .rm-cta { padding: 90px 22px 110px; /* extra bottom for sticky bar */ }
  .rm-cta__title {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.08;
  }
  .rm-cta__sub { font-size: 1rem; margin-bottom: 30px; }
  .rm-cta__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .rm-cta__actions .rm-btn { padding: 16px 22px; }

  /* ── FOOTER ── */
  .rm-footer { padding: 32px 22px 100px; /* bottom space for sticky CTA */ }
  .rm-footer__inner { flex-direction: column; gap: 14px; text-align: center; }

  /* ── MOBILE STICKY CTA BAR ── */
  .rm-mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(17,17,17,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--rm-line);
    transform: translateY(110%);
    transition: transform 0.45s var(--rm-ease);
    pointer-events: none;
  }
  .rm-mobile-cta.is-active {
    transform: translateY(0);
    pointer-events: auto;
  }
  .rm-mobile-cta a {
    display: flex; align-items: center; justify-content: center;
    background: var(--rm-gold); color: var(--rm-black);
    padding: 14px 18px;
    font-family: var(--rm-font-display);
    font-weight: 700; font-size: 0.86rem;
    letter-spacing: 0.06em;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(199,164,76,0.32);
    text-transform: none;
  }
  .rm-mobile-cta a:active { transform: scale(0.98); }
}

/* Even narrower phones (<= 380px) */
@media (max-width: 380px) {
  .rm-container { padding: 0 18px; }
  .rm-hero { padding: 110px 18px 36px; }
  .rm-hero__title { font-size: 16vw; }
  .rm-hero__pillars { margin: 0 -18px; padding: 22px 18px 28px; scroll-padding-left: 18px; }
  .rm-pillar { flex: 0 0 84%; min-width: 220px; }
  .rm-section-head h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .rm-cta__title { font-size: clamp(1.85rem, 8.5vw, 2.6rem); }
  .rm-mobile-cta a { padding: 13px 14px; font-size: 0.82rem; }
}

/* Hide mobile sticky CTA on desktop */
@media (min-width: 721px) {
  .rm-mobile-cta { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   AGENTIC AI — "An AI teammate on your org chart"
   (added 2026-07-02 overnight build · mirrors ABOUT patterns)
   ═══════════════════════════════════════════════════════════ */
.rm-ai {
  padding: 130px 0;
  background: var(--rm-black);
  position: relative;
  border-top: 1px solid var(--rm-line-soft);
  overflow: hidden;
}
.rm-ai::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 78% 30%, rgba(199,164,76,0.07), transparent 70%);
  pointer-events: none;
}
.rm-ai__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: start;
  position: relative;
}
.rm-ai__copy h2 {
  font-family: var(--rm-font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rm-cream);
  margin: 22px 0 28px;
}
.rm-ai__copy p {
  color: var(--rm-slate-2);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}
.rm-ai__copy .rm-about__lead {
  font-size: 1.18rem;
  color: var(--rm-cream);
  margin-bottom: 26px;
  line-height: 1.6;
}
.rm-ai__copy strong { color: var(--rm-cream); font-weight: 600; }
.rm-ai__copy .rm-about__lead strong { color: var(--rm-gold); font-weight: 700; }
.rm-ai__card .rm-card__role { color: var(--rm-gold); margin-bottom: 8px; }
.rm-ai__card .rm-card__title { margin-bottom: 18px; }
.rm-ai__kicker {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--rm-slate-2);
  line-height: 1.65;
  border-left: 2px solid var(--rm-gold);
  padding-left: 14px;
  margin-top: 4px;
}
@media (max-width: 1080px) {
  .rm-ai__grid { grid-template-columns: 1fr; gap: 50px; }
  .rm-ai__card { position: relative; top: auto; }
}
@media (max-width: 720px) {
  .rm-ai { padding: 90px 0; }
  .rm-ai__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   TOOLKIT + STATS (added 2026-09-01 relaunch)
   ═══════════════════════════════════════════════════════════ */
.rm-toolkit {
  padding: 120px 0 130px;
  background: var(--rm-black-2, #141414);
  border-top: 1px solid var(--rm-line);
  border-bottom: 1px solid var(--rm-line);
}
.rm-stats {
  list-style: none; margin: 0 auto 64px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rm-line);
}
.rm-stats li {
  padding: 30px 24px; text-align: center;
  border-right: 1px solid var(--rm-line);
}
.rm-stats li:last-child { border-right: 0; }
.rm-stats strong {
  display: block;
  font-family: var(--rm-font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--rm-gold);
  margin-bottom: 10px;
}
.rm-stats span {
  font-family: var(--rm-font-accent);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rm-slate-2);
}
.rm-toolkit__grid { grid-template-columns: repeat(3, 1fr); }
.rm-toolkit__grid .rm-svc { background: var(--rm-black-2, #141414); }
@media (max-width: 1024px) { .rm-toolkit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rm-toolkit__grid { grid-template-columns: 1fr; } }
.rm-toolkit__grid .rm-svc h3 { margin-top: 0; }
@media (max-width: 900px) {
  .rm-stats { grid-template-columns: repeat(2, 1fr); }
  .rm-stats li:nth-child(2) { border-right: 0; }
  .rm-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--rm-line); }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM (rm3-form-builder client embed)
   ═══════════════════════════════════════════════════════════ */
.rm-form {
  max-width: 720px; margin: 0 auto 30px; text-align: left;
  display: grid; gap: 16px;
}
.rm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rm-form__field { display: grid; gap: 8px; }
.rm-form__field > span {
  font-family: var(--rm-font-accent);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rm-slate-2);
}
.rm-form__field > span em { color: var(--rm-gold); font-style: normal; }
.rm-form input, .rm-form select, .rm-form textarea {
  width: 100%; box-sizing: border-box;
  font: inherit; font-size: 1rem; color: var(--rm-cream);
  background: rgba(247,245,240,0.04);
  border: 1px solid var(--rm-line);
  padding: 14px 16px; border-radius: 0;
  transition: border-color .2s var(--rm-ease), background .2s var(--rm-ease);
  -webkit-appearance: none; appearance: none;
}
.rm-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--rm-slate-2) 50%), linear-gradient(135deg, var(--rm-slate-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.rm-form select option { background: #1a1a1a; color: var(--rm-cream); }
.rm-form textarea { resize: vertical; min-height: 130px; }
.rm-form input::placeholder, .rm-form textarea::placeholder { color: rgba(247,245,240,0.3); }
.rm-form input:focus, .rm-form select:focus, .rm-form textarea:focus {
  outline: none; border-color: var(--rm-gold); background: rgba(199,164,76,0.05);
}
.rm-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rm-form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.rm-form__actions .rm-btn { white-space: nowrap; }
.rm-form__status { margin: 0; font-size: 0.95rem; color: var(--rm-slate-2); line-height: 1.5; }
.rm-form__status.is-ok { color: var(--rm-gold); }
.rm-form__status.is-error { color: #e07a6a; }
.rm-form.is-sent input, .rm-form.is-sent select, .rm-form.is-sent textarea { opacity: .55; }
@media (max-width: 640px) {
  .rm-form__row { grid-template-columns: 1fr; }
  .rm-form__actions { flex-direction: column; align-items: stretch; }
  .rm-form__actions .rm-btn { text-align: center; }
}

/* ═══ EXPERIENCE (2026-09-01) ═══ */
.rm-experience { padding: 120px 0 130px; background: var(--rm-black); border-top: 1px solid var(--rm-line); }
.rm-exp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rm-line); border: 1px solid var(--rm-line); }
.rm-exp li { background: var(--rm-black); padding: 32px 26px 30px; }
.rm-exp__num { display: block; font-family: var(--rm-font-accent); font-size: 0.72rem; letter-spacing: 0.28em; color: var(--rm-gold); margin-bottom: 14px; }
.rm-exp h3 { margin: 0 0 10px; font-family: var(--rm-font-display); font-size: 1.15rem; font-weight: 700; color: var(--rm-cream); letter-spacing: -0.01em; }
.rm-exp p { margin: 0; color: var(--rm-slate-2); font-size: 0.95rem; line-height: 1.6; }
.has-js .rm-exp > li { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--rm-ease-out), transform .6s var(--rm-ease-out); }
.has-js .rm-exp.is-revealed > li { opacity: 1; transform: none; }
@media (max-width: 1080px) { .rm-exp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rm-exp { grid-template-columns: 1fr; } }
